Searched refs:scd4x_read (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/iio/chemical/ |
H A D | scd4x.c | 131 static int scd4x_read(struct scd4x_state *state, enum scd4x_cmd cmd, in scd4x_read() function 276 ret = scd4x_read(state, CMD_READ_MEAS, buf, sizeof(buf)); in scd4x_read_meas() 296 ret = scd4x_read(state, CMD_GET_DATA_READY, &bval, sizeof(bval)); in scd4x_wait_meas_poll() 351 ret = scd4x_read(state, CMD_GET_AMB_PRESSURE, &tmp, sizeof(tmp)); in scd4x_read_raw() 396 ret = scd4x_read(state, CMD_GET_TEMP_OFFSET, &tmp, sizeof(tmp)); in scd4x_read_raw() 471 ret = scd4x_read(state, CMD_GET_ASC, &bval, sizeof(bval)); in calibration_auto_enable_show()
|