Searched refs:LIS2DW12_FS_TO_REG (Results 1 – 2 of 2) sorted by relevance
44 #define LIS2DW12_FS_TO_REG(_fs) (30 - __builtin_clz(_fs)) macro
151 LIS2DW12_FS_TO_REG(sensor_ms2_to_g(val))); in lis2dw12_config()446 ret = lis2dw12_set_range(dev, LIS2DW12_FS_TO_REG(cfg->range)); in lis2dw12_init()