Searched refs:ds1685_priv (Results 1 – 2 of 2) sorted by relevance
/linux-4.19.296/drivers/rtc/ |
D | rtc-ds1685.c | 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() 79 ds1685_rtc_bcd2bin(struct ds1685_priv *rtc, u8 val, u8 bcd_mask, u8 bin_mask) in ds1685_rtc_bcd2bin() 97 ds1685_rtc_bin2bcd(struct ds1685_priv *rtc, u8 val, u8 bin_mask, u8 bcd_mask) in ds1685_rtc_bin2bcd() 113 ds1685_rtc_check_mday(struct ds1685_priv *rtc, u8 mday) in ds1685_rtc_check_mday() 130 ds1685_rtc_switch_to_bank0(struct ds1685_priv *rtc) in ds1685_rtc_switch_to_bank0() 141 ds1685_rtc_switch_to_bank1(struct ds1685_priv *rtc) in ds1685_rtc_switch_to_bank1() 161 ds1685_rtc_begin_data_access(struct ds1685_priv *rtc) in ds1685_rtc_begin_data_access() 184 ds1685_rtc_end_data_access(struct ds1685_priv *rtc) in ds1685_rtc_end_data_access() 208 ds1685_rtc_begin_ctrl_access(struct ds1685_priv *rtc, unsigned long *flags) in ds1685_rtc_begin_ctrl_access() [all …]
|
/linux-4.19.296/include/linux/rtc/ |
D | ds1685.h | 45 struct ds1685_priv { struct 58 u8 (*read)(struct ds1685_priv *, int); argument 59 void (*write)(struct ds1685_priv *, int, u8); argument 83 u8 (*plat_read)(struct ds1685_priv *, int); argument 84 void (*plat_write)(struct ds1685_priv *, int, u8);
|