/linux-4.1.27/drivers/usb/gadget/function/ |
D | f_ncm.c | 619 u16 w_index = le16_to_cpu(ctrl->wIndex); in ncm_setup() local 634 if (w_length != 0 || w_index != ncm->ctrl_id) in ncm_setup() 658 if (w_length == 0 || w_value != 0 || w_index != ncm->ctrl_id) in ncm_setup() 669 if (w_length < 4 || w_value != 0 || w_index != ncm->ctrl_id) in ncm_setup() 680 if (w_length != 4 || w_value != 0 || w_index != ncm->ctrl_id) in ncm_setup() 695 if (w_length < 2 || w_value != 0 || w_index != ncm->ctrl_id) in ncm_setup() 707 if (w_length != 0 || w_index != ncm->ctrl_id) in ncm_setup() 729 if (w_length < 2 || w_value != 0 || w_index != ncm->ctrl_id) in ncm_setup() 743 if (w_length != 0 || w_index != ncm->ctrl_id) in ncm_setup() 774 w_value, w_index, w_length); in ncm_setup() [all …]
|
D | f_acm.c | 346 u16 w_index = le16_to_cpu(ctrl->wIndex); in acm_setup() local 364 || w_index != acm->ctrl_id) in acm_setup() 375 if (w_index != acm->ctrl_id) in acm_setup() 386 if (w_index != acm->ctrl_id) in acm_setup() 403 w_value, w_index, w_length); in acm_setup() 411 w_value, w_index, w_length); in acm_setup()
|
D | f_rndis.c | 470 u16 w_index = le16_to_cpu(ctrl->wIndex); in rndis_setup() local 484 if (w_value || w_index != rndis->ctrl_id) in rndis_setup() 495 if (w_value || w_index != rndis->ctrl_id) in rndis_setup() 518 w_value, w_index, w_length); in rndis_setup() 525 w_value, w_index, w_length); in rndis_setup()
|
D | f_ecm.c | 475 u16 w_index = le16_to_cpu(ctrl->wIndex); in ecm_setup() local 488 if (w_length != 0 || w_index != ecm->ctrl_id) in ecm_setup() 512 w_value, w_index, w_length); in ecm_setup() 519 w_value, w_index, w_length); in ecm_setup()
|
D | f_sourcesink.c | 799 u16 w_index = le16_to_cpu(ctrl->wIndex); in sourcesink_setup() local 822 if (w_value || w_index) in sourcesink_setup() 832 if (w_value || w_index) in sourcesink_setup() 845 w_value, w_index, w_length); in sourcesink_setup() 852 w_value, w_index, w_length); in sourcesink_setup()
|
D | f_uac2.c | 1287 u16 w_index = le16_to_cpu(cr->wIndex); in in_rq_cur() local 1289 u8 entity_id = (w_index >> 8) & 0xff; in in_rq_cur() 1328 u16 w_index = le16_to_cpu(cr->wIndex); in in_rq_range() local 1330 u8 entity_id = (w_index >> 8) & 0xff; in in_rq_range() 1392 u16 w_index = le16_to_cpu(cr->wIndex); in setup_rq_inf() local 1393 u8 intf = w_index & 0xff; in setup_rq_inf()
|
D | f_eem.c | 174 u16 w_index = le16_to_cpu(ctrl->wIndex); in eem_setup() local 180 w_value, w_index, w_length); in eem_setup()
|
D | f_uac1.c | 526 u16 w_index = le16_to_cpu(ctrl->wIndex); in f_audio_setup() local 553 w_value, w_index, w_length); in f_audio_setup() 560 w_value, w_index, w_length); in f_audio_setup()
|
D | f_printer.c | 899 u16 w_index = le16_to_cpu(ctrl->wIndex); in gprinter_req_match() local 909 w_index >>= 8; in gprinter_req_match() 927 return w_index == dev->interface; in gprinter_req_match()
|
D | f_mass_storage.c | 507 u16 w_index = le16_to_cpu(ctrl->wIndex); in fsg_setup() local 525 if (w_index != fsg->interface_number || w_value != 0 || in fsg_setup() 541 if (w_index != fsg->interface_number || w_value != 0 || in fsg_setup() 555 le16_to_cpu(ctrl->wValue), w_index, w_length); in fsg_setup()
|
D | f_fs.c | 1933 u16 w_index = le16_to_cpu(desc->wIndex); in __ffs_do_os_desc_header() local 1940 switch (w_index) { in __ffs_do_os_desc_header() 1948 pr_vdebug("unsupported os descriptor type: %d", w_index); in __ffs_do_os_desc_header()
|
/linux-4.1.27/drivers/usb/gadget/ |
D | composite.c | 1458 u16 w_index = le16_to_cpu(ctrl->wIndex); in composite_setup() local 1459 u8 intf = w_index & 0xFF; in composite_setup() 1527 w_index, w_value & 0xff); in composite_setup() 1579 value = f->set_alt(f, w_index, w_value); in composite_setup() 1598 value = f->get_alt ? f->get_alt(f, w_index) : 0; in composite_setup() 1649 value = f->func_suspend(f, w_index >> 8); in composite_setup() 1682 if (w_index != 0x4 || (w_value >> 8)) in composite_setup() 1684 buf[6] = w_index; in composite_setup() 1706 if (w_index != 0x5 || (w_value >> 8)) in composite_setup() 1709 buf[6] = w_index; in composite_setup() [all …]
|
/linux-4.1.27/drivers/usb/gadget/udc/ |
D | at91_udc.c | 1077 #define w_index le16_to_cpu(pkt.r.wIndex) in handle_setup() macro 1083 w_value, w_index, w_length); in handle_setup() 1170 tmp = w_index & USB_ENDPOINT_NUMBER_MASK; in handle_setup() 1176 if ((w_index & USB_DIR_IN)) { in handle_setup() 1193 tmp = w_index & USB_ENDPOINT_NUMBER_MASK; in handle_setup() 1199 if ((w_index & USB_DIR_IN)) { in handle_setup() 1212 tmp = w_index & USB_ENDPOINT_NUMBER_MASK; in handle_setup() 1220 if ((w_index & USB_DIR_IN)) { in handle_setup() 1238 #undef w_index in handle_setup()
|
D | omap_udc.c | 1529 #define w_index le16_to_cpu(u.r.wIndex) in ep0_irq() macro 1569 ep = &udc->ep[w_index & 0xf]; in ep0_irq() 1571 if (w_index & USB_DIR_IN) in ep0_irq() 1598 ep = &udc->ep[w_index & 0xf]; in ep0_irq() 1599 if (w_index & USB_DIR_IN) in ep0_irq() 1630 if (!(w_index & 0xf)) in ep0_irq() 1634 ep = &udc->ep[w_index & 0xf]; in ep0_irq() 1635 if (w_index & USB_DIR_IN) in ep0_irq() 1663 VDBG("GET_STATUS, interface %d\n", w_index); in ep0_irq() 1680 w_value, w_index, w_length); in ep0_irq() [all …]
|
D | net2280.c | 2675 #define w_index le16_to_cpu(r.wIndex) in handle_stat0_irqs_superspeed() macro 2701 e = get_ep_by_addr(dev, w_index); in handle_stat0_irqs_superspeed() 2761 e = get_ep_by_addr(dev, w_index); in handle_stat0_irqs_superspeed() 2827 e = get_ep_by_addr(dev, w_index); in handle_stat0_irqs_superspeed() 2851 w_value, w_index, w_length, in handle_stat0_irqs_superspeed() 2871 #undef w_index in handle_stat0_irqs_superspeed() 2963 #define w_index le16_to_cpu(u.r.wIndex) in handle_stat0_irqs() macro 3005 e = get_ep_by_addr(dev, w_index); in handle_stat0_irqs() 3031 e = get_ep_by_addr(dev, w_index); in handle_stat0_irqs() 3056 e = get_ep_by_addr(dev, w_index); in handle_stat0_irqs() [all …]
|
D | m66592-udc.c | 972 u16 w_index = le16_to_cpu(ctrl->wIndex); in get_status() local 982 ep = m66592->epaddr2ep[w_index & USB_ENDPOINT_NUMBER_MASK]; in get_status() 1015 u16 w_index = le16_to_cpu(ctrl->wIndex); in clear_feature() local 1017 ep = m66592->epaddr2ep[w_index & USB_ENDPOINT_NUMBER_MASK]; in clear_feature() 1072 u16 w_index = le16_to_cpu(ctrl->wIndex); in set_feature() local 1074 ep = m66592->epaddr2ep[w_index & USB_ENDPOINT_NUMBER_MASK]; in set_feature()
|
D | r8a66597-udc.c | 1169 u16 w_index = le16_to_cpu(ctrl->wIndex); in get_status() local 1179 ep = r8a66597->epaddr2ep[w_index & USB_ENDPOINT_NUMBER_MASK]; in get_status() 1213 u16 w_index = le16_to_cpu(ctrl->wIndex); in clear_feature() local 1215 ep = r8a66597->epaddr2ep[w_index & USB_ENDPOINT_NUMBER_MASK]; in clear_feature() 1273 u16 w_index = le16_to_cpu(ctrl->wIndex); in set_feature() local 1275 ep = r8a66597->epaddr2ep[w_index & USB_ENDPOINT_NUMBER_MASK]; in set_feature()
|
D | fusb300_udc.c | 692 u16 w_index = ctrl->wIndex; in get_status() local 702 ep = w_index & USB_ENDPOINT_NUMBER_MASK; in get_status() 738 u16 w_index = le16_to_cpu(ctrl->wIndex); in set_feature() local 740 ep = w_index & USB_ENDPOINT_NUMBER_MASK; in set_feature()
|
D | dummy_hcd.c | 1486 unsigned w_index; in handle_control_request() local 1489 w_index = le16_to_cpu(setup->wIndex); in handle_control_request() 1546 ep2 = find_endpoint(dum, w_index); in handle_control_request() 1594 ep2 = find_endpoint(dum, w_index); in handle_control_request() 1618 ep2 = find_endpoint(dum, w_index); in handle_control_request()
|
/linux-4.1.27/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()
|
/linux-4.1.27/drivers/staging/ozwpan/ |
D | ozprotocol.h | 193 __le16 w_index; member
|
D | ozusbsvc1.c | 85 body->w_index = windex; in oz_usb_get_desc_req()
|