1HCD_BUFFER_CREATE(9) Host Controller APIs HCD_BUFFER_CREATE(9)
2
3
4
6 hcd_buffer_create - initialize buffer pools
7
9 int hcd_buffer_create(struct usb_hcd * hcd);
10
12 hcd
13 the bus whose buffer pools are to be initialized
14
16 !in_interrupt
17
19 Call this as part of initializing a host controller that uses the dma
20 memory allocators. It initializes some pools of dma-coherent memory
21 that will be shared by all drivers using that controller.
22
23 Call hcd_buffer_destroy to clean up after using those pools.
24
26 0 if successful. A negative errno value otherwise.
27
29Kernel Hackers Manual 3.10 June 2019 HCD_BUFFER_CREATE(9)