Searched refs:max_qty (Results 1 – 1 of 1) sorted by relevance
1876 unsigned int max_discard, x, y, qty = 0, max_qty, min_qty, timeout; in mmc_do_calc_max_discard() local1882 max_qty = UINT_MAX >> card->erase_shift; in mmc_do_calc_max_discard()1885 max_qty = UINT_MAX; in mmc_do_calc_max_discard()1888 max_qty = UINT_MAX / card->erase_size; in mmc_do_calc_max_discard()1907 for (x = 1; x && x <= max_qty && max_qty - x >= qty; x <<= 1) { in mmc_do_calc_max_discard()