Searched refs:slot_vaddr (Results 1 – 1 of 1) sorted by relevance
/DragonOS-0.1.3/kernel/src/driver/usb/xhci/ |
D | xhci.c | 45 static void xhci_initialize_ep(const int id, const uint64_t slot_vaddr, const int port_id, const in… 48 static int xhci_set_address(const int id, const uint64_t slot_vaddr, const int slot_id, const bool … 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() 173 …ic __always_inline void __read_from_slot(struct xhci_slot_context_t *slot_ctx, uint64_t slot_vaddr) in __read_from_slot() argument 175 memcpy(slot_ctx, (void *)slot_vaddr, sizeof(struct xhci_slot_context_t)); in __read_from_slot() 931 static void xhci_initialize_ep(const int id, const uint64_t slot_vaddr, const int port_id, const in… in xhci_initialize_ep() argument 989 __write_ep(id, slot_vaddr, ep_num, &ep_ctx); in xhci_initialize_ep() [all …]
|