Lines Matching refs:sun6i_rtc_dev
146 struct sun6i_rtc_dev { struct
162 static struct sun6i_rtc_dev *sun6i_rtc; argument
167 struct sun6i_rtc_dev *rtc = container_of(hw, struct sun6i_rtc_dev, hw); in sun6i_rtc_osc_recalc_rate()
187 struct sun6i_rtc_dev *rtc = container_of(hw, struct sun6i_rtc_dev, hw); in sun6i_rtc_osc_get_parent()
194 struct sun6i_rtc_dev *rtc = container_of(hw, struct sun6i_rtc_dev, hw); in sun6i_rtc_osc_set_parent()
227 struct sun6i_rtc_dev *rtc; in sun6i_rtc_clk_init()
424 struct sun6i_rtc_dev *chip = (struct sun6i_rtc_dev *) id; in sun6i_rtc_alarmirq()
444 static void sun6i_rtc_setaie(int to, struct sun6i_rtc_dev *chip) in sun6i_rtc_setaie()
469 struct sun6i_rtc_dev *chip = dev_get_drvdata(dev); in sun6i_rtc_gettime()
510 struct sun6i_rtc_dev *chip = dev_get_drvdata(dev); in sun6i_rtc_getalarm()
529 struct sun6i_rtc_dev *chip = dev_get_drvdata(dev); in sun6i_rtc_setalarm()
587 static int sun6i_rtc_wait(struct sun6i_rtc_dev *chip, int offset, in sun6i_rtc_wait()
607 struct sun6i_rtc_dev *chip = dev_get_drvdata(dev); in sun6i_rtc_settime()
670 struct sun6i_rtc_dev *chip = dev_get_drvdata(dev); in sun6i_rtc_alarm_irq_enable()
688 struct sun6i_rtc_dev *chip = priv; in sun6i_rtc_nvmem_read()
700 struct sun6i_rtc_dev *chip = priv; in sun6i_rtc_nvmem_write()
723 struct sun6i_rtc_dev *chip = dev_get_drvdata(dev); in sun6i_rtc_suspend()
734 struct sun6i_rtc_dev *chip = dev_get_drvdata(dev); in sun6i_rtc_resume()
755 struct sun6i_rtc_dev *chip = sun6i_rtc; in sun6i_rtc_probe()