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()
417 struct sun6i_rtc_dev *chip = (struct sun6i_rtc_dev *) id; in sun6i_rtc_alarmirq()
437 static void sun6i_rtc_setaie(int to, struct sun6i_rtc_dev *chip) in sun6i_rtc_setaie()
462 struct sun6i_rtc_dev *chip = dev_get_drvdata(dev); in sun6i_rtc_gettime()
503 struct sun6i_rtc_dev *chip = dev_get_drvdata(dev); in sun6i_rtc_getalarm()
522 struct sun6i_rtc_dev *chip = dev_get_drvdata(dev); in sun6i_rtc_setalarm()
580 static int sun6i_rtc_wait(struct sun6i_rtc_dev *chip, int offset, in sun6i_rtc_wait()
600 struct sun6i_rtc_dev *chip = dev_get_drvdata(dev); in sun6i_rtc_settime()
663 struct sun6i_rtc_dev *chip = dev_get_drvdata(dev); in sun6i_rtc_alarm_irq_enable()
681 struct sun6i_rtc_dev *chip = priv; in sun6i_rtc_nvmem_read()
693 struct sun6i_rtc_dev *chip = priv; in sun6i_rtc_nvmem_write()
716 struct sun6i_rtc_dev *chip = dev_get_drvdata(dev); in sun6i_rtc_suspend()
727 struct sun6i_rtc_dev *chip = dev_get_drvdata(dev); in sun6i_rtc_resume()
748 struct sun6i_rtc_dev *chip = sun6i_rtc; in sun6i_rtc_probe()