Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/gpu/drm/nouveau/nvkm/engine/gr/
Dgk20a.c138 static const unsigned int max_classes = 16; in gk20a_gr_av_to_method() local
150 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()
/linux-5.19.10/net/sched/
Dsch_qfq.c1414 u32 max_cl_shift, maxbudg_shift, max_classes; in qfq_init_qdisc() local
1424 max_classes = min_t(u64, (u64)qdisc_dev(sch)->tx_queue_len + 1, in qfq_init_qdisc()
1427 max_cl_shift = __fls(max_classes); in qfq_init_qdisc()