Lines Matching refs:gyro_fs
410 convert_gyr_fs_to_bitfield(val->val1, &drv_data->gyro_fs)); in icm42670_set_gyro_fs()
411 LOG_DBG("Set gyro fullscale to: %d dps", drv_data->gyro_fs); in icm42670_set_gyro_fs()
494 (cfg->gyro_fs << GYRO_CONFIG0_GYRO_UI_FS_SEL_POS)); in icm42670_turn_on_sensor()
495 data->gyro_fs = in icm42670_turn_on_sensor()
496 convert_bitfield_to_gyr_fs((cfg->gyro_fs << GYRO_CONFIG0_GYRO_UI_FS_SEL_POS)); in icm42670_turn_on_sensor()
497 if ((err < 0) || (data->gyro_fs == 0)) { in icm42670_turn_on_sensor()
501 LOG_DBG("Set gyro full scale to: %d dps", data->gyro_fs); in icm42670_turn_on_sensor()
607 icm42670_convert_gyro(&val[0], data->gyro_x, data->gyro_fs); in icm42670_channel_get()
608 icm42670_convert_gyro(&val[1], data->gyro_y, data->gyro_fs); in icm42670_channel_get()
609 icm42670_convert_gyro(&val[2], data->gyro_z, data->gyro_fs); in icm42670_channel_get()
611 icm42670_convert_gyro(val, data->gyro_x, data->gyro_fs); in icm42670_channel_get()
613 icm42670_convert_gyro(val, data->gyro_y, data->gyro_fs); in icm42670_channel_get()
615 icm42670_convert_gyro(val, data->gyro_z, data->gyro_fs); in icm42670_channel_get()
943 val->val1 = data->gyro_fs; in icm42670_attr_get()
1046 .gyro_fs = DT_INST_ENUM_IDX(inst, gyro_fs), \