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()
413 struct sun6i_rtc_dev *chip = (struct sun6i_rtc_dev *) id; in sun6i_rtc_alarmirq()
433 static void sun6i_rtc_setaie(int to, struct sun6i_rtc_dev *chip) in sun6i_rtc_setaie()
458 struct sun6i_rtc_dev *chip = dev_get_drvdata(dev); in sun6i_rtc_gettime()
491 struct sun6i_rtc_dev *chip = dev_get_drvdata(dev); in sun6i_rtc_getalarm()
510 struct sun6i_rtc_dev *chip = dev_get_drvdata(dev); in sun6i_rtc_setalarm()
546 static int sun6i_rtc_wait(struct sun6i_rtc_dev *chip, int offset, in sun6i_rtc_wait()
566 struct sun6i_rtc_dev *chip = dev_get_drvdata(dev); in sun6i_rtc_settime()
624 struct sun6i_rtc_dev *chip = dev_get_drvdata(dev); in sun6i_rtc_alarm_irq_enable()
644 struct sun6i_rtc_dev *chip = dev_get_drvdata(dev); in sun6i_rtc_suspend()
655 struct sun6i_rtc_dev *chip = dev_get_drvdata(dev); in sun6i_rtc_resume()
669 struct sun6i_rtc_dev *chip = sun6i_rtc; in sun6i_rtc_probe()