Searched refs:wIndex (Results 1 - 25 of 56) sorted by relevance

123

/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/usb/host/
H A Dehci-hub.c141 u16 wIndex,
171 if (!wIndex || wIndex > ports)
173 wIndex--;
174 temp = readl (&ehci->regs->port_status [wIndex]);
181 &ehci->regs->port_status [wIndex]);
185 &ehci->regs->port_status [wIndex]);
194 &ehci->regs->port_status [wIndex]);
198 &ehci->regs->port_status [wIndex]);
202 &ehci->regs->port_status [wIndex]);
137 ehci_hub_control( struct usb_hcd *hcd, u16 typeReq, u16 wValue, u16 wIndex, char *buf, u16 wLength ) argument
[all...]
H A Dhc_sl811_rh.c273 __u16 wIndex; local
289 wIndex = le16_to_cpu (cmd->wIndex);
H A Duhci.c2072 status = inw(io_addr + USBPORTSC1 + 2 * (wIndex-1)); \
2074 outw(status, io_addr + USBPORTSC1 + 2 * (wIndex-1))
2077 status = inw(io_addr + USBPORTSC1 + 2 * (wIndex-1)); \
2079 outw(status, io_addr + USBPORTSC1 + 2 * (wIndex-1))
2098 __u16 wIndex; local
2112 wIndex = le16_to_cpu(cmd->wIndex);
2140 status = inw(io_addr + USBPORTSC1 + 2 * (wIndex - 1));
2143 (uhci->rh.c_p_r[wIndex - 1] << (0 + 4));
2188 uhci->rh.c_p_r[wIndex
[all...]
/asus-wl-520gu-7.0.1.45/src/router/libusb/
H A Dlinux.h13 u_int16_t wIndex; member in struct:usb_ctrltransfer
H A Dusb.h181 u_int16_t wIndex; member in struct:usb_ctrl_setup
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/usb/
H A Dpowermate.c101 pm->configdr.wIndex = cpu_to_le16( pm->pulse_asleep ? 1 : 0 );
105 pm->configdr.wIndex = cpu_to_le16( pm->pulse_awake ? 1 : 0 );
137 pm->configdr.wIndex = cpu_to_le16( (arg << 8) | op );
141 pm->configdr.wIndex = cpu_to_le16( pm->static_brightness );
H A Dhcd.h148 u16 typeReq, u16 wValue, u16 wIndex,
H A Dhcd.c324 u16 typeReq, wValue, wIndex, wLength; local
331 wIndex = le16_to_cpu (cmd->wIndex);
417 typeReq, wValue, wIndex,
429 typeReq, wValue, wIndex, wLength, urb->status);
H A Dauerisdn_b.c388 channel = le16_to_cpu(bp->dr->wIndex);
454 bp->dr->wIndex =
H A Dusbkbd.c221 kbd->dr.wIndex = interface->bInterfaceNumber;
H A Dauerchain.c453 dr->wIndex = cpu_to_le16(index);
H A Dpegasus.c137 pegasus->dr.wIndex = cpu_to_le16p(&indx);
187 pegasus->dr.wIndex = cpu_to_le16p(&indx);
234 pegasus->dr.wIndex = cpu_to_le16p(&indx);
266 pegasus->dr.wIndex = cpu_to_le16(EthCtrl0);
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/isdn/hisax/
H A Dst5481_usb.c46 ((struct ctrl_msg *)urb->setup_packet)->dr.wIndex);
75 ctrl_msg->dr.wIndex = cpu_to_le16p(&index);
145 le16_to_cpus(&ctrl_msg->dr.wIndex);
147 ctrl_msg->dr.wIndex & ~USB_DIR_IN,
148 (ctrl_msg->dr.wIndex & USB_DIR_IN) == 0);
152 ctrl_msg->dr.wIndex & ~USB_DIR_IN,
153 (ctrl_msg->dr.wIndex & USB_DIR_IN) == 0,
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/cris/drivers/
H A Dusb-host.c1977 __u16 wIndex; local
1995 wIndex = le16_to_cpu(cmd->wIndex);
2000 dbg_rh("wIndex : 0x%04X (%d)", wIndex, wIndex);
2030 if (wIndex == 1) {
2034 else if (wIndex == 2) {
2039 dbg_rh("RH_GET_STATUS whith invalid wIndex !!");
2062 if (wIndex
[all...]
/asus-wl-520gu-7.0.1.45/src/cfe/cfe/usb/
H A Dusbd.c514 * usb_simple_request(dev,reqtype,bRequest,wValue,wIndex)
523 * wIndex - wIndex for descriptor
530 int usb_simple_request(usbdev_t *dev,uint8_t reqtype,int bRequest,int wValue,int wIndex) argument
532 return usb_std_request(dev,reqtype,bRequest,wValue,wIndex,NULL,0);
691 PUTUSBFIELD(req,wIndex,epaddr);
712 * wIndex,buffer,length)
719 * bmRequestType,bRequest,wValue,wIndex - fields for the
730 uint16_t wIndex,uint8_t *buffer,int length)
753 PUTUSBFIELD(req,wIndex,wInde
728 usb_std_request(usbdev_t *dev,uint8_t bmRequestType, uint8_t bRequest,uint16_t wValue, uint16_t wIndex,uint8_t *buffer,int length) argument
[all...]
H A Dusbd.h207 int usb_simple_request(usbdev_t *dev,uint8_t reqtype,int bRequest,int wValue,int wIndex);
215 uint16_t wIndex,uint8_t *buffer,int length);
H A Dohci.c1715 uint16_t wIndex; local
1727 wIndex = GETUSBFIELD(req,wIndex);
1743 status = OHCI_READCSR(softc,(R_OHCI_RHPORTSTATUS(wIndex)));
1744 if (ohcidebug > 0) { printf("RHGetStatus: "); ohci_dumpportstat(wIndex,status);}
1765 statport = R_OHCI_RHPORTSTATUS(wIndex);
1767 printf("RHClearFeature(%d): ",wValue); ohci_dumpportstat(wIndex,OHCI_READCSR(softc,statport));
1831 statport = R_OHCI_RHPORTSTATUS(wIndex);
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/usb/gadget/
H A Dether.c1008 u16 wIndex; member in struct:cdc_notification
1027 event->wIndex = __constant_cpu_to_le16 (1);
1090 event->wIndex = __constant_cpu_to_le16 (1);
1211 || ctrl->wIndex > 1)
1214 switch (ctrl->wIndex) {
1260 || ctrl->wIndex > 1)
1265 ((ctrl->wIndex == 1) && netif_carrier_ok (dev->net))
1274 /* see 6.2.30: no data, wIndex = interface,
1279 || ctrl->wIndex > 1)
1293 ctrl->wValue, ctrl->wIndex, ctr
[all...]
H A Dzero.c1026 /* wIndex == language code.
1061 if (dev->config && ctrl->wIndex == 0 && ctrl->wValue == 0) {
1082 if (ctrl->wIndex != 0) {
1098 if (ctrl->wValue || ctrl->wIndex)
1108 if (ctrl->wValue || ctrl->wIndex)
1122 ctrl->wValue, ctrl->wIndex, ctrl->wLength);
H A Dnet2280.c2248 get_ep_by_addr (struct net2280 *dev, u16 wIndex) argument
2252 if ((wIndex & USB_ENDPOINT_NUMBER_MASK) == 0)
2260 if ((wIndex ^ bEndpointAddress) & USB_DIR_IN)
2262 if ((wIndex & 0x0f) == (bEndpointAddress & 0x0f))
2334 le16_to_cpus (&u.r.wIndex);
2369 if ((e = get_ep_by_addr (dev, u.r.wIndex)) == 0
2397 if ((e = get_ep_by_addr (dev, u.r.wIndex)) == 0)
2414 if ((e = get_ep_by_addr (dev, u.r.wIndex)) == 0)
2427 u.r.wValue, u.r.wIndex,
/asus-wl-520gu-7.0.1.45/src/router/iproute2/reference/linux/usb.2.4.25/
H A Dusb_ch9.h77 * @wIndex: matches the USB wIndex field (le16 byte order)
93 __u16 wIndex; member in struct:usb_ctrlrequest
/asus-wl-520gu-7.0.1.45/src/router/iproute2/reference/linux/usb.orig/
H A Dusb_ch9.h77 * @wIndex: matches the USB wIndex field (le16 byte order)
93 __u16 wIndex; member in struct:usb_ctrlrequest
/asus-wl-520gu-7.0.1.45/src/router/iproute2/reference/linux/
H A Dusb_ch9.h77 * @wIndex: matches the USB wIndex field (le16 byte order)
93 __u16 wIndex; member in struct:usb_ctrlrequest
/asus-wl-520gu-7.0.1.45/src/linux/linux/include/linux/
H A Dusb_ch9.h77 * @wIndex: matches the USB wIndex field (le16 byte order)
93 __u16 wIndex; member in struct:usb_ctrlrequest
/asus-wl-520gu-7.0.1.45/src/router/u2ec/
H A Dusb.h181 u_int16_t wIndex; member in struct:usb_ctrl_setup

Completed in 234 milliseconds

123