Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/soc/ti/
Dk3-ringacc.c123 u32 windex; member
872 ring->state.free, ring->state.windex, ring->state.occ, in k3_ringacc_ring_access_io()
905 elem_ptr = k3_ringacc_get_elm_addr(ring, ring->state.windex); in k3_ringacc_ring_push_mem()
909 ring->state.windex = (ring->state.windex + 1) % ring->size; in k3_ringacc_ring_push_mem()
914 ring->state.free, ring->state.windex); in k3_ringacc_ring_push_mem()
944 ring->state.free, ring->state.windex); in k3_ringacc_ring_push()
964 ring->state.free, ring->state.windex); in k3_ringacc_ring_push_head()
/Linux-v5.10/drivers/usb/gadget/udc/
Dfsl_usb2_udc.h577 #define get_pipe_by_windex(windex) ((windex & USB_ENDPOINT_NUMBER_MASK) \ argument
578 * 2 + ((windex & USB_DIR_IN) ? 1 : 0))
/Linux-v5.10/drivers/usb/dwc2/
Dhcd.c3280 static void dwc2_port_suspend(struct dwc2_hsotg *hsotg, u16 windex) in dwc2_port_suspend() argument
3291 if (windex == hsotg->otg_port && dwc2_host_is_b_hnp_enabled(hsotg)) { in dwc2_port_suspend()
3370 u16 wvalue, u16 windex, char *buf, u16 wlength) in dwc2_hcd_hub_control() argument
3400 if (!windex || windex > 1) in dwc2_hcd_hub_control()
3519 "GetPortStatus wIndex=0x%04x flags=0x%08x\n", windex, in dwc2_hcd_hub_control()
3521 if (!windex || windex > 1) in dwc2_hcd_hub_control()
3611 if (wvalue != USB_PORT_FEAT_TEST && (!windex || windex > 1)) in dwc2_hcd_hub_control()
3629 if (windex != hsotg->otg_port) in dwc2_hcd_hub_control()
3634 dwc2_port_suspend(hsotg, windex); in dwc2_hcd_hub_control()
3698 hprt0 |= (windex >> 8) << HPRT0_TSTCTL_SHIFT; in dwc2_hcd_hub_control()
[all …]
Dgadget.c1544 u32 windex) in ep_from_windex() argument
1547 int dir = (windex & USB_DIR_IN) ? 1 : 0; in ep_from_windex()
1548 int idx = windex & 0x7F; in ep_from_windex()
1550 if (windex >= 0x100) in ep_from_windex()
/Linux-v5.10/drivers/usb/dwc3/
Dep0.c287 u32 windex = le16_to_cpu(wIndex_le); in dwc3_wIndex_to_dep() local
290 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()