Lines Matching refs:host_caps
635 uint32_t caps, caps2, freq, host_caps; in sdhci_init_slot() local
728 host_caps = MMC_CAP_4_BIT_DATA; in sdhci_init_slot()
730 host_caps |= MMC_CAP_8_BIT_DATA; in sdhci_init_slot()
732 host_caps |= MMC_CAP_HSPEED; in sdhci_init_slot()
734 host_caps |= MMC_CAP_WAIT_WHILE_BUSY; in sdhci_init_slot()
736 host_caps |= MMC_CAP_UHS_SDR12 | MMC_CAP_UHS_SDR25; in sdhci_init_slot()
738 host_caps |= MMC_CAP_UHS_SDR104 | MMC_CAP_UHS_SDR50; in sdhci_init_slot()
740 host_caps |= MMC_CAP_MMC_HS200; in sdhci_init_slot()
742 host_caps |= MMC_CAP_UHS_SDR50; in sdhci_init_slot()
746 host_caps |= MMC_CAP_UHS_DDR50; in sdhci_init_slot()
748 host_caps |= MMC_CAP_MMC_DDR52; in sdhci_init_slot()
751 host_caps |= MMC_CAP_MMC_HS400; in sdhci_init_slot()
752 host_caps |= MMC_CAP_SIGNALING_330; in sdhci_init_slot()
753 if (host_caps & (MMC_CAP_UHS_SDR12 | MMC_CAP_UHS_SDR25 | in sdhci_init_slot()
757 host_caps |= MMC_CAP_SIGNALING_180; in sdhci_init_slot()
759 host_caps |= MMC_CAP_DRIVER_TYPE_A; in sdhci_init_slot()
761 host_caps |= MMC_CAP_DRIVER_TYPE_C; in sdhci_init_slot()
763 host_caps |= MMC_CAP_DRIVER_TYPE_D; in sdhci_init_slot()
764 slot->host.caps = host_caps; in sdhci_init_slot()
804 (host_caps & MMC_CAP_8_BIT_DATA) ? "8bits" : in sdhci_init_slot()
805 ((host_caps & MMC_CAP_4_BIT_DATA) ? "4bits" : "1bit"), in sdhci_init_slot()
810 (host_caps & MMC_CAP_SIGNALING_180) ? " 1.8V" : "", in sdhci_init_slot()
811 (host_caps & MMC_CAP_SIGNALING_120) ? " 1.2V" : "", in sdhci_init_slot()
820 if (host_caps & (MMC_CAP_MMC_DDR52 | MMC_CAP_MMC_HS200 | in sdhci_init_slot()
823 (host_caps & MMC_CAP_MMC_DDR52) ? " DDR52" : "", in sdhci_init_slot()
824 (host_caps & MMC_CAP_MMC_HS200) ? " HS200" : "", in sdhci_init_slot()
825 (host_caps & MMC_CAP_MMC_HS400) ? " HS400" : "", in sdhci_init_slot()
826 ((host_caps & in sdhci_init_slot()
830 if (host_caps & (MMC_CAP_UHS_SDR12 | MMC_CAP_UHS_SDR25 | in sdhci_init_slot()
833 (host_caps & MMC_CAP_UHS_SDR12) ? " SDR12" : "", in sdhci_init_slot()
834 (host_caps & MMC_CAP_UHS_SDR25) ? " SDR25" : "", in sdhci_init_slot()
835 (host_caps & MMC_CAP_UHS_SDR50) ? " SDR50" : "", in sdhci_init_slot()
836 (host_caps & MMC_CAP_UHS_SDR104) ? " SDR104" : "", in sdhci_init_slot()
837 (host_caps & MMC_CAP_UHS_DDR50) ? " DDR50" : ""); in sdhci_init_slot()