Home
last modified time | relevance | path

Searched refs:lineCoding (Results 1 – 25 of 27) sorted by relevance

12

/drivers/peripheral/usb/test/unittest/host_sdk/
Dusb_raw_sdk_if_test_io.cpp422 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 …]
Dusb_host_sdk_if_test.h73 struct UsbCdcLineCoding lineCoding; member
116 struct UsbCdcLineCoding lineCoding; member
Dusb_raw_sdk_if_test.h72 struct UsbCdcLineCoding lineCoding; member
112 struct UsbCdcLineCoding lineCoding; member
Dusb_host_sdk_if_test_io.cpp305 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()
Dusb_host_sdk_if_test.cpp1428 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;
Dusb_raw_sdk_if_test.cpp1969 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/
Dusb_raw_test.c1154 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/
Dusb_serial_rawapi.c514 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 …]
Dusb_serial.c542 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/
Dcdcacm.h54 struct UsbCdcLineCoding lineCoding; member
109 struct UsbCdcLineCoding lineCoding; member
/drivers/peripheral/usb/test/unittest/device_sdk/
Dusb_device_cdcacm_test.cpp333 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()
Dusb_device_cdcacm_test.h60 struct UsbCdcLineCoding lineCoding; member
110 struct UsbCdcLineCoding lineCoding; member
/drivers/peripheral/usb/sample/host/liteos_test/include/
Dusbhost_sdkraw_speed.h81 struct UsbCdcLineCoding lineCoding; member
122 struct UsbCdcLineCoding lineCoding; member
Dusbhost_sdkapi_speed.h87 struct UsbCdcLineCoding lineCoding; member
130 struct UsbCdcLineCoding lineCoding; member
Dusbhost_nosdk_speed.h84 struct UsbCdcLineCoding lineCoding; member
127 struct UsbCdcLineCoding lineCoding; member
/drivers/peripheral/usb/sample/host/include/
Dusbhost_sdkraw_speed.h86 struct UsbCdcLineCoding lineCoding; member
127 struct UsbCdcLineCoding lineCoding; member
Dusbhost_sdkapi_speed.h90 struct UsbCdcLineCoding lineCoding; member
133 struct UsbCdcLineCoding lineCoding; member
/drivers/peripheral/usb/serial/include/
Dusb_serial_rawapi.h96 struct UsbCdcLineCoding lineCoding; member
136 struct UsbCdcLineCoding lineCoding; member
Dusb_serial.h94 struct UsbCdcLineCoding lineCoding; member
136 struct UsbCdcLineCoding lineCoding; member
/drivers/hdf_core/framework/test/unittest/model/usb/device/src/
Dusb_device_lite_cdcacm_test.c321 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/
Dcdcacm.c727 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/
Dusb_test.h154 struct UsbCdcLineCoding lineCoding; member
201 struct UsbCdcLineCoding lineCoding; member
/drivers/peripheral/usb/sample/host/src/
Dusbhost_sdkraw_speed.c358 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/
Dusb_device_lite_cdcacm_test.h53 struct UsbCdcLineCoding lineCoding; member
104 struct UsbCdcLineCoding lineCoding; member
/drivers/peripheral/usb/net/include/
Dcdc_ether.h120 struct UsbCdcLineCoding lineCoding; member

12