Searched refs:ahci_devices (Results 1 – 2 of 2) sorted by relevance
168 ahci_devices[i].dev_struct = ahci_devs[i]; in ahci_init()169 ahci_devices[i].hba_mem = (HBA_MEM *)(cal_HBA_MEM_VIRT_ADDR(i)); in ahci_init()170 kdebug("ahci_devices[i].hba_mem = %#018lx", (ul)ahci_devices[i].hba_mem); in ahci_init()220 HBA_MEM *abar = ahci_devices[device_num].hba_mem; in ahci_probe_port()228 ahci_devices[i].type = dt; in ahci_probe_port()244 port_rebase(&ahci_devices[0].hba_mem->ports[i], i); in ahci_probe_port()517 int num_of_cmd_clots = (ahci_devices[0].hba_mem->cap & 0x0f00) >> 8; // bit 12-8 in ahci_find_cmdslot()613 …ret_val = ahci_read(&(ahci_devices[pack->ahci_ctrl_num].hba_mem->ports[pack->port_num]), pack->blk… in ahci_query_disk()616 …ret_val = ahci_write(&(ahci_devices[pack->ahci_ctrl_num].hba_mem->ports[pack->port_num]), pack->bl… in ahci_query_disk()
339 } ahci_devices[MAX_AHCI_DEVICES]; variable