Searched refs:chan_spec (Results 1 – 5 of 5) sorted by relevance
/Zephyr-Core-3.7.0/drivers/sensor/asahi_kasei/akm09918c/ |
D | akm09918c_decoder.c | 11 struct sensor_chan_spec chan_spec, in akm09918c_decoder_get_frame_count() argument 15 ARG_UNUSED(chan_spec); in akm09918c_decoder_get_frame_count() 22 static int akm09918c_decoder_get_size_info(struct sensor_chan_spec chan_spec, size_t *base_size, in akm09918c_decoder_get_size_info() argument 25 switch (chan_spec.chan_type) { in akm09918c_decoder_get_size_info() 53 static int akm09918c_decoder_decode(const uint8_t *buffer, struct sensor_chan_spec chan_spec, in akm09918c_decoder_decode() argument 62 switch (chan_spec.chan_type) { in akm09918c_decoder_decode()
|
/Zephyr-Core-3.7.0/drivers/sensor/bosch/bme280/ |
D | bme280_decoder.c | 10 struct sensor_chan_spec chan_spec, in bme280_decoder_get_frame_count() argument 16 if (chan_spec.chan_idx != 0) { in bme280_decoder_get_frame_count() 21 switch (chan_spec.chan_type) { in bme280_decoder_get_frame_count() 42 static int bme280_decoder_get_size_info(struct sensor_chan_spec chan_spec, size_t *base_size, in bme280_decoder_get_size_info() argument 45 switch (chan_spec.chan_type) { in bme280_decoder_get_size_info() 99 static int bme280_decoder_decode(const uint8_t *buffer, struct sensor_chan_spec chan_spec, in bme280_decoder_decode() argument 113 switch (chan_spec.chan_type) { in bme280_decoder_decode()
|
/Zephyr-Core-3.7.0/drivers/sensor/ |
D | default_rtio_sensor.c | 98 struct sensor_chan_spec chan_spec, int num_channels) in check_header_contains_channel() argument 100 __ASSERT_NO_MSG(!SENSOR_CHANNEL_3_AXIS(chan_spec.chan_type)); in check_header_contains_channel() 103 if (sensor_chan_spec_eq(header->channels[i], chan_spec)) { in check_header_contains_channel() 386 struct sensor_chan_spec chan_spec, q31_t *out) in get_q31_value() argument 389 if (sensor_chan_spec_eq(chan_spec, header->channels[i])) { in get_q31_value() 427 struct sensor_q31_data *data_out, struct sensor_chan_spec chan_spec) in decode_q31() argument 436 rc = get_q31_value(header, values, chan_spec, &data_out->readings[0].value); in decode_q31() 460 static int decode(const uint8_t *buffer, struct sensor_chan_spec chan_spec, in decode() argument 472 if (((int)chan_spec.chan_type < 0) || chan_spec.chan_type >= (SENSOR_CHAN_ALL)) { in decode() 477 switch (chan_spec.chan_type) { in decode() [all …]
|
/Zephyr-Core-3.7.0/drivers/sensor/tdk/icm42688/ |
D | icm42688_decoder.c | 348 static int icm42688_fifo_decode(const uint8_t *buffer, struct sensor_chan_spec chan_spec, in icm42688_fifo_decode() argument 358 if ((uintptr_t)buffer_end <= *fit || chan_spec.chan_idx != 0) { in icm42688_fifo_decode() 390 if (chan_spec.chan_type == SENSOR_CHAN_DIE_TEMP) { in icm42688_fifo_decode() 403 } else if (IS_ACCEL(chan_spec.chan_type) && has_accel) { in icm42688_fifo_decode() 424 } else if (IS_GYRO(chan_spec.chan_type) && has_gyro) { in icm42688_fifo_decode() 453 static int icm42688_one_shot_decode(const uint8_t *buffer, struct sensor_chan_spec chan_spec, in icm42688_one_shot_decode() argument 468 if (max_count == 0 || chan_spec.chan_idx != 0) { in icm42688_one_shot_decode() 472 switch (chan_spec.chan_type) { in icm42688_one_shot_decode() 571 static int icm42688_decoder_decode(const uint8_t *buffer, struct sensor_chan_spec chan_spec, in icm42688_decoder_decode() argument 578 return icm42688_fifo_decode(buffer, chan_spec, fit, max_count, data_out); in icm42688_decoder_decode() [all …]
|
/Zephyr-Core-3.7.0/tests/drivers/sensor/bmi160/src/ |
D | fixture.c | 36 struct sensor_chan_spec chan_spec = {.chan_type = values[i].channel, .chan_idx = 0}; in sensor_bmi160_setup_emulator() local 38 zassert_ok(emul_sensor_backend_set_channel(emulator, chan_spec, in sensor_bmi160_setup_emulator()
|