Home
last modified time | relevance | path

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

/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()
/drivers/macintosh/
Dvia-pmu.c701 long pcharge, charge, vb, vmax, lmax; in done_battery_state_ohare() local
715 lmax = 6500; in done_battery_state_ohare()
719 lmax = 6500; in done_battery_state_ohare()
741 if (pcharge > lmax) in done_battery_state_ohare()
742 pcharge = lmax; in done_battery_state_ohare()
744 pcharge = 100 - pcharge / lmax; in done_battery_state_ohare()
/drivers/hid/
Dhid-core.c1025 __s32 lmax = multiplier->logical_maximum; in hid_calculate_multiplier() local
1036 if (lmax - lmin == 0) in hid_calculate_multiplier()
1042 m = ((v - lmin)/(lmax - lmin) * (pmax - pmin) + pmin); in hid_calculate_multiplier()