Lines Matching refs:gyro_fs
400 (cfg->gyro_fs << GYRO_CONFIG0_GYRO_UI_FS_SEL_POS)); in icm42x70_turn_on_sensor()
401 data->gyro_fs = convert_bitfield_to_gyr_fs( in icm42x70_turn_on_sensor()
402 (cfg->gyro_fs << GYRO_CONFIG0_GYRO_UI_FS_SEL_POS)); in icm42x70_turn_on_sensor()
403 if ((err < 0) || (data->gyro_fs == 0)) { in icm42x70_turn_on_sensor()
407 LOG_DBG("Set gyro full scale to: %d dps", data->gyro_fs); in icm42x70_turn_on_sensor()
519 icm42670_convert_gyro(&val[0], data->gyro_x, data->gyro_fs); in icm42x70_channel_get()
520 icm42670_convert_gyro(&val[1], data->gyro_y, data->gyro_fs); in icm42x70_channel_get()
521 icm42670_convert_gyro(&val[2], data->gyro_z, data->gyro_fs); in icm42x70_channel_get()
524 icm42670_convert_gyro(val, data->gyro_x, data->gyro_fs); in icm42x70_channel_get()
527 icm42670_convert_gyro(val, data->gyro_y, data->gyro_fs); in icm42x70_channel_get()
530 icm42670_convert_gyro(val, data->gyro_z, data->gyro_fs); in icm42x70_channel_get()
864 val->val1 = data->gyro_fs; in icm42x70_attr_get()
980 (.gyro_fs = DT_INST_ENUM_IDX(inst, gyro_fs),)) \