| /components/drivers/usb/cherryusb/class/hid/ |
| A D | usbd_hid.c | 20 … usbd_hid_get_report(busid, intf_num, LO_BYTE(setup->wValue), HI_BYTE(setup->wValue), data, len); in hid_class_interface_request_handler() 23 (*data)[0] = usbd_hid_get_idle(busid, intf_num, LO_BYTE(setup->wValue)); in hid_class_interface_request_handler() 32 … usbd_hid_set_report(busid, intf_num, LO_BYTE(setup->wValue), HI_BYTE(setup->wValue), *data, *len); in hid_class_interface_request_handler() 36 usbd_hid_set_idle(busid, intf_num, LO_BYTE(setup->wValue), HI_BYTE(setup->wValue)); in hid_class_interface_request_handler() 40 usbd_hid_set_protocol(busid, intf_num, LO_BYTE(setup->wValue)); in hid_class_interface_request_handler()
|
| A D | usbh_hid.c | 64 setup->wValue = HID_DESCRIPTOR_TYPE_HID_REPORT << 8; in usbh_hid_get_report_descriptor() 82 setup->wValue = (duration << 8) | report_id; in usbh_hid_set_idle() 101 setup->wValue = 0; in usbh_hid_get_idle() 124 setup->wValue = protocol; in usbh_hid_set_protocol() 143 setup->wValue = 0; in usbh_hid_get_protocol() 166 setup->wValue = (uint16_t)(((uint32_t)report_type << 8U) | (uint32_t)report_id); in usbh_hid_set_report() 185 setup->wValue = (uint16_t)(((uint32_t)report_type << 8U) | (uint32_t)report_id); in usbh_hid_get_report()
|
| /components/drivers/usb/cherryusb/class/aoa/ |
| A D | usbh_aoa.c | 34 setup->wValue = 0; in usbh_aoa_switch() 47 setup->wValue = 0; in usbh_aoa_switch() 59 setup->wValue = 0; in usbh_aoa_switch() 71 setup->wValue = 0; in usbh_aoa_switch() 83 setup->wValue = 0; in usbh_aoa_switch() 95 setup->wValue = 0; in usbh_aoa_switch() 107 setup->wValue = 0; in usbh_aoa_switch() 119 setup->wValue = 0; in usbh_aoa_switch() 146 setup->wValue = id; in usbh_aoa_register_hid() 161 setup->wValue = id; in usbh_aoa_register_hid() [all …]
|
| /components/drivers/usb/cherryusb/port/template/ |
| A D | usb_hc.c | 35 switch (setup->wValue) { in usbh_roothub_control() 45 switch (setup->wValue) { in usbh_roothub_control() 69 switch (setup->wValue) { in usbh_roothub_control() 95 switch (setup->wValue) { in usbh_roothub_control()
|
| /components/drivers/usb/cherryusb/class/vendor/serial/ |
| A D | usbh_cp210x.c | 54 setup->wValue = 1; in usbh_cp210x_enable() 72 setup->wValue = 0; in usbh_cp210x_set_flow() 92 setup->wValue = 0; in usbh_cp210x_set_chars() 114 setup->wValue = 0; in usbh_cp210x_set_baudrate() 136 setup->wValue = value; in usbh_cp210x_set_data_format() 157 setup->wValue = value; in usbh_cp210x_set_mhs()
|
| A D | usbh_ftdi.c | 141 setup->wValue = 0; in usbh_ftdi_reset() 159 setup->wValue = value; in usbh_ftdi_set_modem() 201 setup->wValue = value; in usbh_ftdi_set_baudrate() 228 setup->wValue = value; in usbh_ftdi_set_data_format() 246 setup->wValue = value; in usbh_ftdi_set_latency_timer() 264 setup->wValue = value; in usbh_ftdi_set_flow_ctrl() 283 setup->wValue = 0x0000; in usbh_ftdi_read_modem_status()
|
| A D | usbh_pl2303.c | 95 setup->wValue = PL2303_STATUS_REG_PL2303HX; in usbh_pl2303_get_chiptype() 143 setup->wValue = value; in usbh_pl2303_do() 161 setup->wValue = 0; in usbh_pl2303_set_line_coding() 182 setup->wValue = 0; in usbh_pl2303_get_line_coding() 205 setup->wValue = (dtr << 0) | (rts << 1); in usbh_pl2303_set_line_state() 240 setup->wValue = 0; in usbh_pl2303_connect()
|
| A D | usbh_ch34x.c | 103 setup->wValue = 0; in usbh_ch34x_get_version() 127 setup->wValue = 0x2727; in usbh_ch34x_flow_ctrl() 200 setup->wValue = value; in usbh_ch34x_set_line_coding() 224 setup->wValue = 0x0f | (dtr << 5) | (rts << 6); in usbh_ch34x_set_line_state()
|
| /components/drivers/usb/cherryusb/core/ |
| A D | usbd_core.c | 102 setup->wValue, in usbd_print_setup() 582 uint16_t value = setup->wValue; 678 uint8_t type = HI_BYTE(setup->wValue); 761 g_usbd_core[busid].intf_altsetting[intf_num] = LO_BYTE(setup->wValue); 762 usbd_set_interface(busid, setup->wIndex, setup->wValue); 807 if (setup->wValue == USB_FEATURE_ENDPOINT_HALT) { 818 if (setup->wValue == USB_FEATURE_ENDPOINT_HALT) { 999 … *data = (uint8_t *)g_usbd_core[busid].msosv1_desc->comp_id_property[setup->wValue]; 1000 desclen = g_usbd_core[busid].msosv1_desc->comp_id_property[setup->wValue][0] + 1067 if ((setup->bRequest == 0x06) && (setup->wValue == 0x0600)) { [all …]
|
| A D | usbh_core.c | 340 setup->wValue, in usbh_print_setup() 391 setup->wValue = (uint16_t)((USB_DESCRIPTOR_TYPE_DEVICE << 8) | 0); in usbh_enumerate() 432 setup->wValue = dev_addr; in usbh_enumerate() 451 setup->wValue = (uint16_t)((USB_DESCRIPTOR_TYPE_DEVICE << 8) | 0); in usbh_enumerate() 475 setup->wValue = (uint16_t)((USB_DESCRIPTOR_TYPE_CONFIGURATION << 8) | config_index); in usbh_enumerate() 502 setup->wValue = (uint16_t)((USB_DESCRIPTOR_TYPE_CONFIGURATION << 8) | config_index); in usbh_enumerate() 578 setup->wValue = config_value; in usbh_enumerate() 591 setup->wValue = 0; in usbh_enumerate() 749 setup->wValue = (uint16_t)((USB_DESCRIPTOR_TYPE_STRING << 8) | index); in usbh_get_string_desc() 781 setup->wValue = altsetting; in usbh_set_interface()
|
| /components/legacy/usb/usbhost/class/ |
| A D | hid.c | 51 setup.wValue = (duration << 8 )| report_id; in rt_usbh_hid_set_idle() 87 setup.wValue = (type << 8 ) + id; in rt_usbh_hid_get_report() 130 setup.wValue = 0x02 << 8; in rt_usbh_hid_set_report() 163 setup.wValue = protocol; in rt_usbh_hid_set_protocal() 199 setup.wValue = USB_DESC_TYPE_REPORT << 8; in rt_usbh_hid_get_report_descriptor()
|
| /components/drivers/usb/cherryusb/class/wireless/ |
| A D | usbh_rndis.c | 65 setup->wValue = 0; in usbh_rndis_init_msg_transfer() 81 setup->wValue = 0; in usbh_rndis_init_msg_transfer() 123 setup->wValue = 0; in usbh_rndis_query_msg_transfer() 139 setup->wValue = 0; in usbh_rndis_query_msg_transfer() 180 setup->wValue = 0; in usbh_rndis_set_msg_transfer() 196 setup->wValue = 0; in usbh_rndis_set_msg_transfer() 247 setup->wValue = 0; in usbh_rndis_keepalive() 263 setup->wValue = 0; in usbh_rndis_keepalive()
|
| /components/drivers/usb/cherryusb/class/hub/ |
| A D | usbh_hub.c | 68 setup->wValue = HUB_DESCRIPTOR_TYPE_HUB << 8; in _usbh_hub_get_hub_descriptor() 90 setup->wValue = HUB_DESCRIPTOR_TYPE_HUB3 << 8; in _usbh_hub_get_hub_ss_descriptor() 113 setup->wValue = 0; in _usbh_hub_get_portstatus() 133 setup->wValue = feature; in _usbh_hub_set_feature() 148 setup->wValue = feature; in _usbh_hub_clear_feature() 164 setup->wValue = depth; in _usbh_hub_set_depth() 228 setup->wValue = 0; in usbh_hub_get_portstatus() 246 setup->wValue = feature; in usbh_hub_set_feature() 264 setup->wValue = feature; in usbh_hub_clear_feature() 283 setup->wValue = depth; in usbh_hub_set_depth()
|
| /components/drivers/usb/cherryusb/port/ohci/ |
| A D | usb_hc_ohci.c | 150 switch (setup->wValue) { in ohci_roothub_control() 160 switch (setup->wValue) { in ohci_roothub_control() 184 switch (setup->wValue) { in ohci_roothub_control() 232 switch (setup->wValue) { in ohci_roothub_control()
|
| /components/drivers/usb/cherryusb/class/audio/ |
| A D | usbh_audio.c | 97 setup->wValue = altsetting; in usbh_audio_open() 111 setup->wValue = (AUDIO_EP_CONTROL_SAMPLING_FEQ << 8) | 0x00; in usbh_audio_open() 162 setup->wValue = 0; in usbh_audio_close() 220 setup->wValue = (AUDIO_FU_CONTROL_VOLUME << 8) | ch; in usbh_audio_set_volume() 233 setup->wValue = (AUDIO_FU_CONTROL_VOLUME << 8) | ch; in usbh_audio_set_volume() 246 setup->wValue = (AUDIO_FU_CONTROL_VOLUME << 8) | ch; in usbh_audio_set_volume() 258 setup->wValue = (AUDIO_FU_CONTROL_VOLUME << 8) | ch; in usbh_audio_set_volume() 270 setup->wValue = (AUDIO_FU_CONTROL_VOLUME << 8) | ch; in usbh_audio_set_volume() 334 setup->wValue = (AUDIO_FU_CONTROL_MUTE << 8) | ch; in usbh_audio_set_mute()
|
| A D | usbd_audio.c | 28 control_selector = HI_BYTE(setup->wValue); in audio_class_endpoint_request_handler() 77 control_selector = HI_BYTE(setup->wValue); in audio_class_interface_request_handler() 78 ch = LO_BYTE(setup->wValue); in audio_class_interface_request_handler()
|
| /components/drivers/usb/cherryusb/class/cdc/ |
| A D | usbd_cdc_acm.c | 54 dtr = (setup->wValue & 0x0001); in cdc_acm_class_interface_request_handler() 55 rts = (setup->wValue & 0x0002); in cdc_acm_class_interface_request_handler()
|
| A D | usbd_cdc_ecm.c | 44 notify->wValue = value; in usbd_cdc_ecm_send_notify() 54 notify->wValue = 0U; in usbd_cdc_ecm_send_notify() 63 notify->wValue = 0U; in usbd_cdc_ecm_send_notify()
|
| A D | usbh_cdc_acm.c | 56 setup->wValue = 0; in usbh_cdc_acm_set_line_coding() 77 setup->wValue = 0; in usbh_cdc_acm_get_line_coding() 100 setup->wValue = (dtr << 0) | (rts << 1); in usbh_cdc_acm_set_line_state()
|
| A D | usb_cdc.h | 351 uint16_t wValue; member 372 uint16_t wValue; member
|
| /components/legacy/usb/usbhost/core/ |
| A D | usbhost_core.c | 327 setup.wValue = type << 8; in rt_usbh_get_descriptor() 363 setup.wValue = device->index; in rt_usbh_set_address() 398 setup.wValue = config; in rt_usbh_set_configure() 432 setup.wValue = intf; in rt_usbh_set_interface() 463 setup.wValue = feature; in rt_usbh_clear_feature()
|
| A D | hub.c | 136 setup.wValue = USB_DESC_TYPE_HUB << 8; in rt_usbh_hub_get_descriptor() 169 setup.wValue = 0; in rt_usbh_hub_get_status() 210 setup.wValue = 0; in rt_usbh_hub_get_port_status() 253 setup.wValue = feature; in rt_usbh_hub_clear_port_feature() 294 setup.wValue = feature; in rt_usbh_hub_set_port_feature()
|
| /components/legacy/usb/usbdevice/core/ |
| A D | usbdevice_core.c | 109 index = setup->wValue & 0xFF; in _get_string_descriptor() 195 switch(setup->wValue >> 8) in _get_descriptor() 311 rt_usbd_set_altsetting(intf, setup->wValue & 0xFF); in _set_interface() 387 if (setup->wValue > device->dev_desc.bNumConfigurations) in _set_config() 393 if (setup->wValue == 0) in _set_config() 402 rt_usbd_set_config(device, setup->wValue); in _set_config() 450 dcd_set_address(device->dcd, setup->wValue); in _set_address() 528 rt_usbd_set_feature(device, setup->wValue, setup->wIndex); in _standard_request() 590 if(USB_EP_HALT == setup->wValue && ep->stalled == RT_TRUE) in _standard_request() 611 if(USB_EP_HALT == setup->wValue) in _standard_request() [all …]
|
| /components/drivers/usb/cherryusb/class/video/ |
| A D | usbh_video.c | 73 setup->wValue = cs << 8; in usbh_video_get() 109 setup->wValue = cs << 8; in usbh_video_set() 251 setup->wValue = altsetting; in usbh_video_open() 305 setup->wValue = 0; in usbh_video_close()
|
| /components/legacy/usb/usbdevice/class/ |
| A D | hid.c | 470 if((setup->wValue >> 8) == USB_DESC_TYPE_REPORT) in _interface_handler() 474 else if((setup->wValue >> 8) == USB_DESC_TYPE_HID) in _interface_handler() 508 data->protocol = setup->wValue; in _interface_handler()
|