Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/mmc/core/
Dcore.c1468 card->pref_erase = card->ssr.au; in mmc_init_erase()
1473 card->pref_erase = 512 * 1024 / 512; in mmc_init_erase()
1475 card->pref_erase = 1024 * 1024 / 512; in mmc_init_erase()
1477 card->pref_erase = 2 * 1024 * 1024 / 512; in mmc_init_erase()
1479 card->pref_erase = 4 * 1024 * 1024 / 512; in mmc_init_erase()
1480 if (card->pref_erase < card->erase_size) in mmc_init_erase()
1481 card->pref_erase = card->erase_size; in mmc_init_erase()
1483 sz = card->pref_erase % card->erase_size; in mmc_init_erase()
1485 card->pref_erase += card->erase_size - sz; in mmc_init_erase()
1488 card->pref_erase = 0; in mmc_init_erase()
[all …]
Dqueue.c187 q->limits.discard_granularity = card->pref_erase << 9; in mmc_queue_setup_discard()
189 if (card->pref_erase > max_discard) in mmc_queue_setup_discard()
Dmmc_test.c1552 sz = (unsigned long)test->card->pref_erase << 9; in mmc_test_area_init()
1917 range1 = rnd_addr / test->card->pref_erase; in mmc_test_rnd_perf()
1930 dev_addr = rnd_addr + test->card->pref_erase * ea + in mmc_test_rnd_perf()
Dsd.c708 MMC_DEV_ATTR(preferred_erase_size, "%u\n", card->pref_erase << 9);
Dmmc.c793 MMC_DEV_ATTR(preferred_erase_size, "%u\n", card->pref_erase << 9);
/linux-6.6.21/include/linux/mmc/
Dcard.h305 unsigned int pref_erase; /* in sectors */ member