Searched refs:hx711_gain_to_scale (Results 1 – 1 of 1) sorted by relevance
27 struct hx711_gain_to_scale { struct42 static struct hx711_gain_to_scale hx711_gain_to_scale[HX711_GAIN_MAX] = { argument53 if (hx711_gain_to_scale[i].gain == gain) in hx711_get_gain_to_pulse()54 return hx711_gain_to_scale[i].gain_pulse; in hx711_get_gain_to_pulse()63 if (hx711_gain_to_scale[i].gain == gain) in hx711_get_gain_to_scale()64 return hx711_gain_to_scale[i].scale; in hx711_get_gain_to_scale()73 if (hx711_gain_to_scale[i].scale == scale) in hx711_get_scale_to_gain()74 return hx711_gain_to_scale[i].gain; in hx711_get_scale_to_gain()407 if (hx711_gain_to_scale[i].channel == channel) in hx711_scale_available_show()409 hx711_gain_to_scale[i].scale); in hx711_scale_available_show()[all …]