Lines Matching refs:scd4x_state

64 struct scd4x_state {  struct
73 static int scd4x_i2c_xfer(struct scd4x_state *state, char *txbuf, int txsize, in scd4x_i2c_xfer() argument
98 static int scd4x_send_command(struct scd4x_state *state, enum scd4x_cmd cmd) in scd4x_send_command()
131 static int scd4x_read(struct scd4x_state *state, enum scd4x_cmd cmd, in scd4x_read()
184 static int scd4x_write(struct scd4x_state *state, enum scd4x_cmd cmd, uint16_t arg) in scd4x_write()
220 static int scd4x_write_and_fetch(struct scd4x_state *state, enum scd4x_cmd cmd, in scd4x_write_and_fetch()
271 static int scd4x_read_meas(struct scd4x_state *state, uint16_t *meas) in scd4x_read_meas()
286 static int scd4x_wait_meas_poll(struct scd4x_state *state) in scd4x_wait_meas_poll()
316 static int scd4x_read_poll(struct scd4x_state *state, uint16_t *buf) in scd4x_read_poll()
327 static int scd4x_read_channel(struct scd4x_state *state, int chan) in scd4x_read_channel()
343 struct scd4x_state *state = iio_priv(indio_dev); in scd4x_read_raw()
431 struct scd4x_state *state = iio_priv(indio_dev); in scd4x_write_raw()
465 struct scd4x_state *state = iio_priv(indio_dev); in calibration_auto_enable_show()
488 struct scd4x_state *state = iio_priv(indio_dev); in calibration_auto_enable_store()
513 struct scd4x_state *state = iio_priv(indio_dev); in calibration_forced_value_store()
624 struct scd4x_state *state = iio_priv(indio_dev); in scd4x_suspend()
637 struct scd4x_state *state = iio_priv(indio_dev); in scd4x_resume()
656 struct scd4x_state *state = data; in scd4x_disable_regulator()
665 struct scd4x_state *state = iio_priv(indio_dev); in scd4x_trigger_handler()
690 struct scd4x_state *state; in scd4x_probe()