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)); in mmc_host_timing()
1553 return (HOST_TIMING_CAP(host_caps, MMC_CAP_MMC_HS400)); in mmc_host_timing()
1555 return (HOST_TIMING_CAP(host_caps, MMC_CAP_MMC_HS400 | in mmc_host_timing()
1596 int err, host_caps, i, newcard; in mmc_discover_cards() local
1602 host_caps = mmcbr_get_caps(sc->dev); in mmc_discover_cards()
1738 if ((host_caps & MMC_CAP_4_BIT_DATA) && in mmc_discover_cards()
1818 (host_caps & MMC_CAP_SIGNALING_120) != 0) { in mmc_discover_cards()
1823 (host_caps & MMC_CAP_SIGNALING_180) != 0) { in mmc_discover_cards()
1828 (host_caps & MMC_CAP_SIGNALING_120) != 0) { in mmc_discover_cards()
1833 (host_caps & MMC_CAP_SIGNALING_180) != 0) { in mmc_discover_cards()
1838 (host_caps & MMC_CAP_SIGNALING_120) != 0 && in mmc_discover_cards()
1844 (host_caps & MMC_CAP_SIGNALING_180) != 0 && in mmc_discover_cards()
1852 (host_caps & MMC_CAP_SIGNALING_120) != 0 && in mmc_discover_cards()
1860 (host_caps & MMC_CAP_SIGNALING_180) != 0 && in mmc_discover_cards()