Home
last modified time | relevance | path

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

/drivers/soc/ti/
Dk3-ringacc.c132 u32 windex; member
1045 ring->state.free, ring->state.windex, ring->state.occ, in k3_ringacc_ring_access_io()
1096 if (ring->state.windex >= ring->state.occ) in k3_dmaring_fwd_pop()
1097 elem_idx = ring->state.windex - ring->state.occ; in k3_dmaring_fwd_pop()
1099 elem_idx = ring->size - (ring->state.occ - ring->state.windex); in k3_dmaring_fwd_pop()
1109 __func__, ring->state.occ, ring->state.windex, elem_idx, in k3_dmaring_fwd_pop()
1144 elem_ptr = k3_ringacc_get_elm_addr(ring, ring->state.windex); in k3_ringacc_ring_push_mem()
1153 ring->state.windex = (ring->state.windex + 1) % ring->size; in k3_ringacc_ring_push_mem()
1158 ring->state.free, ring->state.windex); in k3_ringacc_ring_push_mem()
1188 ring->state.free, ring->state.windex); in k3_ringacc_ring_push()
[all …]
/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))
/drivers/staging/r8188eu/include/
Dusb_osintf.h17 enum rt_usb_wvalue wvalue, u8 windex, void *data,
/drivers/usb/dwc2/
Dhcd.c3298 int dwc2_port_suspend(struct dwc2_hsotg *hsotg, u16 windex) in dwc2_port_suspend() argument
3309 if (windex == hsotg->otg_port && dwc2_host_is_b_hnp_enabled(hsotg)) { in dwc2_port_suspend()
3410 u16 wvalue, u16 windex, char *buf, u16 wlength) in dwc2_hcd_hub_control() argument
3440 if (!windex || windex > 1) in dwc2_hcd_hub_control()
3555 "GetPortStatus wIndex=0x%04x flags=0x%08x\n", windex, in dwc2_hcd_hub_control()
3557 if (!windex || windex > 1) in dwc2_hcd_hub_control()
3647 if (wvalue != USB_PORT_FEAT_TEST && (!windex || windex > 1)) in dwc2_hcd_hub_control()
3665 if (windex != hsotg->otg_port) in dwc2_hcd_hub_control()
3668 retval = dwc2_port_suspend(hsotg, windex); in dwc2_hcd_hub_control()
3750 hprt0 |= (windex >> 8) << HPRT0_TSTCTL_SHIFT; in dwc2_hcd_hub_control()
[all …]
Dcore.h1494 int dwc2_port_suspend(struct dwc2_hsotg *hsotg, u16 windex);
1521 static inline int dwc2_port_suspend(struct dwc2_hsotg *hsotg, u16 windex) in dwc2_port_suspend() argument
Dgadget.c1574 u32 windex) in ep_from_windex() argument
1576 int dir = (windex & USB_DIR_IN) ? 1 : 0; in ep_from_windex()
1577 int idx = windex & 0x7F; in ep_from_windex()
1579 if (windex >= 0x100) in ep_from_windex()
/drivers/usb/dwc3/
Dep0.c309 u32 windex = le16_to_cpu(wIndex_le); in dwc3_wIndex_to_dep() local
312 epnum = (windex & USB_ENDPOINT_NUMBER_MASK) << 1; in dwc3_wIndex_to_dep()
313 if ((windex & USB_ENDPOINT_DIR_MASK) == USB_DIR_IN) in dwc3_wIndex_to_dep()