Home
last modified time | relevance | path

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

12345678

/openbmc/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 …]
/openbmc/qemu/hw/s390x/
H A Ds390-ccw.c25 S390CCWDeviceClass *cdc = S390_CCW_DEVICE_GET_CLASS(sch->driver_data); in s390_ccw_cmd_request() local
27 if (!cdc->handle_request) { in s390_ccw_cmd_request()
30 return cdc->handle_request(sch); in s390_ccw_cmd_request()
35 S390CCWDeviceClass *cdc = S390_CCW_DEVICE_GET_CLASS(sch->driver_data); in s390_ccw_halt() local
37 if (!cdc->handle_halt) { in s390_ccw_halt()
40 return cdc->handle_halt(sch); in s390_ccw_halt()
45 S390CCWDeviceClass *cdc = S390_CCW_DEVICE_GET_CLASS(sch->driver_data); in s390_ccw_clear() local
47 if (!cdc->handle_clear) { in s390_ccw_clear()
50 return cdc->handle_clear(sch); in s390_ccw_clear()
55 S390CCWDeviceClass *cdc = NULL; in s390_ccw_store() local
[all …]
/openbmc/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 …]
/openbmc/linux/net/smc/
H A Dsmc_cdc.c5 * Connection Data Control (CDC)
24 /* handler for send/transmission completion of a CDC msg */
232 /* Send a SMC-D CDC header.
240 struct smcd_cdc_msg cdc; in smcd_cdc_msg_send() local
243 memset(&cdc, 0, sizeof(cdc)); in smcd_cdc_msg_send()
244 cdc.common.type = SMC_CDC_MSG_TYPE; in smcd_cdc_msg_send()
246 cdc.prod.wrap = curs.wrap; in smcd_cdc_msg_send()
247 cdc.prod.count = curs.count; in smcd_cdc_msg_send()
249 cdc.cons.wrap = curs.wrap; in smcd_cdc_msg_send()
250 cdc.cons.count = curs.count; in smcd_cdc_msg_send()
[all …]
/openbmc/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)",
/openbmc/u-boot/include/linux/usb/
H A Dcdc.h2 * USB Communications Device Class (CDC) definitions
4 * CDC says how to talk to lots of different types of network adapters,
48 /* "Header Functional Descriptor" from CDC spec 5.2.3.1 */
57 /* "Call Management Descriptor" from CDC spec 5.2.3.2 */
70 /* "Abstract Control Management Descriptor" from CDC spec 5.2.3.3 */
86 /* "Union Functional Descriptor" from CDC spec 5.2.3.8 */
97 /* "Country Selection Functional Descriptor" from CDC spec 5.2.3.9 */
108 /* "Network Channel Terminal Functional Descriptor" from CDC spec 5.2.3.11 */
120 /* "Ethernet Networking Functional Descriptor" from CDC spec 5.2.3.16 */
133 /* "MDLM Functional Descriptor" from CDC WMC spec 6.7.2.3 */
[all …]
/openbmc/linux/drivers/net/usb/
H A DKconfig152 CDC-Ethernet specification (including many cable modems).
158 a two-node link, or "eth0" for most CDC-Ethernet devices. Those
218 tristate "CDC Ethernet support (smart devices such as cable modems)"
223 Class (CDC) Ethernet Control Model, a specification that's easy to
224 implement in device firmware. The CDC specifications are available
227 CDC Ethernet is an implementation option for DOCSIS cable modems
229 The Linux-USB CDC Ethernet Gadget driver is an open implementation.
246 tristate "CDC EEM support"
250 Class (CDC) Ethernet Emulation Model, a specification that's easy to
251 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");
/openbmc/u-boot/drivers/usb/gadget/
H A Dether.c3 * ether.c -- Ethernet gadget driver, with CDC and non-CDC options
16 #include <linux/usb/cdc.h>
41 * Ethernet gadget driver -- with CDC and non-CDC options
44 * CDC Ethernet is the standard USB solution for sending Ethernet frames
50 * This is sometimes called "CDC ECM" (Ethernet Control Model) to support
51 * TLA-soup. "CDC ACM" (Abstract Control Model) is for modems, and a new
52 * "CDC EEM" (Ethernet Emulation Model) is starting to spread.
54 * There's some hardware that can't talk CDC ECM. We make that hardware
55 * implement a "minimalist" vendor-agnostic CDC core: same framing, but
59 * systems may not. (This is a subset of CDC Ethernet.)
[all …]
H A DKconfig43 CDC-ACM (usbtty) for example.
193 devices. The main ones are Microsoft's RNDIS and USB's CDC-Ethernet
194 (also called CDC-ECM). RNDIS is obviously compatible with Windows,
195 while CDC-ECM is not. Most other operating systems support both, so
199 bool "CDC-ECM Protocol"
201 CDC (Communications Device Class) is the standard for Ethernet over
/openbmc/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 …]
/openbmc/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 …]
/openbmc/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.
58 /* SetControlLineState request -- CDC 1.1 section 6.2.14 (INPUT) */
60 /* SerialState notification -- CDC 1.1 section 6.3.5 (OUTPUT) */
271 [ACM_CTRL_IDX].s = "CDC Abstract Control Model (ACM)",
272 [ACM_DATA_IDX].s = "CDC ACM Data",
273 [ACM_IAD_IDX ].s = "CDC Serial",
[all …]
/openbmc/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";
/openbmc/u-boot/include/
H A Dusbdescriptors.h70 * c.f. CDC USB Class Definitions for Communications Devices
71 * c.f. WMCD USB CDC Subclass Specification for Wireless Mobile Communications Devices
77 /* c.f. CDC 4.1 Table 14 */
80 /* c.f. CDC 4.2 Table 15 */
85 /* c.f. CDC 4.3 Table 16 */
101 /* c.f. CDC 4.4 Table 17 */
105 /* c.f. CDC 4.5 Table 18 */
108 /* c.f. CDC 4.6 No Table */
111 /* c.f. CDC 4.7 Table 19 */
115 /* c.f. CDC 5.2.3 Table 24 */
[all …]
/openbmc/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.
/openbmc/linux/drivers/usb/gadget/
H A DKconfig249 bool "Abstract Control Model (CDC ACM)"
256 MS-Windows hosts or with the Linux-USB "cdc-acm" driver.
259 bool "Object Exchange Model (CDC OBEX)"
269 bool "Network Control Model (CDC NCM)"
281 bool "Ethernet Control Model (CDC ECM)"
287 The "Communication Device Class" (CDC) Ethernet Control Model.
293 bool "Ethernet Control Model (CDC ECM) subset"
300 a simple CDC subset is used, placing fewer demands on USB.
326 CDC EEM is a newer USB standard that is somewhat simpler than CDC EC
[all...]
/openbmc/linux/include/linux/usb/
H A Dcdc.h3 * USB CDC common helpers
10 #include <uapi/linux/usb/cdc.h>
19 * parsing CDC headers
/openbmc/qemu/hw/vfio/
H A Dccw.c579 S390CCWDeviceClass *cdc = S390_CCW_DEVICE_GET_CLASS(cdev); in vfio_ccw_realize() local
584 if (cdc->realize) { in vfio_ccw_realize()
585 if (!cdc->realize(cdev, vcdev->vdev.sysfsdev, errp)) { in vfio_ccw_realize()
635 if (cdc->unrealize) { in vfio_ccw_realize()
636 cdc->unrealize(cdev); in vfio_ccw_realize()
644 S390CCWDeviceClass *cdc = S390_CCW_DEVICE_GET_CLASS(cdev); in vfio_ccw_unrealize() local
653 if (cdc->unrealize) { in vfio_ccw_unrealize()
654 cdc->unrealize(cdev); in vfio_ccw_unrealize()
704 S390CCWDeviceClass *cdc = S390_CCW_DEVICE_CLASS(klass); in vfio_ccw_class_init() local
717 cdc->handle_request = vfio_ccw_handle_request; in vfio_ccw_class_init()
[all …]

12345678