Home
last modified time | relevance | path

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

/linux/drivers/iio/magnetometer/
H A Dhid-sensor-magn-3d.c152 struct magn_3d_state *magn_state = iio_priv(indio_dev); in magn_3d_read_raw() local
162 hid_sensor_power_state(&magn_state->magn_flux_attributes, true); in magn_3d_read_raw()
163 report_id = magn_state->magn[chan->address].report_id; in magn_3d_read_raw()
164 min = magn_state->magn[chan->address].logical_minimum; in magn_3d_read_raw()
168 magn_state->magn_flux_attributes.hsdev, in magn_3d_read_raw()
176 &magn_state->magn_flux_attributes, in magn_3d_read_raw()
180 hid_sensor_power_state(&magn_state->magn_flux_attributes, in magn_3d_read_raw()
187 *val = magn_state->magn_flux_attr.scale_pre_decml; in magn_3d_read_raw()
188 *val2 = magn_state->magn_flux_attr.scale_post_decml; in magn_3d_read_raw()
189 ret_type = magn_state->magn_flux_attr.scale_precision; in magn_3d_read_raw()
[all …]