Lines Matching refs:cap2
255 return sprintf(buf, "%x\n", hpriv->cap2); in ahci_show_host_cap2()
427 u32 cap, cap2, vers, port_map; in ahci_save_initial_config() local
443 hpriv->saved_cap2 = cap2 = readl(mmio + HOST_CAP2); in ahci_save_initial_config()
445 hpriv->saved_cap2 = cap2 = 0; in ahci_save_initial_config()
474 if ((cap2 & HOST_CAP2_SDS) && (hpriv->flags & AHCI_HFLAG_NO_DEVSLP)) { in ahci_save_initial_config()
477 cap2 &= ~HOST_CAP2_SDS; in ahci_save_initial_config()
478 cap2 &= ~HOST_CAP2_SADM; in ahci_save_initial_config()
540 hpriv->cap2 = cap2; in ahci_save_initial_config()
796 if ((hpriv->cap2 & HOST_CAP2_SDS) && in ahci_set_lpm()
797 (hpriv->cap2 & HOST_CAP2_SADM) && in ahci_set_lpm()
2440 u32 vers, cap, cap2, impl, speed; in ahci_print_info() local
2445 cap2 = hpriv->cap2; in ahci_print_info()
2499 cap2 & HOST_CAP2_DESO ? "deso " : "", in ahci_print_info()
2500 cap2 & HOST_CAP2_SADM ? "sadm " : "", in ahci_print_info()
2501 cap2 & HOST_CAP2_SDS ? "sds " : "", in ahci_print_info()
2502 cap2 & HOST_CAP2_APST ? "apst " : "", in ahci_print_info()
2503 cap2 & HOST_CAP2_NVMHCI ? "nvmp " : "", in ahci_print_info()
2504 cap2 & HOST_CAP2_BOH ? "boh " : "" in ahci_print_info()