Home
last modified time | relevance | path

Searched refs:icm42688_get_channel_position (Results 1 – 1 of 1) sorted by relevance

/Zephyr-4.1.0/drivers/sensor/tdk/icm42688/
Dicm42688_decoder.c128 static int icm42688_get_channel_position(enum sensor_channel chan) in icm42688_get_channel_position() function
164 encode_bmask = BIT(icm42688_get_channel_position(chan)); in icm42688_encode_channel()
167 encode_bmask = BIT(icm42688_get_channel_position(SENSOR_CHAN_ACCEL_X)) | in icm42688_encode_channel()
168 BIT(icm42688_get_channel_position(SENSOR_CHAN_ACCEL_Y)) | in icm42688_encode_channel()
169 BIT(icm42688_get_channel_position(SENSOR_CHAN_ACCEL_Z)); in icm42688_encode_channel()
172 encode_bmask = BIT(icm42688_get_channel_position(SENSOR_CHAN_GYRO_X)) | in icm42688_encode_channel()
173 BIT(icm42688_get_channel_position(SENSOR_CHAN_GYRO_Y)) | in icm42688_encode_channel()
174 BIT(icm42688_get_channel_position(SENSOR_CHAN_GYRO_Z)); in icm42688_encode_channel()
459 edata->readings[icm42688_get_channel_position(chan_spec.chan_type)], in icm42688_one_shot_decode()
483 edata->readings[icm42688_get_channel_position(chan_spec.chan_type - 3)], in icm42688_one_shot_decode()
[all …]