Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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] = { variable
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()
395 if (hx711_gain_to_scale[ in hx711_scale_available_show()
[all...]
/kernel/linux/linux-6.6/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] = { variable
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()
395 if (hx711_gain_to_scale[ in hx711_scale_available_show()
[all...]

Completed in 3 milliseconds