1RIO_SETUP_INB_DBELL(9)             Internals            RIO_SETUP_INB_DBELL(9)
2
3
4

NAME

6       rio_setup_inb_dbell - bind inbound doorbell callback
7

SYNOPSIS

9       int rio_setup_inb_dbell(struct rio_mport * mport, void * dev_id,
10                               struct resource * res,
11                               void (*dinb) (struct rio_mport * mport, void *dev_id, u16 src, u16 dst, u16 info));
12

ARGUMENTS

14       mport
15           RIO master port to bind the doorbell callback
16
17       dev_id
18           Device specific pointer to pass on event
19
20       res
21           Doorbell message resource
22
23       dinb
24           Callback to execute when doorbell is received
25

DESCRIPTION

27       Adds a doorbell resource/callback pair into a port's doorbell event
28       list. Returns 0 if the request has been satisfied.
29

AUTHOR

31       Matt Porter <mporter@kernel.crashing.org>, <mporter@mvista.com>
32           Author.
33
35Kernel Hackers Manual 3.10         June 2019            RIO_SETUP_INB_DBELL(9)
Impressum