1USB_BUFFER_DMASYNC_S(9) USB Core APIs USB_BUFFER_DMASYNC_S(9)
2
3
4
6 usb_buffer_dmasync_sg - synchronize DMA and CPU view of scatterlist
7 buffer(s)
8
10 void usb_buffer_dmasync_sg(const struct usb_device * dev, int is_in,
11 struct scatterlist * sg, int n_hw_ents);
12
14 dev
15 device to which the scatterlist will be mapped
16
17 is_in
18 mapping transfer direction
19
20 sg
21 the scatterlist to synchronize
22
23 n_hw_ents
24 the positive return value from usb_buffer_map_sg
25
27 Use this when you are re-using a scatterlistĀ“s data buffers for another
28 USB request.
29
31Kernel Hackers Manual 2.6. June 2019 USB_BUFFER_DMASYNC_S(9)