Home
last modified time | relevance | path

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

/drivers/iio/pressure/
Dst_pressure_core.c359 struct st_sensor_data *press_data = iio_priv(indio_dev); in st_press_read_raw() local
372 *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() local
440 (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 …]
Dst_pressure_buffer.c41 struct st_sensor_data *press_data = iio_priv(indio_dev); in st_press_buffer_postenable() local
43 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() local
73 kfree(press_data->buffer_data); in st_press_buffer_predisable()
Dst_pressure_spi.c24 struct st_sensor_data *press_data; in st_press_spi_probe() local
27 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()
Dst_pressure_i2c.c46 struct st_sensor_data *press_data; in st_press_i2c_probe() local
49 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()
Dhid-sensor-press.c39 u32 press_data; member
187 &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()
/drivers/staging/panel/
Dpanel.c202 int press_data; member
1862 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;