Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/iio/chemical/
Dsps30_serial.c79 } sps30_serial_bytes[] = { variable
90 for (i = 0; i < ARRAY_SIZE(sps30_serial_bytes); i++) { in sps30_serial_put_byte()
91 if (sps30_serial_bytes[i].byte != byte) in sps30_serial_put_byte()
95 buf[1] = sps30_serial_bytes[i].byte2; in sps30_serial_put_byte()
112 for (i = 0; i < ARRAY_SIZE(sps30_serial_bytes); i++) { in sps30_serial_get_byte()
113 if (sps30_serial_bytes[i].byte2 != byte2) in sps30_serial_get_byte()
116 return sps30_serial_bytes[i].byte; in sps30_serial_get_byte()