Searched refs:v_max (Results 1 – 6 of 6) sorted by relevance
/drivers/power/supply/ |
D | lego_ev3_battery.c | 33 int v_max; member 67 val->intval = batt->v_max; in lego_ev3_battery_get_property() 112 batt->v_max = 7800000; in lego_ev3_battery_set_property() 192 batt->v_max = 84000000; in lego_ev3_battery_probe() 197 batt->v_max = 90000000; in lego_ev3_battery_probe()
|
/drivers/clk/tegra/ |
D | clk-dfll.c | 1645 static int dfll_build_pwm_lut(struct tegra_dfll *td, unsigned long v_max) in dfll_build_pwm_lut() argument 1657 if (reg_volt > v_max) in dfll_build_pwm_lut() 1700 static int dfll_build_i2c_lut(struct tegra_dfll *td, unsigned long v_max) in dfll_build_i2c_lut() argument 1727 v += max(1UL, (v_max - v) / (MAX_DFLL_VOLTAGES - j)); in dfll_build_i2c_lut() 1738 v = (j == MAX_DFLL_VOLTAGES - 1) ? v_max : v_opp; in dfll_build_i2c_lut() 1745 if (v >= v_max) in dfll_build_i2c_lut() 1767 unsigned long rate, v_max; in dfll_build_lut() local 1776 v_max = dev_pm_opp_get_voltage(opp); in dfll_build_lut() 1780 return dfll_build_pwm_lut(td, v_max); in dfll_build_lut() 1782 return dfll_build_i2c_lut(td, v_max); in dfll_build_lut()
|
/drivers/iio/dac/ |
D | ad3552r.c | 713 s32 *v_max) in ad3552r_get_custom_range() argument 730 *v_max = vref + tmp; in ad3552r_get_custom_range() 740 s32 idx, v_max, v_min, span, rem; in ad3552r_calc_gain_and_offset() local 744 ad3552r_get_custom_range(dac, ch, &v_min, &v_max); in ad3552r_calc_gain_and_offset() 750 v_max = ad3542r_ch_ranges[idx][1]; in ad3552r_calc_gain_and_offset() 753 v_max = ad3552r_ch_ranges[idx][1]; in ad3552r_calc_gain_and_offset() 767 span = v_max - v_min; in ad3552r_calc_gain_and_offset()
|
/drivers/gpu/drm/msm/dp/ |
D | dp_link.c | 1105 int v_max = 0, p_max = 0; in dp_link_adjust_levels() local 1123 if (v_max < data_v) in dp_link_adjust_levels() 1124 v_max = data_v; in dp_link_adjust_levels() 1129 dp_link->phy_params.v_level = v_max >> DP_TRAIN_VOLTAGE_SWING_SHIFT; in dp_link_adjust_levels()
|
/drivers/net/ethernet/netronome/nfp/nfpcore/ |
D | nfp_target.c | 454 int iid_lsb, int idx_lsb, int v_max) in nfp_encode_basic_search() argument 459 for (v = 0; v < v_max; v++) { in nfp_encode_basic_search()
|
/drivers/leds/ |
D | leds-lm3533.c | 183 u8 v_min, u8 v_max) in time_to_val() argument
|