Home
last modified time | relevance | path

Searched refs:UsbDevice (Results 1 - 12 of 12) sorted by relevance

/drivers/peripheral/usb/ddk/host/include/
H A Dusb_ddk_device.h30 struct UsbDevice { struct
34 struct UsbDevice *parentDev;
54 struct UsbDevice *dev;
H A Dusb_raw_api_library.h113 int32_t RawGetConfigDescriptor(const struct UsbDevice *dev, uint8_t configIndex,
120 struct UsbDevice *RawGetDevice(const struct UsbDeviceHandle *devHandle);
121 int32_t RawGetDeviceDescriptor(const struct UsbDevice *dev, struct UsbDeviceDescriptor *desc);
135 void RawRequestListInit(struct UsbDevice *deviceObj);
H A Dusb_interface_pool.h82 struct UsbDevice *device;
H A Dliteos_adapter.h97 int32_t (*getConfigDescriptor)(const struct UsbDevice *device, uint8_t configIndex, void *buffer, size_t len);
H A Dlinux_adapter.h127 int32_t (*getConfigDescriptor)(const struct UsbDevice *device, uint8_t configIndex, void *buffer, size_t len);
/drivers/peripheral/usb/test/unittest/mock/src/
H A Dmock_linux_adapter.cpp34 static UsbDevice *g_dev = nullptr;
78 UsbDevice *dev = reinterpret_cast<UsbDevice *>(listEntry); in OsDeviceCompare()
99 UsbDevice *dev = reinterpret_cast<UsbDevice *>( in OsGetDeviceHandle()
122 static UsbDevice *OsAllocDevice(UsbSession *session, UsbDeviceHandle *handle) in OsAllocDevice()
124 UsbDevice *dev = static_cast<UsbDevice *>(RawUsbMemCalloc(sizeof(UsbDevice))); in OsAllocDevice()
137 static int32_t OsReadDescriptors(UsbDevice *de in OsAllocDevice()
[all...]
/drivers/peripheral/usb/ddk/host/src/
H A Dliteos_adapter.c40 struct UsbDevice *dev;
99 struct UsbDevice *dev = as->dev; in OsUrbComplete()
183 struct UsbDevice *dev = handle->dev; in OsReapUrb()
202 struct UsbDevice *dev = (struct UsbDevice *)listEntry; in OsDeviceCompare()
216 struct UsbDevice *dev = NULL; in OsGetDeviceHandle()
225 dev = (struct UsbDevice *)HdfSListSearch(&session->usbDevs, (busNum << BUS_OFFSET) | usbAddr, OsDeviceCompare); in OsGetDeviceHandle()
250 static struct UsbDevice *OsAllocDevice(struct UsbSession *session, struct UsbDeviceHandle *handle) in OsAllocDevice()
252 struct UsbDevice *dev = RawUsbMemCalloc(sizeof(*dev)); in OsAllocDevice()
267 static int32_t OsReadDescriptors(struct UsbDevice *de
[all...]
H A Dlinux_adapter.c58 struct UsbDevice *dev = (struct UsbDevice *)listEntry; in OsDeviceCompare()
73 struct UsbDevice *dev = NULL; in OsGetDeviceHandle()
82 dev = (struct UsbDevice *)HdfSListSearch(&session->usbDevs, (busNum << BUS_OFFSET) | usbAddr, OsDeviceCompare); in OsGetDeviceHandle()
107 static struct UsbDevice *OsAllocDevice(struct UsbSession *session, struct UsbDeviceHandle *handle) in OsAllocDevice()
109 struct UsbDevice *dev = RawUsbMemCalloc(sizeof(*dev)); in OsAllocDevice()
125 static int32_t GetMmapFd(struct UsbDevice *dev) in GetMmapFd()
143 static int32_t GetUsbDevicePath(struct UsbDevice *dev, char *pathBuf, size_t length) in GetUsbDevicePath()
169 static int32_t OsGetUsbFd(struct UsbDevice *dev, mode_t mode) in OsGetUsbFd()
214 static int32_t OsReadDescriptors(struct UsbDevice *de
[all...]
H A Dusb_raw_api.c91 return RawGetConfigDescriptor((const struct UsbDevice *)rawDev, configIndex, config); in UsbRawGetConfigDescriptor()
173 return RawGetDeviceDescriptor((const struct UsbDevice *)rawDev, desc); in UsbRawGetDeviceDescriptor()
H A Dusb_raw_api_library.c205 static int32_t GetConfigDescriptor(const struct UsbDevice *dev, uint8_t configIdx, uint8_t *buffer, size_t size) in GetConfigDescriptor()
1226 const struct UsbDevice *dev, uint8_t configIndex, struct UsbRawConfigDescriptor ** const config) in RawGetConfigDescriptor()
1370 struct UsbDevice *RawGetDevice(const struct UsbDeviceHandle *devHandle) in RawGetDevice()
1380 int32_t RawGetDeviceDescriptor(const struct UsbDevice *dev, struct UsbDeviceDescriptor *desc) in RawGetDeviceDescriptor()
1618 void RawRequestListInit(struct UsbDevice *deviceObj) in RawRequestListInit()
/drivers/peripheral/usb/test/unittest/mock/include/
H A Dmock_linux_adapter.h27 int32_t FuncAdapterGetConfigDescriptor(const UsbDevice *dev, uint8_t configIndex, void *buffer, size_t len);
/drivers/peripheral/audio/hal/hdi_binder/server/src/
H A Dhdf_audio_pnp_uevent.c95 struct UsbDevice { struct
133 static int32_t CheckUsbDesc(struct UsbDevice *usbDevice) in CheckUsbDesc()
175 struct UsbDevice usbDevice; in ReadAndScanUsbDev()

Completed in 10 milliseconds