Home
last modified time | relevance | path

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

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