Home
last modified time | relevance | path

Searched refs:ext_csd (Results 1 – 10 of 10) sorted by relevance

/linux/drivers/mmc/core/
A Dmmc.c289 (ext_csd[142] << 16) + (ext_csd[141] << 8) + in mmc_manage_enhanced_area()
391 card->ext_csd.rev = ext_csd[EXT_CSD_REV]; in mmc_decode_ext_csd()
396 card->ext_csd.raw_sectors[0] = ext_csd[EXT_CSD_SEC_CNT + 0]; in mmc_decode_ext_csd()
413 card->ext_csd.raw_card_type = ext_csd[EXT_CSD_CARD_TYPE]; in mmc_decode_ext_csd()
425 card->ext_csd.part_config = ext_csd[EXT_CSD_PART_CONFIG]; in mmc_decode_ext_csd()
441 card->ext_csd.rel_sectors = ext_csd[EXT_CSD_REL_WR_SEC_C]; in mmc_decode_ext_csd()
495 card->ext_csd.boot_ro_lock = ext_csd[EXT_CSD_BOOT_WP]; in mmc_decode_ext_csd()
559 card->ext_csd.rel_param = ext_csd[EXT_CSD_WR_REL_PARAM]; in mmc_decode_ext_csd()
648 card->ext_csd.cmdq_depth = (ext_csd[EXT_CSD_CMDQ_DEPTH] & in mmc_decode_ext_csd()
670 u8 *ext_csd; in mmc_read_ext_csd() local
[all …]
A Dmmc_ops.c344 u8 *ext_csd; in mmc_get_ext_csd() local
357 if (!ext_csd) in mmc_get_ext_csd()
363 kfree(ext_csd); in mmc_get_ext_csd()
365 *new_ext_csd = ext_csd; in mmc_get_ext_csd()
872 if (!card->ext_csd.hpi_en) { in mmc_interrupt_hpi()
916 u8 *ext_csd; in mmc_read_bkops_status() local
922 card->ext_csd.raw_bkops_status = ext_csd[EXT_CSD_BKOPS_STATUS]; in mmc_read_bkops_status()
923 card->ext_csd.raw_exception_status = ext_csd[EXT_CSD_EXP_EVENTS_STATUS]; in mmc_read_bkops_status()
924 kfree(ext_csd); in mmc_read_bkops_status()
939 if (!card->ext_csd.man_bkops_en) in mmc_run_bkops()
[all …]
A Dblock.c841 if (card->ext_csd.cmdq_en) { in mmc_blk_part_switch_pre()
887 card->ext_csd.part_time); 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()
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()
2469 size = card->ext_csd.sectors; in mmc_blk_alloc()
2766 u8 *ext_csd; in mmc_ext_csd_open() local
2795 kfree(ext_csd); in mmc_ext_csd_open()
[all …]
A Dcore.c1485 (arg == MMC_TRIM_ARG && card->ext_csd.rev >= 6)) { in mmc_mmc_erase_timeout()
1486 erase_timeout = card->ext_csd.trim_timeout; in mmc_mmc_erase_timeout()
1487 } else if (card->ext_csd.erase_group_def & 1) { in mmc_mmc_erase_timeout()
1490 erase_timeout = card->ext_csd.trim_timeout; in mmc_mmc_erase_timeout()
1492 erase_timeout = card->ext_csd.hc_erase_timeout; in mmc_mmc_erase_timeout()
1526 erase_timeout *= card->ext_csd.sec_erase_mult; in mmc_mmc_erase_timeout()
1528 erase_timeout *= card->ext_csd.sec_trim_mult; in mmc_mmc_erase_timeout()
1825 if (card->ext_csd.feature_support & MMC_DISCARD_FEATURE) in mmc_can_discard()
2161 if (card->ext_csd.rev < 3 || in mmc_card_alternative_gpt_sector()
2178 boot_sectors_num = card->ext_csd.raw_boot_mult * SZ_128K / in mmc_card_alternative_gpt_sector()
[all …]
A Dqueue.c367 if (mmc_card_mmc(card) && card->ext_csd.data_sector_size) { in mmc_setup_queue()
368 block_size = card->ext_csd.data_sector_size; in mmc_setup_queue()
427 min_t(int, card->ext_csd.cmdq_depth, host->cqe_qdepth); in mmc_init_queue()
A Dquirks.h167 f->ext_csd_rev == card->ext_csd.rev) && in mmc_fixup_device()
A Dmmc_test.c613 return card->ext_csd.sectors; in mmc_test_capacity()
2337 if (card->ext_csd.cmdq_en) in mmc_test_reset()
3231 if (card->ext_csd.cmdq_en) {
/linux/include/linux/mmc/
A Dcard.h311 struct mmc_ext_csd ext_csd; /* mmc v4 extended card specific */ member
343 return card->ext_csd.data_sector_size == 4096; in mmc_large_sector()
/linux/drivers/mmc/host/
A Dmtk-sd.c2269 u8 *ext_csd; in msdc_execute_hs400_tuning() local
2293 ret = mmc_get_ext_csd(card, &ext_csd); in msdc_execute_hs400_tuning()
2296 kfree(ext_csd); in msdc_execute_hs400_tuning()
A Dcqhci-core.c337 if (!card->ext_csd.cmdq_en) in cqhci_enable()

Completed in 52 milliseconds