Home
last modified time | relevance | path

Searched refs:windex (Results 1 – 4 of 4) sorted by relevance

/linux-4.4.14/drivers/usb/gadget/udc/
Dfsl_usb2_udc.h581 #define get_pipe_by_windex(windex) ((windex & USB_ENDPOINT_NUMBER_MASK) \ argument
582 * 2 + ((windex & USB_DIR_IN) ? 1 : 0))
/linux-4.4.14/drivers/usb/dwc2/
Dhcd.c1447 static void dwc2_port_suspend(struct dwc2_hsotg *hsotg, u16 windex) in dwc2_port_suspend() argument
1458 if (windex == hsotg->otg_port && dwc2_host_is_b_hnp_enabled(hsotg)) { in dwc2_port_suspend()
1537 u16 wvalue, u16 windex, char *buf, u16 wlength) in dwc2_hcd_hub_control() argument
1566 if (!windex || windex > 1) in dwc2_hcd_hub_control()
1678 "GetPortStatus wIndex=0x%04x flags=0x%08x\n", windex, in dwc2_hcd_hub_control()
1680 if (!windex || windex > 1) in dwc2_hcd_hub_control()
1748 if (wvalue != USB_PORT_FEAT_TEST && (!windex || windex > 1)) in dwc2_hcd_hub_control()
1766 if (windex != hsotg->otg_port) in dwc2_hcd_hub_control()
1768 dwc2_port_suspend(hsotg, windex); in dwc2_hcd_hub_control()
1823 hprt0 |= (windex >> 8) << HPRT0_TSTCTL_SHIFT; in dwc2_hcd_hub_control()
[all …]
Dgadget.c872 u32 windex) in ep_from_windex() argument
875 int dir = (windex & USB_DIR_IN) ? 1 : 0; in ep_from_windex()
876 int idx = windex & 0x7F; in ep_from_windex()
878 if (windex >= 0x100) in ep_from_windex()
/linux-4.4.14/drivers/usb/dwc3/
Dep0.c322 u32 windex = le16_to_cpu(wIndex_le); in dwc3_wIndex_to_dep() local
325 epnum = (windex & USB_ENDPOINT_NUMBER_MASK) << 1; in dwc3_wIndex_to_dep()
326 if ((windex & USB_ENDPOINT_DIR_MASK) == USB_DIR_IN) in dwc3_wIndex_to_dep()