Home
last modified time | relevance | path

Searched refs:pref_erase (Results 1 – 7 of 7) sorted by relevance

/kernel/linux/linux-5.10/drivers/mmc/core/
Dcore.c1513 card->pref_erase = card->ssr.au; in mmc_init_erase()
1518 card->pref_erase = 512 * 1024 / 512; in mmc_init_erase()
1520 card->pref_erase = 1024 * 1024 / 512; in mmc_init_erase()
1522 card->pref_erase = 2 * 1024 * 1024 / 512; in mmc_init_erase()
1524 card->pref_erase = 4 * 1024 * 1024 / 512; in mmc_init_erase()
1525 if (card->pref_erase < card->erase_size) in mmc_init_erase()
1526 card->pref_erase = card->erase_size; in mmc_init_erase()
1528 sz = card->pref_erase % card->erase_size; in mmc_init_erase()
1530 card->pref_erase += card->erase_size - sz; in mmc_init_erase()
1533 card->pref_erase = 0; in mmc_init_erase()
[all …]
Dqueue.c190 q->limits.discard_granularity = card->pref_erase << 9; in mmc_queue_setup_discard()
192 if (card->pref_erase > max_discard) in mmc_queue_setup_discard()
Dmmc_test.c1572 sz = (unsigned long)test->card->pref_erase << 9; in mmc_test_area_init()
1937 range1 = rnd_addr / test->card->pref_erase; in mmc_test_rnd_perf()
1950 dev_addr = rnd_addr + test->card->pref_erase * ea + in mmc_test_rnd_perf()
Dsd.c689 MMC_DEV_ATTR(preferred_erase_size, "%u\n", card->pref_erase << 9);
Dmmc.c782 MMC_DEV_ATTR(preferred_erase_size, "%u\n", card->pref_erase << 9);
/kernel/linux/linux-5.10/include/linux/mmc/
Dcard.h278 unsigned int pref_erase; /* in sectors */ member
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/drivers/
D0030_linux_drivers_pci_misc_nvmem_of_mtd_mmc.patch3897 q->limits.discard_granularity = card->pref_erase << 9;
3899 if (card->pref_erase > max_discard)