Lines Matching refs:rtc7301_priv
51 struct rtc7301_priv { struct
64 static u8 rtc7301_read(struct rtc7301_priv *priv, unsigned int reg) in rtc7301_read() argument
74 static void rtc7301_write(struct rtc7301_priv *priv, u8 val, unsigned int reg) in rtc7301_write()
81 static void rtc7301_update_bits(struct rtc7301_priv *priv, unsigned int reg, in rtc7301_update_bits()
89 static int rtc7301_wait_while_busy(struct rtc7301_priv *priv) in rtc7301_wait_while_busy()
106 static void rtc7301_stop(struct rtc7301_priv *priv) in rtc7301_stop()
112 static void rtc7301_start(struct rtc7301_priv *priv) in rtc7301_start()
117 static void rtc7301_select_bank(struct rtc7301_priv *priv, u8 bank) in rtc7301_select_bank()
136 static void rtc7301_get_time(struct rtc7301_priv *priv, struct rtc_time *tm, in rtc7301_get_time()
170 static void rtc7301_write_time(struct rtc7301_priv *priv, struct rtc_time *tm, in rtc7301_write_time()
205 static void rtc7301_alarm_irq(struct rtc7301_priv *priv, unsigned int enabled) in rtc7301_alarm_irq()
215 struct rtc7301_priv *priv = dev_get_drvdata(dev); in rtc7301_read_time()
234 struct rtc7301_priv *priv = dev_get_drvdata(dev); in rtc7301_set_time()
252 struct rtc7301_priv *priv = dev_get_drvdata(dev); in rtc7301_read_alarm()
276 struct rtc7301_priv *priv = dev_get_drvdata(dev); in rtc7301_set_alarm()
295 struct rtc7301_priv *priv = dev_get_drvdata(dev); in rtc7301_alarm_irq_enable()
322 struct rtc7301_priv *priv = dev_get_drvdata(rtc->dev.parent); in rtc7301_irq_handler()
342 static void rtc7301_init(struct rtc7301_priv *priv) in rtc7301_init()
357 struct rtc7301_priv *priv; in rtc7301_rtc_probe()
407 struct rtc7301_priv *priv = dev_get_drvdata(dev); in rtc7301_suspend()
417 struct rtc7301_priv *priv = dev_get_drvdata(dev); in rtc7301_resume()