Searched refs:bin_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() argument113 return (val & 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() argument131 return (val & bin_mask); in ds1685_rtc_bin2bcd()