Lines Matching refs:sun6i_rtc_dev
121 struct sun6i_rtc_dev { struct
136 static struct sun6i_rtc_dev *sun6i_rtc; argument
141 struct sun6i_rtc_dev *rtc = container_of(hw, struct sun6i_rtc_dev, hw); in sun6i_rtc_osc_recalc_rate()
156 struct sun6i_rtc_dev *rtc = container_of(hw, struct sun6i_rtc_dev, hw); in sun6i_rtc_osc_get_parent()
163 struct sun6i_rtc_dev *rtc = container_of(hw, struct sun6i_rtc_dev, hw); in sun6i_rtc_osc_set_parent()
191 struct sun6i_rtc_dev *rtc; in sun6i_rtc_clk_init()
279 struct sun6i_rtc_dev *chip = (struct sun6i_rtc_dev *) id; in sun6i_rtc_alarmirq()
299 static void sun6i_rtc_setaie(int to, struct sun6i_rtc_dev *chip) in sun6i_rtc_setaie()
324 struct sun6i_rtc_dev *chip = dev_get_drvdata(dev); in sun6i_rtc_gettime()
357 struct sun6i_rtc_dev *chip = dev_get_drvdata(dev); in sun6i_rtc_getalarm()
376 struct sun6i_rtc_dev *chip = dev_get_drvdata(dev); in sun6i_rtc_setalarm()
416 static int sun6i_rtc_wait(struct sun6i_rtc_dev *chip, int offset, in sun6i_rtc_wait()
436 struct sun6i_rtc_dev *chip = dev_get_drvdata(dev); in sun6i_rtc_settime()
502 struct sun6i_rtc_dev *chip = dev_get_drvdata(dev); in sun6i_rtc_alarm_irq_enable()
520 struct sun6i_rtc_dev *chip = sun6i_rtc; in sun6i_rtc_probe()