Lines Matching defs:res
161 int res = icm42670_spi_single_write(&cfg->spi, REG_PWR_MGMT0, BIT_IDLE); in icm42670_enable_mclk() local
188 int res; in icm42670_sensor_init() local
261 int res; in icm42670_turn_on_sensor() local
344 int res = 0; in icm42670_channel_get() local
397 int res = icm42670_spi_read(&cfg->spi, REG_ACCEL_DATA_X1, buffer, ACCEL_DATA_SIZE); in icm42670_sample_fetch_accel() local
416 int res = icm42670_spi_read(&cfg->spi, REG_GYRO_DATA_X1, buffer, GYRO_DATA_SIZE); in icm42670_sample_fetch_gyro() local
435 int res = icm42670_spi_read(&cfg->spi, REG_TEMP_DATA1, buffer, TEMP_DATA_SIZE); in icm42670_sample_fetch_temp() local
453 int res = icm42670_spi_read(&cfg->spi, REG_INT_STATUS_DRDY, &status, 1); in icm42670_sample_fetch() local
498 int res = 0; in icm42670_attr_set() local
573 int res = 0; in icm42670_attr_get() local
649 int res = icm42670_turn_on_sensor(dev); in icm42670_init() local