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()
266 if (val->val1 > 8000 || val->val1 < 1) { in icm42605_attr_set()
270 drv_data->accel_hz = val->val1; in icm42605_attr_set()
273 if (val->val1 < ACCEL_FS_16G || in icm42605_attr_set()
274 val->val1 > ACCEL_FS_2G) { in icm42605_attr_set()
278 drv_data->accel_sf = val->val1; in icm42605_attr_set()
291 if (val->val1 > 8000 || val->val1 < 12) { in icm42605_attr_set()
295 drv_data->gyro_hz = val->val1; in icm42605_attr_set()
298 if (val->val1 < GYRO_FS_2000DPS || in icm42605_attr_set()
299 val->val1 > GYRO_FS_15DPS) { in icm42605_attr_set()
303 drv_data->gyro_sf = val->val1; in icm42605_attr_set()
333 val->val1 = drv_data->accel_hz; in icm42605_attr_get()
335 val->val1 = drv_data->accel_sf; in icm42605_attr_get()
347 val->val1 = drv_data->gyro_hz; in icm42605_attr_get()
349 val->val1 = drv_data->gyro_sf; in icm42605_attr_get()