Lines Matching defs:ctrl
38 static int last_trb(struct xhci_ctrl *ctrl, struct xhci_ring *ring, in last_trb()
57 static bool last_trb_on_last_seg(struct xhci_ctrl *ctrl, in last_trb_on_last_seg()
91 static void inc_enq(struct xhci_ctrl *ctrl, struct xhci_ring *ring, in inc_enq()
149 static void inc_deq(struct xhci_ctrl *ctrl, struct xhci_ring *ring) in inc_deq()
183 static struct xhci_generic_trb *queue_trb(struct xhci_ctrl *ctrl, in queue_trb()
212 static int prepare_ring(struct xhci_ctrl *ctrl, struct xhci_ring *ep_ring, in prepare_ring()
274 void xhci_queue_command(struct xhci_ctrl *ctrl, u8 *ptr, u32 slot_id, in xhci_queue_command()
332 static u32 xhci_td_remainder(struct xhci_ctrl *ctrl, int transferred, in xhci_td_remainder()
370 struct xhci_ctrl *ctrl = xhci_get_ctrl(udev); in giveback_first_trb() local
400 void xhci_acknowledge_event(struct xhci_ctrl *ctrl) in xhci_acknowledge_event()
416 static int event_ready(struct xhci_ctrl *ctrl) in event_ready()
442 union xhci_trb *xhci_wait_for_event(struct xhci_ctrl *ctrl, trb_type expected) in xhci_wait_for_event()
494 struct xhci_ctrl *ctrl = xhci_get_ctrl(udev); in abort_td() local
571 struct xhci_ctrl *ctrl = xhci_get_ctrl(udev); in xhci_bulk_tx() local
769 struct xhci_ctrl *ctrl = xhci_get_ctrl(udev); in xhci_ctrl_tx() local