/Zephyr-latest/subsys/usb/host/ |
D | usbh_ch9.c | 41 const uint16_t wIndex, in usbh_req_setup() argument 49 .wIndex = sys_cpu_to_le16(wIndex), in usbh_req_setup() 230 const uint16_t wIndex = iface; in usbh_req_set_alt() local 233 bmRequestType, bRequest, wValue, wIndex, 0, in usbh_req_set_alt() 267 const uint16_t wIndex = port; in usbh_req_set_hcfs_ppwr() local 270 bmRequestType, bRequest, wValue, wIndex, 0, in usbh_req_set_hcfs_ppwr() 282 const uint16_t wIndex = port; in usbh_req_set_hcfs_prst() local 285 bmRequestType, bRequest, wValue, wIndex, 0, in usbh_req_set_hcfs_prst()
|
D | usbh_ch9.h | 19 const uint16_t wIndex,
|
/Zephyr-latest/subsys/usb/device_next/ |
D | usbd_ch9.c | 30 #define SF_TEST_MODE_SELECTOR(wIndex) ((uint8_t)((wIndex) >> 8)) argument 31 #define SF_TEST_LOWER_BYTE(wIndex) ((uint8_t)(wIndex)) argument 71 uint8_t mode = SF_TEST_MODE_SELECTOR(setup->wIndex); in post_status_stage() 90 if (setup->wValue > 127 || setup->wIndex || setup->wLength) { in sreq_set_address() 198 if (setup->wValue > UINT8_MAX || setup->wIndex > UINT8_MAX) { in sreq_set_interface() 208 ret = usbd_interface_set(uds_ctx, setup->wIndex, setup->wValue); in sreq_set_interface() 231 uint8_t ep = setup->wIndex; in sreq_clear_feature() 246 if (usbd_state_is_address(uds_ctx) && setup->wIndex) { in sreq_clear_feature() 253 if (setup->wIndex != 0) { in sreq_clear_feature() 286 uint8_t mode = SF_TEST_MODE_SELECTOR(setup->wIndex); in set_feature_test_mode() [all …]
|
/Zephyr-latest/samples/subsys/usb/webusb/src/ |
D | main.c | 293 if (pSetup->bRequest == 0x01 && pSetup->wIndex == 0x01) { in vendor_handle_req() 300 } else if (pSetup->bRequest == 0x01 && pSetup->wIndex == 0x02) { in vendor_handle_req() 315 pSetup->wIndex == MS_OS_20_DESCRIPTOR_INDEX) { in vendor_handle_req() 323 } else if (pSetup->bRequest == 0x03 && pSetup->wIndex == 0x04) { in vendor_handle_req()
|
/Zephyr-latest/tests/subsys/usb/os_desc/src/ |
D | usb_osdesc.c | 37 uint16_t wIndex; member 51 .wIndex = sys_cpu_to_le16(USB_OSDESC_EXTENDED_COMPAT_ID), 117 setup.wIndex = USB_OSDESC_EXTENDED_COMPAT_ID; in test_handle_os_desc_feature()
|
/Zephyr-latest/subsys/usb/device/ |
D | usb_device.c | 149 uint16_t wIndex; member 171 setup->wIndex, in usb_print_setup() 307 setup->wIndex = sys_le16_to_cpu(setup_raw.wIndex); in usb_handle_control_transfer() 765 LOG_DBG("Set Interface %u alternate %u", setup->wIndex, setup->wValue); in usb_set_interface() 774 if (cur_iface == setup->wIndex && in usb_set_interface() 776 ret = usb_set_alt_setting(setup->wIndex, in usb_set_interface() 785 if (cur_iface == setup->wIndex) { in usb_set_interface() 816 if (cur_iface == setup->wIndex) { in usb_get_interface() 819 setup->wIndex, data[0]); in usb_get_interface() 961 (!is_interface_valid((uint8_t)setup->wIndex))) { in usb_handle_std_interface_req() [all …]
|
D | os_desc.c | 46 switch (setup->wIndex) { in usb_handle_os_desc_feature()
|
/Zephyr-latest/samples/subsys/usb/webusb-next/src/ |
D | webusb.h | 70 if (setup->wIndex == WEBUSB_REQ_GET_URL) { in webusb_to_host_cb()
|
D | msosv2.h | 123 setup->wIndex == MS_OS_20_DESCRIPTOR_INDEX) { in msosv2_to_host_cb()
|
/Zephyr-latest/subsys/usb/device_next/class/ |
D | usbd_hid_api.c | 79 .wIndex = 0, in wrapper_get_report() 101 .wIndex = 0, in wrapper_set_report()
|
D | usbd_cdc_ncm.c | 56 uint16_t wIndex; member 715 .wIndex = sys_cpu_to_le16(cdc_ncm_get_ctrl_if(data)), in cdc_ncm_send_connected() 746 .wIndex = sys_cpu_to_le16(cdc_ncm_get_ctrl_if(data)), in cdc_ncm_send_speed_change() 921 setup->wLength, setup->wIndex, setup->wValue); in usbd_cdc_ncm_cth()
|
D | usbd_cdc_ecm.c | 51 uint16_t wIndex; member 325 .wIndex = sys_cpu_to_le16(cdc_ecm_get_ctrl_if(data)), in cdc_ecm_send_notification()
|
/Zephyr-latest/drivers/usb/device/ |
D | usb_dc_native_posix_adapt.h | 73 uint16_t wIndex; member
|
D | usb_dc_nrfx.c | 754 usbd_setup->wIndex = nrf_usbd_setup_windex_get(NRF_USBD); in usbd_work_process_setup() 765 (uint32_t)usbd_setup->wIndex, in usbd_work_process_setup()
|
/Zephyr-latest/samples/subsys/dap/src/ |
D | main.c | 187 if (setup->bRequest == WEBUSB_VENDOR_CODE && setup->wIndex == 0x02) { in msosv2_vendor_handle_req() 197 setup->wIndex == MS_OS_20_DESCRIPTOR_INDEX) { in msosv2_vendor_handle_req()
|
/Zephyr-latest/drivers/usb/common/nrf_usbd_common/ |
D | nrf_usbd_common.h | 270 uint16_t wIndex; /*!< byte 4, 5 */ member
|
/Zephyr-latest/include/zephyr/usb/class/ |
D | usb_cdc.h | 215 uint16_t wIndex; member
|
/Zephyr-latest/subsys/usb/device/class/hid/ |
D | core.c | 449 (uint8_t)setup->wIndex); in hid_class_handle_req() 452 setup->wIndex); in hid_class_handle_req() 513 uint8_t iface_num = (uint8_t)setup->wIndex; in hid_custom_handle_req()
|
/Zephyr-latest/subsys/usb/device/class/audio/ |
D | audio.c | 650 fu_id = ((pSetup->wIndex) >> 8) & 0xFF; in handle_feature_unit_req() 720 uint8_t entity_id = ((pSetup->wIndex) >> 8) & 0xFF; in handle_interface_req() 776 uint8_t iface = (pSetup->wIndex) & 0xFF; in audio_custom_handler() 843 pSetup->wIndex, pSetup->wLength); in audio_class_handle_req()
|
/Zephyr-latest/include/zephyr/usb/ |
D | usb_ch9.h | 47 uint16_t wIndex; member
|
/Zephyr-latest/subsys/usb/device/class/ |
D | cdc_acm.c | 161 (uint8_t)setup->wIndex); in cdc_acm_class_handle_req() 164 setup->wIndex); in cdc_acm_class_handle_req() 780 notification.wIndex = 0U; in cdc_acm_send_notification()
|
D | msc.c | 343 if (setup->wIndex != mass_cfg.if0.bInterfaceNumber || in mass_storage_class_handle_req()
|
/Zephyr-latest/drivers/usb/udc/ |
D | udc_nrf.c | 387 setup->wIndex = 0; in udc_event_xfer_setup() 400 setup->wIndex = 0; in udc_event_xfer_setup()
|
/Zephyr-latest/subsys/usb/device/class/netusb/ |
D | function_ecm.c | 211 setup->wIndex, setup->wValue); in ecm_class_handler()
|
D | function_rndis.c | 997 uint16_t wIndex; member 1011 .wIndex = sys_cpu_to_le16(USB_OSDESC_EXTENDED_COMPAT_ID),
|