other versions
RIO_REQUEST_INB_MBOX(9) | RapidIO driver interface | RIO_REQUEST_INB_MBOX(9) |
NAME¶
rio_request_inb_mbox - request inbound mailbox serviceSYNOPSIS¶
int rio_request_inb_mbox(struct rio_mport * mport, void * dev_id, int mbox, int entries, void (*minb) (struct rio_mport * mport, void *dev_id, int mbox, int slot));
ARGUMENTS¶
struct rio_mport * mportRIO master port from which to allocate the mailbox
resource
void * dev_id
Device specific pointer to pass on event
int mbox
Mailbox number to claim
int entries
Number of entries in inbound mailbox queue
void (*) (struct rio_mport * mport, void *dev_id, int mbox, int slot) minb
Callback to execute when inbound message is
received
DESCRIPTION¶
Requests ownership of an inbound mailbox resource and binds a callback function to the resource. Returns 0 on success.AUTHOR¶
Matt Porter <mporter@kernel.crashing.org>, <mporter@mvista.com>Author.
COPYRIGHT¶
September 2017 | Kernel Hackers Manual 4.12 |