Lines Matching refs:ep_info
199 static __always_inline void __xhci_write_trb(struct xhci_ep_info_t *ep_info, struct xhci_TRB_t *trb) in __xhci_write_trb() argument
201 memcpy((void *)ep_info->current_ep_ring_vaddr, trb, sizeof(struct xhci_TRB_t)); in __xhci_write_trb()
203 ep_info->current_ep_ring_vaddr += sizeof(struct xhci_TRB_t); in __xhci_write_trb()
205 struct xhci_TRB_normal_t *ptr = (struct xhci_TRB_normal_t *)(ep_info->current_ep_ring_vaddr); in __xhci_write_trb()
210 ptr->cycle = ep_info->current_ep_ring_cycle; in __xhci_write_trb()
211 ep_info->current_ep_ring_vaddr = ep_info->ep_ring_vbase; in __xhci_write_trb()
212 ep_info->current_ep_ring_cycle ^= 1; in __xhci_write_trb()
941 xhci_hc[id].ports[port_id].ep_info[ep_num].ep_ring_vbase = xhci_create_ring(XHCI_TRBS_PER_RING); in xhci_initialize_ep()
943 ep_ctx.tr_dequeue_ptr = virt_2_phys(xhci_hc[id].ports[port_id].ep_info[ep_num].ep_ring_vbase); in xhci_initialize_ep()
946 xhci_hc[id].ports[port_id].ep_info[ep_num].current_ep_ring_vaddr = in xhci_initialize_ep()
947 xhci_hc[id].ports[port_id].ep_info[ep_num].ep_ring_vbase; in xhci_initialize_ep()
948 …xhci_hc[id].ports[port_id].ep_info[ep_num].current_ep_ring_cycle = xhci_ep_get_dequeue_cycle_state… in xhci_initialize_ep()
1247 xhci_setup_stage(&xhci_hc[id].ports[port_id].ep_info[XHCI_EP_CONTROL], packet, XHCI_DIR_IN); in xhci_control_in()
1251 …xhci_data_stage(&xhci_hc[id].ports[port_id].ep_info[XHCI_EP_CONTROL], data_buf_vaddr, TRB_TYPE_DAT… in xhci_control_in()
1275 …xhci_status_stage(&xhci_hc[id].ports[port_id].ep_info[XHCI_EP_CONTROL], XHCI_DIR_OUT_BIT, status_b… in xhci_control_in()
1319 xhci_setup_stage(&xhci_hc[id].ports[port_id].ep_info[XHCI_EP_CONTROL], packet, XHCI_DIR_OUT); in xhci_control_out()
1324 …xhci_data_stage(&xhci_hc[id].ports[port_id].ep_info[XHCI_EP_CONTROL], data_buf_vaddr, TRB_TYPE_DAT… in xhci_control_out()
1337 …xhci_status_stage(&xhci_hc[id].ports[port_id].ep_info[XHCI_EP_CONTROL], XHCI_DIR_IN_BIT, status_bu… in xhci_control_out()