Home
last modified time | relevance | path

Searched refs:lmax (Results 1 – 8 of 8) sorted by relevance

/linux-6.6.21/net/sched/
Dsch_qfq.c155 int lmax; member
258 u32 lmax, u32 weight) in qfq_init_agg() argument
263 agg->lmax = lmax; in qfq_init_agg()
268 u32 lmax, u32 weight) in qfq_find_agg() argument
273 if (agg->lmax == lmax && agg->class_weight == weight) in qfq_find_agg()
297 agg->budgetmax = new_num_classes * agg->lmax; in qfq_update_agg()
379 u32 lmax) in qfq_change_agg() argument
385 if (lmax > QFQ_MAX_LMAX) in qfq_change_agg()
388 new_agg = qfq_find_agg(q, lmax, weight); in qfq_change_agg()
393 qfq_init_agg(q, new_agg, lmax, weight); in qfq_change_agg()
[all …]
/linux-6.6.21/drivers/media/usb/pvrusb2/
Dpvrusb2-v4l2.c416 int lmin, lmax, ldef; in pvr2_try_fmt_vid_cap() local
425 lmax = pvr2_ctrl_get_max(hcp); in pvr2_try_fmt_vid_cap()
431 else if (w > lmax) in pvr2_try_fmt_vid_cap()
432 w = lmax; in pvr2_try_fmt_vid_cap()
434 lmax = pvr2_ctrl_get_max(vcp); in pvr2_try_fmt_vid_cap()
440 else if (h > lmax) in pvr2_try_fmt_vid_cap()
441 h = lmax; in pvr2_try_fmt_vid_cap()
/linux-6.6.21/drivers/base/regmap/
Dregcache-maple.c245 unsigned long lmax = max; in regcache_maple_sync() local
255 for (r = max(mas.index, lmin); r <= min(mas.last, lmax); r++) { in regcache_maple_sync()
/linux-6.6.21/drivers/macintosh/
Dvia-pmu.c691 long pcharge, charge, vb, vmax, lmax; in done_battery_state_ohare() local
705 lmax = 6500; in done_battery_state_ohare()
709 lmax = 6500; in done_battery_state_ohare()
731 if (pcharge > lmax) in done_battery_state_ohare()
732 pcharge = lmax; in done_battery_state_ohare()
734 pcharge = 100 - pcharge / lmax; in done_battery_state_ohare()
/linux-6.6.21/sound/core/
Dcontrol.c1087 long long lval, lmin, lmax, lstep; in sanity_check_int_value() local
1095 lmax = 1; in sanity_check_int_value()
1101 lmax = info->value.integer.max; in sanity_check_int_value()
1107 lmax = info->value.integer64.max; in sanity_check_int_value()
1113 lmax = info->value.enumerated.items - 1; in sanity_check_int_value()
1118 if (lval < lmin || lval > lmax) { in sanity_check_int_value()
1124 control->id.index, lval, lmin, lmax, i); in sanity_check_int_value()
/linux-6.6.21/tools/include/uapi/linux/
Dpkt_sched.h777 __u32 lmax; member
/linux-6.6.21/include/uapi/linux/
Dpkt_sched.h814 __u32 lmax; member
/linux-6.6.21/drivers/hid/
Dhid-core.c1033 __s32 lmax = multiplier->logical_maximum; in hid_calculate_multiplier() local
1044 if (lmax - lmin == 0) in hid_calculate_multiplier()
1050 m = ((v - lmin)/(lmax - lmin) * (pmax - pmin) + pmin); in hid_calculate_multiplier()