Searched refs:max_qty (Results 1 – 1 of 1) sorted by relevance
1877 unsigned int max_discard, x, y, qty = 0, max_qty, min_qty, timeout; in mmc_do_calc_max_discard() local1883 max_qty = UINT_MAX >> card->erase_shift; in mmc_do_calc_max_discard()1886 max_qty = UINT_MAX; in mmc_do_calc_max_discard()1889 max_qty = UINT_MAX / card->erase_size; in mmc_do_calc_max_discard()1908 for (x = 1; x && x <= max_qty && max_qty - x >= qty; x <<= 1) { in mmc_do_calc_max_discard()