/drivers/staging/vt6656/ |
H A D | usbpipe.h | 48 WORD wIndex, 57 WORD wIndex, 66 WORD wIndex,
|
H A D | usbpipe.c | 114 WORD wIndex, 138 wIndex, 157 WORD wIndex, 174 pDevice->sUsbCtlRequest.wIndex = cpu_to_le16p(&wIndex); 216 WORD wIndex, 233 pDevice->sUsbCtlRequest.wIndex = cpu_to_le16p(&wIndex); 110 PIPEnsControlOutAsyn( PSDevice pDevice, BYTE byRequest, WORD wValue, WORD wIndex, WORD wLength, PBYTE pbyBuffer ) argument 153 PIPEnsControlOut( PSDevice pDevice, BYTE byRequest, WORD wValue, WORD wIndex, WORD wLength, PBYTE pbyBuffer ) argument 212 PIPEnsControlIn( PSDevice pDevice, BYTE byRequest, WORD wValue, WORD wIndex, WORD wLength, PBYTE pbyBuffer ) argument
|
/drivers/usb/host/ |
H A D | xhci-hub.c | 335 u16 wIndex, __le32 __iomem *addr, u32 port_status) 348 wIndex, port_status); 352 u16 wIndex, __le32 __iomem *addr, u32 port_status) 394 port_change_bit, wIndex, port_status); 502 u16 wIndex, char *buf, u16 wLength) 555 if (!wIndex || wIndex > max_ports) 557 wIndex--; 559 temp = xhci_readl(xhci, port_array[wIndex]); 564 xhci_dbg(xhci, "get port status, actual port %d status = 0x%x\n", wIndex, tem 334 xhci_disable_port(struct usb_hcd *hcd, struct xhci_hcd *xhci, u16 wIndex, __le32 __iomem *addr, u32 port_status) argument 351 xhci_clear_port_change_bit(struct xhci_hcd *xhci, u16 wValue, u16 wIndex, __le32 __iomem *addr, u32 port_status) argument 501 xhci_hub_control(struct usb_hcd *hcd, u16 typeReq, u16 wValue, u16 wIndex, char *buf, u16 wLength) argument [all...] |
H A D | ehci-hub.c | 40 u16 wIndex, 661 u16 wIndex, 668 (wIndex & 0xff) - 1]; 684 + HOSTPC0 + 4 * ((wIndex & 0xff) - 1)); 698 if (!wIndex || wIndex > ports) 700 wIndex--; 724 if ((hcd->self.otg_port == (wIndex + 1)) 747 ehci->reset_done[wIndex] = jiffies 751 clear_bit(wIndex, 657 ehci_hub_control( struct usb_hcd *hcd, u16 typeReq, u16 wValue, u16 wIndex, char *buf, u16 wLength ) argument [all...] |
H A D | ohci-s3c2410.c | 150 u16 wIndex, 161 hcd, typeReq, wValue, wIndex, buf, wLength); 168 wIndex, buf, wLength); 178 s3c2410_usb_set_power(info, wIndex, 1); 189 if (valid_port(wIndex)) { 190 info->port[wIndex-1].oc_changed = 0; 191 info->port[wIndex-1].oc_status = 0; 200 if (valid_port(wIndex)) 201 info->port[wIndex-1].oc_status = 0; 209 if (valid_port(wIndex)) { 146 ohci_s3c2410_hub_control( struct usb_hcd *hcd, u16 typeReq, u16 wValue, u16 wIndex, char *buf, u16 wLength) argument [all...] |
H A D | ohci-da8xx.c | 171 u16 wIndex, char *buf, u16 wLength) 180 if (wIndex != 1) 183 dev_dbg(dev, "GetPortStatus(%u)\n", wIndex); 185 temp = roothub_portstatus(hcd_to_ohci(hcd), wIndex - 1); 188 if (hub->get_power && hub->get_power(wIndex) == 0) 192 if (hub->get_oci && hub->get_oci(wIndex) > 0) 196 if (ocic_mask & (1 << wIndex)) 209 if (wIndex != 1) 215 temp ? "Set" : "Clear", wIndex, "POWER"); 220 return hub->set_power(wIndex, tem 170 ohci_da8xx_hub_control(struct usb_hcd *hcd, u16 typeReq, u16 wValue, u16 wIndex, char *buf, u16 wLength) argument [all...] |
H A D | ohci-at91.c | 301 u16 wIndex, char *buf, u16 wLength) 310 hcd, typeReq, wValue, wIndex, buf, wLength); 312 wIndex--; 318 if (valid_port(wIndex)) { 319 ohci_at91_usb_set_power(pdata, wIndex, 1); 333 if (valid_port(wIndex)) { 334 pdata->overcurrent_changed[wIndex] = 0; 335 pdata->overcurrent_status[wIndex] = 0; 344 if (valid_port(wIndex)) 345 pdata->overcurrent_status[wIndex] 300 ohci_at91_hub_control(struct usb_hcd *hcd, u16 typeReq, u16 wValue, u16 wIndex, char *buf, u16 wLength) argument [all...] |
H A D | ohci-hub.c | 701 u16 wIndex, 726 if (!wIndex || wIndex > ports) 728 wIndex--; 759 &ohci->regs->roothub.portstatus [wIndex]); 760 // ohci_readl (ohci, &ohci->regs->roothub.portstatus [wIndex]); 770 if (!wIndex || wIndex > ports) 772 wIndex--; 773 temp = roothub_portstatus (ohci, wIndex); 697 ohci_hub_control( struct usb_hcd *hcd, u16 typeReq, u16 wValue, u16 wIndex, char *buf, u16 wLength ) argument [all...] |
H A D | uhci-hub.c | 240 u16 wIndex, char *buf, u16 wLength) 244 unsigned int port = wIndex - 1; 306 wIndex, status, lstatus); local 239 uhci_hub_control(struct usb_hcd *hcd, u16 typeReq, u16 wValue, u16 wIndex, char *buf, u16 wLength) argument
|
H A D | isp116x-hcd.c | 1001 u16 wValue, u16 wIndex, char *buf, u16 wLength) 1047 if (!wIndex || wIndex > ports) 1050 tmp = isp116x_read_reg32(isp116x, (--wIndex) ? HCRHPORT2 : HCRHPORT1); 1053 DBG("GetPortStatus: port[%d] %08x\n", wIndex + 1, tmp); 1057 if (!wIndex || wIndex > ports) 1059 wIndex--; 1098 isp116x_write_reg32(isp116x, wIndex 1104 if (!wIndex || wInde 999 isp116x_hub_control(struct usb_hcd *hcd, u16 typeReq, u16 wValue, u16 wIndex, char *buf, u16 wLength) argument [all...] |
H A D | ehci-tegra.c | 134 u16 wIndex, 146 status_reg = &ehci->regs->port_status[(wIndex & 0xff) - 1]; 189 set_bit((wIndex & 0xff) - 1, &ehci->suspended_ports); 221 ehci->reset_done[wIndex-1] = jiffies + msecs_to_jiffies(25); 226 set_bit(wIndex-1, &ehci->resuming_ports); 238 ehci->reset_done[wIndex-1] = 0; 239 clear_bit(wIndex-1, &ehci->resuming_ports); 248 return ehci_hub_control(hcd, typeReq, wValue, wIndex, buf, wLength); 130 tegra_ehci_hub_control( struct usb_hcd *hcd, u16 typeReq, u16 wValue, u16 wIndex, char *buf, u16 wLength ) argument
|
H A D | ohci-jz4740.c | 82 u16 wIndex, char *buf, u16 wLength) 101 return ohci_hub_control(hcd, typeReq, wValue, wIndex, buf, wLength); 81 ohci_jz4740_hub_control(struct usb_hcd *hcd, u16 typeReq, u16 wValue, u16 wIndex, char *buf, u16 wLength) argument
|
H A D | oxu210hp-hcd.c | 242 u16 typeReq, u16 wValue, u16 wIndex, 3156 u16 wValue, u16 wIndex, char *buf, u16 wLength) 3160 u32 __iomem *status_reg = &oxu->regs->port_status[wIndex - 1]; 3186 if (!wIndex || wIndex > ports) 3188 wIndex--; 3214 oxu->reset_done[wIndex] = jiffies 3249 if (!wIndex || wIndex > ports) 3251 wIndex 3155 oxu_hub_control(struct usb_hcd *hcd, u16 typeReq, u16 wValue, u16 wIndex, char *buf, u16 wLength) argument [all...] |
/drivers/usb/wusbcore/ |
H A D | rh.c | 167 u16 wIndex, 353 u16 wIndex, char *buf, u16 wLength) 361 wusbhc, wValue, wIndex, 372 result = wusbhc_rh_set_port_feat(wusbhc, wValue, wIndex >> 8, 373 (wIndex & 0xff) - 1); 376 result = wusbhc_rh_clear_port_feat(wusbhc, wValue, wIndex >> 8, 377 (wIndex & 0xff) - 1); 380 result = wusbhc_rh_get_port_status(wusbhc, wIndex - 1, 388 wValue, wIndex, buf, wLength); 166 wusbhc_rh_get_hub_descr(struct wusbhc *wusbhc, u16 wValue, u16 wIndex, struct usb_hub_descriptor *descr, u16 wLength) argument 352 wusbhc_rh_control(struct usb_hcd *usb_hcd, u16 reqntype, u16 wValue, u16 wIndex, char *buf, u16 wLength) argument
|
/drivers/usb/c67x00/ |
H A D | c67x00-hcd.c | 81 u16 wIndex, char *buf, u16 wLength) 87 unsigned int port = wIndex-1; 98 if (wIndex > C67X00_PORTS) 139 if (wIndex > C67X00_PORTS) 168 if (wIndex > C67X00_PORTS) 80 c67x00_hub_control(struct usb_hcd *hcd, u16 typeReq, u16 wValue, u16 wIndex, char *buf, u16 wLength) argument
|
/drivers/media/dvb/b2c2/ |
H A D | flexcop-usb.c | 102 u16 wIndex; local 104 wIndex = page << 8; 113 wIndex |= pbBuffer[0]; 128 wAddress, wIndex, buflen); 134 wIndex, 201 flexcop_usb_utility_function_t func, u8 extra, u16 wIndex, 214 wIndex, 228 u16 wValue, wIndex; local 253 wIndex = (chipaddr << 8 ) | addr; 258 wIndex [all...] |
/drivers/usb/musb/ |
H A D | musb_virthub.c | 234 u16 wIndex, 266 if ((wIndex & 0xff) != 1) 315 if (wIndex != 1) 357 if ((wIndex & 0xff) != 1) 385 wIndex >>= 8; 386 switch (wIndex) { 230 musb_hub_control( struct usb_hcd *hcd, u16 typeReq, u16 wValue, u16 wIndex, char *buf, u16 wLength) argument
|
H A D | musb_host.h | 91 u16 typeReq, u16 wValue, u16 wIndex,
|
H A D | musb_gadget_ep0.c | 110 epnum = (u8) ctrlrequest->wIndex; 258 ctrlrequest->wIndex & 0x0f; 272 is_in = ctrlrequest->wIndex & USB_DIR_IN; 331 if (ctrlrequest->wIndex & 0xff) 334 switch (ctrlrequest->wIndex >> 8) { 423 ctrlrequest->wIndex & 0x0f; 436 is_in = ctrlrequest->wIndex & USB_DIR_IN; 612 le16_to_cpu(req->wIndex),
|
/drivers/usb/dwc3/ |
H A D | ep0.c | 285 dep = dwc3_wIndex_to_dep(dwc, ctrl->wIndex); 314 u32 wIndex; local 318 wIndex = le16_to_cpu(ctrl->wIndex); 349 if ((wIndex & 0xff) != 0) 354 dwc->test_mode_nr = wIndex >> 8; 365 if (wIndex & USB_INTRF_FUNC_SUSPEND_LP) 368 if (wIndex & USB_INTRF_FUNC_SUSPEND_RW) 380 dep = dwc3_wIndex_to_dep(dwc, wIndex);
|
/drivers/staging/usbip/ |
H A D | vhci_hcd.c | 47 u16 wIndex, char *buff, u16 wLength); 262 u16 wIndex, char *buf, u16 wLength) 276 * wIndex shows the port number and begins from 1. 278 usbip_dbg_vhci_rh("typeReq %x wValue %x wIndex %x\n", typeReq, wValue, 279 wIndex); 280 if (wIndex > VHCI_NPORTS) 281 pr_err("invalid port number %d\n", wIndex); 282 rhport = ((__u8)(wIndex & 0x00ff)) - 1; 347 usbip_dbg_vhci_rh(" GetPortStatus port %x\n", wIndex); 348 if (wIndex > VHCI_NPORT 261 vhci_hub_control(struct usb_hcd *hcd, u16 typeReq, u16 wValue, u16 wIndex, char *buf, u16 wLength) argument [all...] |
H A D | stub_rx.c | 67 index = le16_to_cpu(req->wIndex); 89 * The stalled endpoint is specified in the wIndex value. The endpoint 93 target_endp = le16_to_cpu(req->wIndex) & 0x000f; 96 target_dir = le16_to_cpu(req->wIndex) & 0x0080; 123 interface = le16_to_cpu(req->wIndex);
|
/drivers/input/misc/ |
H A D | powermate.c | 127 pm->configcr->wIndex = cpu_to_le16( pm->pulse_asleep ? 1 : 0 ); 131 pm->configcr->wIndex = cpu_to_le16( pm->pulse_awake ? 1 : 0 ); 163 pm->configcr->wIndex = cpu_to_le16( (arg << 8) | op ); 167 pm->configcr->wIndex = cpu_to_le16( pm->static_brightness ); 175 /* printk("powermate: %04x %04x\n", pm->configcr->wValue, pm->configcr->wIndex); */
|
/drivers/usb/renesas_usbhs/ |
H A D | mod_host.c | 1090 u16 wIndex, char *buf, u16 wLength) 1107 u16 wIndex, char *buf, u16 wLength) 1116 if (wIndex > roothub_id || wLength != 0) 1192 u16 wIndex, char *buf, u16 wLength) 1207 if (wIndex != roothub_id) 1231 u16 wIndex, char *buf, u16 wLength) 1244 wValue, wIndex, buf, wLength); 1251 wValue, wIndex, buf, wLength); 1259 wValue, wIndex, buf, wLength); 1088 __usbhsh_hub_hub_feature(struct usbhsh_hpriv *hpriv, u16 typeReq, u16 wValue, u16 wIndex, char *buf, u16 wLength) argument 1105 __usbhsh_hub_port_feature(struct usbhsh_hpriv *hpriv, u16 typeReq, u16 wValue, u16 wIndex, char *buf, u16 wLength) argument 1190 __usbhsh_hub_get_status(struct usbhsh_hpriv *hpriv, u16 typeReq, u16 wValue, u16 wIndex, char *buf, u16 wLength) argument 1230 usbhsh_hub_control(struct usb_hcd *hcd, u16 typeReq, u16 wValue, u16 wIndex, char *buf, u16 wLength) argument
|
/drivers/usb/gadget/ |
H A D | f_uac1.c | 359 u8 id = ((le16_to_cpu(ctrl->wIndex) >> 8) & 0xFF); 396 u8 id = ((le16_to_cpu(ctrl->wIndex) >> 8) & 0xFF); 431 u16 ep = le16_to_cpu(ctrl->wIndex); 467 u8 ep = ((le16_to_cpu(ctrl->wIndex) >> 8) & 0xFF); 496 u16 w_index = le16_to_cpu(ctrl->wIndex);
|