Lines Matching refs:host_caps

1513 	int host_caps;  in mmc_host_timing()  local
1515 host_caps = mmcbr_get_caps(dev); in mmc_host_timing()
1517 #define HOST_TIMING_CAP(host_caps, cap) ({ \ in mmc_host_timing() argument
1519 if (((host_caps) & (cap)) == (cap)) \ in mmc_host_timing()
1530 return (HOST_TIMING_CAP(host_caps, MMC_CAP_HSPEED)); in mmc_host_timing()
1532 return (HOST_TIMING_CAP(host_caps, MMC_CAP_UHS_SDR12)); in mmc_host_timing()
1534 return (HOST_TIMING_CAP(host_caps, MMC_CAP_UHS_SDR25)); in mmc_host_timing()
1536 return (HOST_TIMING_CAP(host_caps, MMC_CAP_UHS_DDR50)); in mmc_host_timing()
1538 return (HOST_TIMING_CAP(host_caps, MMC_CAP_UHS_SDR50)); in mmc_host_timing()
1540 return (HOST_TIMING_CAP(host_caps, MMC_CAP_UHS_SDR104)); in mmc_host_timing()
1542 return (HOST_TIMING_CAP(host_caps, MMC_CAP_MMC_DDR52)); in mmc_host_timing()
1544 return (HOST_TIMING_CAP(host_caps, MMC_CAP_MMC_HS200_120) || in mmc_host_timing()
1545 HOST_TIMING_CAP(host_caps, MMC_CAP_MMC_HS200_180)); in mmc_host_timing()
1547 return (HOST_TIMING_CAP(host_caps, MMC_CAP_MMC_HS400_120) || in mmc_host_timing()
1548 HOST_TIMING_CAP(host_caps, MMC_CAP_MMC_HS400_180)); in mmc_host_timing()
1550 return (HOST_TIMING_CAP(host_caps, MMC_CAP_MMC_HS400 | in mmc_host_timing()
1591 int err, host_caps, i, newcard; in mmc_discover_cards() local
1597 host_caps = mmcbr_get_caps(sc->dev); in mmc_discover_cards()
1733 if ((host_caps & MMC_CAP_4_BIT_DATA) && in mmc_discover_cards()
1813 (host_caps & MMC_CAP_SIGNALING_120) != 0) { in mmc_discover_cards()
1818 (host_caps & MMC_CAP_SIGNALING_180) != 0) { in mmc_discover_cards()
1823 (host_caps & MMC_CAP_SIGNALING_120) != 0) { in mmc_discover_cards()
1828 (host_caps & MMC_CAP_SIGNALING_180) != 0) { in mmc_discover_cards()
1833 (host_caps & MMC_CAP_SIGNALING_120) != 0 && in mmc_discover_cards()
1839 (host_caps & MMC_CAP_SIGNALING_180) != 0 && in mmc_discover_cards()
1847 (host_caps & MMC_CAP_SIGNALING_120) != 0 && in mmc_discover_cards()
1855 (host_caps & MMC_CAP_SIGNALING_180) != 0 && in mmc_discover_cards()