Home
last modified time | relevance | path

Searched refs:ctrlData (Results 1 - 6 of 6) sorted by relevance

/drivers/peripheral/usb/ddk/host/src/
H A Dusb_raw_api.c125 int32_t UsbRawControlMsg(const UsbRawHandle * const devHandle, struct UsbControlRequestData *ctrlData) in UsbRawControlMsg() argument
127 if ((devHandle == NULL) || (ctrlData == NULL)) { in UsbRawControlMsg()
132 return RawUsbControlMsg((const struct UsbDeviceHandle *)devHandle, ctrlData); in UsbRawControlMsg()
H A Dlinux_adapter.c344 struct UsbControlRequestData ctrlData; in OsGetActiveConfig() local
351 ctrlData.requestType = USB_PIPE_DIRECTION_IN; in OsGetActiveConfig()
352 ctrlData.requestCmd = USB_REQUEST_GET_CONFIGURATION; in OsGetActiveConfig()
353 ctrlData.value = 0; in OsGetActiveConfig()
354 ctrlData.index = 0; in OsGetActiveConfig()
355 ctrlData.length = 1; in OsGetActiveConfig()
356 ctrlData.timeout = USB_RAW_REQUEST_DEFAULT_TIMEOUT; in OsGetActiveConfig()
357 ctrlData.data = &activeConfig; in OsGetActiveConfig()
358 ret = ioctl(fd, USBDEVFS_CONTROL, &ctrlData); in OsGetActiveConfig()
368 static int32_t AdapterUsbControlMsg(const struct UsbDeviceHandle *handle, struct UsbControlRequestData *ctrlData) in AdapterUsbControlMsg() argument
[all...]
H A Dusb_raw_api_library.c1302 int32_t RawUsbControlMsg(const struct UsbDeviceHandle *devHandle, struct UsbControlRequestData *ctrlData) in RawUsbControlMsg() argument
1305 if (devHandle == NULL || ctrlData == NULL) { in RawUsbControlMsg()
1314 return osAdapterOps->usbControlMsg(devHandle, ctrlData); in RawUsbControlMsg()
/drivers/peripheral/usb/ddk/host/include/
H A Dlinux_adapter.h146 int32_t (*usbControlMsg)(const struct UsbDeviceHandle *devHandle, struct UsbControlRequestData *ctrlData);
H A Dusb_raw_api_library.h144 int32_t RawUsbControlMsg(const struct UsbDeviceHandle *devHandle, struct UsbControlRequestData *ctrlData);
/drivers/peripheral/usb/interfaces/ddk/host/
H A Dusb_raw_api.h527 int32_t UsbRawControlMsg(const UsbRawHandle * const devHandle, struct UsbControlRequestData *ctrlData);

Completed in 6 milliseconds