Home
last modified time | relevance | path

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

/DragonOS-0.1.7/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()
1007 struct xhci_ep_context_t ep; in xhci_set_address() local
1018 __read_from_ep(id, slot_vaddr, 1, &ep); in xhci_set_address()
1019 ep.err_cnt = 3; in xhci_set_address()
[all …]
/DragonOS-0.1.7/kernel/src/net/
Dsocket.rs814 if let Some(ep) = socket.local_endpoint() { in endpoint()
815 result = Some(Endpoint::Ip(Some(ep))); in endpoint()