table of contents
other versions
- wheezy 3.2.78-1
ACM_CDC_NOTIFY(9) | Kernel Mode Gadget API | ACM_CDC_NOTIFY(9) |
NAME¶
acm_cdc_notify - issue CDC notification to hostSYNOPSIS¶
int
acm_cdc_notify(struct f_acm * acm,
u8 type, u16 value,
void * data,
unsigned length);
ARGUMENTS¶
acmwraps host to be notified
type
notification type
value
Refer to cdc specs, wValue field.
data
data to be sent
length
size of data
CONTEXT¶
irqs blocked, acm->lock held, acm_notify_req non-nullDESCRIPTION¶
Returns zero on success or a negative errno. See section 6.3.5 of the CDC 1.1 specification for informationABOUT THE ONLY NOTIFICATION WE ISSUE¶
SerialState change.AUTHOR¶
David Brownell <dbrownell@users.sourceforge.net>Author.
COPYRIGHT¶
March 2016 | Kernel Hackers Manual 3.2. |