Home
last modified time | relevance | path

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

/u-boot/drivers/usb/gadget/
A Dep0.c316 le16_to_cpu (urb->device_request.wIndex); in ep0_get_descriptor()
345 le16_to_cpu (urb->device_request.wIndex); in ep0_get_descriptor()
450 le16_to_cpu (request->wValue), le16_to_cpu (request->wIndex), in ep0_recv_setup()
523 return ep0_get_status (device, urb, request->wIndex, in ep0_recv_setup()
628 device->interface = le16_to_cpu (request->wIndex); in ep0_recv_setup()
A Dether.c1187 event->wIndex = __constant_cpu_to_le16(1); in issue_start_status()
1249 u16 wIndex = le16_to_cpu(ctrl->wIndex); in eth_setup() local
1323 || wIndex > 1) in eth_setup()
1325 if (!cdc_active(dev) && wIndex != 0) in eth_setup()
1347 switch (wIndex) { in eth_setup()
1395 || wIndex > 1) in eth_setup()
1401 if (rndis_active(dev) || wIndex != 1) in eth_setup()
1420 || wIndex > 1) in eth_setup()
1448 != wIndex) in eth_setup()
1463 == wIndex) { in eth_setup()
[all …]
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()
A Dmax3420_udc.c513 ep = &udc->ep[udc->setup.wIndex & USB_ENDPOINT_NUMBER_MASK]; in max3420_getstatus()
552 id = udc->setup.wIndex & USB_ENDPOINT_NUMBER_MASK; in max3420_set_clear_feature()
574 udc->setup.wIndex = cpu_to_le16(setup.wIndex); in max3420_handle_setup()
A Dci_udc.c692 reqname(r.bRequest), r.bRequestType, r.bRequest, r.wIndex, in handle_setup()
717 _num = r.wIndex & 15; in handle_setup()
718 _in = !!(r.wIndex & 0x80); in handle_setup()
768 reqname(r.bRequest), r.bRequestType, r.wValue, r.wIndex); in handle_setup()
A Dfotg210.c395 ep_reset(chip, req->wIndex); in fotg210_setup()
408 req->wValue, req->wIndex & 0xf); in fotg210_setup()
411 id = req->wIndex & 0xf; in fotg210_setup()
A Ddwc2_udc_otg_xfer_dma.c893 u8 ep_num = crq->wIndex & 0x7F; in dwc2_udc_get_status()
1311 usb_ctrl->wLength, usb_ctrl->wValue, usb_ctrl->wIndex); in dwc2_ep0_setup()
1421 ep_num = usb_ctrl->wIndex & 0x7f; in dwc2_ep0_setup()
1429 ep_num = usb_ctrl->wIndex & 0x7f; in dwc2_ep0_setup()
A Dpxa25x_udc.c1278 le16_to_cpu(u.r.wIndex), in handle_ep0()
1315 le16_to_cpu(u.r.wIndex), in handle_ep0()
A Df_thor.c646 ctrl->bRequestType, ctrl->bRequest, ctrl->wValue, ctrl->wIndex, in thor_func_setup()
A Dcomposite.c1011 u16 w_index = le16_to_cpu(ctrl->wIndex); in composite_setup()
A Dat91_udc.c886 #define w_index le16_to_cpu(pkt.r.wIndex) in handle_setup()
A Df_mass_storage.c542 u16 w_index = get_unaligned_le16(&ctrl->wIndex); in fsg_setup()
/u-boot/drivers/usb/dwc3/
A 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()
676 u16 wIndex; in dwc3_ep0_set_isoch_delay() local
680 wIndex = le16_to_cpu(ctrl->wIndex); in dwc3_ep0_set_isoch_delay()
[all …]
/u-boot/drivers/usb/musb-new/
A Dmusb_gadget_ep0.c95 epnum = (u8) ctrlrequest->wIndex; in service_tx_status_request()
243 ctrlrequest->wIndex & 0x0f; in service_zero_data_request()
257 is_in = ctrlrequest->wIndex & USB_DIR_IN; in service_zero_data_request()
316 if (ctrlrequest->wIndex & 0xff) in service_zero_data_request()
319 switch (ctrlrequest->wIndex >> 8) { in service_zero_data_request()
408 ctrlrequest->wIndex & 0x0f; in service_zero_data_request()
421 is_in = ctrlrequest->wIndex & USB_DIR_IN; in service_zero_data_request()
597 le16_to_cpu(req->wIndex), in musb_read_setup()
A Dmusb_host.h69 u16 typeReq, u16 wValue, u16 wIndex,
/u-boot/drivers/usb/cdns3/
A Dep0.c281 cdns3_select_ep(priv_dev, ctrl->wIndex); in cdns3_req_ep0_get_status()
338 tmode = le16_to_cpu(ctrl->wIndex); in cdns3_ep0_feature_handle_device()
400 if (!(ctrl->wIndex & ~USB_DIR_IN)) in cdns3_ep0_feature_handle_endpoint()
403 index = cdns3_ep_addr_to_index(ctrl->wIndex); in cdns3_ep0_feature_handle_endpoint()
406 cdns3_select_ep(priv_dev, ctrl->wIndex); in cdns3_ep0_feature_handle_endpoint()
488 if (ctrl_req->wIndex || ctrl_req->wLength) in cdns3_req_ep0_set_isoch_delay()
/u-boot/include/linux/usb/
A Dcdc.h222 __le16 wIndex; member
A Dch9.h184 __le16 wIndex; member
/u-boot/drivers/usb/mtu3/
A Dmtu3_gadget_ep0.c253 epnum = (u8)le16_to_cpu(setup->wIndex); in ep0_get_status()
302 switch (le16_to_cpu(setup->wIndex) >> 8) { in handle_test_mode()
359 (le16_to_cpu(setup->wIndex) & 0xff)) in ep0_handle_feature_dev()
412 index = le16_to_cpu(setup->wIndex); in ep0_handle_feature()
637 le16_to_cpu(setup->wValue), le16_to_cpu(setup->wIndex), in ep0_read_setup()
/u-boot/include/
A Dusbdevice.h349 u16 wIndex; member
754 serial_printf("\twIndex 0x%4.4x\n", r->wIndex); in print_usb_device_request()
/u-boot/drivers/usb/host/
A Dohci-hcd.c1211 #define WR_RH_PORTSTAT(x) {info("WR:portstatus[%d] %#8x", wIndex-1, \
1212 (x)); ohci_writel((x), &ohci->regs->roothub.portstatus[wIndex-1]); }
1216 &ohci->regs->roothub.portstatus[wIndex-1])
1219 #define RD_RH_PORTSTAT roothub_portstatus(ohci, wIndex-1)
1257 __u16 wIndex; in ohci_submit_rh_msg() local
1274 wIndex = le16_to_cpu(cmd->index); in ohci_submit_rh_msg()
1278 dev->devnum, 8, bmRType_bReq, wValue, wIndex, wLength); in ohci_submit_rh_msg()
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()
A Dxhci.c859 u16 wIndex, volatile uint32_t *addr, u32 port_status) in xhci_clear_port_change_bit() argument
895 port_change_bit, wIndex, port_status); in xhci_clear_port_change_bit()
/u-boot/drivers/usb/musb/
A Dmusb_hcd.c464 u16 wIndex; in musb_submit_rh_msg() local
475 wIndex = swap_16(cmd->index); in musb_submit_rh_msg()
480 bmRType_bReq, wValue, wIndex, wLength); in musb_submit_rh_msg()

Completed in 66 milliseconds