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()
1416 u32 max_cl_shift, maxbudg_shift, max_classes; in qfq_init_qdisc() local1427 max_classes = QFQ_MAX_AGG_CLASSES; in qfq_init_qdisc()1429 max_classes = qdisc_dev(sch)->tx_queue_len + 1; in qfq_init_qdisc()1431 max_cl_shift = __fls(max_classes); in qfq_init_qdisc()