Home
last modified time | relevance | path

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

/openbmc/linux/drivers/rtc/
H A Drtc-m41t80.c53 #define M41T80_SQW_MAX_FREQ 32768 macro
437 return (setting == 0) ? 0 : (setting == 1) ? M41T80_SQW_MAX_FREQ : in m41t80_decode_freq()
438 M41T80_SQW_MAX_FREQ >> setting; in m41t80_decode_freq()
462 if (rate >= M41T80_SQW_MAX_FREQ) in m41t80_sqw_round_rate()
463 return M41T80_SQW_MAX_FREQ; in m41t80_sqw_round_rate()
464 if (rate >= M41T80_SQW_MAX_FREQ / 4) in m41t80_sqw_round_rate()
465 return M41T80_SQW_MAX_FREQ / 4; in m41t80_sqw_round_rate()
480 if (rate >= M41T80_SQW_MAX_FREQ) in m41t80_sqw_set_rate()
482 else if (rate >= M41T80_SQW_MAX_FREQ / 4) in m41t80_sqw_set_rate()