/drivers/usb/gadget/ |
D | f_uac1.c | 361 u16 w_value = le16_to_cpu(ctrl->wValue); in audio_set_intf_req() local 362 u8 con_sel = (w_value >> 8) & 0xFF; in audio_set_intf_req() 368 ctrl->bRequest, w_value, len, id); in audio_set_intf_req() 398 u16 w_value = le16_to_cpu(ctrl->wValue); in audio_get_intf_req() local 399 u8 con_sel = (w_value >> 8) & 0xFF; in audio_get_intf_req() 405 ctrl->bRequest, w_value, len, id); in audio_get_intf_req() 434 u16 w_value = le16_to_cpu(ctrl->wValue); in audio_set_endpoint_req() local 437 ctrl->bRequest, w_value, len, ep); in audio_set_endpoint_req() 470 u16 w_value = le16_to_cpu(ctrl->wValue); in audio_get_endpoint_req() local 473 ctrl->bRequest, w_value, len, ep); in audio_get_endpoint_req() [all …]
|
D | f_ncm.c | 597 u16 w_value = le16_to_cpu(ctrl->wValue); in ncm_setup() local 613 DBG(cdev, "packet filter %02x\n", w_value); in ncm_setup() 619 ncm->port.cdc_filter = w_value; in ncm_setup() 635 if (w_length == 0 || w_value != 0 || w_index != ncm->ctrl_id) in ncm_setup() 646 if (w_length < 4 || w_value != 0 || w_index != ncm->ctrl_id) in ncm_setup() 657 if (w_length != 4 || w_value != 0 || w_index != ncm->ctrl_id) in ncm_setup() 672 if (w_length < 2 || w_value != 0 || w_index != ncm->ctrl_id) in ncm_setup() 686 switch (w_value) { in ncm_setup() 706 if (w_length < 2 || w_value != 0 || w_index != ncm->ctrl_id) in ncm_setup() 722 switch (w_value) { in ncm_setup() [all …]
|
D | composite.c | 421 static int config_desc(struct usb_composite_dev *cdev, unsigned w_value) in config_desc() argument 425 u8 type = w_value >> 8; in config_desc() 442 w_value &= 0xff; in config_desc() 459 if (w_value == 0) in config_desc() 461 w_value--; in config_desc() 1225 u16 w_value = le16_to_cpu(ctrl->wValue); in composite_setup() local 1245 switch (w_value >> 8) { in composite_setup() 1278 value = config_desc(cdev, w_value); in composite_setup() 1284 w_index, w_value & 0xff); in composite_setup() 1310 value = set_config(cdev, ctrl, w_value); in composite_setup() [all …]
|
D | f_audio_source.c | 432 u16 w_value = le16_to_cpu(ctrl->wValue); in audio_set_endpoint_req() local 435 ctrl->bRequest, w_value, len, ep); in audio_set_endpoint_req() 458 u16 w_value = le16_to_cpu(ctrl->wValue); in audio_get_endpoint_req() local 462 ctrl->bRequest, w_value, len, ep); in audio_get_endpoint_req() 464 if (w_value == UAC_EP_CS_ATTR_SAMPLE_RATE << 8) { in audio_get_endpoint_req() 491 u16 w_value = le16_to_cpu(ctrl->wValue); in audio_setup() local 511 w_value, w_index, w_length); in audio_setup()
|
D | f_ecm.c | 473 u16 w_value = le16_to_cpu(ctrl->wValue); in ecm_setup() local 487 DBG(cdev, "packet filter %02x\n", w_value); in ecm_setup() 492 ecm->port.cdc_filter = w_value; in ecm_setup() 509 w_value, w_index, w_length); in ecm_setup() 516 w_value, w_index, w_length); in ecm_setup()
|
D | dummy_hcd.c | 1493 unsigned w_value; in handle_control_request() local 1496 w_value = le16_to_cpu(setup->wValue); in handle_control_request() 1501 dum->address = w_value; in handle_control_request() 1504 w_value); in handle_control_request() 1510 switch (w_value) { in handle_control_request() 1525 w_value = USB_DEV_STAT_U1_ENABLED; in handle_control_request() 1532 w_value = USB_DEV_STAT_U2_ENABLED; in handle_control_request() 1539 w_value = USB_DEV_STAT_LTM_ENABLED; in handle_control_request() 1547 dum->devstatus |= (1 << w_value); in handle_control_request() 1565 switch (w_value) { in handle_control_request() [all …]
|
D | f_mtp.c | 1001 u16 w_value = le16_to_cpu(ctrl->wValue); in mtp_ctrlrequest() local 1008 w_value, w_index, w_length); in mtp_ctrlrequest() 1014 && (w_value >> 8) == USB_DT_STRING in mtp_ctrlrequest() 1015 && (w_value & 0xFF) == MTP_OS_STRING_ID) { in mtp_ctrlrequest() 1022 ctrl->bRequest, w_index, w_value, w_length); in mtp_ctrlrequest() 1033 ctrl->bRequest, w_index, w_value, w_length); in mtp_ctrlrequest() 1036 && w_value == 0) { in mtp_ctrlrequest() 1053 && w_index == 0 && w_value == 0) { in mtp_ctrlrequest()
|
D | f_rndis.c | 494 u16 w_value = le16_to_cpu(ctrl->wValue); in rndis_setup() local 507 if (w_value || w_index != rndis->ctrl_id) in rndis_setup() 518 if (w_value || w_index != rndis->ctrl_id) in rndis_setup() 541 w_value, w_index, w_length); in rndis_setup() 548 w_value, w_index, w_length); in rndis_setup()
|
D | f_accessory.c | 809 u16 w_value = le16_to_cpu(ctrl->wValue); in acc_ctrlrequest() local 833 dev->audio_mode = w_value; in acc_ctrlrequest() 836 value = acc_register_hid(dev, w_value, w_index); in acc_ctrlrequest() 838 value = acc_unregister_hid(dev, w_value); in acc_ctrlrequest() 841 hid = acc_hid_get(&dev->new_hid_list, w_value); in acc_ctrlrequest() 858 hid = acc_hid_get(&dev->hid_list, w_value); in acc_ctrlrequest() 900 w_value, w_index, w_length); in acc_ctrlrequest()
|
D | f_sourcesink.c | 805 u16 w_value = le16_to_cpu(ctrl->wValue); in sourcesink_setup() local 827 if (w_value || w_index) in sourcesink_setup() 837 if (w_value || w_index) in sourcesink_setup() 850 w_value, w_index, w_length); in sourcesink_setup() 857 w_value, w_index, w_length); in sourcesink_setup()
|
D | f_acm.c | 346 u16 w_value = le16_to_cpu(ctrl->wValue); in acm_setup() local 394 acm->port_handshake_bits = w_value; in acm_setup() 401 w_value, w_index, w_length); in acm_setup() 408 w_value, w_index, w_length); in acm_setup()
|
D | f_uac2.c | 1163 u16 w_value = le16_to_cpu(cr->wValue); in in_rq_cur() local 1165 u8 control_selector = w_value >> 8; in in_rq_cur() 1198 u16 w_value = le16_to_cpu(cr->wValue); in in_rq_range() local 1200 u8 control_selector = w_value >> 8; in in_rq_range() 1242 u16 w_value = le16_to_cpu(cr->wValue); in out_rq_cur() local 1243 u8 control_selector = w_value >> 8; in out_rq_cur()
|
D | at91_udc.c | 1079 #define w_value le16_to_cpu(pkt.r.wValue) in handle_setup() macro 1084 w_value, w_index, w_length); in handle_setup() 1099 udc->addr = w_value; in handle_setup() 1133 if (w_value != USB_DEVICE_REMOTE_WAKEUP) in handle_setup() 1141 if (w_value != USB_DEVICE_REMOTE_WAKEUP) in handle_setup() 1196 if (w_value != USB_ENDPOINT_HALT || tmp >= NUM_ENDPOINTS) in handle_setup() 1215 if (w_value != USB_ENDPOINT_HALT || tmp >= NUM_ENDPOINTS) in handle_setup() 1238 #undef w_value in handle_setup()
|
D | inode.c | 1398 u16 w_value = le16_to_cpu(ctrl->wValue); in gadgetfs_setup() local 1435 switch (w_value >> 8) { in gadgetfs_setup() 1453 w_value >> 8, in gadgetfs_setup() 1454 w_value & 0xff); in gadgetfs_setup() 1470 if (0 == (u8) w_value) { in gadgetfs_setup() 1487 if (config == (u8) w_value) { in gadgetfs_setup() 1527 w_value, le16_to_cpu(ctrl->wIndex), w_length); in gadgetfs_setup()
|
D | f_eem.c | 172 u16 w_value = le16_to_cpu(ctrl->wValue); in eem_setup() local 177 w_value, w_index, w_length); in eem_setup()
|
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 | net2280.c | 2290 #define w_value le16_to_cpu(u.r.wValue) in handle_stat0_irqs() macro 2352 if (w_value != USB_ENDPOINT_HALT in handle_stat0_irqs() 2374 if (w_value != USB_ENDPOINT_HALT in handle_stat0_irqs() 2392 w_value, w_index, w_length, in handle_stat0_irqs() 2414 #undef w_value in handle_stat0_irqs()
|
D | f_mass_storage.c | 511 u16 w_value = le16_to_cpu(ctrl->wValue); in fsg_setup() local 528 if (w_index != fsg->interface_number || w_value != 0 || in fsg_setup() 544 if (w_index != fsg->interface_number || w_value != 0 || in fsg_setup()
|
D | tcm_usb_gadget.c | 435 u16 w_value = le16_to_cpu(ctrl->wValue); in usbg_bot_setup() local 448 if (w_value != 0) in usbg_bot_setup()
|