1ACM_CDC_NOTIFY(9) Kernel Mode Gadget API ACM_CDC_NOTIFY(9)
2
3
4
6 acm_cdc_notify - issue CDC notification to host
7
9 int acm_cdc_notify(struct f_acm * acm, u8 type, u16 value, void * data,
10 unsigned length);
11
13 acm
14 wraps host to be notified
15
16 type
17 notification type
18
19 value
20 Refer to cdc specs, wValue field.
21
22 data
23 data to be sent
24
25 length
26 size of data
27
29 irqs blocked, acm->lock held, acm_notify_req non-null
30
32 Returns zero on sucess or a negative errno.
33
34 See section 6.3.5 of the CDC 1.1 specification for information
35
37 SerialState change.
38
40 David Brownell <dbrownell@users.sourceforge.net>
41 Author.
42
44Kernel Hackers Manual 2.6. June 2019 ACM_CDC_NOTIFY(9)