Searched refs:press_data (Results 1 – 5 of 5) sorted by relevance
649 struct st_sensor_data *press_data = iio_priv(indio_dev); in st_press_read_raw() local662 *val2 = press_data->current_fullscale->gain; in st_press_read_raw()666 *val2 = press_data->current_fullscale->gain2; in st_press_read_raw()677 press_data->current_fullscale->gain2; in st_press_read_raw()687 *val = press_data->odr; in st_press_read_raw()745 struct st_sensor_data *press_data = iio_priv(indio_dev); in st_press_common_probe() local763 press_data->num_data_channels = press_data->sensor_settings->num_ch - 1; in st_press_common_probe()764 indio_dev->channels = press_data->sensor_settings->ch; in st_press_common_probe()765 indio_dev->num_channels = press_data->sensor_settings->num_ch; in st_press_common_probe()767 press_data->current_fullscale = &press_data->sensor_settings->fs.fs_avl[0]; in st_press_common_probe()[all …]
65 struct st_sensor_data *press_data; in st_press_spi_probe() local78 indio_dev = devm_iio_device_alloc(&spi->dev, sizeof(*press_data)); in st_press_spi_probe()82 press_data = iio_priv(indio_dev); in st_press_spi_probe()83 press_data->sensor_settings = (struct st_sensor_settings *)settings; in st_press_spi_probe()
82 struct st_sensor_data *press_data; in st_press_i2c_probe() local95 indio_dev = devm_iio_device_alloc(&client->dev, sizeof(*press_data)); in st_press_i2c_probe()99 press_data = iio_priv(indio_dev); in st_press_i2c_probe()100 press_data->sensor_settings = (struct st_sensor_settings *)settings; in st_press_i2c_probe()
26 u32 press_data; member198 press_state->scan.press_data = *(u32 *)raw_data; in press_capture_sample()
153 int press_data; member1198 input->u.std.press_fct(input->u.std.press_data); in input_state_high()1469 int press_data,1489 callback->u.std.press_data = press_data;