Searched refs:bcd_mask (Results 1 – 1 of 1) sorted by relevance
108 ds1685_rtc_bcd2bin(struct ds1685_priv *rtc, u8 val, u8 bcd_mask, u8 bin_mask) in ds1685_rtc_bcd2bin() argument111 return (bcd2bin(val) & bcd_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() argument129 return (bin2bcd(val) & bcd_mask); in ds1685_rtc_bin2bcd()