Scroll to navigation

USB_BUFFER_UNMAP_SG(9) USB Core APIs USB_BUFFER_UNMAP_SG(9)

NAME

usb_buffer_unmap_sg - free DMA mapping(s) for a scatterlist

SYNOPSIS

void usb_buffer_unmap_sg(const struct usb_device * dev, int is_in, struct scatterlist * sg, int n_hw_ents);

ARGUMENTS

dev

device to which the scatterlist will be mapped

is_in

mapping transfer direction

sg

the scatterlist to unmap

n_hw_ents

the positive return value from usb_buffer_map_sg

DESCRIPTION

Reverses the effect of usb_buffer_map_sg.

COPYRIGHT

June 2024 Kernel Hackers Manual 3.10