Lines Matching defs:st

161 	struct ltc4282_state *st = container_of(hw, struct ltc4282_state,  in ltc4282_set_rate()  local
192 struct ltc4282_state *st = container_of(hw, struct ltc4282_state, in ltc4282_recalc_rate() local
212 struct ltc4282_state *st = container_of(clk_hw, struct ltc4282_state, in ltc4282_disable() local
218 static int ltc4282_read_voltage_word(const struct ltc4282_state *st, u32 reg, in ltc4282_read_voltage_word()
236 static int ltc4282_read_voltage_byte_cached(const struct ltc4282_state *st, in ltc4282_read_voltage_byte_cached()
255 static int ltc4282_read_voltage_byte(const struct ltc4282_state *st, u32 reg, in ltc4282_read_voltage_byte()
261 static int __ltc4282_read_alarm(struct ltc4282_state *st, u32 reg, u32 mask, in __ltc4282_read_alarm()
280 static int ltc4282_read_alarm(struct ltc4282_state *st, u32 reg, u32 mask, in ltc4282_read_alarm()
287 static int ltc4282_vdd_source_read_in(struct ltc4282_state *st, u32 channel, in ltc4282_vdd_source_read_in()
297 static int ltc4282_vdd_source_read_hist(struct ltc4282_state *st, u32 reg, in ltc4282_vdd_source_read_hist()
316 static int ltc4282_vdd_source_read_lim(struct ltc4282_state *st, u32 reg, in ltc4282_vdd_source_read_lim()
327 static int ltc4282_vdd_source_read_alm(struct ltc4282_state *st, u32 mask, in ltc4282_vdd_source_read_alm()
347 static int ltc4282_read_in(struct ltc4282_state *st, u32 attr, long *val, in ltc4282_read_in()
430 static int ltc4282_read_current_word(const struct ltc4282_state *st, u32 reg, in ltc4282_read_current_word()
449 static int ltc4282_read_current_byte(const struct ltc4282_state *st, u32 reg, in ltc4282_read_current_byte()
464 static int ltc4282_read_curr(struct ltc4282_state *st, const u32 attr, in ltc4282_read_curr()
494 static int ltc4282_read_power_word(const struct ltc4282_state *st, u32 reg, in ltc4282_read_power_word()
524 static int ltc4282_read_power_byte(const struct ltc4282_state *st, u32 reg, in ltc4282_read_power_byte()
542 static int ltc4282_read_energy(const struct ltc4282_state *st, u64 *val) in ltc4282_read_energy()
576 static int ltc4282_read_power(struct ltc4282_state *st, const u32 attr, in ltc4282_read_power()
604 struct ltc4282_state *st = dev_get_drvdata(dev); in ltc4282_read() local
623 static int ltc4282_write_power_byte(const struct ltc4282_state *st, u32 reg, in ltc4282_write_power_byte()
639 static int ltc4282_write_power_word(const struct ltc4282_state *st, u32 reg, in ltc4282_write_power_word()
659 static int __ltc4282_in_write_history(const struct ltc4282_state *st, u32 reg, in __ltc4282_in_write_history()
681 static int ltc4282_in_write_history(struct ltc4282_state *st, u32 reg, in ltc4282_in_write_history()
688 static int ltc4282_power_reset_hist(struct ltc4282_state *st) in ltc4282_power_reset_hist()
708 static int ltc4282_write_power(struct ltc4282_state *st, u32 attr, in ltc4282_write_power()
723 static int ltc4282_write_voltage_byte_cached(const struct ltc4282_state *st, in ltc4282_write_voltage_byte_cached()
740 static int ltc4282_write_voltage_byte(const struct ltc4282_state *st, u32 reg, in ltc4282_write_voltage_byte()
746 static int ltc4282_cache_history(struct ltc4282_state *st, u32 channel) in ltc4282_cache_history()
774 static int ltc4282_cache_sync(struct ltc4282_state *st, u32 channel) in ltc4282_cache_sync()
794 static int ltc4282_vdd_source_write_lim(struct ltc4282_state *st, u32 reg, in ltc4282_vdd_source_write_lim()
809 static int ltc4282_vdd_source_reset_hist(struct ltc4282_state *st, int channel) in ltc4282_vdd_source_reset_hist()
851 static int ltc4282_vdd_source_enable(struct ltc4282_state *st, int channel, in ltc4282_vdd_source_enable()
896 static int ltc4282_write_in(struct ltc4282_state *st, u32 attr, long val, in ltc4282_write_in()
930 static int ltc4282_curr_reset_hist(struct ltc4282_state *st) in ltc4282_curr_reset_hist()
946 static int ltc4282_write_curr(struct ltc4282_state *st, u32 attr, in ltc4282_write_curr()
966 static int ltc4282_energy_enable_set(struct ltc4282_state *st, long val) in ltc4282_energy_enable_set()
987 struct ltc4282_state *st = dev_get_drvdata(dev); in ltc4282_write() local
1003 static umode_t ltc4282_in_is_visible(const struct ltc4282_state *st, u32 attr) in ltc4282_in_is_visible()
1110 struct ltc4282_state *st = dev_get_drvdata(dev); in ltc4282_energy_show() local
1132 static int ltc428_clk_provider_setup(struct ltc4282_state *st, in ltc428_clk_provider_setup()
1158 static int ltc428_clks_setup(struct ltc4282_state *st, struct device *dev) in ltc428_clks_setup()
1198 static int ltc4282_get_defaults(struct ltc4282_state *st, u32 *vin_mode) in ltc4282_get_defaults()
1244 static int ltc4282_set_max_limits(struct ltc4282_state *st) in ltc4282_set_max_limits()
1278 static int ltc4282_gpio_setup(struct ltc4282_state *st, struct device *dev) in ltc4282_gpio_setup()
1348 static int ltc4282_setup(struct ltc4282_state *st, struct device *dev) in ltc4282_setup()
1622 struct ltc4282_state *st = arg; in ltc4282_show_fault_log() local
1682 static void ltc4282_debugfs_init(struct ltc4282_state *st, in ltc4282_debugfs_init()
1724 struct ltc4282_state *st; in ltc4282_probe() local