Lines Matching refs:switch_caps

337 		card->switch_caps.hs_max_dtr = HS_MAX_DTR;  in sdmmc_read_switch()
339 card->switch_caps.hs_max_dtr = HS_UNSUPPORTED; in sdmmc_read_switch()
343 card->switch_caps.uhs_max_dtr = UHS_SDR104_MAX_DTR; in sdmmc_read_switch()
345 card->switch_caps.uhs_max_dtr = UHS_DDR50_MAX_DTR; in sdmmc_read_switch()
347 card->switch_caps.uhs_max_dtr = UHS_SDR50_MAX_DTR; in sdmmc_read_switch()
349 card->switch_caps.uhs_max_dtr = UHS_SDR25_MAX_DTR; in sdmmc_read_switch()
351 card->switch_caps.uhs_max_dtr = UHS_SDR12_MAX_DTR; in sdmmc_read_switch()
353 card->switch_caps.uhs_max_dtr = UHS_UNSUPPORTED; in sdmmc_read_switch()
356 card->switch_caps.bus_speed = status[13]; in sdmmc_read_switch()
357 card->switch_caps.sd_drv_type = status[9]; in sdmmc_read_switch()
358 card->switch_caps.sd_current_limit = status[7]; in sdmmc_read_switch()
373 (card->switch_caps.bus_speed & UHS_SDR104_BUS_SPEED)) { in sdmmc_select_bus_speed()
376 (card->switch_caps.bus_speed & UHS_DDR50_BUS_SPEED)) { in sdmmc_select_bus_speed()
379 (card->switch_caps.bus_speed & UHS_SDR50_BUS_SPEED)) { in sdmmc_select_bus_speed()
381 } else if (card->switch_caps.bus_speed & UHS_SDR12_BUS_SPEED) { in sdmmc_select_bus_speed()
389 (card->switch_caps.bus_speed & HIGH_SPEED_BUS_SPEED)) { in sdmmc_select_bus_speed()
408 (card->switch_caps.sd_drv_type & SD_DRIVER_TYPE_C)) { in sdmmc_select_driver_type()
428 (card->switch_caps.sd_current_limit & SD_MAX_CURRENT_800MA)) { in sdmmc_set_current_limit()
431 (card->switch_caps.sd_current_limit & SD_MAX_CURRENT_600MA)) { in sdmmc_set_current_limit()
434 (card->switch_caps.sd_current_limit & SD_MAX_CURRENT_400MA)) { in sdmmc_set_current_limit()
437 (card->switch_caps.sd_current_limit & SD_MAX_CURRENT_200MA)) { in sdmmc_set_current_limit()
472 card_clock = MIN(card->host_props.f_max, card->switch_caps.uhs_max_dtr); in sdmmc_set_bus_speed()
495 card_clock = MIN(card->host_props.f_max, card->switch_caps.hs_max_dtr); in sdmmc_set_bus_speed()
582 (card->switch_caps.hs_max_dtr == HS_UNSUPPORTED)) { in sdmmc_init_hs()