other versions
RIO_ADD_MPORT_PW_HAN(9) | RapidIO driver interface | RIO_ADD_MPORT_PW_HAN(9) |
NAME¶
rio_add_mport_pw_handler - add port-write message handler into the list of mport specific pw handlers
SYNOPSIS¶
int rio_add_mport_pw_handler(struct rio_mport * mport, void * context, int (*pwcback) (struct rio_mport *mport, void *context, union rio_pw_msg *msg, int step));
ARGUMENTS¶
struct rio_mport * mport
RIO master port to bind the portwrite callback
void * context
Handler specific context to pass on event
int (*)(struct rio_mport *mport, void *context, union rio_pw_msg *msg, int step) pwcback
Callback to execute when portwrite is received
DESCRIPTION¶
Returns 0 if the request has been satisfied.
AUTHOR¶
Matt Porter <mporter@kernel.crashing.org>, <mporter@mvista.com>
Author.
COPYRIGHT¶
September 2017 | Kernel Hackers Manual 4.12 |