Lines Matching refs:sps30_state
37 static int sps30_i2c_xfer(struct sps30_state *state, unsigned char *txbuf, size_t txsize, in sps30_i2c_xfer()
65 static int sps30_i2c_command(struct sps30_state *state, u16 cmd, void *arg, size_t arg_size, in sps30_i2c_command()
123 static int sps30_i2c_start_meas(struct sps30_state *state) in sps30_i2c_start_meas()
131 static int sps30_i2c_stop_meas(struct sps30_state *state) in sps30_i2c_stop_meas()
136 static int sps30_i2c_reset(struct sps30_state *state) in sps30_i2c_reset()
153 static bool sps30_i2c_meas_ready(struct sps30_state *state) in sps30_i2c_meas_ready()
165 static int sps30_i2c_read_meas(struct sps30_state *state, __be32 *meas, size_t num) in sps30_i2c_read_meas()
177 static int sps30_i2c_clean_fan(struct sps30_state *state) in sps30_i2c_clean_fan()
182 static int sps30_i2c_read_cleaning_period(struct sps30_state *state, __be32 *period) in sps30_i2c_read_cleaning_period()
187 static int sps30_i2c_write_cleaning_period(struct sps30_state *state, __be32 period) in sps30_i2c_write_cleaning_period()
192 static int sps30_i2c_show_info(struct sps30_state *state) in sps30_i2c_show_info()