Searched refs:FS_RANGE_TO_MG (Results 1 – 1 of 1) sorted by relevance
210 #define FS_RANGE_TO_MG(fs_range) ((2U << fs_range) * 1000U) macro254 if (thr_mg >= FS_RANGE_TO_MG(range)) { in lis2dw12_attr_set_thresh()262 lsb_mg = MG_TO_WK_THS_LSB(FS_RANGE_TO_MG(range)); in lis2dw12_attr_set_thresh()266 thr_mg, FS_RANGE_TO_MG(range), reg); in lis2dw12_attr_set_thresh()