Home
last modified time | relevance | path

Searched refs:max_classes (Results 1 – 2 of 2) sorted by relevance

/Linux-v4.19/drivers/gpu/drm/nouveau/nvkm/engine/gr/
Dgk20a.c134 static const unsigned int max_classes = 16; in gk20a_gr_av_to_method() local
146 pack = vzalloc((sizeof(*pack) * max_classes) + in gk20a_gr_av_to_method()
153 init = (void *)(pack + max_classes); in gk20a_gr_av_to_method()
165 if (++classidx >= max_classes) { in gk20a_gr_av_to_method()
/Linux-v4.19/net/sched/
Dsch_qfq.c1425 u32 max_cl_shift, maxbudg_shift, max_classes; in qfq_init_qdisc() local
1436 max_classes = QFQ_MAX_AGG_CLASSES; in qfq_init_qdisc()
1438 max_classes = qdisc_dev(sch)->tx_queue_len + 1; in qfq_init_qdisc()
1440 max_cl_shift = __fls(max_classes); in qfq_init_qdisc()