Lines Matching refs:rd_data
38 uint8_t rd_data[A01NYUB_BUF_LEN]; member
71 checksum = a01nyub_checksum(data->rd_data); in a01nyub_poll_data()
72 if (checksum != data->rd_data[A01NYUB_CHECKSUM_IDX]) { in a01nyub_poll_data()
75 data->rd_data[A01NYUB_CHECKSUM_IDX]); in a01nyub_poll_data()
77 data->rd_data[0], in a01nyub_poll_data()
78 data->rd_data[1], in a01nyub_poll_data()
79 data->rd_data[2], in a01nyub_poll_data()
80 data->rd_data[3]); in a01nyub_poll_data()
85 data->data = (data->rd_data[1]<<8) + data->rd_data[2]; in a01nyub_poll_data()
138 data->xfer_bytes += uart_fifo_read(uart_dev, &data->rd_data[data->xfer_bytes], in a01nyub_uart_isr()
145 if ((data->rd_data[0] != A01NYUB_HEADER) & (data->xfer_bytes == 1)) { in a01nyub_uart_isr()
152 data->rd_data[0], in a01nyub_uart_isr()
153 data->rd_data[1], in a01nyub_uart_isr()
154 data->rd_data[2], in a01nyub_uart_isr()
155 data->rd_data[3]); in a01nyub_uart_isr()