Scroll to navigation

RIO_REQUEST_INB_DBEL(9) RapidIO driver interface RIO_REQUEST_INB_DBEL(9)

NAME

rio_request_inb_dbell - request inbound doorbell message service

SYNOPSIS

int rio_request_inb_dbell(struct rio_mport * mport, void * dev_id, u16 start, u16 end, void (*dinb) (struct rio_mport * mport, void *dev_id, u16 src, u16 dst, u16 info));

ARGUMENTS

struct rio_mport * mport

RIO master port from which to allocate the doorbell resource

void * dev_id

Device specific pointer to pass on event

u16 start

Doorbell info range start

u16 end

Doorbell info range end

void (*) (struct rio_mport * mport, void *dev_id, u16 src, u16 dst, u16 info) dinb

Callback to execute when doorbell is received

DESCRIPTION

Requests ownership of an inbound doorbell resource and binds a callback function to the resource. Returns 0 if the request has been satisfied.

AUTHOR

Matt Porter <mporter@kernel.crashing.org>, <mporter@mvista.com>

Author.

COPYRIGHT

June 2017 Kernel Hackers Manual 4.11