Home
last modified time | relevance | path

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

/openbmc/linux/drivers/iio/imu/bno055/
H A Dbno055_ser_core.c153 int databuf_count; member
348 priv->rx.databuf_count != priv->expected_data_len) { in bno055_ser_handle_rx()
408 priv->rx.databuf_count = 0; in bno055_ser_receive_buf()
444 if (priv->rx.databuf_count + remaining > priv->rx.expected_len) { in bno055_ser_receive_buf()
469 (priv->rx.databuf_count + remaining <= priv->expected_data_len)) in bno055_ser_receive_buf()
470 memcpy(priv->response_buf + priv->rx.databuf_count, in bno055_ser_receive_buf()
474 priv->rx.databuf_count += remaining; in bno055_ser_receive_buf()
480 if (priv->rx.databuf_count == priv->rx.expected_len) { in bno055_ser_receive_buf()