Home
last modified time | relevance | path

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

/openbmc/linux/drivers/iio/addac/
H A Dad74115.c955 unsigned int i, en_val, step_val, rate_val, tmp; in ad74115_get_dac_rate() local
963 step_val = FIELD_GET(AD74115_OUTPUT_SLEW_LIN_STEP_MASK, tmp); in ad74115_get_dac_rate()
968 step_val == ad74115_dac_rate_step_tbl[i][1] && in ad74115_get_dac_rate()
982 unsigned int i, en_val, step_val, rate_val, mask, tmp; in ad74115_set_dac_rate() local
990 step_val = ad74115_dac_rate_step_tbl[i][1]; in ad74115_set_dac_rate()
998 tmp |= FIELD_PREP(AD74115_OUTPUT_SLEW_LIN_STEP_MASK, step_val); in ad74115_set_dac_rate()
/openbmc/linux/drivers/media/dvb-frontends/
H A Dlgdt3306a.c1443 u32 diff_val, step_val, step_log10; in log10_x1000() local
1478 step_val = valx_x10[i] - valx_x10[i - 1]; in log10_x1000()
1483 ((diff_val*step_log10) / step_val); in log10_x1000()
/openbmc/linux/drivers/firmware/arm_scmi/
H A Dpowercap.c162 unsigned int step_val, bool configurable) in scmi_powercap_validate() argument
171 if (min_val != max_val && !step_val) in scmi_powercap_validate()