Lines Matching defs:rtc
45 ds1685_read(struct ds1685_priv *rtc, int reg) in ds1685_read()
58 ds1685_write(struct ds1685_priv *rtc, int reg, u8 value) in ds1685_write()
76 ds1685_indirect_read(struct ds1685_priv *rtc, int reg) in ds1685_indirect_read()
89 ds1685_indirect_write(struct ds1685_priv *rtc, int reg, u8 value) in ds1685_indirect_write()
108 ds1685_rtc_bcd2bin(struct ds1685_priv *rtc, u8 val, u8 bcd_mask, u8 bin_mask) in ds1685_rtc_bcd2bin()
126 ds1685_rtc_bin2bcd(struct ds1685_priv *rtc, u8 val, u8 bin_mask, u8 bcd_mask) in ds1685_rtc_bin2bcd()
142 ds1685_rtc_check_mday(struct ds1685_priv *rtc, u8 mday) in ds1685_rtc_check_mday()
159 ds1685_rtc_switch_to_bank0(struct ds1685_priv *rtc) in ds1685_rtc_switch_to_bank0()
170 ds1685_rtc_switch_to_bank1(struct ds1685_priv *rtc) in ds1685_rtc_switch_to_bank1()
190 ds1685_rtc_begin_data_access(struct ds1685_priv *rtc) in ds1685_rtc_begin_data_access()
213 ds1685_rtc_end_data_access(struct ds1685_priv *rtc) in ds1685_rtc_end_data_access()
238 ds1685_rtc_get_ssn(struct ds1685_priv *rtc, u8 *ssn) in ds1685_rtc_get_ssn()
263 struct ds1685_priv *rtc = dev_get_drvdata(dev); in ds1685_rtc_read_time() local
311 struct ds1685_priv *rtc = dev_get_drvdata(dev); in ds1685_rtc_set_time() local
387 struct ds1685_priv *rtc = dev_get_drvdata(dev); in ds1685_rtc_read_alarm() local
445 struct ds1685_priv *rtc = dev_get_drvdata(dev); in ds1685_rtc_set_alarm() local
540 struct ds1685_priv *rtc = dev_get_drvdata(dev); in ds1685_rtc_alarm_irq_enable() local
567 ds1685_rtc_extended_irq(struct ds1685_priv *rtc, struct platform_device *pdev) in ds1685_rtc_extended_irq()
660 struct ds1685_priv *rtc = platform_get_drvdata(pdev); in ds1685_rtc_irq_handler() local
754 struct ds1685_priv *rtc = dev_get_drvdata(dev); in ds1685_rtc_proc() local
843 struct ds1685_priv *rtc = priv; in ds1685_nvram_read() local
910 struct ds1685_priv *rtc = priv; in ds1685_nvram_write() local
987 struct ds1685_priv *rtc = dev_get_drvdata(dev->parent); in ds1685_rtc_sysfs_battery_show() local
1007 struct ds1685_priv *rtc = dev_get_drvdata(dev->parent); in ds1685_rtc_sysfs_auxbatt_show() local
1029 struct ds1685_priv *rtc = dev_get_drvdata(dev->parent); in ds1685_rtc_sysfs_serial_show() local
1071 struct ds1685_priv *rtc; in ds1685_rtc_probe() local
1328 struct ds1685_priv *rtc = platform_get_drvdata(pdev); in ds1685_rtc_remove() local
1374 struct ds1685_priv *rtc; in ds1685_rtc_poweroff() local