/Zephyr-Core-3.6.0/subsys/usb/host/ |
D | usbh_ch9.c | 40 const uint16_t wValue, in usbh_req_setup() argument 48 .wValue = sys_cpu_to_le16(wValue), in usbh_req_setup() 94 const uint16_t wValue = (type << 8) | index; in usbh_req_desc() local 97 bmRequestType, bRequest, wValue, id, len, in usbh_req_desc() 229 const uint16_t wValue = alt; in usbh_req_set_alt() local 233 bmRequestType, bRequest, wValue, wIndex, 0, in usbh_req_set_alt() 241 const uint16_t wValue = USB_SFS_REMOTE_WAKEUP; in usbh_req_set_sfs_rwup() local 244 bmRequestType, bRequest, wValue, 0, 0, in usbh_req_set_sfs_rwup() 252 const uint16_t wValue = USB_SFS_REMOTE_WAKEUP; in usbh_req_clear_sfs_rwup() local 255 bmRequestType, bRequest, wValue, 0, 0, in usbh_req_clear_sfs_rwup() [all …]
|
D | usbh_ch9.h | 18 const uint16_t wValue,
|
D | usbh_shell.c | 95 const uint16_t wValue = 0x0000; in cmd_vendor_in() local 107 ret = usbh_req_setup(udev, bmRequestType, bRequest, wValue, 0, wLength, buf); in cmd_vendor_in() 123 const uint16_t wValue = 0x0000; in cmd_vendor_out() local 136 ret = usbh_req_setup(udev, bmRequestType, bRequest, wValue, 0, wLength, buf); in cmd_vendor_out()
|
/Zephyr-Core-3.6.0/subsys/usb/device_next/ |
D | usbd_ch9.c | 58 ret = udc_set_address(uds_ctx->dev, setup->wValue); in post_status_stage() 60 LOG_ERR("Failed to set device address 0x%x", setup->wValue); in post_status_stage() 65 setup->wValue == USB_SFS_TEST_MODE) { in post_status_stage() 85 if (setup->wValue > 127 || setup->wLength) { in sreq_set_address() 103 ret = udc_set_address(uds_ctx->dev, setup->wValue); in sreq_set_address() 105 LOG_ERR("Failed to set device address 0x%x", setup->wValue); in sreq_set_address() 112 if (usbd_state_is_address(uds_ctx) && setup->wValue == 0) { in sreq_set_address() 127 LOG_INF("Set Configuration Request value %u", setup->wValue); in sreq_set_configuration() 130 if (setup->wValue > UINT8_MAX || setup->wLength) { in sreq_set_configuration() 145 if (setup->wValue && !usbd_config_exist(uds_ctx, setup->wValue)) { in sreq_set_configuration() [all …]
|
/Zephyr-Core-3.6.0/subsys/usb/device/ |
D | usb_device.c | 147 uint16_t wValue; member 169 setup->wValue, in usb_print_setup() 305 setup->wValue = sys_le16_to_cpu(setup_raw.wValue); in usb_handle_control_transfer() 467 type = USB_GET_DESCRIPTOR_TYPE(setup->wValue); in usb_get_descriptor() 468 index = USB_GET_DESCRIPTOR_INDEX(setup->wValue); in usb_get_descriptor() 511 LOG_DBG("Desc %x not found!", setup->wValue); in usb_get_descriptor() 686 LOG_DBG("Set Configuration %u request", setup->wValue); in usb_set_configuration() 688 if (setup->wValue == 0U) { in usb_set_configuration() 690 usb_dev.configuration = setup->wValue; in usb_set_configuration() 705 if (cur_config == setup->wValue) { in usb_set_configuration() [all …]
|
D | os_desc.c | 24 if (USB_GET_DESCRIPTOR_TYPE(setup->wValue) == USB_DESC_STRING && in usb_handle_os_desc() 25 USB_GET_DESCRIPTOR_INDEX(setup->wValue) == USB_OSDESC_STRING_DESC_INDEX) { in usb_handle_os_desc()
|
D | bos.c | 52 if (USB_GET_DESCRIPTOR_TYPE(setup->wValue) == USB_DESC_BOS) { in usb_handle_bos()
|
/Zephyr-Core-3.6.0/include/zephyr/usb/ |
D | usb_ch9.h | 45 uint16_t wValue; member 266 #define USB_GET_DESCRIPTOR_TYPE(wValue) ((uint8_t)((wValue) >> 8)) argument 269 #define USB_GET_DESCRIPTOR_INDEX(wValue) ((uint8_t)(wValue)) argument
|
/Zephyr-Core-3.6.0/samples/subsys/usb/webusb/src/ |
D | main.c | 259 if (USB_GET_DESCRIPTOR_TYPE(pSetup->wValue) == USB_DESC_STRING && in custom_handle_req() 260 USB_GET_DESCRIPTOR_INDEX(pSetup->wValue) == 0xEE) { in custom_handle_req() 299 uint8_t index = USB_GET_DESCRIPTOR_INDEX(pSetup->wValue); in vendor_handle_req()
|
/Zephyr-Core-3.6.0/subsys/usb/device/class/dfu/ |
D | usb_dfu.c | 503 setup->wValue, setup->wLength, dfu_data.state); in dfu_class_handle_to_host() 523 dfu_data.block_nr != setup->wValue) { in dfu_class_handle_to_host() 525 "len %d", setup->wValue, in dfu_class_handle_to_host() 635 setup->wValue, setup->wLength, dfu_data.state); in dfu_class_handle_to_device() 678 setup->wValue, dfu_data.state); in dfu_class_handle_to_device() 696 timeout = MIN(setup->wValue, CONFIG_USB_DFU_DETACH_TIMEOUT); in dfu_class_handle_to_device() 805 LOG_DBG("DFU alternate setting %d", setup->wValue); in dfu_custom_handle_req() 809 switch (setup->wValue) { in dfu_custom_handle_req() 830 dfu_data.alt_setting = setup->wValue; in dfu_custom_handle_req()
|
/Zephyr-Core-3.6.0/tests/subsys/usb/os_desc/src/ |
D | usb_osdesc.c | 96 setup.wValue = (USB_DESC_STRING & 0xFF) << 8; in test_handle_os_desc() 97 setup.wValue |= USB_OSDESC_STRING_DESC_INDEX; in test_handle_os_desc()
|
/Zephyr-Core-3.6.0/subsys/usb/device/class/hid/ |
D | core.c | 158 uint8_t report_id = (uint8_t)setup->wValue; in hid_on_get_idle() 204 if (setup->wValue) { in hid_on_get_protocol() 224 uint8_t rate = (uint8_t)(setup->wValue >> 8); in hid_on_set_idle() 225 uint8_t report_id = (uint8_t)setup->wValue; in hid_on_set_idle() 244 dev_data->idle_on = (bool)setup->wValue; in hid_on_set_idle() 268 uint16_t protocol = setup->wValue; in hid_on_set_protocol() 512 uint8_t value = (uint8_t)(setup->wValue >> 8); in hid_custom_handle_req()
|
/Zephyr-Core-3.6.0/subsys/usb/device/class/audio/ |
D | audio.c | 533 uint8_t ch = (setup->wValue) & 0xFF; in handle_fu_mute_req() 566 uint8_t ch = (setup->wValue) & 0xFF; in handle_fu_volume_req() 651 ch = (pSetup->wValue) & 0xFF; in handle_feature_unit_req() 652 cs = ((pSetup->wValue) >> 8) & 0xFF; in handle_feature_unit_req() 819 audio_dev_data->tx_enable = pSetup->wValue; in audio_custom_handler() 821 audio_dev_data->rx_enable = pSetup->wValue; in audio_custom_handler() 841 pSetup->bmRequestType, pSetup->bRequest, pSetup->wValue, in audio_class_handle_req()
|
/Zephyr-Core-3.6.0/drivers/usb/device/ |
D | usb_dc_native_posix_adapt.h | 72 uint16_t wValue; member
|
D | usb_dc_nrfx.c | 752 usbd_setup->wValue = nrf_usbd_setup_wvalue_get(NRF_USBD); in usbd_work_process_setup() 763 (uint32_t)usbd_setup->wValue, in usbd_work_process_setup()
|
/Zephyr-Core-3.6.0/include/zephyr/usb/class/ |
D | usb_cdc.h | 195 uint16_t wValue; member
|
/Zephyr-Core-3.6.0/drivers/usb/common/nrf_usbd_common/ |
D | nrf_usbd_common.h | 269 uint16_t wValue; /*!< byte 2, 3 */ member
|
/Zephyr-Core-3.6.0/tests/subsys/usb/bos/src/ |
D | test_bos.c | 205 setup.wValue = (USB_DESC_BOS & 0xFF) << 8; in test_usb_bos()
|
/Zephyr-Core-3.6.0/subsys/usb/device_next/class/ |
D | usbd_cdc_ecm.c | 49 uint16_t wValue; member 280 .wValue = sys_cpu_to_le16((uint16_t)connected), in cdc_ecm_send_notification()
|
D | usbd_msc.c | 678 setup->wValue == 0 && setup->wLength == 0) { in msc_bot_control_to_dev() 696 setup->wValue == 0 && setup->wLength >= 1) { in msc_bot_control_to_host()
|
D | usbd_uac2.c | 61 #define CONTROL_SELECTOR(setup) ((setup->wValue & 0xFF00) >> 8) 62 #define CONTROL_CHANNEL_NUMBER(setup) (setup->wValue & 0x00FF)
|
D | usbd_cdc_acm.c | 379 data->line_state = setup->wValue; in usbd_cdc_acm_ctd() 411 .wValue = 0, in cdc_acm_send_notification()
|
/Zephyr-Core-3.6.0/subsys/usb/device/class/netusb/ |
D | function_ecm.c | 211 setup->wIndex, setup->wValue); in ecm_class_handler()
|
/Zephyr-Core-3.6.0/subsys/usb/device/class/ |
D | cdc_acm.c | 187 dev_data->line_state = (uint8_t)setup->wValue; in cdc_acm_class_handle_req() 781 notification.wValue = 0U; in cdc_acm_send_notification()
|
D | msc.c | 344 setup->wValue != 0) { in mass_storage_class_handle_req()
|