Lines Matching defs:ina
139 static inline bool ina3221_is_enabled(struct ina3221_data *ina, int channel) in ina3221_is_enabled()
158 static inline int ina3221_summation_shunt_resistor(struct ina3221_data *ina) in ina3221_summation_shunt_resistor()
214 static inline int ina3221_wait_for_data(struct ina3221_data *ina) in ina3221_wait_for_data()
225 static int ina3221_read_value(struct ina3221_data *ina, unsigned int reg, in ina3221_read_value()
259 struct ina3221_data *ina = dev_get_drvdata(dev); in ina3221_read_chip() local
280 struct ina3221_data *ina = dev_get_drvdata(dev); in ina3221_read_in() local
337 struct ina3221_data *ina = dev_get_drvdata(dev); in ina3221_read_curr() local
398 struct ina3221_data *ina = dev_get_drvdata(dev); in ina3221_write_chip() local
441 struct ina3221_data *ina = dev_get_drvdata(dev); in ina3221_write_curr() local
486 struct ina3221_data *ina = dev_get_drvdata(dev); in ina3221_write_enable() local
535 struct ina3221_data *ina = dev_get_drvdata(dev); in ina3221_read() local
564 struct ina3221_data *ina = dev_get_drvdata(dev); in ina3221_write() local
593 struct ina3221_data *ina = dev_get_drvdata(dev); in ina3221_read_string() local
608 const struct ina3221_data *ina = drvdata; in ina3221_is_visible() local
705 struct ina3221_data *ina = dev_get_drvdata(dev); in ina3221_shunt_show() local
717 struct ina3221_data *ina = dev_get_drvdata(dev); in ina3221_shunt_store() local
771 struct ina3221_data *ina) in ina3221_probe_child_from_dt()
813 static int ina3221_probe_from_dt(struct device *dev, struct ina3221_data *ina) in ina3221_probe_from_dt()
836 struct ina3221_data *ina; in ina3221_probe() local
940 struct ina3221_data *ina = dev_get_drvdata(&client->dev); in ina3221_remove() local
957 struct ina3221_data *ina = dev_get_drvdata(dev); in ina3221_suspend() local
980 struct ina3221_data *ina = dev_get_drvdata(dev); in ina3221_resume() local