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()
545 hpriv->cap2 = cap2; in ahci_save_initial_config()
801 if ((hpriv->cap2 & HOST_CAP2_SDS) && in ahci_set_lpm()
802 (hpriv->cap2 & HOST_CAP2_SADM) && in ahci_set_lpm()
2445 u32 vers, cap, cap2, impl, speed; in ahci_print_info() local
2450 cap2 = hpriv->cap2; in ahci_print_info()
2504 cap2 & HOST_CAP2_DESO ? "deso " : "", in ahci_print_info()
2505 cap2 & HOST_CAP2_SADM ? "sadm " : "", in ahci_print_info()
2506 cap2 & HOST_CAP2_SDS ? "sds " : "", in ahci_print_info()
2507 cap2 & HOST_CAP2_APST ? "apst " : "", in ahci_print_info()
2508 cap2 & HOST_CAP2_NVMHCI ? "nvmp " : "", in ahci_print_info()
2509 cap2 & HOST_CAP2_BOH ? "boh " : "" in ahci_print_info()