Home
last modified time | relevance | path

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

/linux-4.19.296/drivers/iio/accel/
Dkxsd9.c222 } hw_values; in kxsd9_trigger_handler() local
227 hw_values.chan, in kxsd9_trigger_handler()
228 sizeof(hw_values.chan)); in kxsd9_trigger_handler()
235 &hw_values, in kxsd9_trigger_handler()
/linux-4.19.296/drivers/iio/gyro/
Dmpu3050-core.c478 __be16 hw_values[8]; in mpu3050_trigger_handler() local
633 ret = regmap_bulk_read(mpu3050->map, MPU3050_TEMP_H, &hw_values, in mpu3050_trigger_handler()
634 sizeof(hw_values)); in mpu3050_trigger_handler()
641 iio_push_to_buffers_with_timestamp(indio_dev, hw_values, timestamp); in mpu3050_trigger_handler()
/linux-4.19.296/drivers/iio/magnetometer/
Dak8974.c547 __le16 hw_values[3]; in ak8974_read_raw() local
563 ret = ak8974_getresult(ak8974, hw_values); in ak8974_read_raw()
571 *val = (s16)le16_to_cpu(hw_values[chan->address]); in ak8974_read_raw()
/linux-4.19.296/drivers/misc/lis3lv02d/
Dlis3lv02d.c168 static inline int lis3lv02d_get_axis(s8 axis, int hw_values[3]) in lis3lv02d_get_axis()
171 return hw_values[axis - 1]; in lis3lv02d_get_axis()
173 return -hw_values[-axis - 1]; in lis3lv02d_get_axis()