Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/input/
Dinput_sbus.c68 uint16_t xfer_bytes; member
150 data->xfer_bytes = 0; in input_sbus_input_report_thread()
206 data->xfer_bytes += uart_fifo_read(uart_dev, &rd_data[data->xfer_bytes], in sbus_resync()
207 SBUS_FRAME_LEN - data->xfer_bytes); in sbus_resync()
208 if (data->xfer_bytes == SBUS_FRAME_LEN) { in sbus_resync()
211 data->xfer_bytes = 0; in sbus_resync()
219 data->xfer_bytes = 0; in sbus_resync()
227 data->xfer_bytes = 1; in sbus_resync()
250 while (uart_irq_rx_ready(uart_dev) && data->xfer_bytes <= SBUS_FRAME_LEN) { in sbus_uart_isr()
252 if (data->xfer_bytes == 0) { in sbus_uart_isr()
[all …]
/Zephyr-latest/drivers/sensor/a01nyub/
Da01nyub.c37 uint8_t xfer_bytes; member
138 data->xfer_bytes += uart_fifo_read(uart_dev, &data->rd_data[data->xfer_bytes], in a01nyub_uart_isr()
139 A01NYUB_BUF_LEN - data->xfer_bytes); in a01nyub_uart_isr()
145 if ((data->rd_data[0] != A01NYUB_HEADER) & (data->xfer_bytes == 1)) { in a01nyub_uart_isr()
147 data->xfer_bytes = 0; in a01nyub_uart_isr()
150 if (data->xfer_bytes == A01NYUB_BUF_LEN) { in a01nyub_uart_isr()
157 data->xfer_bytes = 0; in a01nyub_uart_isr()
/Zephyr-latest/drivers/sensor/mhz19b/
Dmhz19b.c273 data->xfer_bytes += uart_fifo_read(uart_dev, &data->rd_data[data->xfer_bytes], in mhz19b_uart_isr()
274 MHZ19B_BUF_LEN - data->xfer_bytes); in mhz19b_uart_isr()
276 if (data->xfer_bytes == MHZ19B_BUF_LEN) { in mhz19b_uart_isr()
277 data->xfer_bytes = 0; in mhz19b_uart_isr()
287 data->xfer_bytes += in mhz19b_uart_isr()
288 uart_fifo_fill(uart_dev, &mhz19b_cmds[data->cmd_idx][data->xfer_bytes], in mhz19b_uart_isr()
289 MHZ19B_BUF_LEN - data->xfer_bytes); in mhz19b_uart_isr()
291 if (data->xfer_bytes == MHZ19B_BUF_LEN) { in mhz19b_uart_isr()
292 data->xfer_bytes = 0; in mhz19b_uart_isr()
Dmhz19b.h48 uint8_t xfer_bytes; member
/Zephyr-latest/drivers/mipi_dbi/
Dmipi_dbi_nxp_lcdic.c102 uint32_t xfer_bytes; member
453 dev_data->xfer_bytes = desc->buf_size; in mipi_dbi_lcdic_write_display()
554 dev_data->xfer_bytes = data_len; in mipi_dbi_lcdic_write_cmd()
780 data->xfer_bytes -= data->cmd_bytes; in mipi_dbi_lcdic_isr()
785 if (data->xfer_bytes == 0) { in mipi_dbi_lcdic_isr()
792 data->cmd_bytes = MIN(data->xfer_bytes, LCDIC_MAX_XFER); in mipi_dbi_lcdic_isr()
823 data->xfer_bytes -= bytes_written; in mipi_dbi_lcdic_isr()
837 data->xfer_bytes -= bytes_written; in mipi_dbi_lcdic_isr()