1RIO_REQUEST_INB_MBOX(9) RapidIO driver interface RIO_REQUEST_INB_MBOX(9)
2
3
4
6 rio_request_inb_mbox - request inbound mailbox service
7
9 int rio_request_inb_mbox(struct rio_mport * mport, void * dev_id,
10 int mbox, int entries,
11 void (*minb) (struct rio_mport * mport, void *dev_id, int mbox, int slot));
12
14 mport
15 RIO master port from which to allocate the mailbox resource
16
17 dev_id
18 Device specific pointer to pass on event
19
20 mbox
21 Mailbox number to claim
22
23 entries
24 Number of entries in inbound mailbox queue
25
26 minb
27 Callback to execute when inbound message is received
28
30 Requests ownership of an inbound mailbox resource and binds a callback
31 function to the resource. Returns 0 on success.
32
34 Matt Porter <mporter@kernel.crashing.org>, <mporter@mvista.com>
35 Author.
36
38Kernel Hackers Manual 2.6. November 2011 RIO_REQUEST_INB_MBOX(9)