Lines Matching refs:max_current
489 u32 voltage, max_current; in sd_get_host_max_current() local
494 max_current = host->max_current_180; in sd_get_host_max_current()
498 max_current = host->max_current_300; in sd_get_host_max_current()
502 max_current = host->max_current_330; in sd_get_host_max_current()
505 max_current = 0; in sd_get_host_max_current()
508 return max_current; in sd_get_host_max_current()
515 u32 max_current; in sd_set_current_limit() local
531 max_current = sd_get_host_max_current(card->host); in sd_set_current_limit()
548 if (max_current >= 800 && in sd_set_current_limit()
551 else if (max_current >= 600 && in sd_set_current_limit()
554 else if (max_current >= 400 && in sd_set_current_limit()
557 else if (max_current >= 200 && in sd_set_current_limit()
721 u32 max_current; in mmc_sd_get_cid() local
761 max_current = sd_get_host_max_current(host); in mmc_sd_get_cid()
762 if (max_current > 150) in mmc_sd_get_cid()