Searched refs:w_index (Results 1 - 24 of 24) sorted by relevance

/drivers/usb/gadget/
H A Df_sourcesink.c481 u16 w_index = le16_to_cpu(ctrl->wIndex); local
504 if (w_value || w_index)
514 if (w_value || w_index)
527 w_value, w_index, w_length);
534 w_value, w_index, w_length);
H A Df_acm.c345 u16 w_index = le16_to_cpu(ctrl->wIndex); local
363 || w_index != acm->ctrl_id)
374 if (w_index != acm->ctrl_id)
385 if (w_index != acm->ctrl_id)
401 w_value, w_index, w_length);
408 w_value, w_index, w_length);
H A Df_ncm.c595 u16 w_index = le16_to_cpu(ctrl->wIndex); local
610 if (w_length != 0 || w_index != ncm->ctrl_id)
634 if (w_length == 0 || w_value != 0 || w_index != ncm->ctrl_id)
645 if (w_length < 4 || w_value != 0 || w_index != ncm->ctrl_id)
656 if (w_length != 4 || w_value != 0 || w_index != ncm->ctrl_id)
671 if (w_length < 2 || w_value != 0 || w_index != ncm->ctrl_id)
683 if (w_length != 0 || w_index != ncm->ctrl_id)
705 if (w_length < 2 || w_value != 0 || w_index != ncm->ctrl_id)
719 if (w_length != 0 || w_index != ncm->ctrl_id)
751 w_value, w_index, w_lengt
[all...]
H A Dcomposite.c1077 u16 w_index = le16_to_cpu(ctrl->wIndex); local
1078 u8 intf = w_index & 0xFF;
1138 w_index, w_value & 0xff);
1190 value = f->set_alt(f, w_index, w_value);
1209 value = f->get_alt ? f->get_alt(f, w_index) : 0;
1260 value = f->func_suspend(f, w_index >> 8);
1275 w_value, w_index, w_length);
1293 endp = ((w_index & 0x80) >> 3) | (w_index & 0x0f);
H A Df_ecm.c471 u16 w_index = le16_to_cpu(ctrl->wIndex); local
484 if (w_length != 0 || w_index != ecm->ctrl_id)
508 w_value, w_index, w_length);
515 w_value, w_index, w_length);
H A Df_mtp.c995 u16 w_index = le16_to_cpu(ctrl->wIndex); local
1003 w_value, w_index, w_length);
1017 ctrl->bRequest, w_index, w_value, w_length);
1021 && (w_index == 4 || w_index == 5)) {
1028 ctrl->bRequest, w_index, w_value, w_length);
1030 if (ctrl->bRequest == MTP_REQ_CANCEL && w_index == 0
1048 && w_index == 0 && w_value == 0) {
H A Df_accessory.c778 u16 w_index = le16_to_cpu(ctrl->wIndex); local
787 w_value, w_index, w_length);
797 dev->string_index = w_index;
802 w_index == 0 && w_length == 0) {
806 value = acc_register_hid(dev, w_value, w_index);
817 offset = w_index;
870 w_value, w_index, w_length);
H A Dat91_udc.c1080 #define w_index le16_to_cpu(pkt.r.wIndex) macro
1086 w_value, w_index, w_length);
1173 tmp = w_index & USB_ENDPOINT_NUMBER_MASK;
1179 if ((w_index & USB_DIR_IN)) {
1196 tmp = w_index & USB_ENDPOINT_NUMBER_MASK;
1202 if ((w_index & USB_DIR_IN)) {
1215 tmp = w_index & USB_ENDPOINT_NUMBER_MASK;
1223 if ((w_index & USB_DIR_IN)) {
1241 #undef w_index macro
H A Df_rndis.c469 u16 w_index = le16_to_cpu(ctrl->wIndex); local
483 if (w_value || w_index != rndis->ctrl_id)
494 if (w_value || w_index != rndis->ctrl_id)
517 w_value, w_index, w_length);
524 w_value, w_index, w_length);
H A Df_uac1.c496 u16 w_index = le16_to_cpu(ctrl->wIndex); local
523 w_value, w_index, w_length);
530 w_value, w_index, w_length);
H A Df_uac2.c1173 u16 w_index = le16_to_cpu(cr->wIndex); local
1175 u8 entity_id = (w_index >> 8) & 0xff;
1208 u16 w_index = le16_to_cpu(cr->wIndex); local
1210 u8 entity_id = (w_index >> 8) & 0xff;
1267 u16 w_index = le16_to_cpu(cr->wIndex); local
1268 u8 intf = w_index & 0xff;
H A Df_eem.c171 u16 w_index = le16_to_cpu(ctrl->wIndex); local
177 w_value, w_index, w_length);
H A Domap_udc.c1583 #define w_index le16_to_cpu(u.r.wIndex) macro
1623 ep = &udc->ep[w_index & 0xf];
1625 if (w_index & USB_DIR_IN)
1652 ep = &udc->ep[w_index & 0xf];
1653 if (w_index & USB_DIR_IN)
1684 if (!(w_index & 0xf))
1688 ep = &udc->ep[w_index & 0xf];
1689 if (w_index & USB_DIR_IN)
1717 VDBG("GET_STATUS, interface %d\n", w_index);
1734 w_value, w_index, w_lengt
1737 #undef w_index macro
[all...]
H A Dfile_storage.c847 u16 w_index = le16_to_cpu(ctrl->wIndex); local
862 if (w_index != 0 || w_value != 0 || w_length != 0) {
878 if (w_index != 0 || w_value != 0 || w_length != 1) {
897 if (w_index != 0 || w_value != 0) {
916 le16_to_cpu(ctrl->wValue), w_index, w_length);
930 u16 w_index = le16_to_cpu(ctrl->wIndex); local
1024 if (fsg->config && w_index == 0) {
1039 if (w_index != 0) {
1052 w_value, w_index, le16_to_cpu(ctrl->wLength));
H A Dm66592-udc.c972 u16 w_index = le16_to_cpu(ctrl->wIndex); variable
982 ep = m66592->epaddr2ep[w_index & USB_ENDPOINT_NUMBER_MASK];
1015 u16 w_index = le16_to_cpu(ctrl->wIndex); local
1017 ep = m66592->epaddr2ep[w_index & USB_ENDPOINT_NUMBER_MASK];
1072 u16 w_index = le16_to_cpu(ctrl->wIndex); local
1074 ep = m66592->epaddr2ep[w_index & USB_ENDPOINT_NUMBER_MASK];
H A Df_audio_source.c489 u16 w_index = le16_to_cpu(ctrl->wIndex); local
510 w_value, w_index, w_length);
H A Dnet2280.c2279 #define w_index le16_to_cpu(u.r.wIndex) macro
2315 if ((e = get_ep_by_addr (dev, w_index)) == 0
2343 if ((e = get_ep_by_addr (dev, w_index)) == 0)
2365 if ((e = get_ep_by_addr (dev, w_index)) == 0)
2380 w_value, w_index, w_length,
2403 #undef w_index macro
H A Dr8a66597-udc.c1169 u16 w_index = le16_to_cpu(ctrl->wIndex); variable
1179 ep = r8a66597->epaddr2ep[w_index & USB_ENDPOINT_NUMBER_MASK];
1213 u16 w_index = le16_to_cpu(ctrl->wIndex); local
1215 ep = r8a66597->epaddr2ep[w_index & USB_ENDPOINT_NUMBER_MASK];
1273 u16 w_index = le16_to_cpu(ctrl->wIndex); local
1275 ep = r8a66597->epaddr2ep[w_index & USB_ENDPOINT_NUMBER_MASK];
H A Dfusb300_udc.c692 u16 w_index = ctrl->wIndex; variable
702 ep = w_index & USB_ENDPOINT_NUMBER_MASK;
738 u16 w_index = le16_to_cpu(ctrl->wIndex); local
740 ep = w_index & USB_ENDPOINT_NUMBER_MASK;
H A Ddummy_hcd.c1506 unsigned w_index; local
1509 w_index = le16_to_cpu(setup->wIndex);
1566 ep2 = find_endpoint(dum, w_index);
1614 ep2 = find_endpoint(dum, w_index);
1638 ep2 = find_endpoint(dum, w_index);
H A Df_mass_storage.c608 u16 w_index = le16_to_cpu(ctrl->wIndex); local
626 if (w_index != fsg->interface_number || w_value != 0 ||
642 if (w_index != fsg->interface_number || w_value != 0 ||
656 le16_to_cpu(ctrl->wValue), w_index, w_length);
/drivers/isdn/hisax/
H A Dst5481_usb.c65 int w_index; local
68 if ((w_index = fifo_add(&ctrl->msg_fifo.f)) < 0) {
72 ctrl_msg = &ctrl->msg_fifo.data[w_index];
/drivers/staging/ozwpan/
H A Dozprotocol.h190 u16 w_index; member in struct:oz_get_desc_req
H A Dozusbsvc1.c85 body->w_index = windex;

Completed in 181 milliseconds