Lines Matching refs:sun6i_rtc_dev
144 struct sun6i_rtc_dev { struct
160 static struct sun6i_rtc_dev *sun6i_rtc; argument
165 struct sun6i_rtc_dev *rtc = container_of(hw, struct sun6i_rtc_dev, hw); in sun6i_rtc_osc_recalc_rate()
185 struct sun6i_rtc_dev *rtc = container_of(hw, struct sun6i_rtc_dev, hw); in sun6i_rtc_osc_get_parent()
192 struct sun6i_rtc_dev *rtc = container_of(hw, struct sun6i_rtc_dev, hw); in sun6i_rtc_osc_set_parent()
226 struct sun6i_rtc_dev *rtc; in sun6i_rtc_clk_init()
416 struct sun6i_rtc_dev *chip = (struct sun6i_rtc_dev *) id; in sun6i_rtc_alarmirq()
436 static void sun6i_rtc_setaie(int to, struct sun6i_rtc_dev *chip) in sun6i_rtc_setaie()
461 struct sun6i_rtc_dev *chip = dev_get_drvdata(dev); in sun6i_rtc_gettime()
502 struct sun6i_rtc_dev *chip = dev_get_drvdata(dev); in sun6i_rtc_getalarm()
521 struct sun6i_rtc_dev *chip = dev_get_drvdata(dev); in sun6i_rtc_setalarm()
579 static int sun6i_rtc_wait(struct sun6i_rtc_dev *chip, int offset, in sun6i_rtc_wait()
599 struct sun6i_rtc_dev *chip = dev_get_drvdata(dev); in sun6i_rtc_settime()
662 struct sun6i_rtc_dev *chip = dev_get_drvdata(dev); in sun6i_rtc_alarm_irq_enable()
680 struct sun6i_rtc_dev *chip = priv; in sun6i_rtc_nvmem_read()
692 struct sun6i_rtc_dev *chip = priv; in sun6i_rtc_nvmem_write()
715 struct sun6i_rtc_dev *chip = dev_get_drvdata(dev); in sun6i_rtc_suspend()
726 struct sun6i_rtc_dev *chip = dev_get_drvdata(dev); in sun6i_rtc_resume()
747 struct sun6i_rtc_dev *chip = sun6i_rtc; in sun6i_rtc_probe()