Home
last modified time | relevance | path

Searched refs:wIndex (Results 1 – 139 of 139) sorted by relevance

/linux-4.4.14/drivers/usb/host/
Dxhci-hub.c440 u16 wIndex, __le32 __iomem *addr, u32 port_status) in xhci_disable_port() argument
453 wIndex, port_status); in xhci_disable_port()
457 u16 wIndex, __le32 __iomem *addr, u32 port_status) in xhci_clear_port_change_bit() argument
503 port_change_bit, wIndex, port_status); in xhci_clear_port_change_bit()
642 u16 wIndex) in xhci_del_comp_mod_timer() argument
651 xhci->port_status_u0 |= 1 << wIndex; in xhci_del_comp_mod_timer()
691 u16 wIndex, u32 raw_port_status, in xhci_get_port_status() argument
737 if (!bus_state->resume_done[wIndex]) { in xhci_get_port_status()
739 if (test_bit(wIndex, &bus_state->resuming_ports)) { in xhci_get_port_status()
753 set_bit(wIndex, &bus_state->resuming_ports); in xhci_get_port_status()
[all …]
Dehci-hub.c821 dr->wIndex = 0; in ehset_single_step_set_feature()
865 u16 wIndex, in ehci_hub_control() argument
872 (wIndex & 0xff) - 1]; in ehci_hub_control()
873 u32 __iomem *hostpc_reg = &ehci->regs->hostpc[(wIndex & 0xff) - 1]; in ehci_hub_control()
899 if (!wIndex || wIndex > ports) in ehci_hub_control()
901 wIndex--; in ehci_hub_control()
925 if ((hcd->self.otg_port == (wIndex + 1)) in ehci_hub_control()
948 ehci->reset_done[wIndex] = jiffies in ehci_hub_control()
950 set_bit(wIndex, &ehci->resuming_ports); in ehci_hub_control()
951 usb_hcd_start_port_resume(&hcd->self, wIndex); in ehci_hub_control()
[all …]
Dohci-s3c2410.c163 u16 wIndex, in ohci_s3c2410_hub_control() argument
174 hcd, typeReq, wValue, wIndex, buf, wLength); in ohci_s3c2410_hub_control()
181 wIndex, buf, wLength); in ohci_s3c2410_hub_control()
191 s3c2410_usb_set_power(info, wIndex, 1); in ohci_s3c2410_hub_control()
202 if (valid_port(wIndex)) { in ohci_s3c2410_hub_control()
203 info->port[wIndex-1].oc_changed = 0; in ohci_s3c2410_hub_control()
204 info->port[wIndex-1].oc_status = 0; in ohci_s3c2410_hub_control()
213 if (valid_port(wIndex)) in ohci_s3c2410_hub_control()
214 info->port[wIndex-1].oc_status = 0; in ohci_s3c2410_hub_control()
222 if (valid_port(wIndex)) { in ohci_s3c2410_hub_control()
[all …]
Dohci-da8xx.c171 u16 wIndex, char *buf, u16 wLength) in ohci_da8xx_hub_control() argument
180 if (wIndex != 1) in ohci_da8xx_hub_control()
183 dev_dbg(dev, "GetPortStatus(%u)\n", wIndex); in ohci_da8xx_hub_control()
185 temp = roothub_portstatus(hcd_to_ohci(hcd), wIndex - 1); in ohci_da8xx_hub_control()
188 if (hub->get_power && hub->get_power(wIndex) == 0) in ohci_da8xx_hub_control()
192 if (hub->get_oci && hub->get_oci(wIndex) > 0) in ohci_da8xx_hub_control()
196 if (ocic_mask & (1 << wIndex)) in ohci_da8xx_hub_control()
209 if (wIndex != 1) in ohci_da8xx_hub_control()
215 temp ? "Set" : "Clear", wIndex, "POWER"); in ohci_da8xx_hub_control()
220 return hub->set_power(wIndex, temp) ? -EPIPE : 0; in ohci_da8xx_hub_control()
[all …]
Dohci-at91.c291 u16 wIndex, char *buf, u16 wLength) in ohci_at91_hub_control() argument
300 hcd, typeReq, wValue, wIndex, buf, wLength); in ohci_at91_hub_control()
302 wIndex--; in ohci_at91_hub_control()
308 if (valid_port(wIndex)) { in ohci_at91_hub_control()
309 ohci_at91_usb_set_power(pdata, wIndex, 1); in ohci_at91_hub_control()
323 if (valid_port(wIndex)) { in ohci_at91_hub_control()
324 pdata->overcurrent_changed[wIndex] = 0; in ohci_at91_hub_control()
325 pdata->overcurrent_status[wIndex] = 0; in ohci_at91_hub_control()
334 if (valid_port(wIndex)) in ohci_at91_hub_control()
335 pdata->overcurrent_status[wIndex] = 0; in ohci_at91_hub_control()
[all …]
Dohci-hub.c674 u16 wIndex, in ohci_hub_control() argument
699 if (!wIndex || wIndex > ports) in ohci_hub_control()
701 wIndex--; in ohci_hub_control()
732 &ohci->regs->roothub.portstatus [wIndex]); in ohci_hub_control()
743 if (!wIndex || wIndex > ports) in ohci_hub_control()
745 wIndex--; in ohci_hub_control()
746 temp = roothub_portstatus (ohci, wIndex); in ohci_hub_control()
750 dbg_port(ohci, "GetStatus", wIndex, temp); in ohci_hub_control()
763 if (!wIndex || wIndex > ports) in ohci_hub_control()
765 wIndex--; in ohci_hub_control()
[all …]
Dehci-tegra.c188 u16 wIndex, in tegra_ehci_hub_control() argument
200 status_reg = &ehci->regs->port_status[(wIndex & 0xff) - 1]; in tegra_ehci_hub_control()
232 set_bit((wIndex & 0xff) - 1, &ehci->suspended_ports); in tegra_ehci_hub_control()
264 ehci->reset_done[wIndex-1] = jiffies + msecs_to_jiffies(25); in tegra_ehci_hub_control()
269 set_bit(wIndex-1, &ehci->resuming_ports); in tegra_ehci_hub_control()
281 ehci->reset_done[wIndex-1] = 0; in tegra_ehci_hub_control()
282 clear_bit(wIndex-1, &ehci->resuming_ports); in tegra_ehci_hub_control()
291 return ehci_hub_control(hcd, typeReq, wValue, wIndex, buf, wLength); in tegra_ehci_hub_control()
Disp116x-hcd.c1004 u16 wValue, u16 wIndex, char *buf, u16 wLength) in isp116x_hub_control() argument
1050 if (!wIndex || wIndex > ports) in isp116x_hub_control()
1053 tmp = isp116x_read_reg32(isp116x, (--wIndex) ? HCRHPORT2 : HCRHPORT1); in isp116x_hub_control()
1056 DBG("GetPortStatus: port[%d] %08x\n", wIndex + 1, tmp); in isp116x_hub_control()
1060 if (!wIndex || wIndex > ports) in isp116x_hub_control()
1062 wIndex--; in isp116x_hub_control()
1101 isp116x_write_reg32(isp116x, wIndex in isp116x_hub_control()
1107 if (!wIndex || wIndex > ports) in isp116x_hub_control()
1109 wIndex--; in isp116x_hub_control()
1114 isp116x_write_reg32(isp116x, wIndex in isp116x_hub_control()
[all …]
Doxu210hp-hcd.c245 u16 typeReq, u16 wValue, u16 wIndex,
3154 u16 wValue, u16 wIndex, char *buf, u16 wLength) in oxu_hub_control() argument
3158 u32 __iomem *status_reg = &oxu->regs->port_status[wIndex - 1]; in oxu_hub_control()
3184 if (!wIndex || wIndex > ports) in oxu_hub_control()
3186 wIndex--; in oxu_hub_control()
3212 oxu->reset_done[wIndex] = jiffies in oxu_hub_control()
3247 if (!wIndex || wIndex > ports) in oxu_hub_control()
3249 wIndex--; in oxu_hub_control()
3265 if (!oxu->reset_done[wIndex]) { in oxu_hub_control()
3267 oxu->reset_done[wIndex] = jiffies in oxu_hub_control()
[all …]
Dohci-pxa27x.c195 u16 wIndex, char *buf, u16 wLength) in pxa27x_ohci_hub_control() argument
203 if (!wIndex || wIndex > 3) in pxa27x_ohci_hub_control()
209 ret = pxa27x_ohci_set_vbus_power(pxa_ohci, wIndex - 1, in pxa27x_ohci_hub_control()
216 return ohci_hub_control(hcd, typeReq, wValue, wIndex, buf, wLength); in pxa27x_ohci_hub_control()
Dfotg210-hcd.c1486 u16 wIndex, char *buf, u16 wLength) in fotg210_hub_control() argument
1516 if (!wIndex || wIndex > ports) in fotg210_hub_control()
1518 wIndex--; in fotg210_hub_control()
1546 fotg210->reset_done[wIndex] = jiffies in fotg210_hub_control()
1550 clear_bit(wIndex, &fotg210->port_c_suspend); in fotg210_hub_control()
1577 if (!wIndex || wIndex > ports) in fotg210_hub_control()
1579 wIndex--; in fotg210_hub_control()
1597 if (!fotg210->reset_done[wIndex]) { in fotg210_hub_control()
1599 fotg210->reset_done[wIndex] = jiffies in fotg210_hub_control()
1603 fotg210->reset_done[wIndex]); in fotg210_hub_control()
[all …]
Disp1362-hcd.c1562 u16 wIndex, char *buf, u16 wLength) in isp1362_hub_control() argument
1610 if (!wIndex || wIndex > ports) in isp1362_hub_control()
1612 tmp = isp1362_hcd->rhport[--wIndex]; in isp1362_hub_control()
1617 if (!wIndex || wIndex > ports) in isp1362_hub_control()
1619 wIndex--; in isp1362_hub_control()
1660 isp1362_write_reg32(isp1362_hcd, HCRHPORT1 + wIndex, tmp); in isp1362_hub_control()
1661 isp1362_hcd->rhport[wIndex] = in isp1362_hub_control()
1662 isp1362_read_reg32(isp1362_hcd, HCRHPORT1 + wIndex); in isp1362_hub_control()
1667 if (!wIndex || wIndex > ports) in isp1362_hub_control()
1669 wIndex--; in isp1362_hub_control()
[all …]
Duhci-hub.c243 u16 wIndex, char *buf, u16 wLength) in uhci_hub_control() argument
247 unsigned int port = wIndex - 1; in uhci_hub_control()
310 wIndex, status, lstatus); in uhci_hub_control()
Dohci-jz4740.c82 u16 wIndex, char *buf, u16 wLength) in ohci_jz4740_hub_control() argument
101 return ohci_hub_control(hcd, typeReq, wValue, wIndex, buf, wLength); in ohci_jz4740_hub_control()
Du132-hcd.c2621 static int u132_roothub_portstatus(struct u132 *u132, __le32 *desc, u16 wIndex) in u132_roothub_portstatus() argument
2623 if (wIndex == 0 || wIndex > u132->num_ports) { in u132_roothub_portstatus()
2626 int port = wIndex - 1; in u132_roothub_portstatus()
2695 u16 wIndex) in u132_roothub_setportfeature() argument
2697 if (wIndex == 0 || wIndex > u132->num_ports) { in u132_roothub_setportfeature()
2700 int port_index = wIndex - 1; in u132_roothub_setportfeature()
2719 u16 wIndex) in u132_roothub_clearportfeature() argument
2721 if (wIndex == 0 || wIndex > u132->num_ports) { in u132_roothub_clearportfeature()
2724 int port_index = wIndex - 1; in u132_roothub_clearportfeature()
2820 u16 wIndex, char *buf, u16 wLength) in u132_hub_control() argument
[all …]
Dfhci-hub.c207 u16 wIndex, char *buf, u16 wLength) in fhci_hub_control() argument
Dsl811-hcd.c1215 u16 wIndex, in sl811h_hub_control() argument
1237 if (wIndex != 1 || wLength != 0) in sl811h_hub_control()
1285 if (wIndex != 1) in sl811h_hub_control()
1296 if (wIndex != 1 || wLength != 0) in sl811h_hub_control()
Dimx21-hcd.c1529 u16 wValue, u16 wIndex, char *buf, u16 wLength) in imx21_hc_hub_control() argument
1607 wIndex, USBH_PORTSTAT(wIndex - 1)); in imx21_hc_hub_control()
1609 USBH_PORTSTAT(wIndex - 1)); in imx21_hc_hub_control()
1659 writel(status_write, imx21->regs + USBH_PORTSTAT(wIndex - 1)); in imx21_hc_hub_control()
Dfhci.h538 u16 wIndex, char *buf, u16 wLength);
Dr8a66597-hcd.c2152 u16 wIndex, char *buf, u16 wLength) in r8a66597_hub_control() argument
2156 int port = (wIndex & 0x00FF) - 1; in r8a66597_hub_control()
2175 if (wIndex > r8a66597->max_root_hub) in r8a66597_hub_control()
2208 if (wIndex > r8a66597->max_root_hub) in r8a66597_hub_control()
2213 if (wIndex > r8a66597->max_root_hub) in r8a66597_hub_control()
Dohci.h743 u16 wIndex, char *buf, u16 wLength);
Dehci.h893 u16 wIndex, char *buf, u16 wLength);
Dxhci.h1930 int xhci_hub_control(struct usb_hcd *hcd, u16 typeReq, u16 wValue, u16 wIndex,
Dxhci-ring.c3477 le16_to_cpu(setup->wIndex) | le16_to_cpu(setup->wLength) << 16, in xhci_queue_ctrl_tx()
/linux-4.4.14/drivers/usb/wusbcore/
Drh.c175 u16 wIndex, in wusbhc_rh_get_hub_descr() argument
361 u16 wIndex, char *buf, u16 wLength) in wusbhc_rh_control() argument
369 wusbhc, wValue, wIndex, in wusbhc_rh_control()
380 result = wusbhc_rh_set_port_feat(wusbhc, wValue, wIndex >> 8, in wusbhc_rh_control()
381 (wIndex & 0xff) - 1); in wusbhc_rh_control()
384 result = wusbhc_rh_clear_port_feat(wusbhc, wValue, wIndex >> 8, in wusbhc_rh_control()
385 (wIndex & 0xff) - 1); in wusbhc_rh_control()
388 result = wusbhc_rh_get_port_status(wusbhc, wIndex - 1, in wusbhc_rh_control()
396 wValue, wIndex, buf, wLength); in wusbhc_rh_control()
/linux-4.4.14/drivers/media/usb/b2c2/
Dflexcop-usb.c102 u16 wIndex; in flexcop_usb_v8_memory_req() local
104 wIndex = page << 8; in flexcop_usb_v8_memory_req()
113 wIndex |= pbBuffer[0]; in flexcop_usb_v8_memory_req()
128 wAddress, wIndex, buflen); in flexcop_usb_v8_memory_req()
134 wIndex, in flexcop_usb_v8_memory_req()
201 flexcop_usb_utility_function_t func, u8 extra, u16 wIndex,
214 wIndex,
228 u16 wValue, wIndex; in flexcop_usb_i2c_req() local
253 wIndex = (chipaddr << 8 ) | addr; in flexcop_usb_i2c_req()
258 wIndex & 0xff, wIndex >> 8); in flexcop_usb_i2c_req()
[all …]
/linux-4.4.14/drivers/media/usb/gspca/
Ddtcs033.c29 u16 wIndex; member
36 u16 wValue, u16 wIndex, u16 wLength) in reg_rw() argument
48 wValue, wIndex, in reg_rw()
70 preq->wValue, preq->wIndex, preq->wLength); in reg_reqs()
165 u16 wIndex = 0x0100|(0x00FF&gainVal); in dtcs033_setexposure() local
177 bRequestType, bRequest, wValue, wIndex, 0); in dtcs033_setexposure()
/linux-4.4.14/drivers/usb/musb/
Dmusb_virthub.c286 u16 wIndex, in musb_hub_control() argument
318 if ((wIndex & 0xff) != 1) in musb_hub_control()
367 if (wIndex != 1) in musb_hub_control()
379 if ((wIndex & 0xff) != 1) in musb_hub_control()
407 wIndex >>= 8; in musb_hub_control()
408 switch (wIndex) { in musb_hub_control()
Dmusb_gadget_ep0.c110 epnum = (u8) ctrlrequest->wIndex; in service_tx_status_request()
258 ctrlrequest->wIndex & 0x0f; in service_zero_data_request()
272 is_in = ctrlrequest->wIndex & USB_DIR_IN; in service_zero_data_request()
331 if (ctrlrequest->wIndex & 0xff) in service_zero_data_request()
334 switch (ctrlrequest->wIndex >> 8) { in service_zero_data_request()
423 ctrlrequest->wIndex & 0x0f; in service_zero_data_request()
436 is_in = ctrlrequest->wIndex & USB_DIR_IN; in service_zero_data_request()
614 le16_to_cpu(req->wIndex), in musb_read_setup()
Dmusb_host.h136 u16 typeReq, u16 wValue, u16 wIndex,
/linux-4.4.14/drivers/usb/c67x00/
Dc67x00-hcd.c81 u16 wIndex, char *buf, u16 wLength) in c67x00_hub_control() argument
87 unsigned int port = wIndex-1; in c67x00_hub_control()
98 if (wIndex > C67X00_PORTS) in c67x00_hub_control()
139 if (wIndex > C67X00_PORTS) in c67x00_hub_control()
168 if (wIndex > C67X00_PORTS) in c67x00_hub_control()
/linux-4.4.14/drivers/usb/dwc3/
Dep0.c377 dep = dwc3_wIndex_to_dep(dwc, ctrl->wIndex); in dwc3_ep0_handle_status()
406 u32 wIndex; in dwc3_ep0_handle_feature() local
412 wIndex = le16_to_cpu(ctrl->wIndex); in dwc3_ep0_handle_feature()
458 if ((wIndex & 0xff) != 0) in dwc3_ep0_handle_feature()
463 dwc->test_mode_nr = wIndex >> 8; in dwc3_ep0_handle_feature()
474 if (wIndex & USB_INTRF_FUNC_SUSPEND_LP) in dwc3_ep0_handle_feature()
477 if (wIndex & USB_INTRF_FUNC_SUSPEND_RW) in dwc3_ep0_handle_feature()
489 dep = dwc3_wIndex_to_dep(dwc, wIndex); in dwc3_ep0_handle_feature()
688 u16 wIndex; in dwc3_ep0_set_isoch_delay() local
692 wIndex = le16_to_cpu(ctrl->wIndex); in dwc3_ep0_set_isoch_delay()
[all …]
Dtrace.h89 __field(__le16, wIndex)
96 __entry->wIndex = ctrl->wIndex;
101 le16_to_cpu(__entry->wValue), le16_to_cpu(__entry->wIndex),
/linux-4.4.14/drivers/usb/usbip/
Dvhci_hcd.c48 u16 wIndex, char *buff, u16 wLength);
229 u16 wIndex, char *buf, u16 wLength) in vhci_hub_control() argument
245 wIndex); in vhci_hub_control()
246 if (wIndex > VHCI_NPORTS) in vhci_hub_control()
247 pr_err("invalid port number %d\n", wIndex); in vhci_hub_control()
248 rhport = ((__u8)(wIndex & 0x00ff)) - 1; in vhci_hub_control()
311 usbip_dbg_vhci_rh(" GetPortStatus port %x\n", wIndex); in vhci_hub_control()
312 if (wIndex > VHCI_NPORTS || wIndex < 1) { in vhci_hub_control()
313 pr_err("invalid port number %d\n", wIndex); in vhci_hub_control()
Dstub_rx.c67 index = le16_to_cpu(req->wIndex); in is_reset_device_cmd()
93 target_endp = le16_to_cpu(req->wIndex) & 0x000f; in tweak_clear_halt_cmd()
96 target_dir = le16_to_cpu(req->wIndex) & 0x0080; in tweak_clear_halt_cmd()
125 interface = le16_to_cpu(req->wIndex); in tweak_set_interface_cmd()
Dusbip_common.c183 cmd->wValue, cmd->wIndex, cmd->wLength); in usbip_dump_usb_ctrlrequest()
/linux-4.4.14/drivers/usb/gadget/udc/bdc/
Dbdc_ep.c1153 u16 wIndex, bool set) in ep0_handle_feature_dev() argument
1171 if ((wIndex & 0xFF) || in ep0_handle_feature_dev()
1175 bdc->test_mode = wIndex >> 8; in ep0_handle_feature_dev()
1241 u16 wIndex; in ep0_handle_feature() local
1245 wIndex = le16_to_cpu(setup_pkt->wIndex); in ep0_handle_feature()
1249 __func__, wValue, wIndex, state, in ep0_handle_feature()
1254 return ep0_handle_feature_dev(bdc, wValue, wIndex, set); in ep0_handle_feature()
1262 if (wIndex & USB_INTRF_FUNC_SUSPEND_RW) { in ep0_handle_feature()
1277 epnum = wIndex & USB_ENDPOINT_NUMBER_MASK; in ep0_handle_feature()
1279 if ((wIndex & USB_ENDPOINT_DIR_MASK) == USB_DIR_IN) in ep0_handle_feature()
[all …]
/linux-4.4.14/drivers/input/misc/
Dpowermate.c130 pm->configcr->wIndex = cpu_to_le16( pm->pulse_asleep ? 1 : 0 ); in powermate_sync_state()
134 pm->configcr->wIndex = cpu_to_le16( pm->pulse_awake ? 1 : 0 ); in powermate_sync_state()
166 pm->configcr->wIndex = cpu_to_le16( (arg << 8) | op ); in powermate_sync_state()
170 pm->configcr->wIndex = cpu_to_le16( pm->static_brightness ); in powermate_sync_state()
Dcm109.c485 le16_to_cpu(dev->ctl_req->wIndex), in cm109_toggle_buzzer_sync()
741 dev->ctl_req->wIndex = cpu_to_le16(interface->desc.bInterfaceNumber); in cm109_usb_probe()
Dyealink.c938 yld->ctl_req->wIndex = cpu_to_le16(interface->desc.bInterfaceNumber); in usb_probe()
/linux-4.4.14/drivers/usb/isp1760/
Disp1760-hcd.c1812 u16 wValue, u16 wIndex, char *buf, u16 wLength) in isp1760_hub_control() argument
1841 if (!wIndex || wIndex > ports) in isp1760_hub_control()
1843 wIndex--; in isp1760_hub_control()
1906 if (!wIndex || wIndex > ports) in isp1760_hub_control()
1908 wIndex--; in isp1760_hub_control()
1945 wIndex + 1, retval); in isp1760_hub_control()
1968 wIndex + 1, retval); in isp1760_hub_control()
1973 temp = check_reset_complete(hcd, wIndex, in isp1760_hub_control()
2012 selector = wIndex >> 8; in isp1760_hub_control()
2013 wIndex &= 0xff; in isp1760_hub_control()
[all …]
Disp1760-udc.c472 ep = isp1760_udc_find_ep(udc, le16_to_cpu(req->wIndex)); in isp1760_udc_get_status()
540 u16 index = le16_to_cpu(req->wIndex); in isp1760_ep0_setup_standard()
584 u16 index = le16_to_cpu(req->wIndex); in isp1760_ep0_setup_standard()
694 le16_to_cpu(req.r.wValue), le16_to_cpu(req.r.wIndex), in isp1760_ep0_setup()
/linux-4.4.14/drivers/usb/renesas_usbhs/
Dmod_host.c1107 u16 wIndex, char *buf, u16 wLength) in __usbhsh_hub_hub_feature() argument
1124 u16 wIndex, char *buf, u16 wLength) in __usbhsh_hub_port_feature() argument
1133 if (wIndex > roothub_id || wLength != 0) in __usbhsh_hub_port_feature()
1209 u16 wIndex, char *buf, u16 wLength) in __usbhsh_hub_get_status() argument
1224 if (wIndex != roothub_id) in __usbhsh_hub_get_status()
1249 u16 wIndex, char *buf, u16 wLength) in usbhsh_hub_control() argument
1262 wValue, wIndex, buf, wLength); in usbhsh_hub_control()
1269 wValue, wIndex, buf, wLength); in usbhsh_hub_control()
1277 wValue, wIndex, buf, wLength); in usbhsh_hub_control()
Dcommon.c172 req->wIndex = usbhs_read(priv, USBINDX); in usbhs_usbreq_get_val()
180 usbhs_write(priv, USBINDX, req->wIndex); in usbhs_usbreq_set_val()
Dmod_gadget.c276 usbhs_sys_set_test_mode(priv, le16_to_cpu(ctrl->wIndex >> 8)); in usbhsg_recip_handler_std_set_device()
419 int nth = le16_to_cpu(ctrl->wIndex) & USB_ENDPOINT_NUMBER_MASK; in usbhsg_recip_run_handle()
/linux-4.4.14/include/linux/
Dusbdevice_fs.h40 u16 wIndex; member
/linux-4.4.14/drivers/usb/gadget/function/
Df_printer.c903 u16 w_index = le16_to_cpu(ctrl->wIndex); in gprinter_req_match()
945 u16 wIndex = le16_to_cpu(ctrl->wIndex); in printer_func_setup() local
950 ctrl->bRequestType, ctrl->bRequest, wValue, wIndex, wLength); in printer_func_setup()
957 if ((wIndex>>8) != dev->interface) in printer_func_setup()
968 if (wIndex != dev->interface) in printer_func_setup()
977 if (wIndex != dev->interface) in printer_func_setup()
995 wValue, wIndex, wLength); in printer_func_setup()
Df_uac1.c388 u8 id = ((le16_to_cpu(ctrl->wIndex) >> 8) & 0xFF); in audio_set_intf_req()
425 u8 id = ((le16_to_cpu(ctrl->wIndex) >> 8) & 0xFF); in audio_get_intf_req()
461 u16 ep = le16_to_cpu(ctrl->wIndex); in audio_set_endpoint_req()
497 u8 ep = ((le16_to_cpu(ctrl->wIndex) >> 8) & 0xFF); in audio_get_endpoint_req()
526 u16 w_index = le16_to_cpu(ctrl->wIndex); in f_audio_setup()
Df_acm.c345 u16 w_index = le16_to_cpu(ctrl->wIndex); in acm_setup()
515 notify->wIndex = cpu_to_le16(acm->ctrl_id); in acm_cdc_notify()
Df_ecm.c425 event->wIndex = cpu_to_le16(ecm->ctrl_id); in ecm_do_notify()
475 u16 w_index = le16_to_cpu(ctrl->wIndex); in ecm_setup()
Df_uac2.c1281 u16 w_index = le16_to_cpu(cr->wIndex); in in_rq_cur()
1322 u16 w_index = le16_to_cpu(cr->wIndex); in in_rq_range()
1386 u16 w_index = le16_to_cpu(cr->wIndex); in setup_rq_inf()
Df_eem.c174 u16 w_index = le16_to_cpu(ctrl->wIndex); in eem_setup()
Df_fs.c1933 u16 w_index = le16_to_cpu(desc->wIndex); in __ffs_do_os_desc_header()
2979 pr_vdebug("creq->wIndex = %04x\n", le16_to_cpu(creq->wIndex)); in ffs_func_setup()
2996 ret = ffs_func_revmap_intf(func, le16_to_cpu(creq->wIndex)); in ffs_func_setup()
3002 ret = ffs_func_revmap_ep(func, le16_to_cpu(creq->wIndex)); in ffs_func_setup()
3015 ffs->ev.setup.wIndex = cpu_to_le16(ret); in ffs_func_setup()
Df_ncm.c521 event->wIndex = cpu_to_le16(ncm->ctrl_id); in ncm_do_notify()
619 u16 w_index = le16_to_cpu(ctrl->wIndex); in ncm_setup()
Df_rndis.c470 u16 w_index = le16_to_cpu(ctrl->wIndex); in rndis_setup()
Df_sourcesink.c784 u16 w_index = le16_to_cpu(ctrl->wIndex); in sourcesink_setup()
Df_mass_storage.c507 u16 w_index = le16_to_cpu(ctrl->wIndex); in fsg_setup()
/linux-4.4.14/drivers/isdn/hisax/
Dst5481_usb.c48 ((struct ctrl_msg *)urb->setup_packet)->dr.wIndex); in usb_next_ctrl_msg()
77 ctrl_msg->dr.wIndex = cpu_to_le16p(&index); in usb_ctrl_msg()
151 le16_to_cpus(&ctrl_msg->dr.wIndex); in usb_ctrl_complete()
152 usb_reset_endpoint(adapter->usb_dev, ctrl_msg->dr.wIndex); in usb_ctrl_complete()
Dhfc_usb.c230 hfc->ctrl_write.wIndex = in ctrl_start_transfer()
/linux-4.4.14/drivers/staging/emxx_udc/
Demxx_udc.c164 test_mode = (u32)(p_ctrl->wIndex >> 8); in _nbu2ss_ep0_complete()
1432 u16 wIndex in _nbu2ss_set_feature_device() argument
1439 if (wIndex == 0x0000) { in _nbu2ss_set_feature_device()
1446 wIndex >>= 8; in _nbu2ss_set_feature_device()
1447 if (wIndex <= MAX_TEST_MODE_NUM) in _nbu2ss_set_feature_device()
1492 u16 wIndex = udc->ctrl.wIndex; in _nbu2ss_req_feature() local
1505 _nbu2ss_set_feature_device(udc, selector, wIndex); in _nbu2ss_req_feature()
1509 if (0x0000 == (wIndex & 0xFF70)) { in _nbu2ss_req_feature()
1511 ep_adrs = wIndex & 0xFF; in _nbu2ss_req_feature()
1599 if (udc->ctrl.wIndex == 0x0000) { in std_req_get_status()
[all …]
/linux-4.4.14/include/uapi/linux/usb/
Dfunctionfs.h60 __le16 wIndex; member
Dcdc.h300 __le16 wIndex; member
Dch9.h189 __le16 wIndex; member
/linux-4.4.14/drivers/media/usb/cx231xx/
Dcx231xx-core.c193 ven_req.wIndex = 0; /* need check */ in cx231xx_send_usb_command()
196 ven_req.wIndex = (req_data->saddr_dat & 0xff); in cx231xx_send_usb_command()
199 ven_req.wIndex = req_data->saddr_dat; in cx231xx_send_usb_command()
371 ven_req->wValue, ven_req->wIndex, pdata, in cx231xx_send_vendor_cmd()
382 ven_req->wValue, ven_req->wIndex, pdata, in cx231xx_send_vendor_cmd()
392 ven_req->wValue, ven_req->wIndex, pdata, in cx231xx_send_vendor_cmd()
397 ven_req->wValue, ven_req->wIndex, in cx231xx_send_vendor_cmd()
1450 ven_req.wIndex = (u16) (gpio_bit & 0xffff); in cx231xx_send_gpio_cmd()
Dcx231xx.h498 u16 wIndex; member
/linux-4.4.14/drivers/usb/gadget/udc/
Dnet2272.c1643 net2272_get_ep_by_addr(struct net2272 *dev, u16 wIndex) in net2272_get_ep_by_addr() argument
1647 if ((wIndex & USB_ENDPOINT_NUMBER_MASK) == 0) in net2272_get_ep_by_addr()
1656 if ((wIndex ^ bEndpointAddress) & USB_DIR_IN) in net2272_get_ep_by_addr()
1658 if ((wIndex & 0x0f) == (bEndpointAddress & 0x0f)) in net2272_get_ep_by_addr()
1805 le16_to_cpus(&u.r.wIndex); in net2272_handle_stat0_irqs()
1836 e = net2272_get_ep_by_addr(dev, u.r.wIndex); in net2272_handle_stat0_irqs()
1888 e = net2272_get_ep_by_addr(dev, u.r.wIndex); in net2272_handle_stat0_irqs()
1905 if (u.r.wIndex != NORMAL_OPERATION) in net2272_handle_stat0_irqs()
1906 net2272_set_test_mode(dev, (u.r.wIndex >> 8)); in net2272_handle_stat0_irqs()
1908 dev_vdbg(dev->dev, "test mode: %d\n", u.r.wIndex); in net2272_handle_stat0_irqs()
[all …]
Datmel_usba_udc.c1064 static struct usba_ep *get_ep_by_addr(struct usba_udc *udc, u16 wIndex) in get_ep_by_addr() argument
1068 if ((wIndex & USB_ENDPOINT_NUMBER_MASK) == 0) in get_ep_by_addr()
1077 if ((wIndex ^ bEndpointAddress) & USB_DIR_IN) in get_ep_by_addr()
1080 == (wIndex & USB_ENDPOINT_NUMBER_MASK)) in get_ep_by_addr()
1237 target = get_ep_by_addr(udc, le16_to_cpu(crq->wIndex)); in handle_ep0_setup()
1270 target = get_ep_by_addr(udc, le16_to_cpu(crq->wIndex)); in handle_ep0_setup()
1291 udc->test_mode = le16_to_cpu(crq->wIndex); in handle_ep0_setup()
1305 target = get_ep_by_addr(udc, le16_to_cpu(crq->wIndex)); in handle_ep0_setup()
1339 le16_to_cpu(crq->wValue), le16_to_cpu(crq->wIndex), in handle_ep0_setup()
Dmv_udc_core.c1555 ep_num = setup->wIndex & USB_ENDPOINT_NUMBER_MASK; in ch9getstatus()
1556 direction = (setup->wIndex & USB_ENDPOINT_DIR_MASK) in ch9getstatus()
1588 ep_num = setup->wIndex & USB_ENDPOINT_NUMBER_MASK; in ch9clearfeature()
1589 direction = (setup->wIndex & USB_ENDPOINT_DIR_MASK) in ch9clearfeature()
1625 if (setup->wIndex & 0xFF in ch9setfeature()
1634 mv_udc_testmode(udc, (setup->wIndex >> 8)); in ch9setfeature()
1643 ep_num = setup->wIndex & USB_ENDPOINT_NUMBER_MASK; in ch9setfeature()
1644 direction = (setup->wIndex & USB_ENDPOINT_DIR_MASK) in ch9setfeature()
1676 setup->wValue, setup->wIndex, setup->wLength); in handle_setup_packet()
Dudc-xilinx.c1624 epnum = udc->setup.wIndex & USB_ENDPOINT_NUMBER_MASK; in xudc_getstatus()
1628 if (udc->setup.wIndex & USB_DIR_IN) { in xudc_getstatus()
1691 endpoint = udc->setup.wIndex & USB_ENDPOINT_NUMBER_MASK; in xudc_set_clear_feature()
1693 outinbit = udc->setup.wIndex & USB_ENDPOINT_DIR_MASK; in xudc_set_clear_feature()
1756 udc->setup.wIndex = cpu_to_le16(setup.wIndex); in xudc_handle_setup()
1869 u8 test_mode = udc->setup.wIndex >> 8; in xudc_ep0_in()
Ds3c2410_udc.c542 crq->wValue, crq->wIndex, crq->wLength); in s3c2410_udc_read_fifo_crq()
551 u8 ep_num = crq->wIndex & 0x7F; in s3c2410_udc_get_status()
552 u8 is_in = crq->wIndex & USB_DIR_IN; in s3c2410_udc_get_status()
681 s3c2410_udc_set_halt(&dev->ep[crq->wIndex & 0x7f].ep, 0); in s3c2410_udc_handle_ep0_idle()
694 s3c2410_udc_set_halt(&dev->ep[crq->wIndex & 0x7f].ep, 1); in s3c2410_udc_handle_ep0_idle()
Dfotg210-udc.c659 epnum = le16_to_cpu(ctrl->wIndex) & USB_ENDPOINT_NUMBER_MASK; in fotg210_set_feature()
677 fotg210->ep[ctrl->wIndex & USB_ENDPOINT_NUMBER_MASK]; in fotg210_clear_feature()
687 if (ctrl->wIndex & USB_ENDPOINT_NUMBER_MASK) { in fotg210_clear_feature()
729 epnum = ctrl->wIndex & USB_ENDPOINT_NUMBER_MASK; in fotg210_get_status()
Dlpc32xx_udc.c2195 static int udc_get_status(struct lpc32xx_udc *udc, u16 reqtype, u16 wIndex) in udc_get_status() argument
2211 tmp = wIndex & USB_ENDPOINT_NUMBER_MASK; in udc_get_status()
2216 if (wIndex & USB_DIR_IN) { in udc_get_status()
2247 u16 wIndex, wValue, wLength, reqtype, req, tmp; in udc_handle_ep0_setup() local
2261 wIndex = le16_to_cpu(ctrlpkt.wIndex); in udc_handle_ep0_setup()
2293 tmp = wIndex & USB_ENDPOINT_NUMBER_MASK; in udc_handle_ep0_setup()
2324 udc_get_status(udc, reqtype, wIndex); in udc_handle_ep0_setup()
Dfsl_udc_core.c1398 u16 wIndex = le16_to_cpu(setup->wIndex); in setup_received_irq() local
1410 ch9getstatus(udc, setup->bRequestType, wValue, wIndex, wLength); in setup_received_irq()
1418 ch9setaddress(udc, wValue, wIndex, wLength); in setup_received_irq()
1430 int pipe = get_pipe_by_windex(wIndex); in setup_received_irq()
1449 ptc = wIndex >> 8; in setup_received_irq()
Dfusb300_udc.c692 u16 w_index = ctrl->wIndex; in get_status()
738 u16 w_index = le16_to_cpu(ctrl->wIndex); in set_feature()
763 fusb300->ep[ctrl->wIndex & USB_ENDPOINT_NUMBER_MASK]; in clear_feature()
773 if (ctrl->wIndex & USB_ENDPOINT_NUMBER_MASK) { in clear_feature()
Dgoku_udc.c1441 ctrl.wIndex = cpu_to_le16((readl(&regs->wIndexH) << 8) in ep0_setup()
1466 tmp = le16_to_cpu(ctrl.wIndex) & 0x0f; in ep0_setup()
1471 if (ctrl.wIndex & cpu_to_le16( in ep0_setup()
1510 le16_to_cpu(ctrl.wValue), le16_to_cpu(ctrl.wIndex), in ep0_setup()
Dm66592-udc.c972 u16 w_index = le16_to_cpu(ctrl->wIndex); in get_status()
1015 u16 w_index = le16_to_cpu(ctrl->wIndex); in clear_feature()
1059 le16_to_cpu(ctrl->wIndex >> 8), in set_feature()
1072 u16 w_index = le16_to_cpu(ctrl->wIndex); in set_feature()
Dfsl_qe_udc.c2014 u16 wIndex = le16_to_cpu(setup->wIndex); in setup_received_handle() local
2031 ch9getstatus(udc, setup->bRequestType, wValue, wIndex, in setup_received_handle()
2040 ch9setaddress(udc, wValue, wIndex, wLength); in setup_received_handle()
2052 int pipe = wIndex & USB_ENDPOINT_NUMBER_MASK; in setup_received_handle()
Dr8a66597-udc.c1169 u16 w_index = le16_to_cpu(ctrl->wIndex); in get_status()
1213 u16 w_index = le16_to_cpu(ctrl->wIndex); in clear_feature()
1260 le16_to_cpu(ctrl->wIndex >> 8), in set_feature()
1273 u16 w_index = le16_to_cpu(ctrl->wIndex); in set_feature()
Dnet2280.c2676 static struct net2280_ep *get_ep_by_addr(struct net2280 *dev, u16 wIndex) in get_ep_by_addr() argument
2680 if ((wIndex & USB_ENDPOINT_NUMBER_MASK) == 0) in get_ep_by_addr()
2688 if ((wIndex ^ bEndpointAddress) & USB_DIR_IN) in get_ep_by_addr()
2690 if ((wIndex & 0x0f) == (bEndpointAddress & 0x0f)) in get_ep_by_addr()
2791 #define w_index le16_to_cpu(r.wIndex) in handle_stat0_irqs_superspeed()
3099 #define w_index le16_to_cpu(u.r.wIndex) in handle_stat0_irqs()
Ddummy_hcd.c1568 w_index = le16_to_cpu(setup->wIndex); in handle_control_request()
2032 u16 wIndex, in dummy_hub_control() argument
2111 if (wIndex != 1) in dummy_hub_control()
2277 typeReq, wValue, wIndex, wLength); in dummy_hub_control()
Ds3c-hsudc.c566 u8 ep_num = ctrl->wIndex & USB_ENDPOINT_NUMBER_MASK; in s3c_hsudc_handle_reqfeat()
607 epnum = le16_to_cpu(ctrl->wIndex) & USB_ENDPOINT_NUMBER_MASK; in s3c_hsudc_process_req_status()
Dpxa27x_udc.c1905 le16_to_cpu(u.r.wValue), le16_to_cpu(u.r.wIndex), in handle_ep0_ctrl_req()
2142 req.wIndex = 0; in pxa27x_change_configuration()
2171 req.wIndex = iface; in pxa27x_change_interface()
Dpxa25x_udc.c1479 le16_to_cpu(u.r.wIndex), in handle_ep0()
1512 le16_to_cpu(u.r.wIndex), in handle_ep0()
Dbcm63xx_udc.c1353 ctrl.wIndex = 0; in bcm63xx_ep0_spoof_set_cfg()
1377 ctrl.wIndex = cpu_to_le16(udc->iface); in bcm63xx_ep0_spoof_set_iface()
Dat91_udc.c1097 #define w_index le16_to_cpu(pkt.r.wIndex) in handle_setup()
Dgr_udc.c1114 index = le16_to_cpu(u.ctrl.wIndex); in gr_ep0_setup()
Dmv_u3d_core.c1535 setup->wValue, setup->wIndex, setup->wLength); in mv_u3d_handle_setup_packet()
Dpch_udc.c2663 dev->setup_data.wIndex = cpu_to_le16(dev->cfg_data.cur_intf); in pch_udc_svc_intf_interrupt()
Domap_udc.c1529 #define w_index le16_to_cpu(u.r.wIndex) in ep0_irq()
Damd5536udc.c2885 setup_data.request.wIndex = cpu_to_le16(dev->cur_intf); in udc_dev_isr()
/linux-4.4.14/include/uapi/linux/
Dusbdevice_fs.h43 __u16 wIndex; member
/linux-4.4.14/drivers/usb/class/
Dcdc-wdm.c248 le16_to_cpu(dr->wIndex), le16_to_cpu(dr->wLength)); in wdm_int_callback()
266 le16_to_cpu(dr->wIndex), in wdm_int_callback()
407 req->wIndex = desc->inum; /* already converted */ in wdm_write()
421 le16_to_cpu(req->wIndex)); in wdm_write()
826 desc->irq->wIndex = desc->inum; /* already converted */ in wdm_create()
Dcdc-acm.c353 dr->bNotificationType, dr->wIndex, in acm_ctrl_irq()
/linux-4.4.14/drivers/net/irda/
Dks959-sir.c736 kingsun->rx_setuprequest->wIndex = 0; in ks959_probe()
756 kingsun->tx_setuprequest->wIndex = 0; in ks959_probe()
768 kingsun->speed_setuprequest->wIndex = cpu_to_le16(0x0001); in ks959_probe()
Dksdazzle-sir.c679 kingsun->speed_setuprequest->wIndex = cpu_to_le16(0x0001); in ksdazzle_probe()
/linux-4.4.14/drivers/usb/dwc2/
Dgadget.c998 ep = ep_from_windex(hsotg, le16_to_cpu(ctrl->wIndex)); in dwc2_hsotg_process_req_status()
1054 u32 wIndex; in dwc2_hsotg_process_req_feature() local
1060 wIndex = le16_to_cpu(ctrl->wIndex); in dwc2_hsotg_process_req_feature()
1067 if ((wIndex & 0xff) != 0) in dwc2_hsotg_process_req_feature()
1072 hsotg->test_mode = wIndex >> 8; in dwc2_hsotg_process_req_feature()
1086 ep = ep_from_windex(hsotg, wIndex); in dwc2_hsotg_process_req_feature()
1089 __func__, wIndex); in dwc2_hsotg_process_req_feature()
1208 ctrl->wIndex, ctrl->wLength); in dwc2_hsotg_process_control()
/linux-4.4.14/drivers/usb/chipidea/
Dudc.c882 dir = (le16_to_cpu(setup->wIndex) & USB_ENDPOINT_DIR_MASK) ? in isr_get_status_response()
884 num = le16_to_cpu(setup->wIndex) & USB_ENDPOINT_NUMBER_MASK; in isr_get_status_response()
1034 num = le16_to_cpu(req.wIndex); in isr_setup_packet_handler()
1073 le16_to_cpu(req.wIndex) != 0) in isr_setup_packet_handler()
1085 num = le16_to_cpu(req.wIndex); in isr_setup_packet_handler()
1105 tmode = le16_to_cpu(req.wIndex) >> 8; in isr_setup_packet_handler()
/linux-4.4.14/drivers/input/joystick/iforce/
Diforce-usb.c164 iforce->cr.wIndex = 0; in iforce_usb_probe()
/linux-4.4.14/include/linux/usb/
Daudio-v2.h200 __le16 wIndex; member
Dhcd.h310 u16 typeReq, u16 wValue, u16 wIndex,
/linux-4.4.14/drivers/staging/rtl8712/
Drtl871x_mp_ioctl.h75 u16 wIndex; member
/linux-4.4.14/drivers/usb/core/
Dhcd.c468 u16 typeReq, wValue, wIndex, wLength; in rh_call_control() local
490 wIndex = le16_to_cpu (cmd->wIndex); in rh_call_control()
659 typeReq, wValue, wIndex, in rh_call_control()
677 typeReq, wValue, wIndex, in rh_call_control()
Ddevio.c981 ctrl.wIndex); in proc_control()
1001 ctrl.wIndex, ctrl.wLength); in proc_control()
1013 ctrl.bRequestType, ctrl.wValue, ctrl.wIndex, in proc_control()
1037 ctrl.bRequestType, ctrl.wValue, ctrl.wIndex, in proc_control()
1343 le16_to_cpup(&dr->wIndex)); in proc_do_submiturb()
1360 __le16_to_cpup(&dr->wIndex), in proc_do_submiturb()
Dmessage.c145 dr->wIndex = cpu_to_le16(index); in usb_control_msg()
/linux-4.4.14/drivers/usb/serial/
Dopticon.c227 dr->wIndex = 0; in opticon_write()
Dmos7840.c501 dr->wIndex = cpu_to_le16(reg); in mos7840_get_reg()
543 dr->wIndex = cpu_to_le16(reg); in mos7840_set_led_async()
Dmos7720.c384 urbtrack->setup->wIndex = cpu_to_le16(get_reg_index(reg)); in write_parport_reg_nonblock()
Dkeyspan.c1968 dr->wIndex = 0; in keyspan_usa49_send_setup()
/linux-4.4.14/drivers/bluetooth/
Dbpa10x.c310 dr->wIndex = 0; in bpa10x_send_frame()
Dbtusb.c1152 dr->wIndex = 0; in alloc_ctrl_urb()
/linux-4.4.14/drivers/hid/usbhid/
Dusbkbd.c357 kbd->cr->wIndex = cpu_to_le16(interface->desc.bInterfaceNumber); in usb_kbd_probe()
Dhid-core.c406 usbhid->cr->wIndex = cpu_to_le16(usbhid->ifnum); in hid_submit_ctrl()
412 usbhid->cr->wValue, usbhid->cr->wIndex, usbhid->cr->wLength); in hid_submit_ctrl()
/linux-4.4.14/drivers/usb/atm/
Dueagle-atm.c493 __le16 wIndex; member
551 __le16 wIndex; member
1200 cmv.wIndex = cpu_to_le16(sc->cmv_dsc.e1.idx); in uea_cmv_e1()
2025 cmv->wIndex = cpu_to_le16(dsc->idx); in uea_dispatch_cmv_e1()
2041 if (le16_to_cpu(cmv->wIndex) != dsc->idx || in uea_dispatch_cmv_e1()
/linux-4.4.14/drivers/usb/storage/
Dtransport.c207 us->cr->wIndex = cpu_to_le16(index); in usb_stor_control_msg()
341 us->cr->wIndex = cpu_to_le16(index); in usb_stor_ctrl_transfer()
/linux-4.4.14/sound/usb/
Dmixer_quirks.c289 mixer->rc_setup_packet->wIndex = cpu_to_le16(0); in snd_usb_soundblaster_remote_init()
736 #define _MAKE_NI_CONTROL(bRequest,wIndex) ((bRequest) << 16 | (wIndex)) argument
Dmixer.c2399 le16_to_cpu(msg->wIndex)); in snd_usb_mixer_interrupt()
/linux-4.4.14/drivers/usb/misc/
Dyurex.c260 dev->cntl_req->wIndex = cpu_to_le16(iface_desc->desc.bInterfaceNumber); in yurex_probe()
Duss720.c176 rq->dr->wIndex = cpu_to_le16(index); in submit_async_request()
/linux-4.4.14/drivers/staging/octeon-usb/
Docteon-hcd.c3342 u16 wIndex, char *buf, u16 wLength) in octeon_usb_hub_control() argument
3366 if (wIndex != 1) { in octeon_usb_hub_control()
3458 if (wIndex != 1) { in octeon_usb_hub_control()
3514 if (wIndex != 1) { in octeon_usb_hub_control()
/linux-4.4.14/tools/usb/
Dffs-test.c535 printf("wIndex = %d\n", le16_to_cpu(setup->wIndex)); in handle_setup()
/linux-4.4.14/drivers/net/wireless/brcm80211/brcmfmac/
Dusb.c657 devinfo->ctl_write.wIndex = cpu_to_le16(devinfo->ifnum); in brcmf_usb_up()
664 devinfo->ctl_read.wIndex = cpu_to_le16(devinfo->ifnum); in brcmf_usb_up()
/linux-4.4.14/drivers/isdn/gigaset/
Dbas-gigaset.c579 ucs->dr_cmd_in.wIndex = 0; in atread_submit()
1614 ucs->dr_ctrl.wIndex = 0; in req_submit()
1879 ucs->dr_cmd_out.wIndex = 0; in atwrite_submit()
/linux-4.4.14/drivers/net/ieee802154/
Datusb.c351 atusb->tx_dr.wIndex = cpu_to_le16(atusb->tx_ack_seq); in atusb_xmit()
/linux-4.4.14/drivers/net/wireless/rt2x00/
Drt2x00usb.c203 rd->cr.wIndex = cpu_to_le16(offset); in rt2x00usb_register_read_async()
/linux-4.4.14/drivers/net/usb/
Dhso.c202 u16 wIndex; member
1509 le16_to_cpu(serial_state_notification->wIndex) != if_num || in tiocmget_intr_callback()
1792 ctrl_req->wIndex = cpu_to_le16(hso_port_to_mux(port)); in mux_device_request()
Drtl8150.c198 req->dr.wIndex = 0; in async_set_registers()
Dkaweth.c282 dr->wIndex = cpu_to_le16(index); in kaweth_control()
Dcatc.c492 dr->wIndex = cpu_to_le16(q->index); in catc_ctrl_run()
Dpegasus.c184 req->wIndex = cpu_to_le16(EthCtrl0); in update_eth_regs_async()
Dusbnet.c2217 req->wIndex = cpu_to_le16(index); in usbnet_write_cmd_async()
/linux-4.4.14/drivers/usb/early/
Dehci-dbgp.c345 req.wIndex = cpu_to_le16(index); in dbgp_control_msg()
/linux-4.4.14/Documentation/usb/
Dusbmon.txt152 bRequest, wValue, wIndex, wLength, as specified by the USB Specification 2.0.
/linux-4.4.14/drivers/net/wireless/realtek/rtlwifi/
Dusb.c98 dr->wIndex = cpu_to_le16(index); in _usbctrl_vendorreq_async_write()
/linux-4.4.14/drivers/net/wireless/realtek/rtl818x/rtl8187/
Ddev.c150 dr->wIndex = 0; in rtl8187_iowrite_async()
/linux-4.4.14/drivers/usb/gadget/legacy/
Dinode.c1440 w_value, le16_to_cpu(ctrl->wIndex), w_length); in gadgetfs_setup()
/linux-4.4.14/drivers/usb/gadget/
Dcomposite.c1463 u16 w_index = le16_to_cpu(ctrl->wIndex); in composite_setup()
/linux-4.4.14/drivers/media/rc/
Dimon.c599 control_req->wIndex = cpu_to_le16(0x0001); in send_packet()
/linux-4.4.14/drivers/media/usb/usbvision/
Dusbvision-core.c1445 usbvision->ctrl_urb_setup.wIndex = cpu_to_le16(address); in usbvision_write_reg_irq()
/linux-4.4.14/drivers/isdn/hardware/mISDN/
Dhfcsusb.c77 hw->ctrl_write.wIndex = in ctrl_start_transfer()