Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/iio/chemical/
Dscd30_serial.c26 #define SCD30_SERDEV_RX_HEADER_SIZE 3 macro
128 rxsize = SCD30_SERDEV_RX_HEADER_SIZE + size + SCD30_SERDEV_CRC_SIZE; in scd30_serdev_command()
154 if (rxbuf[2] != (rxsize - SCD30_SERDEV_RX_HEADER_SIZE - SCD30_SERDEV_CRC_SIZE)) { in scd30_serdev_command()
166 rxsize -= SCD30_SERDEV_RX_HEADER_SIZE; in scd30_serdev_command()
167 memcpy(rsp, rxbuf + SCD30_SERDEV_RX_HEADER_SIZE, rxsize); in scd30_serdev_command()