Home
last modified time | relevance | path

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

/DragonOS-0.1.2/kernel/src/driver/disk/ahci/
Dahci.c21 static uint64_t ahci_port_base_vaddr; // 端口映射base addr variable
174 ahci_port_base_vaddr = (uint64_t)kmalloc(1048576, 0); in ahci_init()
175 kdebug("ahci_port_base_vaddr=%#018lx", ahci_port_base_vaddr); in ahci_init()
302 port->clb = virt_2_phys(ahci_port_base_vaddr + (portno << 10)); in port_rebase()
308 port->fb = virt_2_phys(ahci_port_base_vaddr + (32 << 10) + (portno << 8)); in port_rebase()
320 … cmdheader[i].ctba = virt_2_phys((ahci_port_base_vaddr + (40 << 10) + (portno << 13) + (i << 8))); in port_rebase()