Lines Matching refs:ltc4282_state

133 struct ltc4282_state {  struct
161 struct ltc4282_state *st = container_of(hw, struct ltc4282_state, in ltc4282_set_rate() argument
194 struct ltc4282_state *st = container_of(hw, struct ltc4282_state, in ltc4282_recalc_rate()
214 struct ltc4282_state *st = container_of(clk_hw, struct ltc4282_state, in ltc4282_disable()
220 static int ltc4282_read_voltage_word(const struct ltc4282_state *st, u32 reg, in ltc4282_read_voltage_word()
238 static int ltc4282_read_voltage_byte_cached(const struct ltc4282_state *st, in ltc4282_read_voltage_byte_cached()
257 static int ltc4282_read_voltage_byte(const struct ltc4282_state *st, u32 reg, in ltc4282_read_voltage_byte()
263 static int __ltc4282_read_alarm(struct ltc4282_state *st, u32 reg, u32 mask, in __ltc4282_read_alarm()
282 static int ltc4282_read_alarm(struct ltc4282_state *st, u32 reg, u32 mask, in ltc4282_read_alarm()
289 static int ltc4282_vdd_source_read_in(struct ltc4282_state *st, u32 channel, in ltc4282_vdd_source_read_in()
299 static int ltc4282_vdd_source_read_hist(struct ltc4282_state *st, u32 reg, in ltc4282_vdd_source_read_hist()
318 static int ltc4282_vdd_source_read_lim(struct ltc4282_state *st, u32 reg, in ltc4282_vdd_source_read_lim()
329 static int ltc4282_vdd_source_read_alm(struct ltc4282_state *st, u32 mask, in ltc4282_vdd_source_read_alm()
349 static int ltc4282_read_in(struct ltc4282_state *st, u32 attr, long *val, in ltc4282_read_in()
432 static int ltc4282_read_current_word(const struct ltc4282_state *st, u32 reg, in ltc4282_read_current_word()
451 static int ltc4282_read_current_byte(const struct ltc4282_state *st, u32 reg, in ltc4282_read_current_byte()
466 static int ltc4282_read_curr(struct ltc4282_state *st, const u32 attr, in ltc4282_read_curr()
496 static int ltc4282_read_power_word(const struct ltc4282_state *st, u32 reg, in ltc4282_read_power_word()
526 static int ltc4282_read_power_byte(const struct ltc4282_state *st, u32 reg, in ltc4282_read_power_byte()
544 static int ltc4282_read_energy(const struct ltc4282_state *st, u64 *val) in ltc4282_read_energy()
578 static int ltc4282_read_power(struct ltc4282_state *st, const u32 attr, in ltc4282_read_power()
606 struct ltc4282_state *st = dev_get_drvdata(dev); in ltc4282_read()
625 static int ltc4282_write_power_byte(const struct ltc4282_state *st, u32 reg, in ltc4282_write_power_byte()
641 static int ltc4282_write_power_word(const struct ltc4282_state *st, u32 reg, in ltc4282_write_power_word()
661 static int __ltc4282_in_write_history(const struct ltc4282_state *st, u32 reg, in __ltc4282_in_write_history()
683 static int ltc4282_in_write_history(struct ltc4282_state *st, u32 reg, in ltc4282_in_write_history()
690 static int ltc4282_power_reset_hist(struct ltc4282_state *st) in ltc4282_power_reset_hist()
710 static int ltc4282_write_power(struct ltc4282_state *st, u32 attr, in ltc4282_write_power()
725 static int ltc4282_write_voltage_byte_cached(const struct ltc4282_state *st, in ltc4282_write_voltage_byte_cached()
742 static int ltc4282_write_voltage_byte(const struct ltc4282_state *st, u32 reg, in ltc4282_write_voltage_byte()
748 static int ltc4282_cache_history(struct ltc4282_state *st, u32 channel) in ltc4282_cache_history()
776 static int ltc4282_cache_sync(struct ltc4282_state *st, u32 channel) in ltc4282_cache_sync()
796 static int ltc4282_vdd_source_write_lim(struct ltc4282_state *st, u32 reg, in ltc4282_vdd_source_write_lim()
811 static int ltc4282_vdd_source_reset_hist(struct ltc4282_state *st, int channel) in ltc4282_vdd_source_reset_hist()
853 static int ltc4282_vdd_source_enable(struct ltc4282_state *st, int channel, in ltc4282_vdd_source_enable()
898 static int ltc4282_write_in(struct ltc4282_state *st, u32 attr, long val, in ltc4282_write_in()
932 static int ltc4282_curr_reset_hist(struct ltc4282_state *st) in ltc4282_curr_reset_hist()
948 static int ltc4282_write_curr(struct ltc4282_state *st, u32 attr, in ltc4282_write_curr()
968 static int ltc4282_energy_enable_set(struct ltc4282_state *st, long val) in ltc4282_energy_enable_set()
989 struct ltc4282_state *st = dev_get_drvdata(dev); in ltc4282_write()
1005 static umode_t ltc4282_in_is_visible(const struct ltc4282_state *st, u32 attr) in ltc4282_in_is_visible()
1112 struct ltc4282_state *st = dev_get_drvdata(dev); in ltc4282_energy_show()
1134 static int ltc428_clk_provider_setup(struct ltc4282_state *st, in ltc428_clk_provider_setup()
1160 static int ltc428_clks_setup(struct ltc4282_state *st, struct device *dev) in ltc428_clks_setup()
1200 static int ltc4282_get_defaults(struct ltc4282_state *st, u32 *vin_mode) in ltc4282_get_defaults()
1246 static int ltc4282_set_max_limits(struct ltc4282_state *st) in ltc4282_set_max_limits()
1280 static int ltc4282_gpio_setup(struct ltc4282_state *st, struct device *dev) in ltc4282_gpio_setup()
1350 static int ltc4282_setup(struct ltc4282_state *st, struct device *dev) in ltc4282_setup()
1617 struct ltc4282_state *st = arg; in ltc4282_show_fault_log()
1672 static void ltc4282_debugfs_init(struct ltc4282_state *st, struct i2c_client *i2c) in ltc4282_debugfs_init()
1691 struct ltc4282_state *st; in ltc4282_probe()