Home
last modified time | relevance | path

Searched refs:LE16_TO_CPU (Results 1 - 17 of 17) sorted by relevance

/drivers/peripheral/usb/ddk/device/src/
H A Dusbfn_cfg_mgr.c66 devDesc->bcdUSB = LE16_TO_CPU(value); in UsbFnCfgMgrParseDevDesc()
71 devDesc->idVendor = LE16_TO_CPU(value); in UsbFnCfgMgrParseDevDesc()
76 devDesc->idProduct = LE16_TO_CPU(value); in UsbFnCfgMgrParseDevDesc()
81 devDesc->bcdDevice = LE16_TO_CPU(value); in UsbFnCfgMgrParseDevDesc()
323 desc->wMaxPacketSize = LE16_TO_CPU(value); in UsbFnCfgMgrParseEndpointDesc()
350 desc->wData[0] = LE16_TO_CPU(value); in UsbFnCfgMgrParseStringDesc()
373 desc->wReseved = LE16_TO_CPU(sValue); in UsbFnCfgMgrParseSspIsocEndpointDesc()
397 desc->wBytesPerInterval = LE16_TO_CPU(sValue); in UsbFnCfgMgrParseSsEndpointDesc()
423 desc->bcdUSB = LE16_TO_CPU(sValue); in UsbFnCfgMgrParseQualifierDesc()
451 desc2->bcdOTG = LE16_TO_CPU(sValu in UsbFnCfgMgrParseOtgDesc()
[all...]
/drivers/peripheral/usb/gadget/function/ecm/
H A Dcdcecm.c512 uint16_t index = LE16_TO_CPU(ctrl->index); in EcmSetup()
513 uint16_t value = LE16_TO_CPU(ctrl->value); in EcmSetup()
514 uint16_t length = LE16_TO_CPU(ctrl->length); in EcmSetup()
/drivers/peripheral/usb/gadget/function/mtp/src/
H A Dusbfn_mtp_impl.cpp476 uint16_t wValue = LE16_TO_CPU(setup->value); in UsbMtpDeviceStandardRequest()
529 uint16_t wIndex = LE16_TO_CPU(setup->index); in UsbMtpDeviceVendorRequest()
530 uint16_t wLength = LE16_TO_CPU(setup->length); in UsbMtpDeviceVendorRequest()
554 __func__, setup->reqType, setup->request, LE16_TO_CPU(setup->index), LE16_TO_CPU(setup->value), in UsbMtpDeviceSetup()
555 LE16_TO_CPU(setup->length)); in UsbMtpDeviceSetup()
/drivers/peripheral/usb/test/unittest/device_sdk/
H A Dusb_device_cdcacm_test.cpp606 uint16_t value = LE16_TO_CPU(setup->value); in Setup()
607 uint16_t length = LE16_TO_CPU(setup->length); in Setup()
/drivers/hdf_core/framework/test/unittest/model/usb/device/src/
H A Dusb_device_lite_cdcacm_test.c596 uint16_t value = LE16_TO_CPU(setup->value); in Setup()
597 uint16_t length = LE16_TO_CPU(setup->length); in Setup()
/drivers/peripheral/usb/ddk/host/src/
H A Dusb_raw_api_library.c265 desc->wTotalLength = LE16_TO_CPU(desc->wTotalLength); in ParseDescriptor()
282 desc->wMaxPacketSize = LE16_TO_CPU(desc->wMaxPacketSize); in ParseDescriptor()
292 desc->wMaxPacketSize = LE16_TO_CPU(desc->wMaxPacketSize); in ParseDescriptor()
1243 configLen = LE16_TO_CPU(tmpConfig.desc.wTotalLength); in RawGetConfigDescriptor()
H A Dlinux_adapter.c281 configLen = LE16_TO_CPU(configDesc->wTotalLength); in OsParseConfigDescriptors()
H A Dliteos_adapter.c356 configLen = LE16_TO_CPU(configDesc->wTotalLength); in OsParseConfigDescriptors()
/drivers/peripheral/usb/interfaces/ddk/common/
H A Dusb_ddk.h68 #define LE16_TO_CPU CPU_TO_LE16 macro
/drivers/peripheral/usb/test/unittest/mock/src/
H A Dmock_linux_adapter.cpp176 uint16_t configLen = LE16_TO_CPU(configDesc->wTotalLength); in OsParseConfigDescriptors()
/drivers/peripheral/usb/gadget/function/acm/
H A Dcdcacm.c1108 uint16_t value = LE16_TO_CPU(setup->value); in AcmSetup()
1109 uint16_t length = LE16_TO_CPU(setup->length); in AcmSetup()
/drivers/peripheral/usb/serial/src/
H A Dusb_serial.c345 *status = LE16_TO_CPU(ss); in UsbGetStatus()
1280 unsigned int expectedSize = sizeof(struct UsbCdcNotification) + LE16_TO_CPU(dr->wLength); in AcmCtrlIrqCheckSize()
H A Dusb_serial_rawapi.c1092 expectedSize = sizeof(struct UsbCdcNotification) + LE16_TO_CPU(dr->wLength); in AcmNotifyReqCallback()
/drivers/peripheral/usb/net/src/
H A Dusb_net_host.c429 expectedSize = sizeof(struct UsbCdcNotification) + LE16_TO_CPU(dr->wLength); in UsbnetHostReqCallback()
H A Dcdc_ether.c779 uint32_t expectedSize = sizeof(struct UsbCdcNotification) + LE16_TO_CPU(dr->wLength); in EcmCtrlIrq()
/drivers/peripheral/usb/test/unittest/host_sdk/
H A Dusb_host_sdk_if_test.cpp152 uint32_t expectedSize = sizeof(struct UsbCdcNotification) + LE16_TO_CPU(dr->wLength); in AcmCtrlIrq()
H A Dusb_raw_sdk_if_test.cpp249 expectedSize = sizeof(struct UsbCdcNotification) + LE16_TO_CPU(dr->wLength); in AcmNotifyReqCallback()

Completed in 29 milliseconds