Lines Matching refs:switch_caps
327 card->switch_caps.hs_max_dtr = HS_MAX_DTR; in sdmmc_read_switch()
330 card->switch_caps.bus_speed = status[13]; in sdmmc_read_switch()
331 card->switch_caps.sd_drv_type = status[9]; in sdmmc_read_switch()
332 card->switch_caps.sd_current_limit = status[7]; in sdmmc_read_switch()
344 (card->switch_caps.bus_speed & UHS_SDR104_BUS_SPEED) && in sdmmc_select_bus_speed()
348 (card->switch_caps.bus_speed & UHS_DDR50_BUS_SPEED) && in sdmmc_select_bus_speed()
352 (card->switch_caps.bus_speed & UHS_SDR50_BUS_SPEED) && in sdmmc_select_bus_speed()
356 (card->switch_caps.bus_speed & UHS_SDR12_BUS_SPEED) && in sdmmc_select_bus_speed()
373 (card->switch_caps.sd_drv_type & SD_DRIVER_TYPE_C)) { in sdmmc_select_driver_type()
395 (card->switch_caps.sd_current_limit & SD_MAX_CURRENT_800MA)) { in sdmmc_set_current_limit()
398 (card->switch_caps.sd_current_limit & SD_MAX_CURRENT_600MA)) { in sdmmc_set_current_limit()
401 (card->switch_caps.sd_current_limit & SD_MAX_CURRENT_400MA)) { in sdmmc_set_current_limit()
404 (card->switch_caps.sd_current_limit & SD_MAX_CURRENT_200MA)) { in sdmmc_set_current_limit()
434 card->switch_caps.uhs_max_dtr = SD_CLOCK_208MHZ; in sdmmc_set_bus_speed()
438 card->switch_caps.uhs_max_dtr = SD_CLOCK_50MHZ; in sdmmc_set_bus_speed()
442 card->switch_caps.uhs_max_dtr = SD_CLOCK_100MHZ; in sdmmc_set_bus_speed()
446 card->switch_caps.uhs_max_dtr = SD_CLOCK_50MHZ; in sdmmc_set_bus_speed()
450 card->switch_caps.uhs_max_dtr = SD_CLOCK_25MHZ; in sdmmc_set_bus_speed()
470 card->bus_io.clock = card->switch_caps.uhs_max_dtr; in sdmmc_set_bus_speed()
533 (card->switch_caps.hs_max_dtr == 0)) { in sdmmc_init_hs()