Home
last modified time | relevance | path

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

/DragonOS-0.1.3/kernel/src/driver/usb/xhci/
Dxhci.c938 struct xhci_ep_context_t ep_ctx = {0}; in xhci_initialize_ep() local
939 memset(&ep_ctx, 0, sizeof(struct xhci_ep_context_t)); 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()
944 xhci_ep_set_dequeue_cycle_state(&ep_ctx, XHCI_TRB_CYCLE_ON); in xhci_initialize_ep()
948 …d].ports[port_id].ep_info[ep_num].current_ep_ring_cycle = xhci_ep_get_dequeue_cycle_state(&ep_ctx); in xhci_initialize_ep()
957 ep_ctx.max_packet_size = max_packet; in xhci_initialize_ep()
958 ep_ctx.linear_stream_array = 0; in xhci_initialize_ep()
959 ep_ctx.max_primary_streams = 0; in xhci_initialize_ep()
960 ep_ctx.mult = 0; in xhci_initialize_ep()
961 ep_ctx.ep_state = XHCI_EP_STATE_DISABLED; in xhci_initialize_ep()
[all …]