Searched refs:port_num (Results 1 – 4 of 4) sorted by relevance
/DragonOS-0.1.3/kernel/src/driver/disk/ahci/ |
D | ahci.c | 548 … cmd, uint64_t base_addr, uint64_t count, uint64_t buffer, uint8_t ahci_ctrl_num, uint8_t port_num) in ahci_make_request() argument 577 pack->port_num = port_num; in ahci_make_request() 612 …ret_val = ahci_read(&(ahci_devices[pack->ahci_ctrl_num].hba_mem->ports[pack->port_num]), pack->blk… in ahci_query_disk() 615 …ret_val = ahci_write(&(ahci_devices[pack->ahci_ctrl_num].hba_mem->ports[pack->port_num]), pack->bl… in ahci_query_disk()
|
D | ahci.h | 359 uint8_t port_num; // ahci的设备端口号 member
|
/DragonOS-0.1.3/kernel/src/driver/usb/xhci/ |
D | xhci.c | 428 xhci_hc[id].port_num = hcs1.max_ports; in xhci_hc_pair_ports() 481 for (int i = 0; i < xhci_hc[id].port_num; ++i) in xhci_hc_pair_ports() 483 for (int j = 0; j < xhci_hc[id].port_num; ++j) in xhci_hc_pair_ports() 502 for (int i = 0; i < xhci_hc[id].port_num; ++i) in xhci_hc_pair_ports() 508 …kinfo("Found %d ports on root hub, usb2 ports:%d, usb3 ports:%d", xhci_hc[id].port_num, xhci_hc[id… in xhci_hc_pair_ports() 1634 for (int i = 0; i < xhci_hc[id].port_num; ++i) in xhci_hc_start_ports() 1660 for (int i = 0; i < xhci_hc[id].port_num; ++i) in xhci_hc_start_ports()
|
D | xhci.h | 527 uint16_t port_num; // 总的端口数量 member
|