Lines Matching refs:axis
373 #define MSA311_ACCEL_CHANNEL(axis) { \ argument
376 .channel2 = IIO_MOD_##axis, \
382 .scan_index = MSA311_SI_##axis, \
390 .datasheet_name = "ACC_"#axis, \
570 __le16 *axis) in msa311_get_axis() argument
584 return regmap_bulk_read(msa311->regs, axis_reg, axis, sizeof(*axis)); in msa311_get_axis()
593 __le16 axis; in msa311_read_raw_data() local
605 err = msa311_get_axis(msa311, chan, &axis); in msa311_read_raw_data()
623 *val = sign_extend32(le16_to_cpu(axis) >> chan->scan_type.shift, in msa311_read_raw_data()
893 __le16 axis; in msa311_buffer_thread() local
906 err = msa311_get_axis(msa311, chan, &axis); in msa311_buffer_thread()
914 buf.channels[i++] = axis; in msa311_buffer_thread()