Name

maple_getcond_callback — setup handling MAPLE_COMMAND_GETCOND

Synopsis

void maple_getcond_callback (struct maple_device * dev,
 void (*callback) (struct mapleq *mq),
 unsigned long interval,
 unsigned long function);
 

Arguments

struct maple_device * dev

device responding

void (*) (struct mapleq *mq) callback

handler callback

unsigned long interval

interval in jiffies between callbacks

unsigned long function

the function code for the device