Searched refs:max_classes (Results 1 – 2 of 2) sorted by relevance
138 static const unsigned int max_classes = 16; in gk20a_gr_av_to_method() local150 pack = vzalloc((sizeof(*pack) * (max_classes + 1)) + in gk20a_gr_av_to_method()151 (sizeof(*init) * (nent + max_classes + 1))); in gk20a_gr_av_to_method()157 init = (void *)(pack + max_classes + 1); in gk20a_gr_av_to_method()170 if (++classidx >= max_classes) { in gk20a_gr_av_to_method()
1407 u32 max_cl_shift, maxbudg_shift, max_classes; in qfq_init_qdisc() local1417 max_classes = min_t(u64, (u64)qdisc_dev(sch)->tx_queue_len + 1, in qfq_init_qdisc()1420 max_cl_shift = __fls(max_classes); in qfq_init_qdisc()