Searched refs:press_data (Results 1 – 6 of 6) sorted by relevance
359 struct st_sensor_data *press_data = iio_priv(indio_dev); in st_press_read_raw() local372 *val2 = press_data->current_fullscale->gain; in st_press_read_raw()376 *val2 = press_data->current_fullscale->gain2; in st_press_read_raw()387 press_data->current_fullscale->gain2; in st_press_read_raw()397 *val = press_data->odr; in st_press_read_raw()438 struct st_sensor_data *press_data = iio_priv(indio_dev); in st_press_common_probe() local440 (struct st_sensors_platform_data *)press_data->dev->platform_data; in st_press_common_probe()441 int irq = press_data->get_irq_data_ready(indio_dev); in st_press_common_probe()446 mutex_init(&press_data->tb.buf_lock); in st_press_common_probe()456 press_data->num_data_channels = ST_PRESS_NUMBER_DATA_CHANNELS; in st_press_common_probe()[all …]
41 struct st_sensor_data *press_data = iio_priv(indio_dev); in st_press_buffer_postenable() local43 press_data->buffer_data = kmalloc(indio_dev->scan_bytes, GFP_KERNEL); in st_press_buffer_postenable()44 if (press_data->buffer_data == NULL) { in st_press_buffer_postenable()56 kfree(press_data->buffer_data); in st_press_buffer_postenable()64 struct st_sensor_data *press_data = iio_priv(indio_dev); in st_press_buffer_predisable() local73 kfree(press_data->buffer_data); in st_press_buffer_predisable()
24 struct st_sensor_data *press_data; in st_press_spi_probe() local27 indio_dev = devm_iio_device_alloc(&spi->dev, sizeof(*press_data)); in st_press_spi_probe()31 press_data = iio_priv(indio_dev); in st_press_spi_probe()33 st_sensors_spi_configure(indio_dev, spi, press_data); in st_press_spi_probe()
46 struct st_sensor_data *press_data; in st_press_i2c_probe() local49 indio_dev = devm_iio_device_alloc(&client->dev, sizeof(*press_data)); in st_press_i2c_probe()53 press_data = iio_priv(indio_dev); in st_press_i2c_probe()56 st_sensors_i2c_configure(indio_dev, client, press_data); in st_press_i2c_probe()
39 u32 press_data; member187 &press_state->press_data, in press_proc_event()188 sizeof(press_state->press_data)); in press_proc_event()205 press_state->press_data = *(u32 *)raw_data; in press_capture_sample()
202 int press_data; member1862 input->u.std.press_fct(input->u.std.press_data); in input_state_high()2147 int press_data,2167 callback->u.std.press_data = press_data;