other versions
- stretch 4.9.168-1
HCD_BUFFER_CREATE(9) | Host Controller APIs | HCD_BUFFER_CREATE(9) |
NAME¶
hcd_buffer_create - initialize buffer poolsSYNOPSIS¶
int hcd_buffer_create(struct usb_hcd * hcd);
ARGUMENTS¶
hcdthe bus whose buffer pools are to be initialized
CONTEXT¶
!in_interruptDESCRIPTION¶
Call this as part of initializing a host controller that uses the dma memory allocators. It initializes some pools of dma-coherent memory that will be shared by all drivers using that controller.Call hcd_buffer_destroy to clean up after using those pools.
RETURN¶
0 if successful. A negative errno value otherwise.COPYRIGHT¶
April 2019 | Kernel Hackers Manual 4.9. |