Searched refs:ports (Results 1 – 6 of 6) sorted by relevance
57 #define XHCI_PORT_IS_USB2(cid, pid) ((xhci_hc[cid].ports[pid].flags & XHCI_PROTOCOL_INFO) == XHCI_P…58 #define XHCI_PORT_IS_USB3(cid, pid) ((xhci_hc[cid].ports[pid].flags & XHCI_PROTOCOL_INFO) == XHCI_P…60 #define XHCI_PORT_IS_USB2_HSO(cid, pid) ((xhci_hc[cid].ports[pid].flags & XHCI_PROTOCOL_HSO) == XHC…61 #define XHCI_PORT_HAS_PAIR(cid, pid) ((xhci_hc[cid].ports[pid].flags & XHCI_PROTOCOL_HAS_PAIR) == X…62 #define XHCI_PORT_IS_ACTIVE(cid, pid) ((xhci_hc[cid].ports[pid].flags & XHCI_PROTOCOL_ACTIVE) == XH…
226 … __read8b(xhci_hc[id].dcbaap_vaddr + (xhci_hc[id].ports[port_id].slot_id * sizeof(uint64_t)))); in xhci_get_device_context_vaddr()451 xhci_hc[id].ports[offset + i].offset = xhci_hc[id].port_num_u2++; in xhci_hc_pair_ports()452 xhci_hc[id].ports[offset + i].flags = XHCI_PROTOCOL_USB2; in xhci_hc_pair_ports()456 xhci_hc[id].ports[offset + i].flags |= XHCI_PROTOCOL_HSO; in xhci_hc_pair_ports()474 xhci_hc[id].ports[offset + i].offset = xhci_hc[id].port_num_u3++; in xhci_hc_pair_ports()475 xhci_hc[id].ports[offset + i].flags = XHCI_PROTOCOL_USB3; in xhci_hc_pair_ports()488 if ((xhci_hc[id].ports[i].offset == xhci_hc[id].ports[j].offset) && in xhci_hc_pair_ports()489 ((xhci_hc[id].ports[i].flags & XHCI_PROTOCOL_INFO) != in xhci_hc_pair_ports()490 (xhci_hc[id].ports[j].flags & XHCI_PROTOCOL_INFO))) in xhci_hc_pair_ports()492 xhci_hc[id].ports[i].paired_port_num = j; in xhci_hc_pair_ports()[all …]
543 …struct xhci_port_info_t ports[XHCI_MAX_ROOT_HUB_PORTS]; // 指向端口信息数组的指针(由于端口offset是从1开始的,因此该数组第0项为空) member
96 let tp = hba_mem_list[i].ports[j].check_type(); in ahci_rust_init()120 hba_mem_list[i].ports[j].init(clb as u64, fb as u64, &ctbas); in ahci_rust_init()185 let port: &HbaPort = &list[ctrl_num as usize].ports[port_num as usize]; in _port()
253 HBA_PORT ports[32]; // 1 ~ 32 member
83 pub ports: [HbaPort; 32], // 0x100 - 0x10FF, Port control registers field