Searched refs:max_qty (Results 1 – 1 of 1) sorted by relevance
1881 unsigned int max_discard, x, y, qty = 0, max_qty, min_qty, timeout; in mmc_do_calc_max_discard() local1887 max_qty = UINT_MAX >> card->erase_shift; in mmc_do_calc_max_discard()1890 max_qty = UINT_MAX; in mmc_do_calc_max_discard()1893 max_qty = UINT_MAX / card->erase_size; in mmc_do_calc_max_discard()1912 for (x = 1; x && x <= max_qty && max_qty - x >= qty; x <<= 1) { in mmc_do_calc_max_discard()