Lines Matching refs:host_caps
1520 int host_caps; in mmc_host_timing() local
1522 host_caps = mmcbr_get_caps(dev); in mmc_host_timing()
1524 #define HOST_TIMING_CAP(host_caps, cap) ({ \ in mmc_host_timing() argument
1526 if (((host_caps) & (cap)) == (cap)) \ in mmc_host_timing()
1537 return (HOST_TIMING_CAP(host_caps, MMC_CAP_HSPEED)); in mmc_host_timing()
1539 return (HOST_TIMING_CAP(host_caps, MMC_CAP_UHS_SDR12)); in mmc_host_timing()
1541 return (HOST_TIMING_CAP(host_caps, MMC_CAP_UHS_SDR25)); in mmc_host_timing()
1543 return (HOST_TIMING_CAP(host_caps, MMC_CAP_UHS_DDR50)); in mmc_host_timing()
1545 return (HOST_TIMING_CAP(host_caps, MMC_CAP_UHS_SDR50)); in mmc_host_timing()
1547 return (HOST_TIMING_CAP(host_caps, MMC_CAP_UHS_SDR104)); in mmc_host_timing()
1549 return (HOST_TIMING_CAP(host_caps, MMC_CAP_MMC_DDR52)); in mmc_host_timing()
1551 return (HOST_TIMING_CAP(host_caps, MMC_CAP_MMC_HS200_120) || in mmc_host_timing()
1552 HOST_TIMING_CAP(host_caps, MMC_CAP_MMC_HS200_180)); in mmc_host_timing()
1554 return (HOST_TIMING_CAP(host_caps, MMC_CAP_MMC_HS400_120) || in mmc_host_timing()
1555 HOST_TIMING_CAP(host_caps, MMC_CAP_MMC_HS400_180)); in mmc_host_timing()
1557 return (HOST_TIMING_CAP(host_caps, MMC_CAP_MMC_HS400 | in mmc_host_timing()
1598 int err, host_caps, i, newcard; in mmc_discover_cards() local
1604 host_caps = mmcbr_get_caps(sc->dev); in mmc_discover_cards()
1740 if ((host_caps & MMC_CAP_4_BIT_DATA) && in mmc_discover_cards()
1820 (host_caps & MMC_CAP_SIGNALING_120) != 0) { in mmc_discover_cards()
1825 (host_caps & MMC_CAP_SIGNALING_180) != 0) { in mmc_discover_cards()
1830 (host_caps & MMC_CAP_SIGNALING_120) != 0) { in mmc_discover_cards()
1835 (host_caps & MMC_CAP_SIGNALING_180) != 0) { in mmc_discover_cards()
1840 (host_caps & MMC_CAP_SIGNALING_120) != 0 && in mmc_discover_cards()
1846 (host_caps & MMC_CAP_SIGNALING_180) != 0 && in mmc_discover_cards()
1854 (host_caps & MMC_CAP_SIGNALING_120) != 0 && in mmc_discover_cards()
1862 (host_caps & MMC_CAP_SIGNALING_180) != 0 && in mmc_discover_cards()