Searched refs:pref_erase (Results 1 – 6 of 6) sorted by relevance
1468 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 …]
187 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()
1552 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()
708 MMC_DEV_ATTR(preferred_erase_size, "%u\n", card->pref_erase << 9);
793 MMC_DEV_ATTR(preferred_erase_size, "%u\n", card->pref_erase << 9);
305 unsigned int pref_erase; /* in sectors */ member