Lines Matching refs:value
40 * ds1685_read - read a value from an rtc register.
52 * ds1685_write - write a value to an rtc register.
55 * @value: value to write to the register.
58 ds1685_write(struct ds1685_priv *rtc, int reg, u8 value)
60 writeb(value, ((u8 __iomem *)rtc->regs +
71 * ds1685_indirect_read - read a value from an rtc register.
83 * ds1685_indirect_write - write a value to an rtc register.
86 * @value: value to write to the register.
89 ds1685_indirect_write(struct ds1685_priv *rtc, int reg, u8 value)
92 writeb(value, rtc->data);
101 * @val: u8 time value to consider converting.
102 * @bcd_mask: u8 mask value if BCD mode is used.
103 * @bin_mask: u8 mask value if BIN mode is used.
105 * Returns the value, converted to BIN if originally in BCD and bcd_mode TRUE.
119 * @val: u8 time value to consider converting.
120 * @bin_mask: u8 mask value if BIN mode is used.
121 * @bcd_mask: u8 mask value if BCD mode is used.
123 * Returns the value, converted to BCD if originally in BIN and bcd_mode TRUE.
380 * "don't care" value ranging from 0xc0 to 0xff may be written into one or
381 * more of the three alarm bytes to act as a wildcard value. The fourth
382 * byte doesn't support a "don't care" value.