Lines Matching refs:sun6i_rtc_dev
136 struct sun6i_rtc_dev { struct
151 static struct sun6i_rtc_dev *sun6i_rtc; argument
156 struct sun6i_rtc_dev *rtc = container_of(hw, struct sun6i_rtc_dev, hw); in sun6i_rtc_osc_recalc_rate()
176 struct sun6i_rtc_dev *rtc = container_of(hw, struct sun6i_rtc_dev, hw); in sun6i_rtc_osc_get_parent()
183 struct sun6i_rtc_dev *rtc = container_of(hw, struct sun6i_rtc_dev, hw); in sun6i_rtc_osc_set_parent()
216 struct sun6i_rtc_dev *rtc; in sun6i_rtc_clk_init()
411 struct sun6i_rtc_dev *chip = (struct sun6i_rtc_dev *) id; in sun6i_rtc_alarmirq()
431 static void sun6i_rtc_setaie(int to, struct sun6i_rtc_dev *chip) in sun6i_rtc_setaie()
456 struct sun6i_rtc_dev *chip = dev_get_drvdata(dev); in sun6i_rtc_gettime()
489 struct sun6i_rtc_dev *chip = dev_get_drvdata(dev); in sun6i_rtc_getalarm()
508 struct sun6i_rtc_dev *chip = dev_get_drvdata(dev); in sun6i_rtc_setalarm()
548 static int sun6i_rtc_wait(struct sun6i_rtc_dev *chip, int offset, in sun6i_rtc_wait()
568 struct sun6i_rtc_dev *chip = dev_get_drvdata(dev); in sun6i_rtc_settime()
626 struct sun6i_rtc_dev *chip = dev_get_drvdata(dev); in sun6i_rtc_alarm_irq_enable()
646 struct sun6i_rtc_dev *chip = dev_get_drvdata(dev); in sun6i_rtc_suspend()
657 struct sun6i_rtc_dev *chip = dev_get_drvdata(dev); in sun6i_rtc_resume()
671 struct sun6i_rtc_dev *chip = sun6i_rtc; in sun6i_rtc_probe()