Home
last modified time | relevance | path

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

/DragonOS-0.1.2/kernel/src/driver/usb/xhci/
Dxhci.c2194 …uint32_t max_scratchpad_buf = (((uint32_t)hcs2.max_scratchpad_buf_HI5) << 5) | hcs2.max_scratchpad… in xhci_init() local
2195 kdebug("max scratchpad buffer=%d", max_scratchpad_buf); in xhci_init()
2196 if (max_scratchpad_buf > 0) in xhci_init()
2198 …i_hc[cid].scratchpad_buf_array_vaddr = (uint64_t)kzalloc(sizeof(uint64_t) * max_scratchpad_buf, 0); in xhci_init()
2202 for (int i = 0; i < max_scratchpad_buf; ++i) in xhci_init()