Home
last modified time | relevance | path

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

/rk3399_rockchip-uboot/drivers/usb/gadget/
H A Dep0.c270 le16_to_cpu (urb->device_request.wIndex); in ep0_get_descriptor()
299 le16_to_cpu (urb->device_request.wIndex); in ep0_get_descriptor()
404 le16_to_cpu (request->wValue), le16_to_cpu (request->wIndex), in ep0_recv_setup()
477 return ep0_get_status (device, urb, request->wIndex, in ep0_recv_setup()
582 device->interface = le16_to_cpu (request->wIndex); in ep0_recv_setup()
H A Dether.c1141 event->wIndex = __constant_cpu_to_le16(1); in eth_status_complete()
1191 event->wIndex = __constant_cpu_to_le16(1); in issue_start_status()
1253 u16 wIndex = le16_to_cpu(ctrl->wIndex); in eth_setup() local
1327 || wIndex > 1) in eth_setup()
1329 if (!cdc_active(dev) && wIndex != 0) in eth_setup()
1351 switch (wIndex) { in eth_setup()
1399 || wIndex > 1) in eth_setup()
1401 if (!(cdc_active(dev) || rndis_active(dev)) && wIndex != 0) in eth_setup()
1405 if (rndis_active(dev) || wIndex != 1) in eth_setup()
1424 || wIndex > 1) in eth_setup()
[all …]
H A Datmel_usba_udc.c560 static struct usba_ep *get_ep_by_addr(struct usba_udc *udc, u16 wIndex) in get_ep_by_addr() argument
564 if ((wIndex & USB_ENDPOINT_NUMBER_MASK) == 0) in get_ep_by_addr()
573 if ((wIndex ^ bEndpointAddress) & USB_DIR_IN) in get_ep_by_addr()
576 == (wIndex & USB_ENDPOINT_NUMBER_MASK)) in get_ep_by_addr()
732 target = get_ep_by_addr(udc, le16_to_cpu(crq->wIndex)); in handle_ep0_setup()
766 target = get_ep_by_addr(udc, le16_to_cpu(crq->wIndex)); in handle_ep0_setup()
787 udc->test_mode = le16_to_cpu(crq->wIndex); in handle_ep0_setup()
801 target = get_ep_by_addr(udc, le16_to_cpu(crq->wIndex)); in handle_ep0_setup()
835 le16_to_cpu(crq->wValue), le16_to_cpu(crq->wIndex), in handle_ep0_setup()
H A Dci_udc.c683 reqname(r.bRequest), r.bRequestType, r.bRequest, r.wIndex, in handle_setup()
708 _num = r.wIndex & 15; in handle_setup()
709 _in = !!(r.wIndex & 0x80); in handle_setup()
759 reqname(r.bRequest), r.bRequestType, r.wValue, r.wIndex); in handle_setup()
H A Dfotg210.c393 ep_reset(chip, req->wIndex); in fotg210_setup()
406 req->wValue, req->wIndex & 0xf); in fotg210_setup()
409 id = req->wIndex & 0xf; in fotg210_setup()
H A Ddwc2_udc_otg_xfer_dma.c891 u8 ep_num = crq->wIndex & 0x7F; in dwc2_udc_get_status()
1309 usb_ctrl->wLength, usb_ctrl->wValue, usb_ctrl->wIndex); in dwc2_ep0_setup()
1419 ep_num = usb_ctrl->wIndex & 0x7f; in dwc2_ep0_setup()
1427 ep_num = usb_ctrl->wIndex & 0x7f; in dwc2_ep0_setup()
H A Df_thor.c642 ctrl->bRequestType, ctrl->bRequest, ctrl->wValue, ctrl->wIndex, in thor_func_setup()
H A Dpxa25x_udc.c1275 le16_to_cpu(u.r.wIndex), in handle_ep0()
1312 le16_to_cpu(u.r.wIndex), in handle_ep0()
H A Dcomposite.c797 u16 w_index = le16_to_cpu(ctrl->wIndex); in composite_setup()
H A Dat91_udc.c884 #define w_index le16_to_cpu(pkt.r.wIndex) in handle_setup()
H A Df_mass_storage.c537 u16 w_index = get_unaligned_le16(&ctrl->wIndex); in fsg_setup()
/rk3399_rockchip-uboot/drivers/usb/dwc3/
H A Dep0.c364 dep = dwc3_wIndex_to_dep(dwc, ctrl->wIndex); in dwc3_ep0_handle_status()
393 u32 wIndex; in dwc3_ep0_handle_feature() local
399 wIndex = le16_to_cpu(ctrl->wIndex); in dwc3_ep0_handle_feature()
445 if ((wIndex & 0xff) != 0) in dwc3_ep0_handle_feature()
450 dwc->test_mode_nr = wIndex >> 8; in dwc3_ep0_handle_feature()
461 if (wIndex & USB_INTRF_FUNC_SUSPEND_LP) in dwc3_ep0_handle_feature()
464 if (wIndex & USB_INTRF_FUNC_SUSPEND_RW) in dwc3_ep0_handle_feature()
476 dep = dwc3_wIndex_to_dep(dwc, wIndex); in dwc3_ep0_handle_feature()
677 u16 wIndex; in dwc3_ep0_set_isoch_delay() local
681 wIndex = le16_to_cpu(ctrl->wIndex); in dwc3_ep0_set_isoch_delay()
[all …]
/rk3399_rockchip-uboot/drivers/usb/musb-new/
H A Dmusb_gadget_ep0.c92 epnum = (u8) ctrlrequest->wIndex; in service_tx_status_request()
240 ctrlrequest->wIndex & 0x0f; in service_zero_data_request()
254 is_in = ctrlrequest->wIndex & USB_DIR_IN; in service_zero_data_request()
313 if (ctrlrequest->wIndex & 0xff) in service_zero_data_request()
316 switch (ctrlrequest->wIndex >> 8) { in service_zero_data_request()
405 ctrlrequest->wIndex & 0x0f; in service_zero_data_request()
418 is_in = ctrlrequest->wIndex & USB_DIR_IN; in service_zero_data_request()
594 le16_to_cpu(req->wIndex), in musb_read_setup()
H A Dmusb_host.h70 u16 typeReq, u16 wValue, u16 wIndex,
/rk3399_rockchip-uboot/drivers/usb/cdns3/
H A Dep0.c276 cdns3_select_ep(priv_dev, ctrl->wIndex); in cdns3_req_ep0_get_status()
333 tmode = le16_to_cpu(ctrl->wIndex); in cdns3_ep0_feature_handle_device()
395 if (!(ctrl->wIndex & ~USB_DIR_IN)) in cdns3_ep0_feature_handle_endpoint()
398 index = cdns3_ep_addr_to_index(ctrl->wIndex); in cdns3_ep0_feature_handle_endpoint()
401 cdns3_select_ep(priv_dev, ctrl->wIndex); in cdns3_ep0_feature_handle_endpoint()
483 if (ctrl_req->wIndex || ctrl_req->wLength) in cdns3_req_ep0_set_isoch_delay()
/rk3399_rockchip-uboot/include/linux/usb/
H A Dcdc.h222 __le16 wIndex; member
H A Dch9.h184 __le16 wIndex; member
/rk3399_rockchip-uboot/arch/mips/mach-au1x00/
H A Dau1x00_usb_ohci.c851 …PORTSTAT(x) {info("WR:portstatus[%d] %#8x", wIndex-1, (x));writel((x), &gohci.regs->roothub.portst…
854 #define WR_RH_PORTSTAT(x) writel((x), &gohci.regs->roothub.portstatus[wIndex-1])
857 #define RD_RH_PORTSTAT roothub_portstatus(&gohci,wIndex-1)
893 __u16 wIndex; in ohci_submit_rh_msg() local
909 wIndex = m16_swap (cmd->index); in ohci_submit_rh_msg()
913 dev->devnum, 8, bmRType_bReq, wValue, wIndex, wLength); in ohci_submit_rh_msg()
/rk3399_rockchip-uboot/include/
H A Dusbdevice.h355 u16 wIndex; member
770 serial_printf("\twIndex 0x%4.4x\n", r->wIndex); in print_usb_device_request()
/rk3399_rockchip-uboot/drivers/usb/host/
H A Dohci-hcd.c1210 #define WR_RH_PORTSTAT(x) {info("WR:portstatus[%d] %#8x", wIndex-1, \
1211 (x)); ohci_writel((x), &ohci->regs->roothub.portstatus[wIndex-1]); }
1215 &ohci->regs->roothub.portstatus[wIndex-1])
1218 #define RD_RH_PORTSTAT roothub_portstatus(ohci, wIndex-1)
1256 __u16 wIndex; in ohci_submit_rh_msg() local
1273 wIndex = le16_to_cpu(cmd->index); in ohci_submit_rh_msg()
1277 dev->devnum, 8, bmRType_bReq, wValue, wIndex, wLength); in ohci_submit_rh_msg()
H A Dsl811-hcd.c541 __u16 wIndex = le16_to_cpu (cmd->index); in sl811_rh_submit_urb() local
552 bmRType_bReq, bmRType_bReq, wValue, wIndex, wLength); in sl811_rh_submit_urb()
H A Dxhci.c828 u16 wIndex, volatile uint32_t *addr, u32 port_status) in xhci_clear_port_change_bit() argument
864 port_change_bit, wIndex, port_status); in xhci_clear_port_change_bit()
/rk3399_rockchip-uboot/drivers/usb/musb/
H A Dmusb_hcd.c469 u16 wIndex; in musb_submit_rh_msg() local
480 wIndex = swap_16(cmd->index); in musb_submit_rh_msg()
485 bmRType_bReq, wValue, wIndex, wLength); in musb_submit_rh_msg()