Home
last modified time | relevance | path

Searched refs:v_max (Results 1 – 7 of 7) sorted by relevance

/linux/drivers/iio/dac/
H A Dad3552r-common.c97 s32 *v_min, s32 *v_max) in ad3552r_get_custom_range() argument
114 *v_max = vref + tmp; in ad3552r_get_custom_range()
125 s32 idx, v_max, v_min, span, rem; in ad3552r_calc_gain_and_offset() local
129 ad3552r_get_custom_range(ch_data, &v_min, &v_max); in ad3552r_calc_gain_and_offset()
134 v_max = model_data->ranges_table[idx][1]; in ad3552r_calc_gain_and_offset()
147 span = v_max - v_min; in ad3552r_calc_gain_and_offset()
/linux/drivers/clk/tegra/
H A Dclk-dfll.c1645 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()
/linux/tools/arch/arm64/include/asm/
H A Dcputype.h273 #define MIDR_RANGE(m, v_min, r_min, v_max, r_max) \ argument
277 .rv_max = MIDR_CPU_VAR_REV(v_max, r_max), \
/linux/drivers/gpu/drm/msm/dp/
H A Ddp_link.c1113 int v_max = 0, p_max = 0; in msm_dp_link_adjust_levels() local
1131 if (v_max < data_v) in msm_dp_link_adjust_levels()
1132 v_max = data_v; in msm_dp_link_adjust_levels()
1137 msm_dp_link->phy_params.v_level = v_max >> DP_TRAIN_VOLTAGE_SWING_SHIFT; in msm_dp_link_adjust_levels()
/linux/drivers/net/ethernet/netronome/nfp/nfpcore/
H A Dnfp_target.c454 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()
/linux/drivers/leds/
H A Dleds-lm3533.c183 u8 v_min, u8 v_max) in time_to_val() argument
/linux/sound/pci/trident/
H A Dtrident_main.c44 unsigned short v_min, unsigned short v_max);
3777 … snd_trident_clear_voices(struct snd_trident * trident, unsigned short v_min, unsigned short v_max) in snd_trident_clear_voices() argument
3781 if (snd_BUG_ON(v_min > 63 || v_max > 63)) in snd_trident_clear_voices()
3783 for (i = v_min; i <= v_max; i++) in snd_trident_clear_voices()