/drivers/peripheral/usb/test/unittest/host_sdk/ |
D | usb_raw_sdk_if_test_io.cpp | 422 g_acm->lineCoding.dwDTERate = CPU_TO_LE32(DATARATE); in AcmRawFillCtrlReq() 423 g_acm->lineCoding.bCharFormat = USB_CDC_1_STOP_BITS; in AcmRawFillCtrlReq() 424 g_acm->lineCoding.bParityType = USB_CDC_NO_PARITY; in AcmRawFillCtrlReq() 425 g_acm->lineCoding.bDataBits = DATA_BITS_LENGTH; in AcmRawFillCtrlReq() 431 ctrlReq.data = (unsigned char *)&g_acm->lineCoding; in AcmRawFillCtrlReq() 491 g_acm->lineCoding.dwDTERate = CPU_TO_LE32(DATARATE); 492 g_acm->lineCoding.bCharFormat = USB_CDC_1_STOP_BITS; 493 g_acm->lineCoding.bParityType = USB_CDC_NO_PARITY; 494 g_acm->lineCoding.bDataBits = DATA_BITS_LENGTH; 500 ctrlReq.data = (unsigned char *)&g_acm->lineCoding; [all …]
|
D | usb_host_sdk_if_test.h | 73 struct UsbCdcLineCoding lineCoding; member 116 struct UsbCdcLineCoding lineCoding; member
|
D | usb_raw_sdk_if_test.h | 72 struct UsbCdcLineCoding lineCoding; member 112 struct UsbCdcLineCoding lineCoding; member
|
D | usb_host_sdk_if_test_io.cpp | 305 g_acm->lineCoding.dwDTERate = CPU_TO_LE32(DATARATE); in AcmFillCtrlRequest() 306 g_acm->lineCoding.bCharFormat = USB_CDC_1_STOP_BITS; in AcmFillCtrlRequest() 307 g_acm->lineCoding.bParityType = USB_CDC_NO_PARITY; in AcmFillCtrlRequest() 308 g_acm->lineCoding.bDataBits = DATA_BITS_LENGTH; in AcmFillCtrlRequest() 314 msgData.data = &g_acm->lineCoding; in AcmFillCtrlRequest()
|
D | usb_host_sdk_if_test.cpp | 1428 g_acm->lineCoding.dwDTERate = CPU_TO_LE32(DATARATE); 1429 g_acm->lineCoding.bCharFormat = USB_CDC_1_STOP_BITS; 1430 g_acm->lineCoding.bParityType = USB_CDC_NO_PARITY; 1431 g_acm->lineCoding.bDataBits = DATA_BITS_LENGTH; 1437 msgData.data = &g_acm->lineCoding; 1558 g_acm->lineCoding.dwDTERate = CPU_TO_LE32(DATARATE); 1559 g_acm->lineCoding.bCharFormat = USB_CDC_1_STOP_BITS; 1560 g_acm->lineCoding.bParityType = USB_CDC_NO_PARITY; 1561 g_acm->lineCoding.bDataBits = DATA_BITS_LENGTH; 1567 msgData.data = &g_acm->lineCoding;
|
D | usb_raw_sdk_if_test.cpp | 1969 g_acm->lineCoding.dwDTERate = CPU_TO_LE32(DATARATE); 1970 g_acm->lineCoding.bCharFormat = USB_CDC_1_STOP_BITS; 1971 g_acm->lineCoding.bParityType = USB_CDC_NO_PARITY; 1972 g_acm->lineCoding.bDataBits = DATA_BITS_LENGTH; 1978 ctrlReq.data = (unsigned char *)&g_acm->lineCoding; 2027 g_acm->lineCoding.dwDTERate = CPU_TO_LE32(DATARATE); 2028 g_acm->lineCoding.bCharFormat = USB_CDC_1_STOP_BITS; 2029 g_acm->lineCoding.bParityType = USB_CDC_NO_PARITY; 2030 g_acm->lineCoding.bDataBits = DATA_BITS_LENGTH; 2036 ctrlReq.data = (unsigned char *)&g_acm->lineCoding;
|
/drivers/hdf_core/framework/test/unittest/model/usb/host/src/ |
D | usb_raw_test.c | 1154 rawAcm->lineCoding.dwDTERate = CPU_TO_LE32(DATARATE); in CheckRawSdkIfFillControlSetup001() 1155 rawAcm->lineCoding.bCharFormat = USB_CDC_1_STOP_BITS; in CheckRawSdkIfFillControlSetup001() 1156 rawAcm->lineCoding.bParityType = USB_CDC_NO_PARITY; in CheckRawSdkIfFillControlSetup001() 1157 rawAcm->lineCoding.bDataBits = DATA_BITS_LENGTH; in CheckRawSdkIfFillControlSetup001() 1163 ctrlReq.data = (unsigned char *)&rawAcm->lineCoding; in CheckRawSdkIfFillControlSetup001() 1222 rawAcm->lineCoding.dwDTERate = CPU_TO_LE32(DATARATE); in CheckRawSdkIfFillControlSetup004() 1223 rawAcm->lineCoding.bCharFormat = USB_CDC_1_STOP_BITS; in CheckRawSdkIfFillControlSetup004() 1224 rawAcm->lineCoding.bParityType = USB_CDC_NO_PARITY; in CheckRawSdkIfFillControlSetup004() 1225 rawAcm->lineCoding.bDataBits = DATA_BITS_LENGTH; in CheckRawSdkIfFillControlSetup004() 1231 ctrlReq.data = (unsigned char *)&rawAcm->lineCoding; in CheckRawSdkIfFillControlSetup004() [all …]
|
/drivers/peripheral/usb/serial/src/ |
D | usb_serial_rawapi.c | 514 port->lineCoding.dwDTERate = CPU_TO_LE32(DATARATE); in UsbSerialDeviceAlloc() 515 port->lineCoding.bCharFormat = USB_CDC_1_STOP_BITS; in UsbSerialDeviceAlloc() 516 port->lineCoding.bParityType = USB_CDC_NO_PARITY; in UsbSerialDeviceAlloc() 517 port->lineCoding.bDataBits = DATA_BITS_LENGTH; in UsbSerialDeviceAlloc() 518 acm->lineCoding = port->lineCoding; in UsbSerialDeviceAlloc() 594 port->lineCoding.dwDTERate = CPU_TO_LE32(baudRate); in SerialSetBaudrate() 595 if (memcmp(&acm->lineCoding, &port->lineCoding, sizeof(struct UsbCdcLineCoding))) { in SerialSetBaudrate() 597 …memcpy_s(&acm->lineCoding, sizeof(struct UsbCdcLineCoding), &port->lineCoding, sizeof(port->lineCo… in SerialSetBaudrate() 603 …DF_LOGE("%s - set line: %d %d %d %d\n", __func__, (port->lineCoding.dwDTERate), port->lineCoding.b… in SerialSetBaudrate() 604 port->lineCoding.bParityType, port->lineCoding.bDataBits); in SerialSetBaudrate() [all …]
|
D | usb_serial.c | 542 port->lineCoding.dwDTERate = CPU_TO_LE32(DATARATE); in UsbSerialDeviceAlloc() 543 port->lineCoding.bCharFormat = USB_CDC_1_STOP_BITS; in UsbSerialDeviceAlloc() 544 port->lineCoding.bParityType = USB_CDC_NO_PARITY; in UsbSerialDeviceAlloc() 545 port->lineCoding.bDataBits = DATA_BITS_LENGTH; in UsbSerialDeviceAlloc() 546 acm->lineCoding = port->lineCoding; in UsbSerialDeviceAlloc() 620 port->lineCoding.dwDTERate = CPU_TO_LE32(baudRate); in SerialSetBaudrate() 621 if (memcmp(&acm->lineCoding, &port->lineCoding, sizeof(struct UsbCdcLineCoding))) { in SerialSetBaudrate() 623 …memcpy_s(&acm->lineCoding, sizeof(struct UsbCdcLineCoding), &port->lineCoding, sizeof(port->lineCo… in SerialSetBaudrate() 627 …DF_LOGE("%s - set line: %d %d %d %d\n", __func__, (port->lineCoding.dwDTERate), port->lineCoding.b… in SerialSetBaudrate() 628 port->lineCoding.bParityType, port->lineCoding.bDataBits); in SerialSetBaudrate() [all …]
|
/drivers/peripheral/usb/gadget/function/include/ |
D | cdcacm.h | 54 struct UsbCdcLineCoding lineCoding; member 109 struct UsbCdcLineCoding lineCoding; member
|
/drivers/peripheral/usb/test/unittest/device_sdk/ |
D | usb_device_cdcacm_test.cpp | 333 port->lineCoding.dwDTERate = CPU_TO_LE32(PORT_RATE); in SerialAlloc() 334 port->lineCoding.bCharFormat = USB_CDC_1_STOP_BITS; in SerialAlloc() 335 port->lineCoding.bParityType = USB_CDC_NO_PARITY; in SerialAlloc() 336 port->lineCoding.bDataBits = DATA_BIT; in SerialAlloc() 404 acm->lineCoding = *value; in CtrlComplete() 570 acm->lineCoding = port->lineCoding; in Enable() 622 if (acm->lineCoding.dwDTERate == 0) { in Setup() 623 acm->lineCoding = acm->port->lineCoding; in Setup() 625 memcpy_s(req->buf, req->length, &acm->lineCoding, ret); in Setup()
|
D | usb_device_cdcacm_test.h | 60 struct UsbCdcLineCoding lineCoding; member 110 struct UsbCdcLineCoding lineCoding; member
|
/drivers/peripheral/usb/sample/host/liteos_test/include/ |
D | usbhost_sdkraw_speed.h | 81 struct UsbCdcLineCoding lineCoding; member 122 struct UsbCdcLineCoding lineCoding; member
|
D | usbhost_sdkapi_speed.h | 87 struct UsbCdcLineCoding lineCoding; member 130 struct UsbCdcLineCoding lineCoding; member
|
D | usbhost_nosdk_speed.h | 84 struct UsbCdcLineCoding lineCoding; member 127 struct UsbCdcLineCoding lineCoding; member
|
/drivers/peripheral/usb/sample/host/include/ |
D | usbhost_sdkraw_speed.h | 86 struct UsbCdcLineCoding lineCoding; member 127 struct UsbCdcLineCoding lineCoding; member
|
D | usbhost_sdkapi_speed.h | 90 struct UsbCdcLineCoding lineCoding; member 133 struct UsbCdcLineCoding lineCoding; member
|
/drivers/peripheral/usb/serial/include/ |
D | usb_serial_rawapi.h | 96 struct UsbCdcLineCoding lineCoding; member 136 struct UsbCdcLineCoding lineCoding; member
|
D | usb_serial.h | 94 struct UsbCdcLineCoding lineCoding; member 136 struct UsbCdcLineCoding lineCoding; member
|
/drivers/hdf_core/framework/test/unittest/model/usb/device/src/ |
D | usb_device_lite_cdcacm_test.c | 321 port->lineCoding.dwDTERate = CPU_TO_LE32(PORT_RATE); in SerialAlloc() 322 port->lineCoding.bCharFormat = USB_CDC_1_STOP_BITS; in SerialAlloc() 323 port->lineCoding.bParityType = USB_CDC_NO_PARITY; in SerialAlloc() 324 port->lineCoding.bDataBits = DATA_BIT; in SerialAlloc() 391 acm->lineCoding = *value; in CtrlComplete() 560 acm->lineCoding = port->lineCoding; in Enable() 612 if (acm->lineCoding.dwDTERate == 0) { in Setup() 613 acm->lineCoding = acm->port->lineCoding; in Setup() 615 if (memcpy_s(req->buf, req->length, &acm->lineCoding, ret) != EOK) { in Setup()
|
/drivers/peripheral/usb/gadget/function/acm/ |
D | cdcacm.c | 727 uint32_t baudRate = LE32_TO_CPU(port->lineCoding.dwDTERate); in UsbSerialGetBaudrate() 744 port->lineCoding.dwDTERate = CPU_TO_LE32(*baudRate); in UsbSerialSetBaudrate() 746 port->acm->lineCoding.dwDTERate = CPU_TO_LE32(*baudRate); in UsbSerialSetBaudrate() 950 acm->lineCoding = *value; in AcmCtrlComplete() 951 HDF_LOGD("dwDTERate = %d", acm->lineCoding.dwDTERate); in AcmCtrlComplete() 952 HDF_LOGD("bCharFormat = %d", acm->lineCoding.bCharFormat); in AcmCtrlComplete() 953 HDF_LOGD("bParityType = %d", acm->lineCoding.bParityType); in AcmCtrlComplete() 954 HDF_LOGD("bDataBits = %d", acm->lineCoding.bDataBits); in AcmCtrlComplete() 1064 acm->lineCoding = port->lineCoding; in AcmEnable() 1078 port->lineCoding = acm->lineCoding; in AcmDisable() [all …]
|
/drivers/hdf_core/framework/test/unittest/model/usb/host/include/ |
D | usb_test.h | 154 struct UsbCdcLineCoding lineCoding; member 201 struct UsbCdcLineCoding lineCoding; member
|
/drivers/peripheral/usb/sample/host/src/ |
D | usbhost_sdkraw_speed.c | 358 port->lineCoding.dwDTERate = CPU_TO_LE32(DATARATE); in UsbSerialDeviceAlloc() 359 port->lineCoding.bCharFormat = USB_CDC_1_STOP_BITS; in UsbSerialDeviceAlloc() 360 port->lineCoding.bParityType = USB_CDC_NO_PARITY; in UsbSerialDeviceAlloc() 361 port->lineCoding.bDataBits = DATA_BITS_LENGTH; in UsbSerialDeviceAlloc() 362 acm->lineCoding = port->lineCoding; in UsbSerialDeviceAlloc()
|
/drivers/hdf_core/framework/test/unittest/model/usb/device/include/ |
D | usb_device_lite_cdcacm_test.h | 53 struct UsbCdcLineCoding lineCoding; member 104 struct UsbCdcLineCoding lineCoding; member
|
/drivers/peripheral/usb/net/include/ |
D | cdc_ether.h | 120 struct UsbCdcLineCoding lineCoding; member
|