Home
last modified time | relevance | path

Searched full:cdc (Results 1 – 25 of 142) sorted by relevance

123456

/linux/include/uapi/linux/usb/
H A Dcdc.h3 * USB Communications Device Class (CDC) definitions
5 * CDC says how to talk to lots of different types of network adapters,
62 /* "Header Functional Descriptor" from CDC spec 5.2.3.1 */
71 /* "Call Management Descriptor" from CDC spec 5.2.3.2 */
84 /* "Abstract Control Management Descriptor" from CDC spec 5.2.3.3 */
100 /* "Union Functional Descriptor" from CDC spec 5.2.3.8 */
111 /* "Country Selection Functional Descriptor" from CDC spec 5.2.3.9 */
122 /* "Network Channel Terminal Functional Descriptor" from CDC spec 5.2.3.11 */
134 /* "Ethernet Networking Functional Descriptor" from CDC spec 5.2.3.16 */
147 /* "Telephone Control Model Functional Descriptor" from CDC WMC spec 6.3..3 */
[all …]
/linux/drivers/usb/gadget/legacy/
H A DKconfig116 tristate "Ethernet Gadget (with CDC Ethernet support)"
127 - The "Communication Device Class" (CDC) Ethernet Control Model.
132 - On hardware can't implement that protocol, a simple CDC subset
135 - CDC Ethernet Emulation Model (EEM) is a newer standard that has
146 use "CDCEther" instead, if you're using the CDC option. That CDC
147 mode should also interoperate with standard CDC Ethernet class
179 CDC EEM is a newer USB standard that is somewhat simpler than CDC ECM
198 This driver implements USB CDC NCM subclass standard. NCM is
238 bool "Include configuration with CDC ECM (Ethernet)"
244 Include a configuration with CDC ECM function (Ethernet) and the
[all …]
H A Dether.c3 * ether.c -- Ethernet gadget driver, with CDC and non-CDC options
26 * Ethernet gadget driver -- with CDC and non-CDC options
29 * CDC Ethernet is the standard USB solution for sending Ethernet frames
35 * This is sometimes called "CDC ECM" (Ethernet Control Model) to support
36 * TLA-soup. "CDC ACM" (Abstract Control Model) is for modems, and a new
37 * "CDC EEM" (Ethernet Emulation Model) is starting to spread.
39 * There's some hardware that can't talk CDC ECM. We make that hardware
40 * implement a "minimalist" vendor-agnostic CDC core: same framing, but
44 * systems may not. (This is a subset of CDC Ethernet.)
46 * It turns out that if you add a few descriptors to that "CDC Subset",
[all …]
H A Dcdc2.c3 * cdc2.c -- CDC Composite driver, with ECM and ACM support
17 #define DRIVER_DESC "CDC Composite Gadget"
27 * It's for devices with only this composite CDC configuration.
30 #define CDC_PRODUCT_NUM 0xa4aa /* CDC Composite: ECM + ACM */
87 * We _always_ have both CDC ECM and CDC ACM functions.
130 .label = "CDC Composite (ECM + ACM)",
H A Dserial.c38 #define GS_CDC_PRODUCT_ID 0xa4a7 /* ... as CDC-ACM */
39 #define GS_CDC_OBEX_PRODUCT_ID 0xa4a9 /* ... as CDC-OBEX */
91 MODULE_PARM_DESC(use_acm, "Use CDC ACM, default=yes");
95 MODULE_PARM_DESC(use_obex, "Use CDC OBEX, default=no");
293 serial_config_driver.label = "CDC ACM config"; in gserial_init()
299 serial_config_driver.label = "CDC OBEX config"; in gserial_init()
/linux/net/smc/
H A Dsmc_cdc.c5 * Connection Data Control (CDC)
25 /* handler for send/transmission completion of a CDC msg */
233 /* Send a SMC-D CDC header.
241 struct smcd_cdc_msg cdc; in smcd_cdc_msg_send() local
244 memset(&cdc, 0, sizeof(cdc)); in smcd_cdc_msg_send()
245 cdc.common.type = SMC_CDC_MSG_TYPE; in smcd_cdc_msg_send()
247 cdc.prod.wrap = curs.wrap; in smcd_cdc_msg_send()
248 cdc.prod.count = curs.count; in smcd_cdc_msg_send()
250 cdc.cons.wrap = curs.wrap; in smcd_cdc_msg_send()
251 cdc.cons.count = curs.count; in smcd_cdc_msg_send()
[all …]
/linux/Documentation/hwmon/
H A Dlochnagar.rst40 in2_input Measured voltage for 1V8 CDC (milliVolts)
41 in2_label "1V8 CDC"
42 curr3_input Measured current for 1V8 CDC (milliAmps)
43 curr3_label "1V8 CDC"
44 power3_average Measured average power for 1V8 CDC (microWatts)
46 power3_label "1V8 CDC"
66 in6_input Measured voltage for VDDCORE CDC (milliVolts)
67 in6_label "VDDCORE CDC"
68 curr7_input Measured current for VDDCORE CDC (milliAmps)
69 curr7_label "VDDCORE CDC"
[all …]
/linux/sound/pci/hda/
H A Dhda_component.c34 int hda_component_manager_bind_acpi_notifications(struct hda_codec *cdc, in hda_component_manager_bind_acpi_notifications() argument
58 codec_warn(cdc, "Failed to install notify handler: %d\n", ret); in hda_component_manager_bind_acpi_notifications()
62 codec_dbg(cdc, "Notify handler installed\n"); in hda_component_manager_bind_acpi_notifications()
69 void hda_component_manager_unbind_acpi_notifications(struct hda_codec *cdc, in hda_component_manager_unbind_acpi_notifications() argument
82 codec_warn(cdc, "Failed to uninstall notify handler: %d\n", ret); in hda_component_manager_unbind_acpi_notifications()
138 int hda_component_manager_bind(struct hda_codec *cdc, in hda_component_manager_bind() argument
147 ret = component_bind_all(hda_codec_dev(cdc), parent); in hda_component_manager_bind()
154 int hda_component_manager_init(struct hda_codec *cdc, in hda_component_manager_init() argument
160 struct device *dev = hda_codec_dev(cdc); in hda_component_manager_init()
166 codec_err(cdc, "Component binding already created (SSID: %x)\n", in hda_component_manager_init()
[all …]
H A Dhda_component.h40 int hda_component_manager_bind_acpi_notifications(struct hda_codec *cdc,
43 void hda_component_manager_unbind_acpi_notifications(struct hda_codec *cdc,
54 static inline int hda_component_manager_bind_acpi_notifications(struct hda_codec *cdc, in hda_component_manager_bind_acpi_notifications() argument
63 static inline void hda_component_manager_unbind_acpi_notifications(struct hda_codec *cdc, in hda_component_manager_unbind_acpi_notifications() argument
72 int hda_component_manager_init(struct hda_codec *cdc,
81 int hda_component_manager_bind(struct hda_codec *cdc, struct hda_component_parent *parent);
95 static inline void hda_component_manager_unbind(struct hda_codec *cdc, in hda_component_manager_unbind() argument
99 component_unbind_all(hda_codec_dev(cdc), parent); in hda_component_manager_unbind()
/linux/drivers/net/usb/
H A DKconfig153 CDC-Ethernet specification (including many cable modems).
159 a two-node link, or "eth0" for most CDC-Ethernet devices. Those
219 tristate "CDC Ethernet support (smart devices such as cable modems)"
224 Class (CDC) Ethernet Control Model, a specification that's easy to
225 implement in device firmware. The CDC specifications are available
228 CDC Ethernet is an implementation option for DOCSIS cable modems
230 The Linux-USB CDC Ethernet Gadget driver is an open implementation.
247 tristate "CDC EEM support"
251 Class (CDC) Ethernet Emulation Model, a specification that's easy to
252 implement in device firmware. The CDC EEM specifications are available
[all …]
H A Dcdc_ether.c3 * CDC Ethernet based networking peripherals
18 #include <linux/usb/cdc.h>
109 * all pure cdc, except for certain firmware workarounds, and knowing
132 * from a Broadcom design) put CDC descriptors here in usbnet_generic_cdc_bind()
136 dev_dbg(&intf->dev, "CDC descriptors on config\n"); in usbnet_generic_cdc_bind()
139 /* Maybe CDC descriptors are after the endpoint? This bug has in usbnet_generic_cdc_bind()
152 "CDC descriptors on endpoint\n"); in usbnet_generic_cdc_bind()
156 * of cdc-acm, it'll fail RNDIS requests cleanly. in usbnet_generic_cdc_bind()
198 dev_dbg(&intf->dev, "bogus CDC Union\n"); in usbnet_generic_cdc_bind()
259 * CDC descriptors, so we'll hard-wire the interfaces and not check in usbnet_generic_cdc_bind()
[all …]
H A Dzaurus.c17 #include <linux/usb/cdc.h>
23 * the earliest SA-1100 models lie by saying they support CDC Ethernet.
25 * and say they support CDC MDLM (for access to cell phone modems).
31 * a simple "CDC Subset" working reliably on the same SA-1100 hardware.
34 * The CDC Ethernet nonconformance points are troublesome to hosts
35 * with a true CDC Ethernet implementation:
40 * The CDC MDLM nonconformance is less immediately troublesome, since all
121 * CDC MDLM conformance. They aren't conformant: data endpoints live
227 dev_dbg(&intf->dev, "missing cdc mdlm %s%sdescriptor\n", in blan_mdlm_bind()
233 /* There's probably a CDC Ethernet descriptor there, but we can't in blan_mdlm_bind()
[all …]
H A Dhuawei_cdc_ncm.c2 /* huawei_cdc_ncm.c - handles Huawei devices using the CDC NCM protocol as
7 * This driver handles devices resembling the CDC NCM standard, but
23 #include <linux/usb/cdc.h>
25 #include <linux/usb/cdc-wdm.h>
183 .description = "Huawei CDC NCM device",
226 MODULE_DESCRIPTION("USB CDC NCM host driver with encapsulated protocol support");
H A Dcdc_eem.c3 * USB CDC EEM network interface driver
17 #include <linux/usb/cdc.h>
24 * This driver is an implementation of the CDC "Ethernet Emulation
27 * previous CDC "Ethernet Control Model" (ECM, or "CDC Ethernet").
331 .description = "CDC EEM Device",
365 MODULE_DESCRIPTION("USB CDC EEM");
/linux/Documentation/usb/
H A Dgadget_multi.rst13 with RNDIS[1] (that is Ethernet), USB CDC[2] ACM (that is serial) and
16 A CDC ECM (Ethernet) function may be turned on via a Kconfig option
18 have two configurations -- one with RNDIS and another with CDC ECM[3].
21 CDC ECM) you may need to change vendor and/or product ID.
40 configuration with CDC ECM which should work better under Linux.
60 configuration so a dual RNDIS and CDC ECM gadget won't work unless you
72 Things are harder with RDNIS and CDC ACM.
87 CDC ACM
90 Similarly, [[file:linux-cdc-acm.inf]] is provided for CDC ACM.
138 template[9], Microchip's CDC ACM INF file and David Brownell's
[all …]
/linux/drivers/usb/gadget/function/
H A Df_subset.c3 * f_subset.c -- "CDC Subset" Ethernet link function driver
20 * This function packages a simple "CDC Subset" Ethernet port with no real
22 * The data transfer model is exactly that of CDC Ethernet, which is
23 * why we call it the "CDC Subset".
27 * so simple (CDC Ethernet). The original versions of this protocol used
35 * At some point, MCCI defined a (nonconformant) CDC MDLM variant called
36 * "SAFE", which happens to have a mode which is identical to the "CDC
42 * descriptors to the CDC Subset code, making this code look like a SAFE
63 * "Simple" CDC-subset option is a simple vendor-neutral model that most
68 * "SAFE" loosely follows CDC WMC MDLM, violating the spec in various ways.
[all …]
H A Df_ecm.c3 * f_ecm.c -- USB CDC Ethernet (ECM) link function driver
23 * This function is a "CDC Ethernet Networking Control Model" (CDC ECM)
32 * "Ethernet Emulation Model" (CDC EEM) hasn't yet caught on.
77 * Some drivers (like Linux 2.4 cdc-ether!) "need" it to exist even
79 * can provide. More advanced cdc configurations might want to support
204 /* CDC ECM control descriptors */
253 /* CDC ECM control descriptors */
321 /* CDC ECM control descriptors */
345 [0].s = "CDC Ethernet Control Model (ECM)",
347 [2].s = "CDC Ethernet Data",
[all …]
H A Df_acm.c3 * f_acm.c -- USB CDC serial (ACM) function driver
24 * This CDC ACM function support just wraps control functions and
27 * Because CDC ACM is standardized by the USB-IF, many host operating
36 * seem to understand CDC Union descriptors. The new "association"
37 * descriptors (roughly equivalent to CDC Unions) may sometimes help.
59 /* SetControlLineState request -- CDC 1.1 section 6.2.14 (INPUT) */
61 /* SerialState notification -- CDC 1.1 section 6.3.5 (OUTPUT) */
272 [ACM_CTRL_IDX].s = "CDC Abstract Control Model (ACM)",
273 [ACM_DATA_IDX].s = "CDC ACM Data",
274 [ACM_IAD_IDX ].s = "CDC Serial",
[all …]
/linux/Documentation/networking/
H A Dcdc_mbim.rst4 cdc_mbim - Driver for CDC MBIM Mobile Broadband modems
71 /dev/cdc-wdmX character device
74 using the cdc-wdm driver as a subdriver. The userspace end of the
75 control channel pipe is a /dev/cdc-wdmX character device.
82 The cdc-wdmX device is created as a child of the MBIM control
87 cdc-wdm0
89 bjorn@nemi:~$ grep . /sys/bus/usb/drivers/cdc_mbim/2-4:2.12/usbmisc/cdc-wdm0/dev
95 The wMaxControlMessage field of the CDC MBIM functional descriptor
101 The userspace application can access the CDC MBIM functional
114 /dev/cdc-wdmX write()
[all …]
/linux/Documentation/devicetree/bindings/soc/bcm/
H A Dbrcm,bcm23550-cdc.yaml4 $id: http://devicetree.org/schemas/soc/bcm/brcm,bcm23550-cdc.yaml#
18 const: brcm,bcm23550-cdc
31 cdc@3fe0e000 {
32 compatible = "brcm,bcm23550-cdc";
/linux/drivers/usb/class/
H A DKconfig8 tristate "USB Modem (CDC ACM) support"
20 module will be called cdc-acm.
35 of cell phones compliant to the CDC WMC specification. You can use
39 module will be called cdc-wdm.
/linux/drivers/usb/gadget/
H A DKconfig248 bool "Abstract Control Model (CDC ACM)"
255 MS-Windows hosts or with the Linux-USB "cdc-acm" driver.
258 bool "Object Exchange Model (CDC OBEX)"
268 bool "Network Control Model (CDC NCM)"
280 bool "Ethernet Control Model (CDC ECM)"
286 The "Communication Device Class" (CDC) Ethernet Control Model.
292 bool "Ethernet Control Model (CDC ECM) subset"
299 a simple CDC subset is used, placing fewer demands on USB.
325 CDC EEM is a newer USB standard that is somewhat simpler than CDC ECM
/linux/include/linux/usb/
H A Dcdc.h3 * USB CDC common helpers
10 #include <uapi/linux/usb/cdc.h>
19 * parsing CDC headers
/linux/Documentation/devicetree/bindings/sound/
H A Dqcom,pm8916-wcd-analog-codec.yaml42 vdd-cdc-io-supply:
45 vdd-cdc-tx-rx-cx-supply:
148 vdd-cdc-io-supply = <&pm8916_l5>;
149 vdd-cdc-tx-rx-cx-supply = <&pm8916_l5>;
/linux/drivers/clk/
H A Dclk-lochnagar.c53 LN_PARENT("ln-cdc-clkout"),
64 LN_PARENT("ln-cdc-clkout"),
103 LN1_CLK(CDC_MCLK1, "ln-cdc-mclk1", CDC_AIF_CTRL2),
104 LN1_CLK(CDC_MCLK2, "ln-cdc-mclk2", CDC_AIF_CTRL2),
110 LN2_CLK(CDC_MCLK1, "ln-cdc-mclk1"),
111 LN2_CLK(CDC_MCLK2, "ln-cdc-mclk2"),

123456