Home
last modified time | relevance | path

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

/DragonOS-0.1.7/kernel/src/driver/usb/xhci/
Dxhci.c139 …memcpy((void *)(slot_vaddr + ep_num * xhci_hc[id].context_size), ep, sizeof(struct xhci_ep_context… in __write_ep()
152 …memcpy(ep, (void *)(slot_vaddr + ep_num * xhci_hc[id].context_size), sizeof(struct xhci_ep_context… in __read_from_ep()
896 uint64_t device_context_vaddr = (uint64_t)kzalloc(xhci_hc[id].context_size * 32, 0); in xhci_initialize_slot()
1009 uint64_t input_ctx_buffer = (uint64_t)kzalloc(xhci_hc[id].context_size * 33, 0); in xhci_set_address()
1023 __write_slot(input_ctx_buffer + xhci_hc[id].context_size, &slot); in xhci_set_address()
1736 uint64_t input_ctx_buffer = (uint64_t)kzalloc(xhci_hc[id].context_size * 33, 0); in xhci_configure_endpoint()
1746 __write_slot(input_ctx_buffer + xhci_hc[id].context_size, &slot); in xhci_configure_endpoint()
2146 xhci_hc[cid].context_size = (hcc1.csz) ? 64 : 32; in xhci_init()
Dxhci.h528 uint8_t context_size; // 设备上下文大小 member