Home
last modified time | relevance | path

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

/DragonOS-0.1.3/kernel/src/driver/usb/xhci/
Dxhci.c1970 uint64_t origin_trb_vaddr = xhci_hc[id].cmd_trb_vaddr; in xhci_send_command()
1973 __write8b(xhci_hc[id].cmd_trb_vaddr, trb->param); // 参数 in xhci_send_command()
1974 __write4b(xhci_hc[id].cmd_trb_vaddr + 8, trb->status); // 状态 in xhci_send_command()
1975 __write4b(xhci_hc[id].cmd_trb_vaddr + 12, trb->command | xhci_hc[id].cmd_trb_cycle); // 命令 in xhci_send_command()
1977 xhci_hc[id].cmd_trb_vaddr += sizeof(struct xhci_TRB_t); // 跳转到下一个trb in xhci_send_command()
1981 struct xhci_TRB_normal_t *ptr = (struct xhci_TRB_normal_t *)xhci_hc[id].cmd_trb_vaddr; in xhci_send_command()
1985 xhci_hc[id].cmd_trb_vaddr = xhci_hc[id].cmd_ring_vaddr; in xhci_send_command()
2211 xhci_hc[cid].cmd_trb_vaddr = xhci_hc[cid].cmd_ring_vaddr; in xhci_init()
Dxhci.h538 uint64_t cmd_trb_vaddr; // 下一个要写入的trb的虚拟地址 member