/Linux-v6.6/drivers/usb/usbip/ |
D | vudc_transfer.c | 65 unsigned int w_value; in handle_control_request() local 68 w_value = le16_to_cpu(setup->wValue); in handle_control_request() 73 udc->address = w_value; in handle_control_request() 80 switch (w_value) { in handle_control_request() 96 udc->devstatus |= (1 << w_value); in handle_control_request() 114 switch (w_value) { in handle_control_request() 116 w_value = USB_DEVICE_REMOTE_WAKEUP; in handle_control_request() 129 udc->devstatus &= ~(1 << w_value); in handle_control_request()
|
/Linux-v6.6/drivers/usb/gadget/function/ |
D | f_uac1_legacy.c | 392 u16 w_value = le16_to_cpu(ctrl->wValue); in audio_set_intf_req() local 393 u8 con_sel = (w_value >> 8) & 0xFF; in audio_set_intf_req() 399 ctrl->bRequest, w_value, len, id); in audio_set_intf_req() 429 u16 w_value = le16_to_cpu(ctrl->wValue); in audio_get_intf_req() local 430 u8 con_sel = (w_value >> 8) & 0xFF; in audio_get_intf_req() 436 ctrl->bRequest, w_value, len, id); in audio_get_intf_req() 465 u16 w_value = le16_to_cpu(ctrl->wValue); in audio_set_endpoint_req() local 468 ctrl->bRequest, w_value, len, ep); in audio_set_endpoint_req() 501 u16 w_value = le16_to_cpu(ctrl->wValue); in audio_get_endpoint_req() local 504 ctrl->bRequest, w_value, len, ep); in audio_get_endpoint_req() [all …]
|
D | f_uac1.c | 437 u16 w_value = le16_to_cpu(cr->wValue); in in_rq_cur() local 439 u8 control_selector = w_value >> 8; in in_rq_cur() 488 u16 w_value = le16_to_cpu(cr->wValue); in in_rq_min() local 490 u8 control_selector = w_value >> 8; in in_rq_min() 535 u16 w_value = le16_to_cpu(cr->wValue); in in_rq_max() local 537 u8 control_selector = w_value >> 8; in in_rq_max() 582 u16 w_value = le16_to_cpu(cr->wValue); in in_rq_res() local 584 u8 control_selector = w_value >> 8; in in_rq_res() 630 u16 w_value = le16_to_cpu(cr->wValue); in out_rq_cur_complete() local 632 u8 control_selector = w_value >> 8; in out_rq_cur_complete() [all …]
|
D | f_ncm.c | 674 u16 w_value = le16_to_cpu(ctrl->wValue); in ncm_setup() local 690 DBG(cdev, "packet filter %02x\n", w_value); in ncm_setup() 696 ncm->port.cdc_filter = w_value; in ncm_setup() 712 if (w_length == 0 || w_value != 0 || w_index != ncm->ctrl_id) in ncm_setup() 723 if (w_length < 4 || w_value != 0 || w_index != ncm->ctrl_id) in ncm_setup() 734 if (w_length != 4 || w_value != 0 || w_index != ncm->ctrl_id) in ncm_setup() 749 if (w_length < 2 || w_value != 0 || w_index != ncm->ctrl_id) in ncm_setup() 763 switch (w_value) { in ncm_setup() 783 if (w_length < 2 || w_value != 0 || w_index != ncm->ctrl_id) in ncm_setup() 797 switch (w_value) { in ncm_setup() [all …]
|
D | f_acm.c | 335 u16 w_value = le16_to_cpu(ctrl->wValue); in acm_setup() local 383 acm->port_handshake_bits = w_value; in acm_setup() 391 acm_send_break(&acm->port, w_value); in acm_setup() 399 w_value, w_index, w_length); in acm_setup() 407 w_value, w_index, w_length); in acm_setup()
|
D | f_ecm.c | 464 u16 w_value = le16_to_cpu(ctrl->wValue); in ecm_setup() local 478 DBG(cdev, "packet filter %02x\n", w_value); in ecm_setup() 483 ecm->port.cdc_filter = w_value; in ecm_setup() 500 w_value, w_index, w_length); in ecm_setup() 507 w_value, w_index, w_length); in ecm_setup()
|
D | f_rndis.c | 459 u16 w_value = le16_to_cpu(ctrl->wValue); in rndis_setup() local 472 if (w_value || w_index != rndis->ctrl_id) in rndis_setup() 483 if (w_value || w_index != rndis->ctrl_id) in rndis_setup() 506 w_value, w_index, w_length); in rndis_setup() 513 w_value, w_index, w_length); in rndis_setup()
|
D | f_uac2.c | 1364 u16 w_index, w_value; in afunc_notify() local 1388 w_value = cs << 8; in afunc_notify() 1393 msg->wValue = cpu_to_le16(w_value); in afunc_notify() 1521 u16 w_value = le16_to_cpu(cr->wValue); in in_rq_cur() local 1523 u8 control_selector = w_value >> 8; in in_rq_cur() 1598 u16 w_value = le16_to_cpu(cr->wValue); in in_rq_range() local 1600 u8 control_selector = w_value >> 8; in in_rq_range() 1721 u16 w_value = le16_to_cpu(cr->wValue); in out_rq_cur_complete() local 1723 u8 control_selector = w_value >> 8; in out_rq_cur_complete() 1770 u16 w_value = le16_to_cpu(cr->wValue); in out_rq_cur() local [all …]
|
D | f_sourcesink.c | 769 u16 w_value = le16_to_cpu(ctrl->wValue); in sourcesink_setup() local 791 if (w_value || w_index) in sourcesink_setup() 801 if (w_value || w_index) in sourcesink_setup() 814 w_value, w_index, w_length); in sourcesink_setup() 821 w_value, w_index, w_length); in sourcesink_setup()
|
D | f_eem.c | 175 u16 w_value = le16_to_cpu(ctrl->wValue); in eem_setup() local 180 w_value, w_index, w_length); in eem_setup()
|
D | f_printer.c | 942 u16 w_value = le16_to_cpu(ctrl->wValue); in gprinter_req_match() local 959 if (!w_value && w_length == 1 && in gprinter_req_match() 964 if (!w_value && !w_length && in gprinter_req_match()
|
D | f_mass_storage.c | 463 u16 w_value = le16_to_cpu(ctrl->wValue); in fsg_setup() local 480 if (w_index != fsg->interface_number || w_value != 0 || in fsg_setup() 496 if (w_index != fsg->interface_number || w_value != 0 || in fsg_setup()
|
D | f_tcm.c | 424 u16 w_value = le16_to_cpu(ctrl->wValue); in usbg_bot_setup() local 437 if (w_value != 0) in usbg_bot_setup()
|
/Linux-v6.6/drivers/usb/gadget/ |
D | composite.c | 614 static int config_desc(struct usb_composite_dev *cdev, unsigned w_value) in config_desc() argument 619 u8 type = w_value >> 8; in config_desc() 636 w_value &= 0xff; in config_desc() 670 if (w_value == 0) in config_desc() 672 w_value--; in config_desc() 1785 u16 w_value = le16_to_cpu(ctrl->wValue); in composite_setup() local 1826 switch (w_value >> 8) { in composite_setup() 1864 value = config_desc(cdev, w_value); in composite_setup() 1870 w_index, w_value & 0xff); in composite_setup() 1923 value = set_config(cdev, ctrl, w_value); in composite_setup() [all …]
|
/Linux-v6.6/drivers/usb/gadget/udc/ |
D | dummy_hcd.c | 1620 unsigned w_value; in handle_control_request() local 1623 w_value = le16_to_cpu(setup->wValue); in handle_control_request() 1628 dum->address = w_value; in handle_control_request() 1631 w_value); in handle_control_request() 1637 switch (w_value) { in handle_control_request() 1652 w_value = USB_DEV_STAT_U1_ENABLED; in handle_control_request() 1659 w_value = USB_DEV_STAT_U2_ENABLED; in handle_control_request() 1666 w_value = USB_DEV_STAT_LTM_ENABLED; in handle_control_request() 1674 dum->devstatus |= (1 << w_value); in handle_control_request() 1692 switch (w_value) { in handle_control_request() [all …]
|
D | at91_udc.c | 1083 #define w_value le16_to_cpu(pkt.r.wValue) in handle_setup() macro 1088 w_value, w_index, w_length); in handle_setup() 1103 udc->addr = w_value; in handle_setup() 1137 if (w_value != USB_DEVICE_REMOTE_WAKEUP) in handle_setup() 1145 if (w_value != USB_DEVICE_REMOTE_WAKEUP) in handle_setup() 1200 if (w_value != USB_ENDPOINT_HALT || tmp >= NUM_ENDPOINTS) in handle_setup() 1219 if (w_value != USB_ENDPOINT_HALT || tmp >= NUM_ENDPOINTS) in handle_setup() 1242 #undef w_value in handle_setup()
|
D | net2280.c | 2870 #define w_value le16_to_cpu(r.wValue) in handle_stat0_irqs_superspeed() macro 2876 dev->addressed_state = !w_value; in handle_stat0_irqs_superspeed() 2914 switch (w_value) { in handle_stat0_irqs_superspeed() 2943 if (w_value == USB_DEVICE_REMOTE_WAKEUP) { in handle_stat0_irqs_superspeed() 2957 if (w_value != USB_ENDPOINT_HALT) in handle_stat0_irqs_superspeed() 2980 switch (w_value) { in handle_stat0_irqs_superspeed() 3009 if (w_value == USB_DEVICE_REMOTE_WAKEUP) { in handle_stat0_irqs_superspeed() 3021 if (!e || (w_value != USB_ENDPOINT_HALT)) in handle_stat0_irqs_superspeed() 3044 w_value, w_index, w_length, in handle_stat0_irqs_superspeed() 3065 #undef w_value in handle_stat0_irqs_superspeed() [all …]
|
D | omap_udc.c | 1529 #define w_value le16_to_cpu(u.r.wValue) in ep0_irq() macro 1550 udc->ep0_reset_config = (w_value == 0); in ep0_irq() 1551 VDBG("set config %d\n", w_value); in ep0_irq() 1567 if (w_value != USB_ENDPOINT_HALT in ep0_irq() 1596 if (w_value != USB_ENDPOINT_HALT in ep0_irq() 1681 w_value, w_index, w_length); in ep0_irq() 1683 #undef w_value in ep0_irq()
|
D | renesas_usb3.c | 1696 u16 w_value = le16_to_cpu(ctrl->wValue); in usb3_std_req_feature_device() local 1698 switch (w_value) { in usb3_std_req_feature_device() 1709 if (w_value == USB_DEVICE_U1_ENABLE) in usb3_std_req_feature_device() 1711 if (w_value == USB_DEVICE_U2_ENABLE) in usb3_std_req_feature_device()
|
/Linux-v6.6/drivers/usb/gadget/legacy/ |
D | inode.c | 1335 u16 w_value = le16_to_cpu(ctrl->wValue); in gadgetfs_setup() local 1383 switch (w_value >> 8) { in gadgetfs_setup() 1400 w_value >> 8, in gadgetfs_setup() 1401 w_value & 0xff); in gadgetfs_setup() 1417 if (0 == (u8) w_value) { in gadgetfs_setup() 1434 if (config == (u8) w_value) { in gadgetfs_setup() 1475 w_value, le16_to_cpu(ctrl->wIndex), w_length); in gadgetfs_setup()
|