hcd_buffer_create(9)

hcd_buffer_create9

Initialize buffer pools

Usage

int hcd_buffer_create(struct usb_hcd * hcd);

Arguments

hcd

the bus whose buffer pools are to be initialized

Context

!in_interrupt

Overview

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.

Releases

6 releases since Debian 4.0 (Etch); the text changed 5 times.

  1. 4.0
  2. 5.0
  3. 6.0
  4. 7
  5. 8
  6. 9

From linux-manual-4.9 4.9.228-1 in Debian 9 (Stretch). Parsed by carta from the page's man source.