Home
last modified time | relevance | path

Searched refs:bin_mask (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/rtc/
H A Drtc-ds1685.c108 ds1685_rtc_bcd2bin(struct ds1685_priv *rtc, u8 val, u8 bcd_mask, u8 bin_mask) in ds1685_rtc_bcd2bin() argument
113 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() argument
131 return (val & bin_mask); in ds1685_rtc_bin2bcd()