1USB_BUFFER_UNMAP_SG(9) USB Core APIs USB_BUFFER_UNMAP_SG(9)
2
3
4
6 usb_buffer_unmap_sg - free DMA mapping(s) for a scatterlist
7
9 void usb_buffer_unmap_sg(const struct usb_device * dev, int is_in,
10 struct scatterlist * sg, int n_hw_ents);
11
13 dev
14 device to which the scatterlist will be mapped
15
16 is_in
17 mapping transfer direction
18
19 sg
20 the scatterlist to unmap
21
22 n_hw_ents
23 the positive return value from usb_buffer_map_sg
24
26 Reverses the effect of usb_buffer_map_sg.
27
29Kernel Hackers Manual 2.6. June 2019 USB_BUFFER_UNMAP_SG(9)