|
|
udi_bus_bind_cb_t(3udi)
Control block for bus bridge binding operations
#include <udi.h>typedef struct { udi_cb_t gcb; } udi_bus_bind_cb_t; /* Bus Bind Control Block Group Number */#define UDI_BUS_BIND_CB_NUM 1MEMBERS gcb is a generic control block header, which includes a pointer to the scratch space associated with this control block. The driver may use the scratch space while it owns the control block, but the values are not guaranteed to persist across channel operations.
DESCRIPTION The bus bind control block is used between the bus device driver and the bus bridge driver to complete binding and unbinding over the bind channel.
This control block must be declared by specifying the control block index value UDI_BUS_BIND_CB_NUM in a udi_cb_init_t in the driver's udi_init_info.
The bus device driver obtains the udi_bus_bind_cb_t structure to use with the udi_bus_bind_req or udi_bus_unbind_req operation by calling udi_cb_alloc with a cb_idx that has been defined for the UDI_BUS_BIND_CB_NUM control block.
REFERENCES udi_bus_bind_cb_t, udi_cb_alloc, udi_bus_bind_req, udi_bus_bind_ack, udi_bus_unbind_req, udi_bus_unbind_ack