Searched refs:main_md (Results 1 – 1 of 1) sorted by relevance
647 struct mmc_blk_data *main_md = dev_get_drvdata(&card->dev); in __mmc_blk_ioctl_cmd() local655 main_md->part_curr = value & EXT_CSD_PART_CONFIG_ACC_MASK; in __mmc_blk_ioctl_cmd()959 struct mmc_blk_data *main_md = dev_get_drvdata(&card->dev); in mmc_blk_part_switch() local961 if (main_md->part_curr == part_type) in mmc_blk_part_switch()984 ret = mmc_blk_part_switch_post(card, main_md->part_curr); in mmc_blk_part_switch()987 main_md->part_curr = part_type; in mmc_blk_part_switch()1078 struct mmc_blk_data *main_md = dev_get_drvdata(&host->card->dev); in mmc_blk_reset() local1090 main_md->part_curr = err ? MMC_BLK_PART_INVALID : main_md->part_type; in mmc_blk_reset()