Searched refs:scd30_state (Results 1 – 4 of 4) sorted by relevance
/linux-5.19.10/drivers/iio/chemical/ |
D | scd30_core.c | 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() [all …]
|
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
|
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()
|
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()
|