/linux-2.6.39/drivers/usb/gadget/ |
D | f_sourcesink.c | 434 u16 w_index = le16_to_cpu(ctrl->wIndex); in sourcesink_setup() local 455 if (w_value || w_index) in sourcesink_setup() 465 if (w_value || w_index) in sourcesink_setup() 478 w_value, w_index, w_length); in sourcesink_setup() 485 w_value, w_index, w_length); in sourcesink_setup()
|
D | f_ncm.c | 614 u16 w_index = le16_to_cpu(ctrl->wIndex); in ncm_setup() local 629 if (w_length != 0 || w_index != ncm->ctrl_id) in ncm_setup() 653 if (w_length == 0 || w_value != 0 || w_index != ncm->ctrl_id) in ncm_setup() 664 if (w_length < 4 || w_value != 0 || w_index != ncm->ctrl_id) in ncm_setup() 675 if (w_length != 4 || w_value != 0 || w_index != ncm->ctrl_id) in ncm_setup() 690 if (w_length < 2 || w_value != 0 || w_index != ncm->ctrl_id) in ncm_setup() 702 if (w_length != 0 || w_index != ncm->ctrl_id) in ncm_setup() 724 if (w_length < 2 || w_value != 0 || w_index != ncm->ctrl_id) in ncm_setup() 738 if (w_length != 0 || w_index != ncm->ctrl_id) in ncm_setup() 770 w_value, w_index, w_length); in ncm_setup() [all …]
|
D | f_acm.c | 319 u16 w_index = le16_to_cpu(ctrl->wIndex); in acm_setup() local 337 || w_index != acm->ctrl_id) in acm_setup() 348 if (w_index != acm->ctrl_id) in acm_setup() 359 if (w_index != acm->ctrl_id) in acm_setup() 375 w_value, w_index, w_length); in acm_setup() 382 w_value, w_index, w_length); in acm_setup()
|
D | composite.c | 803 u16 w_index = le16_to_cpu(ctrl->wIndex); in composite_setup() local 804 u8 intf = w_index & 0xFF; in composite_setup() 851 w_index, w_value & 0xff); in composite_setup() 897 value = f->set_alt(f, w_index, w_value); in composite_setup() 908 value = f->get_alt ? f->get_alt(f, w_index) : 0; in composite_setup() 919 w_value, w_index, w_length); in composite_setup() 937 endp = ((w_index & 0x80) >> 3) | (w_index & 0x0f); in composite_setup()
|
D | f_rndis.c | 409 u16 w_index = le16_to_cpu(ctrl->wIndex); in rndis_setup() local 424 || w_index != rndis->ctrl_id) in rndis_setup() 435 if (w_value || w_index != rndis->ctrl_id) in rndis_setup() 457 w_value, w_index, w_length); in rndis_setup() 464 w_value, w_index, w_length); in rndis_setup()
|
D | f_ecm.c | 395 u16 w_index = le16_to_cpu(ctrl->wIndex); in ecm_setup() local 408 if (w_length != 0 || w_index != ecm->ctrl_id) in ecm_setup() 432 w_value, w_index, w_length); in ecm_setup() 439 w_value, w_index, w_length); in ecm_setup()
|
D | at91_udc.c | 1080 #define w_index le16_to_cpu(pkt.r.wIndex) in handle_setup() macro 1086 w_value, w_index, w_length); in handle_setup() 1173 tmp = w_index & USB_ENDPOINT_NUMBER_MASK; in handle_setup() 1179 if ((w_index & USB_DIR_IN)) { in handle_setup() 1196 tmp = w_index & USB_ENDPOINT_NUMBER_MASK; in handle_setup() 1202 if ((w_index & USB_DIR_IN)) { in handle_setup() 1215 tmp = w_index & USB_ENDPOINT_NUMBER_MASK; in handle_setup() 1223 if ((w_index & USB_DIR_IN)) { in handle_setup() 1241 #undef w_index in handle_setup()
|
D | omap_udc.c | 1586 #define w_index le16_to_cpu(u.r.wIndex) in ep0_irq() macro 1626 ep = &udc->ep[w_index & 0xf]; in ep0_irq() 1628 if (w_index & USB_DIR_IN) in ep0_irq() 1655 ep = &udc->ep[w_index & 0xf]; in ep0_irq() 1656 if (w_index & USB_DIR_IN) in ep0_irq() 1687 if (!(w_index & 0xf)) in ep0_irq() 1691 ep = &udc->ep[w_index & 0xf]; in ep0_irq() 1692 if (w_index & USB_DIR_IN) in ep0_irq() 1720 VDBG("GET_STATUS, interface %d\n", w_index); in ep0_irq() 1737 w_value, w_index, w_length); in ep0_irq() [all …]
|
D | f_audio.c | 520 u16 w_index = le16_to_cpu(ctrl->wIndex); in f_audio_setup() local 547 w_value, w_index, w_length); in f_audio_setup() 554 w_value, w_index, w_length); in f_audio_setup()
|
D | f_eem.c | 149 u16 w_index = le16_to_cpu(ctrl->wIndex); in eem_setup() local 155 w_value, w_index, w_length); in eem_setup()
|
D | gmidi.c | 679 u16 w_index = le16_to_cpu(ctrl->wIndex); in gmidi_setup() local 756 if (dev->config && w_index < GMIDI_NUM_INTERFACES in gmidi_setup() 781 if (w_index >= GMIDI_NUM_INTERFACES) { in gmidi_setup() 793 w_value, w_index, w_length); in gmidi_setup()
|
D | file_storage.c | 834 u16 w_index = le16_to_cpu(ctrl->wIndex); in class_setup_req() local 849 if (w_index != 0 || w_value != 0) { in class_setup_req() 865 if (w_index != 0 || w_value != 0) { in class_setup_req() 884 if (w_index != 0 || w_value != 0) { in class_setup_req() 903 le16_to_cpu(ctrl->wValue), w_index, w_length); in class_setup_req() 917 u16 w_index = le16_to_cpu(ctrl->wIndex); in standard_setup_req() local 995 if (fsg->config && w_index == 0) { in standard_setup_req() 1010 if (w_index != 0) { in standard_setup_req() 1023 w_value, w_index, le16_to_cpu(ctrl->wLength)); in standard_setup_req()
|
D | r8a66597-udc.c | 927 u16 w_index = le16_to_cpu(ctrl->wIndex); in get_status() local 937 ep = r8a66597->epaddr2ep[w_index & USB_ENDPOINT_NUMBER_MASK]; in get_status() 971 u16 w_index = le16_to_cpu(ctrl->wIndex); in clear_feature() local 973 ep = r8a66597->epaddr2ep[w_index & USB_ENDPOINT_NUMBER_MASK]; in clear_feature() 1012 u16 w_index = le16_to_cpu(ctrl->wIndex); in set_feature() local 1014 ep = r8a66597->epaddr2ep[w_index & USB_ENDPOINT_NUMBER_MASK]; in set_feature()
|
D | m66592-udc.c | 981 u16 w_index = le16_to_cpu(ctrl->wIndex); in get_status() local 991 ep = m66592->epaddr2ep[w_index & USB_ENDPOINT_NUMBER_MASK]; in get_status() 1024 u16 w_index = le16_to_cpu(ctrl->wIndex); in clear_feature() local 1026 ep = m66592->epaddr2ep[w_index & USB_ENDPOINT_NUMBER_MASK]; in clear_feature() 1061 u16 w_index = le16_to_cpu(ctrl->wIndex); in set_feature() local 1063 ep = m66592->epaddr2ep[w_index & USB_ENDPOINT_NUMBER_MASK]; in set_feature()
|
D | dummy_hcd.c | 1219 unsigned w_index; in handle_control_request() local 1222 w_index = le16_to_cpu(setup->wIndex); in handle_control_request() 1258 ep2 = find_endpoint(dum, w_index); in handle_control_request() 1285 ep2 = find_endpoint(dum, w_index); in handle_control_request() 1309 ep2 = find_endpoint(dum, w_index); in handle_control_request()
|
D | fusb300_udc.c | 852 u16 w_index = ctrl->wIndex; in get_status() local 862 ep = w_index & USB_ENDPOINT_NUMBER_MASK; in get_status() 898 u16 w_index = le16_to_cpu(ctrl->wIndex); in set_feature() local 900 ep = w_index & USB_ENDPOINT_NUMBER_MASK; in set_feature()
|
D | net2280.c | 2368 #define w_index le16_to_cpu(u.r.wIndex) in handle_stat0_irqs() macro 2404 if ((e = get_ep_by_addr (dev, w_index)) == 0 in handle_stat0_irqs() 2432 if ((e = get_ep_by_addr (dev, w_index)) == 0) in handle_stat0_irqs() 2454 if ((e = get_ep_by_addr (dev, w_index)) == 0) in handle_stat0_irqs() 2469 w_value, w_index, w_length, in handle_stat0_irqs() 2492 #undef w_index in handle_stat0_irqs()
|
D | f_mass_storage.c | 609 u16 w_index = le16_to_cpu(ctrl->wIndex); in fsg_setup() local 622 if (w_index != fsg->interface_number || w_value != 0) in fsg_setup() 637 if (w_index != fsg->interface_number || w_value != 0) in fsg_setup() 650 le16_to_cpu(ctrl->wValue), w_index, w_length); in fsg_setup()
|
/linux-2.6.39/drivers/isdn/hisax/ |
D | st5481_usb.c | 65 int w_index; in usb_ctrl_msg() local 68 if ((w_index = fifo_add(&ctrl->msg_fifo.f)) < 0) { in usb_ctrl_msg() 72 ctrl_msg = &ctrl->msg_fifo.data[w_index]; in usb_ctrl_msg()
|