Home
last modified time | relevance | path

Searched refs:scd30_command_write (Results 1 – 1 of 1) sorted by relevance

/linux-5.19.10/drivers/iio/chemical/
Dscd30_core.c51 static int scd30_command_write(struct scd30_state *state, enum scd30_cmd cmd, u16 arg) in scd30_command_write() function
72 ret = scd30_command_write(state, CMD_RESET, 0); in scd30_reset()
272 ret = scd30_command_write(state, CMD_MEAS_INTERVAL, val); in scd30_write_raw()
285 ret = scd30_command_write(state, CMD_START_MEAS, val); in scd30_write_raw()
302 ret = scd30_command_write(state, CMD_TEMP_OFFSET / 10, val); in scd30_write_raw()
399 ret = scd30_command_write(state, CMD_ASC, val); in calibration_auto_enable_store()
436 ret = scd30_command_write(state, CMD_FRC, val); in calibration_forced_value_store()
526 ret = scd30_command_write(state, CMD_STOP_MEAS, 0); in scd30_suspend()
543 return scd30_command_write(state, CMD_START_MEAS, state->pressure_comp); in scd30_resume()
552 scd30_command_write(state, CMD_STOP_MEAS, 0); in scd30_stop_meas()
[all …]