Home
last modified time | relevance | path

Searched refs:wIndex (Results 1 – 16 of 16) sorted by relevance

/Zephyr-Core-2.7.6/samples/subsys/usb/webusb/src/
Dmain.c250 if (pSetup->bRequest == 0x01 && pSetup->wIndex == 0x01) { in vendor_handle_req()
257 } else if (pSetup->bRequest == 0x01 && pSetup->wIndex == 0x02) { in vendor_handle_req()
271 } else if (pSetup->bRequest == 0x02 && pSetup->wIndex == 0x07) { in vendor_handle_req()
280 } else if (pSetup->bRequest == 0x03 && pSetup->wIndex == 0x04) { in vendor_handle_req()
/Zephyr-Core-2.7.6/tests/subsys/usb/os_desc/src/
Dusb_osdesc.c37 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-Core-2.7.6/subsys/usb/
Dusb_device.c149 uint16_t wIndex; member
169 setup->wIndex, in usb_print_setup()
309 setup->wIndex = sys_le16_to_cpu(setup_raw.wIndex); in usb_handle_control_transfer()
717 LOG_DBG("Set Interface %u alternate %u", setup->wIndex, setup->wValue); in usb_set_interface()
726 if (cur_iface == setup->wIndex && in usb_set_interface()
728 ret = usb_set_alt_setting(setup->wIndex, in usb_set_interface()
737 if (cur_iface == setup->wIndex) { in usb_set_interface()
768 if (cur_iface == setup->wIndex) { in usb_get_interface()
771 setup->wIndex, data[0]); in usb_get_interface()
913 (!is_interface_valid((uint8_t)setup->wIndex))) { in usb_handle_std_interface_req()
[all …]
Dos_desc.c47 switch (setup->wIndex) { in usb_handle_os_desc_feature()
/Zephyr-Core-2.7.6/samples/net/wpanusb/
Dwpan-radio-spec.txt13 Command opcodes are inside bRequest field. bRequest and wIndex are one octet
27 Sequence number wIndex
/Zephyr-Core-2.7.6/include/usb/class/
Dusb_cdc.h152 uint16_t wIndex; member
/Zephyr-Core-2.7.6/drivers/usb/device/
Dusb_dc_native_posix_adapt.h73 uint16_t wIndex; member
Dusb_dc_nrfx.c780 usbd_setup->wIndex = nrf_usbd_setup_windex_get(NRF_USBD); in usbd_work_process_setup()
791 (uint32_t)usbd_setup->wIndex, in usbd_work_process_setup()
/Zephyr-Core-2.7.6/samples/net/wpanusb/src/
Dwpanusb.c150 net_pkt_write_u8(pkt, setup->wIndex); in wpanusb_vendor_handler()
155 LOG_DBG("pkt %p len %u seq %u", pkt, *len, setup->wIndex); in wpanusb_vendor_handler()
/Zephyr-Core-2.7.6/subsys/usb/class/audio/
Daudio.c573 fu_id = ((pSetup->wIndex) >> 8) & 0xFF; in handle_feature_unit_req()
639 uint8_t entity_id = ((pSetup->wIndex) >> 8) & 0xFF; in handle_interface_req()
695 uint8_t iface = (pSetup->wIndex) & 0xFF; in audio_custom_handler()
762 pSetup->wIndex, pSetup->wLength); in audio_class_handle_req()
/Zephyr-Core-2.7.6/include/usb/
Dusb_ch9.h45 uint16_t wIndex; member
/Zephyr-Core-2.7.6/subsys/usb/class/hid/
Dcore.c441 (uint8_t)setup->wIndex); in hid_class_handle_req()
444 setup->wIndex); in hid_class_handle_req()
505 uint8_t iface_num = (uint8_t)setup->wIndex; in hid_custom_handle_req()
/Zephyr-Core-2.7.6/subsys/usb/class/
Dcdc_acm.c150 (uint8_t)setup->wIndex); in cdc_acm_class_handle_req()
153 setup->wIndex); in cdc_acm_class_handle_req()
757 notification.wIndex = 0U; in cdc_acm_send_notification()
Dmsc.c265 if (setup->wIndex != mass_cfg.if0.bInterfaceNumber || in mass_storage_class_handle_req()
/Zephyr-Core-2.7.6/subsys/usb/class/netusb/
Dfunction_ecm.c216 setup->wIndex, setup->wValue); in ecm_class_handler()
Dfunction_rndis.c1026 uint16_t wIndex; member
1040 .wIndex = sys_cpu_to_le16(USB_OSDESC_EXTENDED_COMPAT_ID),