#include <linux/slab.h>
#include <linux/kernel.h>
#include <linux/device.h>
#include "u_serial.h"
#include "gadget_chips.h"
Go to the source code of this file.
#define ACM_CTRL_BRK (1 << 2) |
#define ACM_CTRL_DCD (1 << 0) |
#define ACM_CTRL_DSR (1 << 1) |
#define ACM_CTRL_FRAMING (1 << 4) |
#define ACM_CTRL_OVERRUN (1 << 6) |
#define ACM_CTRL_PARITY (1 << 5) |
#define ACM_CTRL_RI (1 << 3) |
#define GS_LOG2_NOTIFY_INTERVAL 5 /* 1 << 5 == 32 msec */ |
acm_bind_config - add a CDC ACM function to a configuration
: the configuration to support the CDC ACM instance : /dev/ttyGS* port this interface will use Context: single threaded during gadget setup
Returns zero on success, else negative errno.
Caller must have called () with enough ports to handle all the ones it binds. Caller is also responsible for calling () before module unload.
Definition at line 752 of file f_acm.c.