Home
last modified time | relevance | path

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

/DragonOS-0.1.7/kernel/src/driver/disk/ahci/
Dahcidisk.rs31 pub port_num: u8, field
68 let port = _port(self.ctrl_num, self.port_num); in read_at()
200 let port = _port(self.ctrl_num, self.port_num); in write_at()
318 port_num: u8, in new()
328 port_num, in new()
Dmod.rs183 pub fn _port(ctrl_num: u8, port_num: u8) -> &'static mut HbaPort { in _port()
186 let port: &HbaPort = &list[ctrl_num as usize].ports[port_num as usize]; in _port()
Dahci.h359 uint8_t port_num; // ahci的设备端口号 member
/DragonOS-0.1.7/kernel/src/driver/usb/xhci/
Dxhci.c428 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()
1636 for (int i = 0; i < xhci_hc[id].port_num; ++i) in xhci_hc_start_ports()
1662 for (int i = 0; i < xhci_hc[id].port_num; ++i) in xhci_hc_start_ports()
Dxhci.h527 uint16_t port_num; // 总的端口数量 member