Searched refs:pref_erase (Results 1 – 7 of 7) sorted by relevance
1519 card->pref_erase = card->ssr.au; in mmc_init_erase()1524 card->pref_erase = 512 * 1024 / 512; in mmc_init_erase()1526 card->pref_erase = 1024 * 1024 / 512; in mmc_init_erase()1528 card->pref_erase = 2 * 1024 * 1024 / 512; in mmc_init_erase()1530 card->pref_erase = 4 * 1024 * 1024 / 512; in mmc_init_erase()1531 if (card->pref_erase < card->erase_size) in mmc_init_erase()1532 card->pref_erase = card->erase_size; in mmc_init_erase()1534 sz = card->pref_erase % card->erase_size; in mmc_init_erase()1536 card->pref_erase += card->erase_size - sz; in mmc_init_erase()1539 card->pref_erase = 0; in mmc_init_erase()[all …]
190 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()
1572 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()
689 MMC_DEV_ATTR(preferred_erase_size, "%u\n", card->pref_erase << 9);
782 MMC_DEV_ATTR(preferred_erase_size, "%u\n", card->pref_erase << 9);
279 unsigned int pref_erase; /* in sectors */ member
3897 q->limits.discard_granularity = card->pref_erase << 9;3899 if (card->pref_erase > max_discard)