Lines Matching refs:ext_csd

230 	if (card->ext_csd.boot_ro_lock & EXT_CSD_BOOT_WP_B_PERM_WP_EN)  in power_ro_lock_show()
232 else if (card->ext_csd.boot_ro_lock & EXT_CSD_BOOT_WP_B_PWR_WP_EN) in power_ro_lock_show()
339 md->queue.card->ext_csd.boot_ro_lockable) { in mmc_disk_attrs_is_visible()
341 if (!(md->queue.card->ext_csd.boot_ro_lock & in mmc_disk_attrs_is_visible()
587 card->ext_csd.part_config = value; in __mmc_blk_ioctl_cmd()
600 card->ext_csd.cache_ctrl = value; in __mmc_blk_ioctl_cmd()
841 if (card->ext_csd.cmdq_en) { in mmc_blk_part_switch_pre()
859 if (card->reenable_cmdq && !card->ext_csd.cmdq_en) in mmc_blk_part_switch_post()
876 u8 part_config = card->ext_csd.part_config; in mmc_blk_part_switch()
887 card->ext_csd.part_time); in mmc_blk_part_switch()
893 card->ext_csd.part_config = part_config; in mmc_blk_part_switch()
1033 u8 **ext_csd; in mmc_blk_issue_drv_op() local
1043 if (card->ext_csd.cmdq_en) { in mmc_blk_issue_drv_op()
1059 else if (card->reenable_cmdq && !card->ext_csd.cmdq_en) in mmc_blk_issue_drv_op()
1064 card->ext_csd.boot_ro_lock | in mmc_blk_issue_drv_op()
1066 card->ext_csd.part_time); in mmc_blk_issue_drv_op()
1071 card->ext_csd.boot_ro_lock |= in mmc_blk_issue_drv_op()
1080 ext_csd = mq_rq->drv_op_data; in mmc_blk_issue_drv_op()
1081 ret = mmc_get_ext_csd(card, ext_csd); in mmc_blk_issue_drv_op()
1117 card->ext_csd.generic_cmd6_time); in mmc_blk_issue_discard_rq()
1159 card->ext_csd.generic_cmd6_time); in mmc_blk_issue_secdiscard_rq()
1177 card->ext_csd.generic_cmd6_time); in mmc_blk_issue_secdiscard_rq()
1221 if (!(card->ext_csd.rel_param & EXT_CSD_WR_REL_PARAM_EN)) { in mmc_apply_rel_rw()
1223 if (!IS_ALIGNED(blk_rq_pos(req), card->ext_csd.rel_sectors)) in mmc_apply_rel_rw()
1226 if (brq->data.blocks > card->ext_csd.rel_sectors) in mmc_apply_rel_rw()
1227 brq->data.blocks = card->ext_csd.rel_sectors; in mmc_apply_rel_rw()
1228 else if (brq->data.blocks < card->ext_csd.rel_sectors) in mmc_apply_rel_rw()
1381 do_data_tag = card->ext_csd.data_tag_unit_size && in mmc_blk_data_prep()
1385 card->ext_csd.data_tag_unit_size); in mmc_blk_data_prep()
2430 ((card->ext_csd.rel_param & EXT_CSD_WR_REL_PARAM_EN) || in mmc_blk_alloc_req()
2431 card->ext_csd.rel_sectors)) { in mmc_blk_alloc_req()
2469 size = card->ext_csd.sectors; in mmc_blk_alloc()
2766 u8 *ext_csd; in mmc_ext_csd_open() local
2780 req_to_mmc_queue_req(req)->drv_op_data = &ext_csd; in mmc_ext_csd_open()
2790 n += sprintf(buf + n, "%02x", ext_csd[i]); in mmc_ext_csd_open()
2795 kfree(ext_csd); in mmc_ext_csd_open()
2800 kfree(ext_csd); in mmc_ext_csd_open()