Lines Matching refs:host_caps
1521 int host_caps; in mmc_host_timing() local
1523 host_caps = mmcbr_get_caps(dev); in mmc_host_timing()
1525 #define HOST_TIMING_CAP(host_caps, cap) ({ \ in mmc_host_timing() argument
1527 if (((host_caps) & (cap)) == (cap)) \ in mmc_host_timing()
1538 return (HOST_TIMING_CAP(host_caps, MMC_CAP_HSPEED)); in mmc_host_timing()
1540 return (HOST_TIMING_CAP(host_caps, MMC_CAP_UHS_SDR12)); in mmc_host_timing()
1542 return (HOST_TIMING_CAP(host_caps, MMC_CAP_UHS_SDR25)); in mmc_host_timing()
1544 return (HOST_TIMING_CAP(host_caps, MMC_CAP_UHS_DDR50)); in mmc_host_timing()
1546 return (HOST_TIMING_CAP(host_caps, MMC_CAP_UHS_SDR50)); in mmc_host_timing()
1548 return (HOST_TIMING_CAP(host_caps, MMC_CAP_UHS_SDR104)); in mmc_host_timing()
1550 return (HOST_TIMING_CAP(host_caps, MMC_CAP_MMC_DDR52)); in mmc_host_timing()
1552 return (HOST_TIMING_CAP(host_caps, MMC_CAP_MMC_HS200_120) || in mmc_host_timing()
1553 HOST_TIMING_CAP(host_caps, MMC_CAP_MMC_HS200_180)); in mmc_host_timing()
1555 return (HOST_TIMING_CAP(host_caps, MMC_CAP_MMC_HS400_120) || in mmc_host_timing()
1556 HOST_TIMING_CAP(host_caps, MMC_CAP_MMC_HS400_180)); in mmc_host_timing()
1558 return (HOST_TIMING_CAP(host_caps, MMC_CAP_MMC_HS400 | in mmc_host_timing()
1599 int err, host_caps, i, newcard; in mmc_discover_cards() local
1605 host_caps = mmcbr_get_caps(sc->dev); in mmc_discover_cards()
1741 if ((host_caps & MMC_CAP_4_BIT_DATA) && in mmc_discover_cards()
1821 (host_caps & MMC_CAP_SIGNALING_120) != 0) { in mmc_discover_cards()
1826 (host_caps & MMC_CAP_SIGNALING_180) != 0) { in mmc_discover_cards()
1831 (host_caps & MMC_CAP_SIGNALING_120) != 0) { in mmc_discover_cards()
1836 (host_caps & MMC_CAP_SIGNALING_180) != 0) { in mmc_discover_cards()
1841 (host_caps & MMC_CAP_SIGNALING_120) != 0 && in mmc_discover_cards()
1847 (host_caps & MMC_CAP_SIGNALING_180) != 0 && in mmc_discover_cards()
1855 (host_caps & MMC_CAP_SIGNALING_120) != 0 && in mmc_discover_cards()
1863 (host_caps & MMC_CAP_SIGNALING_180) != 0 && in mmc_discover_cards()