Home
last modified time | relevance | path

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

/openbmc/linux/drivers/iio/magnetometer/
H A Dtmag5273.c62 #define TMAG5273_AVG_MODE_MASK GENMASK(4, 2) macro
63 #define TMAG5273_AVG_1_MODE FIELD_PREP(TMAG5273_AVG_MODE_MASK, 0)
64 #define TMAG5273_AVG_2_MODE FIELD_PREP(TMAG5273_AVG_MODE_MASK, 1)
65 #define TMAG5273_AVG_4_MODE FIELD_PREP(TMAG5273_AVG_MODE_MASK, 2)
66 #define TMAG5273_AVG_8_MODE FIELD_PREP(TMAG5273_AVG_MODE_MASK, 3)
67 #define TMAG5273_AVG_16_MODE FIELD_PREP(TMAG5273_AVG_MODE_MASK, 4)
68 #define TMAG5273_AVG_32_MODE FIELD_PREP(TMAG5273_AVG_MODE_MASK, 5)
227 TMAG5273_AVG_MODE_MASK, in tmag5273_write_osr()
228 FIELD_PREP(TMAG5273_AVG_MODE_MASK, i)); in tmag5273_write_osr()