Lines Matching defs:ina
132 static inline bool ina3221_is_enabled(struct ina3221_data *ina, int channel) in ina3221_is_enabled()
151 static inline int ina3221_summation_shunt_resistor(struct ina3221_data *ina) in ina3221_summation_shunt_resistor()
206 static inline int ina3221_wait_for_data(struct ina3221_data *ina) in ina3221_wait_for_data()
217 static int ina3221_read_value(struct ina3221_data *ina, unsigned int reg, in ina3221_read_value()
251 struct ina3221_data *ina = dev_get_drvdata(dev); in ina3221_read_chip() local
272 struct ina3221_data *ina = dev_get_drvdata(dev); in ina3221_read_in() local
329 struct ina3221_data *ina = dev_get_drvdata(dev); in ina3221_read_curr() local
390 struct ina3221_data *ina = dev_get_drvdata(dev); in ina3221_write_chip() local
433 struct ina3221_data *ina = dev_get_drvdata(dev); in ina3221_write_curr() local
478 struct ina3221_data *ina = dev_get_drvdata(dev); in ina3221_write_enable() local
527 struct ina3221_data *ina = dev_get_drvdata(dev); in ina3221_read() local
556 struct ina3221_data *ina = dev_get_drvdata(dev); in ina3221_write() local
585 struct ina3221_data *ina = dev_get_drvdata(dev); in ina3221_read_string() local
600 const struct ina3221_data *ina = drvdata; in ina3221_is_visible() local
697 struct ina3221_data *ina = dev_get_drvdata(dev); in ina3221_shunt_show() local
709 struct ina3221_data *ina = dev_get_drvdata(dev); in ina3221_shunt_store() local
763 struct ina3221_data *ina) in ina3221_probe_child_from_dt()
802 static int ina3221_probe_from_dt(struct device *dev, struct ina3221_data *ina) in ina3221_probe_from_dt()
828 struct ina3221_data *ina; in ina3221_probe() local
918 struct ina3221_data *ina = dev_get_drvdata(&client->dev); in ina3221_remove() local
933 struct ina3221_data *ina = dev_get_drvdata(dev); in ina3221_suspend() local
956 struct ina3221_data *ina = dev_get_drvdata(dev); in ina3221_resume() local