Home
last modified time | relevance | path

Searched refs:sw_caps (Results 1 – 3 of 3) sorted by relevance

/linux-6.6.21/drivers/mmc/core/
Dsdio.c192 card->sw_caps.sd3_bus_mode = 0; in sdio_read_cccr()
193 card->sw_caps.sd3_drv_type = 0; in sdio_read_cccr()
203 card->sw_caps.sd3_bus_mode in sdio_read_cccr()
208 card->sw_caps.sd3_bus_mode in sdio_read_cccr()
213 card->sw_caps.sd3_bus_mode in sdio_read_cccr()
224 card->sw_caps.sd3_drv_type |= SD_DRIVER_TYPE_A; in sdio_read_cccr()
226 card->sw_caps.sd3_drv_type |= SD_DRIVER_TYPE_C; in sdio_read_cccr()
228 card->sw_caps.sd3_drv_type |= SD_DRIVER_TYPE_D; in sdio_read_cccr()
246 if (!card->sw_caps.sd3_bus_mode) { in sdio_read_cccr()
249 card->sw_caps.hs_max_dtr = 50000000; in sdio_read_cccr()
[all …]
Dsd.c365 card->sw_caps.hs_max_dtr = HIGH_SPEED_MAX_DTR; in mmc_read_switch()
368 card->sw_caps.sd3_bus_mode = status[13]; in mmc_read_switch()
370 card->sw_caps.sd3_drv_type = status[9]; in mmc_read_switch()
371 card->sw_caps.sd3_curr_limit = status[7] | status[6] << 8; in mmc_read_switch()
397 if (card->sw_caps.hs_max_dtr == 0) in mmc_sd_switch_hs()
429 card_drv_type = card->sw_caps.sd3_drv_type | SD_DRIVER_TYPE_B; in sd_select_driver_type()
432 card->sw_caps.uhs_max_dtr, in sd_select_driver_type()
465 (card->sw_caps.sd3_bus_mode & SD_MODE_UHS_SDR104)) { in sd_update_bus_speed_mode()
468 (card->sw_caps.sd3_bus_mode & SD_MODE_UHS_DDR50)) { in sd_update_bus_speed_mode()
471 MMC_CAP_UHS_SDR50)) && (card->sw_caps.sd3_bus_mode & in sd_update_bus_speed_mode()
[all …]
/linux-6.6.21/include/linux/mmc/
Dcard.h319 struct sd_switch_caps sw_caps; /* switch (CMD6) caps */ member