Searched refs:odr_sel_bits (Results 1 – 1 of 1) sorted by relevance
231 unsigned int fclk, odr_sel_bits; in ad7124_set_channel_odr() local242 odr_sel_bits = DIV_ROUND_CLOSEST(fclk, odr * 32); in ad7124_set_channel_odr()243 if (odr_sel_bits < 1) in ad7124_set_channel_odr()244 odr_sel_bits = 1; in ad7124_set_channel_odr()245 else if (odr_sel_bits > 2047) in ad7124_set_channel_odr()246 odr_sel_bits = 2047; in ad7124_set_channel_odr()250 AD7124_FILTER_FS(odr_sel_bits), 3); in ad7124_set_channel_odr()255 DIV_ROUND_CLOSEST(fclk, odr_sel_bits * 32); in ad7124_set_channel_odr()