Lines Matching refs:val1
34 val->val1 = conv_val / 1000000; in icm42605_convert_accel()
47 val->val1 = conv_val / 1000000; in icm42605_convert_gyro()
55 val->val1 = (((int64_t)raw_val * 100) / 207) + 25; in icm42605_convert_temp()
59 val->val1--; in icm42605_convert_temp()
62 val->val1++; in icm42605_convert_temp()
268 if (val->val1 > 8000 || val->val1 < 1) { in icm42605_attr_set()
272 drv_data->accel_hz = val->val1; in icm42605_attr_set()
275 if (val->val1 < ACCEL_FS_16G || in icm42605_attr_set()
276 val->val1 > ACCEL_FS_2G) { in icm42605_attr_set()
280 drv_data->accel_sf = val->val1; in icm42605_attr_set()
293 if (val->val1 > 8000 || val->val1 < 12) { in icm42605_attr_set()
297 drv_data->gyro_hz = val->val1; in icm42605_attr_set()
300 if (val->val1 < GYRO_FS_2000DPS || in icm42605_attr_set()
301 val->val1 > GYRO_FS_15DPS) { in icm42605_attr_set()
305 drv_data->gyro_sf = val->val1; in icm42605_attr_set()
335 val->val1 = drv_data->accel_hz; in icm42605_attr_get()
337 val->val1 = drv_data->accel_sf; in icm42605_attr_get()
349 val->val1 = drv_data->gyro_hz; in icm42605_attr_get()
351 val->val1 = drv_data->gyro_sf; in icm42605_attr_get()