Searched refs:lmax (Results 1 – 3 of 3) sorted by relevance
416 int lmin, lmax, ldef; in pvr2_try_fmt_vid_cap() local425 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()
701 long pcharge, charge, vb, vmax, lmax; in done_battery_state_ohare() local715 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()
1025 __s32 lmax = multiplier->logical_maximum; in hid_calculate_multiplier() local1036 if (lmax - lmin == 0) in hid_calculate_multiplier()1042 m = ((v - lmin)/(lmax - lmin) * (pmax - pmin) + pmin); in hid_calculate_multiplier()