Lines Matching refs:ds1685_priv

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()
311 struct ds1685_priv *rtc = dev_get_drvdata(dev); in ds1685_rtc_set_time()
387 struct ds1685_priv *rtc = dev_get_drvdata(dev); in ds1685_rtc_read_alarm()
445 struct ds1685_priv *rtc = dev_get_drvdata(dev); in ds1685_rtc_set_alarm()
540 struct ds1685_priv *rtc = dev_get_drvdata(dev); in ds1685_rtc_alarm_irq_enable()
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()
754 struct ds1685_priv *rtc = dev_get_drvdata(dev); in ds1685_rtc_proc()
843 struct ds1685_priv *rtc = priv; in ds1685_nvram_read()
910 struct ds1685_priv *rtc = priv; in ds1685_nvram_write()
987 struct ds1685_priv *rtc = dev_get_drvdata(dev->parent); in ds1685_rtc_sysfs_battery_show()
1007 struct ds1685_priv *rtc = dev_get_drvdata(dev->parent); in ds1685_rtc_sysfs_auxbatt_show()
1029 struct ds1685_priv *rtc = dev_get_drvdata(dev->parent); in ds1685_rtc_sysfs_serial_show()
1071 struct ds1685_priv *rtc; in ds1685_rtc_probe()
1328 struct ds1685_priv *rtc = platform_get_drvdata(pdev); in ds1685_rtc_remove()
1376 struct ds1685_priv *rtc; in ds1685_rtc_poweroff()