Lines Matching refs:scd30_state
51 static int scd30_command_write(struct scd30_state *state, enum scd30_cmd cmd, u16 arg) in scd30_command_write()
56 static int scd30_command_read(struct scd30_state *state, enum scd30_cmd cmd, u16 *val) in scd30_command_read()
67 static int scd30_reset(struct scd30_state *state) in scd30_reset()
115 static int scd30_read_meas(struct scd30_state *state) in scd30_read_meas()
138 static int scd30_wait_meas_irq(struct scd30_state *state) in scd30_wait_meas_irq()
156 static int scd30_wait_meas_poll(struct scd30_state *state) in scd30_wait_meas_poll()
178 static int scd30_read_poll(struct scd30_state *state) in scd30_read_poll()
189 static int scd30_read(struct scd30_state *state) in scd30_read()
200 struct scd30_state *state = iio_priv(indio_dev); in scd30_read_raw()
259 struct scd30_state *state = iio_priv(indio_dev); in scd30_write_raw()
375 struct scd30_state *state = iio_priv(indio_dev); in calibration_auto_enable_show()
390 struct scd30_state *state = iio_priv(indio_dev); in calibration_auto_enable_store()
409 struct scd30_state *state = iio_priv(indio_dev); in calibration_forced_value_show()
424 struct scd30_state *state = iio_priv(indio_dev); in calibration_forced_value_store()
523 struct scd30_state *state = iio_priv(indio_dev); in scd30_suspend()
536 struct scd30_state *state = iio_priv(indio_dev); in scd30_resume()
550 struct scd30_state *state = data; in scd30_stop_meas()
557 struct scd30_state *state = data; in scd30_disable_regulator()
578 struct scd30_state *state = iio_priv(indio_dev); in scd30_irq_thread_handler()
594 struct scd30_state *state = iio_priv(indio_dev); in scd30_trigger_handler()
621 struct scd30_state *st = iio_priv(indio_dev); in scd30_set_trigger_state()
638 struct scd30_state *state = iio_priv(indio_dev); in scd30_setup_trigger()
679 struct scd30_state *state; in scd30_probe()