Searched refs:hx711_gain_to_scale (Results 1 – 1 of 1) sorted by relevance
28 struct hx711_gain_to_scale { struct43 static struct hx711_gain_to_scale hx711_gain_to_scale[HX711_GAIN_MAX] = { argument54 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 …]