Lines Matching refs:ina3221_data
125 struct ina3221_data { struct
139 static inline bool ina3221_is_enabled(struct ina3221_data *ina, int channel) in ina3221_is_enabled() argument
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()
280 struct ina3221_data *ina = dev_get_drvdata(dev); in ina3221_read_in()
337 struct ina3221_data *ina = dev_get_drvdata(dev); in ina3221_read_curr()
398 struct ina3221_data *ina = dev_get_drvdata(dev); in ina3221_write_chip()
441 struct ina3221_data *ina = dev_get_drvdata(dev); in ina3221_write_curr()
486 struct ina3221_data *ina = dev_get_drvdata(dev); in ina3221_write_enable()
535 struct ina3221_data *ina = dev_get_drvdata(dev); in ina3221_read()
564 struct ina3221_data *ina = dev_get_drvdata(dev); in ina3221_write()
593 struct ina3221_data *ina = dev_get_drvdata(dev); in ina3221_read_string()
608 const struct ina3221_data *ina = drvdata; in ina3221_is_visible()
705 struct ina3221_data *ina = dev_get_drvdata(dev); in ina3221_shunt_show()
717 struct ina3221_data *ina = dev_get_drvdata(dev); in ina3221_shunt_store()
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()
940 struct ina3221_data *ina = dev_get_drvdata(&client->dev); in ina3221_remove()
957 struct ina3221_data *ina = dev_get_drvdata(dev); in ina3221_suspend()
980 struct ina3221_data *ina = dev_get_drvdata(dev); in ina3221_resume()