Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/usb/host/
Dxhci-hub.c339 u16 wIndex, __le32 __iomem *addr, u32 port_status) in xhci_disable_port() argument
352 wIndex, port_status); in xhci_disable_port()
356 u16 wIndex, __le32 __iomem *addr, u32 port_status) in xhci_clear_port_change_bit() argument
402 port_change_bit, wIndex, port_status); in xhci_clear_port_change_bit()
541 u16 wIndex) in xhci_del_comp_mod_timer() argument
550 xhci->port_status_u0 |= 1 << wIndex; in xhci_del_comp_mod_timer()
574 u16 wIndex, u32 raw_port_status, in xhci_get_port_status() argument
620 bus_state->resume_done[wIndex])) { in xhci_get_port_status()
624 wIndex + 1); in xhci_get_port_status()
625 bus_state->resume_done[wIndex] = 0; in xhci_get_port_status()
[all …]
Dehci-hub.c820 dr->wIndex = 0; in ehset_single_step_set_feature()
864 u16 wIndex, in ehci_hub_control() argument
871 (wIndex & 0xff) - 1]; in ehci_hub_control()
872 u32 __iomem *hostpc_reg = &ehci->regs->hostpc[(wIndex & 0xff) - 1]; in ehci_hub_control()
898 if (!wIndex || wIndex > ports) in ehci_hub_control()
900 wIndex--; in ehci_hub_control()
924 if ((hcd->self.otg_port == (wIndex + 1)) in ehci_hub_control()
947 ehci->reset_done[wIndex] = jiffies in ehci_hub_control()
949 set_bit(wIndex, &ehci->resuming_ports); in ehci_hub_control()
950 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.c280 u16 wIndex, char *buf, u16 wLength) in ohci_at91_hub_control() argument
289 hcd, typeReq, wValue, wIndex, buf, wLength); in ohci_at91_hub_control()
291 wIndex--; in ohci_at91_hub_control()
297 if (valid_port(wIndex)) { in ohci_at91_hub_control()
298 ohci_at91_usb_set_power(pdata, wIndex, 1); in ohci_at91_hub_control()
312 if (valid_port(wIndex)) { in ohci_at91_hub_control()
313 pdata->overcurrent_changed[wIndex] = 0; in ohci_at91_hub_control()
314 pdata->overcurrent_status[wIndex] = 0; in ohci_at91_hub_control()
323 if (valid_port(wIndex)) in ohci_at91_hub_control()
324 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.c1003 u16 wValue, u16 wIndex, char *buf, u16 wLength) in isp116x_hub_control() argument
1049 if (!wIndex || wIndex > ports) in isp116x_hub_control()
1052 tmp = isp116x_read_reg32(isp116x, (--wIndex) ? HCRHPORT2 : HCRHPORT1); in isp116x_hub_control()
1055 DBG("GetPortStatus: port[%d] %08x\n", wIndex + 1, tmp); in isp116x_hub_control()
1059 if (!wIndex || wIndex > ports) in isp116x_hub_control()
1061 wIndex--; in isp116x_hub_control()
1100 isp116x_write_reg32(isp116x, wIndex in isp116x_hub_control()
1106 if (!wIndex || wIndex > ports) in isp116x_hub_control()
1108 wIndex--; in isp116x_hub_control()
1113 isp116x_write_reg32(isp116x, wIndex in isp116x_hub_control()
[all …]
Doxu210hp-hcd.c245 u16 typeReq, u16 wValue, u16 wIndex,
3159 u16 wValue, u16 wIndex, char *buf, u16 wLength) in oxu_hub_control() argument
3163 u32 __iomem *status_reg = &oxu->regs->port_status[wIndex - 1]; in oxu_hub_control()
3189 if (!wIndex || wIndex > ports) in oxu_hub_control()
3191 wIndex--; in oxu_hub_control()
3217 oxu->reset_done[wIndex] = jiffies in oxu_hub_control()
3252 if (!wIndex || wIndex > ports) in oxu_hub_control()
3254 wIndex--; in oxu_hub_control()
3270 if (!oxu->reset_done[wIndex]) { in oxu_hub_control()
3272 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()
Dfusbh200-hcd.c1493 u16 wIndex, in fusbh200_hub_control() argument
1525 if (!wIndex || wIndex > ports) in fusbh200_hub_control()
1527 wIndex--; in fusbh200_hub_control()
1554 fusbh200->reset_done[wIndex] = jiffies in fusbh200_hub_control()
1558 clear_bit(wIndex, &fusbh200->port_c_suspend); in fusbh200_hub_control()
1584 if (!wIndex || wIndex > ports) in fusbh200_hub_control()
1586 wIndex--; in fusbh200_hub_control()
1604 if (!fusbh200->reset_done[wIndex]) { in fusbh200_hub_control()
1606 fusbh200->reset_done[wIndex] = jiffies in fusbh200_hub_control()
1610 fusbh200->reset_done[wIndex]); in fusbh200_hub_control()
[all …]
Dfotg210-hcd.c1535 u16 wIndex, in fotg210_hub_control() argument
1567 if (!wIndex || wIndex > ports) in fotg210_hub_control()
1569 wIndex--; in fotg210_hub_control()
1597 fotg210->reset_done[wIndex] = jiffies in fotg210_hub_control()
1601 clear_bit(wIndex, &fotg210->port_c_suspend); in fotg210_hub_control()
1628 if (!wIndex || wIndex > ports) in fotg210_hub_control()
1630 wIndex--; in fotg210_hub_control()
1648 if (!fotg210->reset_done[wIndex]) { in fotg210_hub_control()
1650 fotg210->reset_done[wIndex] = jiffies in fotg210_hub_control()
1654 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.c2625 static int u132_roothub_portstatus(struct u132 *u132, __le32 *desc, u16 wIndex) in u132_roothub_portstatus() argument
2627 if (wIndex == 0 || wIndex > u132->num_ports) { in u132_roothub_portstatus()
2630 int port = wIndex - 1; in u132_roothub_portstatus()
2699 u16 wIndex) in u132_roothub_setportfeature() argument
2701 if (wIndex == 0 || wIndex > u132->num_ports) { in u132_roothub_setportfeature()
2705 int port_index = wIndex - 1; in u132_roothub_setportfeature()
2733 u16 wIndex) in u132_roothub_clearportfeature() argument
2735 if (wIndex == 0 || wIndex > u132->num_ports) { in u132_roothub_clearportfeature()
2738 int port_index = wIndex - 1; in u132_roothub_clearportfeature()
2838 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.h878 u16 wIndex, char *buf, u16 wLength);
Dxhci.h1861 int xhci_hub_control(struct usb_hcd *hcd, u16 typeReq, u16 wValue, u16 wIndex,
Dxhci-ring.c3438 le16_to_cpu(setup->wIndex) | le16_to_cpu(setup->wLength) << 16, in xhci_queue_ctrl_tx()
/linux-4.1.27/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.1.27/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.1.27/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.1.27/drivers/usb/musb/
Dmusb_virthub.c284 u16 wIndex, in musb_hub_control() argument
316 if ((wIndex & 0xff) != 1) in musb_hub_control()
365 if (wIndex != 1) in musb_hub_control()
377 if ((wIndex & 0xff) != 1) in musb_hub_control()
405 wIndex >>= 8; in musb_hub_control()
406 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.1.27/drivers/usb/dwc3/
Dep0.c367 dep = dwc3_wIndex_to_dep(dwc, ctrl->wIndex); in dwc3_ep0_handle_status()
396 u32 wIndex; in dwc3_ep0_handle_feature() local
402 wIndex = le16_to_cpu(ctrl->wIndex); in dwc3_ep0_handle_feature()
448 if ((wIndex & 0xff) != 0) in dwc3_ep0_handle_feature()
453 dwc->test_mode_nr = wIndex >> 8; in dwc3_ep0_handle_feature()
464 if (wIndex & USB_INTRF_FUNC_SUSPEND_LP) in dwc3_ep0_handle_feature()
467 if (wIndex & USB_INTRF_FUNC_SUSPEND_RW) in dwc3_ep0_handle_feature()
479 dep = dwc3_wIndex_to_dep(dwc, wIndex); in dwc3_ep0_handle_feature()
678 u16 wIndex; in dwc3_ep0_set_isoch_delay() local
682 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.1.27/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.1.27/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.1.27/drivers/usb/gadget/udc/bdc/
Dbdc_ep.c1151 u16 wIndex, bool set) in ep0_handle_feature_dev() argument
1169 if ((wIndex & 0xFF) || in ep0_handle_feature_dev()
1173 bdc->test_mode = wIndex >> 8; in ep0_handle_feature_dev()
1239 u16 wIndex; in ep0_handle_feature() local
1243 wIndex = le16_to_cpu(setup_pkt->wIndex); in ep0_handle_feature()
1247 __func__, wValue, wIndex, state, in ep0_handle_feature()
1252 return ep0_handle_feature_dev(bdc, wValue, wIndex, set); in ep0_handle_feature()
1260 if (wIndex & USB_INTRF_FUNC_SUSPEND_RW) { in ep0_handle_feature()
1275 epnum = wIndex & USB_ENDPOINT_NUMBER_MASK; in ep0_handle_feature()
1277 if ((wIndex & USB_ENDPOINT_DIR_MASK) == USB_DIR_IN) in ep0_handle_feature()
[all …]
/linux-4.1.27/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.1.27/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.1.27/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.c272 usbhs_sys_set_test_mode(priv, le16_to_cpu(ctrl->wIndex >> 8)); in usbhsg_recip_handler_std_set_device()
415 int nth = le16_to_cpu(ctrl->wIndex) & USB_ENDPOINT_NUMBER_MASK; in usbhsg_recip_run_handle()
/linux-4.1.27/include/linux/
Dusbdevice_fs.h40 u16 wIndex; member
/linux-4.1.27/drivers/usb/gadget/function/
Df_printer.c899 u16 w_index = le16_to_cpu(ctrl->wIndex); in gprinter_req_match()
941 u16 wIndex = le16_to_cpu(ctrl->wIndex); in printer_func_setup() local
946 ctrl->bRequestType, ctrl->bRequest, wValue, wIndex, wLength); in printer_func_setup()
953 if ((wIndex>>8) != dev->interface) in printer_func_setup()
964 if (wIndex != dev->interface) in printer_func_setup()
973 if (wIndex != dev->interface) in printer_func_setup()
991 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.c346 u16 w_index = le16_to_cpu(ctrl->wIndex); in acm_setup()
520 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.c1287 u16 w_index = le16_to_cpu(cr->wIndex); in in_rq_cur()
1328 u16 w_index = le16_to_cpu(cr->wIndex); in in_rq_range()
1392 u16 w_index = le16_to_cpu(cr->wIndex); in setup_rq_inf()
Df_fs.c1933 u16 w_index = le16_to_cpu(desc->wIndex); in __ffs_do_os_desc_header()
2973 pr_vdebug("creq->wIndex = %04x\n", le16_to_cpu(creq->wIndex)); in ffs_func_setup()
2990 ret = ffs_func_revmap_intf(func, le16_to_cpu(creq->wIndex)); in ffs_func_setup()
2996 ret = ffs_func_revmap_ep(func, le16_to_cpu(creq->wIndex)); in ffs_func_setup()
3009 ffs->ev.setup.wIndex = cpu_to_le16(ret); in ffs_func_setup()
Df_eem.c174 u16 w_index = le16_to_cpu(ctrl->wIndex); in eem_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.c799 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.1.27/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.1.27/include/uapi/linux/usb/
Dfunctionfs.h60 __le16 wIndex; member
Dcdc.h300 __le16 wIndex; member
Dch9.h189 __le16 wIndex; member
/linux-4.1.27/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()
1452 ven_req.wIndex = (u16) (gpio_bit & 0xffff); in cx231xx_send_gpio_cmd()
Dcx231xx.h497 u16 wIndex; member
/linux-4.1.27/drivers/staging/emxx_udc/
Demxx_udc.c172 test_mode = (u32)(p_ctrl->wIndex >> 8); in _nbu2ss_ep0_complete()
1443 u16 wIndex in _nbu2ss_set_feature_device() argument
1450 if (0x0000 == wIndex) { in _nbu2ss_set_feature_device()
1457 wIndex >>= 8; in _nbu2ss_set_feature_device()
1458 if (wIndex <= MAX_TEST_MODE_NUM) in _nbu2ss_set_feature_device()
1503 u16 wIndex = udc->ctrl.wIndex; in _nbu2ss_req_feature() local
1516 _nbu2ss_set_feature_device(udc, selector, wIndex); in _nbu2ss_req_feature()
1520 if (0x0000 == (wIndex & 0xFF70)) { in _nbu2ss_req_feature()
1522 ep_adrs = wIndex & 0xFF; in _nbu2ss_req_feature()
1610 if (udc->ctrl.wIndex == 0x0000) { in std_req_get_status()
[all …]
/linux-4.1.27/drivers/usb/gadget/udc/
Dnet2272.c1632 net2272_get_ep_by_addr(struct net2272 *dev, u16 wIndex) in net2272_get_ep_by_addr() argument
1636 if ((wIndex & USB_ENDPOINT_NUMBER_MASK) == 0) in net2272_get_ep_by_addr()
1645 if ((wIndex ^ bEndpointAddress) & USB_DIR_IN) in net2272_get_ep_by_addr()
1647 if ((wIndex & 0x0f) == (bEndpointAddress & 0x0f)) in net2272_get_ep_by_addr()
1794 le16_to_cpus(&u.r.wIndex); in net2272_handle_stat0_irqs()
1825 e = net2272_get_ep_by_addr(dev, u.r.wIndex); in net2272_handle_stat0_irqs()
1877 e = net2272_get_ep_by_addr(dev, u.r.wIndex); in net2272_handle_stat0_irqs()
1894 if (u.r.wIndex != NORMAL_OPERATION) in net2272_handle_stat0_irqs()
1895 net2272_set_test_mode(dev, (u.r.wIndex >> 8)); in net2272_handle_stat0_irqs()
1897 dev_vdbg(dev->dev, "test mode: %d\n", u.r.wIndex); in net2272_handle_stat0_irqs()
[all …]
Datmel_usba_udc.c1065 static struct usba_ep *get_ep_by_addr(struct usba_udc *udc, u16 wIndex) in get_ep_by_addr() argument
1069 if ((wIndex & USB_ENDPOINT_NUMBER_MASK) == 0) in get_ep_by_addr()
1078 if ((wIndex ^ bEndpointAddress) & USB_DIR_IN) in get_ep_by_addr()
1081 == (wIndex & USB_ENDPOINT_NUMBER_MASK)) in get_ep_by_addr()
1238 target = get_ep_by_addr(udc, le16_to_cpu(crq->wIndex)); in handle_ep0_setup()
1271 target = get_ep_by_addr(udc, le16_to_cpu(crq->wIndex)); in handle_ep0_setup()
1292 udc->test_mode = le16_to_cpu(crq->wIndex); in handle_ep0_setup()
1306 target = get_ep_by_addr(udc, le16_to_cpu(crq->wIndex)); in handle_ep0_setup()
1340 le16_to_cpu(crq->wValue), le16_to_cpu(crq->wIndex), in handle_ep0_setup()
Dmv_udc_core.c1546 ep_num = setup->wIndex & USB_ENDPOINT_NUMBER_MASK; in ch9getstatus()
1547 direction = (setup->wIndex & USB_ENDPOINT_DIR_MASK) in ch9getstatus()
1579 ep_num = setup->wIndex & USB_ENDPOINT_NUMBER_MASK; in ch9clearfeature()
1580 direction = (setup->wIndex & USB_ENDPOINT_DIR_MASK) in ch9clearfeature()
1616 if (setup->wIndex & 0xFF in ch9setfeature()
1625 mv_udc_testmode(udc, (setup->wIndex >> 8)); in ch9setfeature()
1634 ep_num = setup->wIndex & USB_ENDPOINT_NUMBER_MASK; in ch9setfeature()
1635 direction = (setup->wIndex & USB_ENDPOINT_DIR_MASK) in ch9setfeature()
1667 setup->wValue, setup->wIndex, setup->wLength); in handle_setup_packet()
Dudc-xilinx.c1615 epnum = udc->setup.wIndex & USB_ENDPOINT_NUMBER_MASK; in xudc_getstatus()
1619 if (udc->setup.wIndex & USB_DIR_IN) { in xudc_getstatus()
1682 endpoint = udc->setup.wIndex & USB_ENDPOINT_NUMBER_MASK; in xudc_set_clear_feature()
1684 outinbit = udc->setup.wIndex & USB_ENDPOINT_DIR_MASK; in xudc_set_clear_feature()
1747 udc->setup.wIndex = cpu_to_le16(setup.wIndex); in xudc_handle_setup()
1860 u8 test_mode = udc->setup.wIndex >> 8; in xudc_ep0_in()
Ds3c2410_udc.c544 crq->wValue, crq->wIndex, crq->wLength); in s3c2410_udc_read_fifo_crq()
553 u8 ep_num = crq->wIndex & 0x7F; in s3c2410_udc_get_status()
554 u8 is_in = crq->wIndex & USB_DIR_IN; in s3c2410_udc_get_status()
683 s3c2410_udc_set_halt(&dev->ep[crq->wIndex & 0x7f].ep, 0); in s3c2410_udc_handle_ep0_idle()
696 s3c2410_udc_set_halt(&dev->ep[crq->wIndex & 0x7f].ep, 1); in s3c2410_udc_handle_ep0_idle()
Dfotg210-udc.c669 epnum = le16_to_cpu(ctrl->wIndex) & USB_ENDPOINT_NUMBER_MASK; in fotg210_set_feature()
687 fotg210->ep[ctrl->wIndex & USB_ENDPOINT_NUMBER_MASK]; in fotg210_clear_feature()
697 if (ctrl->wIndex & USB_ENDPOINT_NUMBER_MASK) { in fotg210_clear_feature()
739 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.c1403 ctrl.wIndex = cpu_to_le16((readl(&regs->wIndexH) << 8) in ep0_setup()
1428 tmp = le16_to_cpu(ctrl.wIndex) & 0x0f; in ep0_setup()
1433 if (ctrl.wIndex & cpu_to_le16( in ep0_setup()
1472 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()
Ddummy_hcd.c1489 w_index = le16_to_cpu(setup->wIndex); in handle_control_request()
1953 u16 wIndex, in dummy_hub_control() argument
2032 if (wIndex != 1) in dummy_hub_control()
2198 typeReq, wValue, wIndex, wLength); in dummy_hub_control()
Dnet2280.c2560 static struct net2280_ep *get_ep_by_addr(struct net2280 *dev, u16 wIndex) in get_ep_by_addr() argument
2564 if ((wIndex & USB_ENDPOINT_NUMBER_MASK) == 0) in get_ep_by_addr()
2572 if ((wIndex ^ bEndpointAddress) & USB_DIR_IN) in get_ep_by_addr()
2574 if ((wIndex & 0x0f) == (bEndpointAddress & 0x0f)) in get_ep_by_addr()
2675 #define w_index le16_to_cpu(r.wIndex) in handle_stat0_irqs_superspeed()
2963 #define w_index le16_to_cpu(u.r.wIndex) in handle_stat0_irqs()
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.c1904 le16_to_cpu(u.r.wValue), le16_to_cpu(u.r.wIndex), in handle_ep0_ctrl_req()
2141 req.wIndex = 0; in pxa27x_change_configuration()
2170 req.wIndex = iface; in pxa27x_change_interface()
Dpxa25x_udc.c1478 le16_to_cpu(u.r.wIndex), in handle_ep0()
1511 le16_to_cpu(u.r.wIndex), in handle_ep0()
Dbcm63xx_udc.c1332 ctrl.wIndex = 0; in bcm63xx_ep0_spoof_set_cfg()
1356 ctrl.wIndex = cpu_to_le16(udc->iface); in bcm63xx_ep0_spoof_set_iface()
Dat91_udc.c1077 #define w_index le16_to_cpu(pkt.r.wIndex) in handle_setup()
Dmv_u3d_core.c1526 setup->wValue, setup->wIndex, setup->wLength); in mv_u3d_handle_setup_packet()
Dgr_udc.c1114 index = le16_to_cpu(u.ctrl.wIndex); in gr_ep0_setup()
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.c2809 setup_data.request.wIndex = cpu_to_le16(dev->cur_intf); in udc_dev_isr()
/linux-4.1.27/include/uapi/linux/
Dusbdevice_fs.h43 __u16 wIndex; member
/linux-4.1.27/drivers/staging/ozwpan/
Dozusbsvc1.c199 unsigned windex = le16_to_cpu(setup->wIndex); in oz_usb_control_req()
208 (u8)wvalue, setup->wIndex, 0, wlength); in oz_usb_control_req()
236 setup->bRequest, setup->wValue, setup->wIndex, in oz_usb_control_req()
Dozhcd.c781 (u8)wvalue, setup->wIndex, offset, in oz_hcd_get_desc_cnf()
906 windex = le16_to_cpu(setup->wIndex); in oz_hcd_control_cnf()
1414 windex = le16_to_cpu(setup->wIndex); in oz_process_ep0_urb()
/linux-4.1.27/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.c357 dr->bNotificationType, dr->wIndex, in acm_ctrl_irq()
/linux-4.1.27/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.1.27/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.1.27/drivers/input/joystick/iforce/
Diforce-usb.c164 iforce->cr.wIndex = 0; in iforce_usb_probe()
/linux-4.1.27/include/linux/usb/
Daudio-v2.h200 __le16 wIndex; member
Dhcd.h299 u16 typeReq, u16 wValue, u16 wIndex,
/linux-4.1.27/drivers/staging/rtl8712/
Drtl871x_mp_ioctl.h75 u16 wIndex; member
/linux-4.1.27/drivers/usb/core/
Dhcd.c467 u16 typeReq, wValue, wIndex, wLength; in rh_call_control() local
489 wIndex = le16_to_cpu (cmd->wIndex); in rh_call_control()
656 typeReq, wValue, wIndex, in rh_call_control()
674 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()
1341 le16_to_cpup(&dr->wIndex)); in proc_do_submiturb()
1358 __le16_to_cpup(&dr->wIndex), in proc_do_submiturb()
Dmessage.c145 dr->wIndex = cpu_to_le16(index); in usb_control_msg()
/linux-4.1.27/drivers/usb/dwc2/
Dgadget.c997 ep = ep_from_windex(hsotg, le16_to_cpu(ctrl->wIndex)); in s3c_hsotg_process_req_status()
1053 u32 wIndex; in s3c_hsotg_process_req_feature() local
1059 wIndex = le16_to_cpu(ctrl->wIndex); in s3c_hsotg_process_req_feature()
1066 if ((wIndex & 0xff) != 0) in s3c_hsotg_process_req_feature()
1071 hsotg->test_mode = wIndex >> 8; in s3c_hsotg_process_req_feature()
1085 ep = ep_from_windex(hsotg, wIndex); in s3c_hsotg_process_req_feature()
1088 __func__, wIndex); in s3c_hsotg_process_req_feature()
/linux-4.1.27/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.c383 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.1.27/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.1.27/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.1.27/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.1.27/drivers/bluetooth/
Dbpa10x.c385 dr->wIndex = 0; in bpa10x_send_frame()
Dbtusb.c1045 dr->wIndex = 0; in alloc_ctrl_urb()
/linux-4.1.27/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.c2393 le16_to_cpu(msg->wIndex)); in snd_usb_mixer_interrupt()
/linux-4.1.27/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.1.27/drivers/staging/octeon-usb/
Docteon-hcd.c3336 u16 wIndex, char *buf, u16 wLength) in octeon_usb_hub_control() argument
3360 if (wIndex != 1) { in octeon_usb_hub_control()
3452 if (wIndex != 1) { in octeon_usb_hub_control()
3508 if (wIndex != 1) { in octeon_usb_hub_control()
/linux-4.1.27/tools/usb/
Dffs-test.c535 printf("wIndex = %d\n", le16_to_cpu(setup->wIndex)); in handle_setup()
/linux-4.1.27/drivers/net/wireless/brcm80211/brcmfmac/
Dusb.c656 devinfo->ctl_write.wIndex = cpu_to_le16(devinfo->ifnum); in brcmf_usb_up()
663 devinfo->ctl_read.wIndex = cpu_to_le16(devinfo->ifnum); in brcmf_usb_up()
/linux-4.1.27/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.1.27/drivers/net/wireless/rt2x00/
Drt2x00usb.c203 rd->cr.wIndex = cpu_to_le16(offset); in rt2x00usb_register_read_async()
/linux-4.1.27/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.c2061 req->wIndex = cpu_to_le16(index); in usbnet_write_cmd_async()
/linux-4.1.27/drivers/usb/early/
Dehci-dbgp.c345 req.wIndex = cpu_to_le16(index); in dbgp_control_msg()
/linux-4.1.27/Documentation/usb/
Dusbmon.txt152 bRequest, wValue, wIndex, wLength, as specified by the USB Specification 2.0.
/linux-4.1.27/drivers/net/wireless/rtlwifi/
Dusb.c98 dr->wIndex = cpu_to_le16(index); in _usbctrl_vendorreq_async_write()
/linux-4.1.27/drivers/usb/gadget/
Dcomposite.c1458 u16 w_index = le16_to_cpu(ctrl->wIndex); in composite_setup()
/linux-4.1.27/drivers/usb/gadget/legacy/
Dinode.c1437 w_value, le16_to_cpu(ctrl->wIndex), w_length); in gadgetfs_setup()
/linux-4.1.27/drivers/net/wireless/rtl818x/rtl8187/
Ddev.c150 dr->wIndex = 0; in rtl8187_iowrite_async()
/linux-4.1.27/drivers/media/rc/
Dimon.c599 control_req->wIndex = cpu_to_le16(0x0001); in send_packet()
/linux-4.1.27/drivers/media/usb/usbvision/
Dusbvision-core.c1443 usbvision->ctrl_urb_setup.wIndex = cpu_to_le16(address); in usbvision_write_reg_irq()
/linux-4.1.27/drivers/isdn/hardware/mISDN/
Dhfcsusb.c77 hw->ctrl_write.wIndex = in ctrl_start_transfer()