Home
last modified time | relevance | path

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

/openbmc/linux/drivers/iio/adc/
H A Dhx711.c28 struct hx711_gain_to_scale { struct
43 static struct hx711_gain_to_scale hx711_gain_to_scale[HX711_GAIN_MAX] = { argument
54 if (hx711_gain_to_scale[i].gain == gain) in hx711_get_gain_to_pulse()
55 return hx711_gain_to_scale[i].gain_pulse; in hx711_get_gain_to_pulse()
64 if (hx711_gain_to_scale[i].gain == gain) in hx711_get_gain_to_scale()
65 return hx711_gain_to_scale[i].scale; in hx711_get_gain_to_scale()
74 if (hx711_gain_to_scale[i].scale == scale) in hx711_get_scale_to_gain()
75 return hx711_gain_to_scale[i].gain; in hx711_get_scale_to_gain()
397 hx711_gain_to_scale[i].scale); in hx711_scale_available_show()
529 hx711_gain_to_scale[i].scale = in hx711_probe()
[all …]