Home
last modified time | relevance | path

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

/linux/drivers/mmc/core/
A Dcore.c1456 card->pref_erase = card->ssr.au; in mmc_init_erase()
1461 card->pref_erase = 512 * 1024 / 512; in mmc_init_erase()
1463 card->pref_erase = 1024 * 1024 / 512; in mmc_init_erase()
1465 card->pref_erase = 2 * 1024 * 1024 / 512; in mmc_init_erase()
1467 card->pref_erase = 4 * 1024 * 1024 / 512; in mmc_init_erase()
1468 if (card->pref_erase < card->erase_size) in mmc_init_erase()
1469 card->pref_erase = card->erase_size; in mmc_init_erase()
1471 sz = card->pref_erase % card->erase_size; in mmc_init_erase()
1476 card->pref_erase = 0; in mmc_init_erase()
1874 min_qty = card->pref_erase; in mmc_do_calc_max_discard()
[all …]
A Dqueue.c188 q->limits.discard_granularity = card->pref_erase << 9; in mmc_queue_setup_discard()
190 if (card->pref_erase > max_discard) in mmc_queue_setup_discard()
A Dmmc_test.c1557 sz = (unsigned long)test->card->pref_erase << 9; in mmc_test_area_init()
1922 range1 = rnd_addr / test->card->pref_erase; in mmc_test_rnd_perf()
1935 dev_addr = rnd_addr + test->card->pref_erase * ea + in mmc_test_rnd_perf()
A Dsd.c700 MMC_DEV_ATTR(preferred_erase_size, "%u\n", card->pref_erase << 9);
A Dmmc.c785 MMC_DEV_ATTR(preferred_erase_size, "%u\n", card->pref_erase << 9);
/linux/include/linux/mmc/
A Dcard.h300 unsigned int pref_erase; /* in sectors */ member

Completed in 39 milliseconds