usbd_mphys()

Get the physical address of memory allocated by usbd_alloc()

Synopsis:

#include <sys/usbdi.h>

paddr_t usbd_mphys( const void *ptr );

Arguments:

ptr
A pointer to the block of memory.

Library:

libusbdi

Description:

The usbd_mphys() function obtains the physical address used by usbd_alloc() to allocate memory for a data transfer.

Returns:

Physical address.

Classification:

QNX Neutrino, QNX 4

Safety:
Cancellation point No
Interrupt handler No
Signal handler No
Thread Yes

See also:

usbd_alloc(), usbd_alloc_urb(), usbd_free(), usbd_free_urb(), usbd_mphys()