Searched refs:ep_num (Results 1 – 1 of 1) sorted by relevance
/DragonOS-0.1.3/kernel/src/driver/usb/xhci/ |
D | xhci.c | 45 …id xhci_initialize_ep(const int id, const uint64_t slot_vaddr, const int port_id, const int ep_num, 65 …c inline int xhci_get_endpoint_desc(const struct usb_interface_desc *if_desc, const uint8_t ep_num, 69 static int xhci_configure_endpoint(const int id, const int port_id, const uint8_t ep_num, const uin… 137 static __always_inline void __write_ep(int id, uint64_t slot_vaddr, int ep_num, struct xhci_ep_cont… in __write_ep() argument 139 …memcpy((void *)(slot_vaddr + ep_num * xhci_hc[id].context_size), ep, sizeof(struct xhci_ep_context… in __write_ep() 150 static __always_inline void __read_from_ep(int id, uint64_t slot_vaddr, int ep_num, struct xhci_ep_… in __read_from_ep() argument 152 …memcpy(ep, (void *)(slot_vaddr + ep_num * xhci_hc[id].context_size), sizeof(struct xhci_ep_context… in __read_from_ep() 931 …id xhci_initialize_ep(const int id, const uint64_t slot_vaddr, const int port_id, const int ep_num, in xhci_initialize_ep() argument 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() [all …]
|