Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/mmc/core/
Dmmc.c122 if (card->ext_csd.erase_group_def & 1) in mmc_set_erase_size()
123 card->erase_size = card->ext_csd.hc_erase_size; in mmc_set_erase_size()
188 u8 card_type = card->ext_csd.raw_card_type; in mmc_select_card_type()
242 card->ext_csd.strobe_support && in mmc_select_card_type()
246 card->ext_csd.hs_max_dtr = hs_max_dtr; in mmc_select_card_type()
247 card->ext_csd.hs200_max_dtr = hs200_max_dtr; in mmc_select_card_type()
251 static void mmc_manage_enhanced_area(struct mmc_card *card, u8 *ext_csd) in mmc_manage_enhanced_area() argument
258 card->ext_csd.enhanced_area_offset = -EINVAL; in mmc_manage_enhanced_area()
259 card->ext_csd.enhanced_area_size = -EINVAL; in mmc_manage_enhanced_area()
266 if ((ext_csd[EXT_CSD_PARTITION_SUPPORT] & 0x2) && in mmc_manage_enhanced_area()
[all …]
Dmmc_ops.c361 u8 *ext_csd; in mmc_get_ext_csd() local
373 ext_csd = kzalloc(512, GFP_KERNEL); in mmc_get_ext_csd()
374 if (!ext_csd) in mmc_get_ext_csd()
377 err = mmc_send_cxd_data(card, card->host, MMC_SEND_EXT_CSD, ext_csd, in mmc_get_ext_csd()
380 kfree(ext_csd); in mmc_get_ext_csd()
382 *new_ext_csd = ext_csd; in mmc_get_ext_csd()
574 timeout_ms = card->ext_csd.generic_cmd6_time; in __mmc_switch()
834 unsigned int busy_timeout_ms = card->ext_csd.out_of_int_time; in mmc_send_hpi_cmd()
840 cmd.opcode = card->ext_csd.hpi_cmd; in mmc_send_hpi_cmd()
886 if (!card->ext_csd.hpi_en) { in mmc_interrupt_hpi()
[all …]
Dblock.c219 if (card->ext_csd.boot_ro_lock & EXT_CSD_BOOT_WP_B_PERM_WP_EN) in power_ro_lock_show()
221 else if (card->ext_csd.boot_ro_lock & EXT_CSD_BOOT_WP_B_PWR_WP_EN) in power_ro_lock_show()
571 card->ext_csd.part_config = value; in __mmc_blk_ioctl_cmd()
584 card->ext_csd.cache_ctrl = value; in __mmc_blk_ioctl_cmd()
803 if (card->ext_csd.cmdq_en) { in mmc_blk_part_switch_pre()
821 if (card->reenable_cmdq && !card->ext_csd.cmdq_en) in mmc_blk_part_switch_post()
838 u8 part_config = card->ext_csd.part_config; in mmc_blk_part_switch()
849 card->ext_csd.part_time); in mmc_blk_part_switch()
855 card->ext_csd.part_config = part_config; in mmc_blk_part_switch()
995 u8 **ext_csd; in mmc_blk_issue_drv_op() local
[all …]
Dcore.c1553 (arg == MMC_TRIM_ARG && card->ext_csd.rev >= 6)) { in mmc_mmc_erase_timeout()
1554 erase_timeout = card->ext_csd.trim_timeout; in mmc_mmc_erase_timeout()
1555 } else if (card->ext_csd.erase_group_def & 1) { in mmc_mmc_erase_timeout()
1558 erase_timeout = card->ext_csd.trim_timeout; in mmc_mmc_erase_timeout()
1560 erase_timeout = card->ext_csd.hc_erase_timeout; in mmc_mmc_erase_timeout()
1594 erase_timeout *= card->ext_csd.sec_erase_mult; in mmc_mmc_erase_timeout()
1596 erase_timeout *= card->ext_csd.sec_trim_mult; in mmc_mmc_erase_timeout()
1842 !(card->ext_csd.sec_feature_support & EXT_CSD_SEC_ER_EN)) in mmc_erase()
1846 !(card->ext_csd.sec_feature_support & EXT_CSD_SEC_GB_CL_EN)) in mmc_erase()
1896 if ((card->ext_csd.sec_feature_support & EXT_CSD_SEC_GB_CL_EN) && in mmc_can_trim()
[all …]
Dqueue.c387 if (mmc_card_mmc(card) && card->ext_csd.data_sector_size) { in mmc_setup_queue()
388 block_size = card->ext_csd.data_sector_size; in mmc_setup_queue()
445 min_t(int, card->ext_csd.cmdq_depth, host->cqe_qdepth); in mmc_init_queue()
Dquirks.h173 f->ext_csd_rev == card->ext_csd.rev) && in mmc_fixup_device()
Dmmc_test.c614 return card->ext_csd.sectors; in mmc_test_capacity()
2352 if (card->ext_csd.cmdq_en) in mmc_test_reset()
3247 if (card->ext_csd.cmdq_en) {
/kernel/linux/linux-5.10/include/linux/mmc/
Dcard.h290 struct mmc_ext_csd ext_csd; /* mmc v4 extended card specific */ member
321 return card->ext_csd.data_sector_size == 4096; in mmc_large_sector()
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/drivers/
D0030_linux_drivers_pci_misc_nvmem_of_mtd_mmc.patch1837 - card->ext_csd.cache_ctrl = value;
1937 - if (card->ext_csd.cmdq_en) {
1950 - else if (card->reenable_cmdq && !card->ext_csd.cmdq_en)
1959 - card->ext_csd.generic_cmd6_time);
1968 - card->ext_csd.generic_cmd6_time);
1977 - card->ext_csd.generic_cmd6_time);
2995 @@ -297,7 +297,7 @@ static void mmc_manage_enhanced_area(struct mmc_card *card, u8 *ext_csd)
3004 @@ -313,7 +313,7 @@ static void mmc_manage_gp_partitions(struct mmc_card *card, u8 *ext_csd)
3013 @@ -343,7 +343,8 @@ static void mmc_manage_gp_partitions(struct mmc_card *card, u8 *ext_csd)
3014 (ext_csd[EXT_CSD_GP_SIZE_MULT + idx * 3 + 1]
[all …]
/kernel/linux/linux-5.10/drivers/mmc/host/
Dcqhci.c328 if (!card->ext_csd.cmdq_en) in cqhci_enable()
/kernel/linux/patches/linux-5.10/unionpi_tiger_pacth/
Dlinux-5.10.patch48781 + return card->ext_csd.sectors;
48801 + cur_part_number = card->ext_csd.part_config
48805 + original_part_config = card->ext_csd.part_config;
48810 + card->ext_csd.part_time);
48814 + card->ext_csd.part_config = cur_part_number;
48839 + card->ext_csd.part_time);
48842 + card->ext_csd.part_config = original_part_config;