Searched refs:windex (Results 1 – 4 of 4) sorted by relevance
577 #define get_pipe_by_windex(windex) ((windex & USB_ENDPOINT_NUMBER_MASK) \ argument578 * 2 + ((windex & USB_DIR_IN) ? 1 : 0))
3469 static void dwc2_port_suspend(struct dwc2_hsotg *hsotg, u16 windex) in dwc2_port_suspend() argument3480 if (windex == hsotg->otg_port && dwc2_host_is_b_hnp_enabled(hsotg)) { in dwc2_port_suspend()3559 u16 wvalue, u16 windex, char *buf, u16 wlength) in dwc2_hcd_hub_control() argument3588 if (!windex || windex > 1) in dwc2_hcd_hub_control()3704 "GetPortStatus wIndex=0x%04x flags=0x%08x\n", windex, in dwc2_hcd_hub_control()3706 if (!windex || windex > 1) in dwc2_hcd_hub_control()3796 if (wvalue != USB_PORT_FEAT_TEST && (!windex || windex > 1)) in dwc2_hcd_hub_control()3814 if (windex != hsotg->otg_port) in dwc2_hcd_hub_control()3819 dwc2_port_suspend(hsotg, windex); in dwc2_hcd_hub_control()3877 hprt0 |= (windex >> 8) << HPRT0_TSTCTL_SHIFT; in dwc2_hcd_hub_control()[all …]
1442 u32 windex) in ep_from_windex() argument1445 int dir = (windex & USB_DIR_IN) ? 1 : 0; in ep_from_windex()1446 int idx = windex & 0x7F; in ep_from_windex()1448 if (windex >= 0x100) in ep_from_windex()
287 u32 windex = le16_to_cpu(wIndex_le); in dwc3_wIndex_to_dep() local290 epnum = (windex & USB_ENDPOINT_NUMBER_MASK) << 1; in dwc3_wIndex_to_dep()291 if ((windex & USB_ENDPOINT_DIR_MASK) == USB_DIR_IN) in dwc3_wIndex_to_dep()