Home
last modified time | relevance | path

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

/DragonOS-0.1.2/kernel/src/driver/usb/xhci/
Dxhci.c53 static int xhci_setup_stage(struct xhci_ep_info_t *ep, const struct usb_request_packet_t *packet,
55 static int xhci_data_stage(struct xhci_ep_info_t *ep, uint64_t buf_vaddr, uint8_t trb_type, const u…
57 static int xhci_status_stage(struct xhci_ep_info_t *ep, uint8_t direction, uint64_t status_buf_vadd…
137 …lways_inline void __write_ep(int id, uint64_t slot_vaddr, int ep_num, struct xhci_ep_context_t *ep) 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 …s_inline void __read_from_ep(int id, uint64_t slot_vaddr, int ep_num, struct xhci_ep_context_t *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()
1005 struct xhci_ep_context_t ep; in xhci_set_address() local
1016 __read_from_ep(id, slot_vaddr, 1, &ep); in xhci_set_address()
1017 ep.err_cnt = 3; in xhci_set_address()
[all …]