Home
last modified time | relevance | path

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

/DragonOS-0.1.3/kernel/src/driver/usb/xhci/
Dinternal.h57 #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…
Dxhci.c226 … __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 …]
Dxhci.h543 …struct xhci_port_info_t ports[XHCI_MAX_ROOT_HUB_PORTS]; // 指向端口信息数组的指针(由于端口offset是从1开始的,因此该数组第0项为空) member
/DragonOS-0.1.3/kernel/src/driver/disk/ahci/
Dahci.c227 uint dt = check_type(&abar->ports[i]); in ahci_probe_port()
244 port_rebase(&ahci_devices[0].hba_mem->ports[i], i); in ahci_probe_port()
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()
Dahci.h253 HBA_PORT ports[32]; // 1 ~ 32 member