Searched refs:scd30_state (Results 1 – 4 of 4) sorted by relevance
/openbmc/linux/drivers/iio/chemical/ |
H A D | scd30_core.c | 67 static int scd30_reset(struct scd30_state *state) in scd30_reset() 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() 550 struct scd30_state *state = data; in scd30_stop_meas() 557 struct scd30_state *state = data; in scd30_disable_regulator() 621 struct scd30_state *st = iio_priv(indio_dev); in scd30_set_trigger_state() [all …]
|
H A D | scd30.h | 12 struct scd30_state; 44 typedef int (*scd30_command_t)(struct scd30_state *state, enum scd30_cmd cmd, u16 arg, 47 struct scd30_state { struct
|
H A D | scd30_serial.c | 55 static int scd30_serdev_xfer(struct scd30_state *state, char *txbuf, int txsize, in scd30_serdev_xfer() 81 static int scd30_serdev_command(struct scd30_state *state, enum scd30_cmd cmd, u16 arg, in scd30_serdev_command() 182 struct scd30_state *state; in scd30_serdev_receive_buf()
|
H A D | scd30_i2c.c | 38 static int scd30_i2c_xfer(struct scd30_state *state, char *txbuf, int txsize, in scd30_i2c_xfer() 66 static int scd30_i2c_command(struct scd30_state *state, enum scd30_cmd cmd, u16 arg, in scd30_i2c_command()
|