Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/tty/serial/
Dqcom_geni_serial.c97 #define BYTES_PER_FIFO_WORD 4U macro
373 private_data->poll_cached_bytes_cnt = BYTES_PER_FIFO_WORD; in qcom_geni_serial_get_char()
435 if (private_data->write_cached_bytes_cnt == BYTES_PER_FIFO_WORD) { in qcom_geni_serial_wr_char()
486 (BYTES_PER_FIFO_WORD - private_data->write_cached_bytes_cnt); in __qcom_geni_serial_console_write()
550 int chunk = min_t(int, bytes - i, BYTES_PER_FIFO_WORD); in handle_rx_console()
743 total_bytes = BYTES_PER_FIFO_WORD * (word_cnt - 1); in qcom_geni_serial_handle_rx_fifo()
747 total_bytes += BYTES_PER_FIFO_WORD; in qcom_geni_serial_handle_rx_fifo()
907 u8 buf[BYTES_PER_FIFO_WORD]; in qcom_geni_serial_send_chunk_fifo()
911 tx_bytes = min(remaining, BYTES_PER_FIFO_WORD); in qcom_geni_serial_send_chunk_fifo()
952 avail *= BYTES_PER_FIFO_WORD; in qcom_geni_serial_handle_tx_fifo()
[all …]
/linux-6.12.1/drivers/i2c/busses/
Di2c-tegra.c31 #define BYTES_PER_FIFO_WORD 4 macro
758 words_to_transfer = buf_remaining / BYTES_PER_FIFO_WORD; in tegra_i2c_empty_rx_fifo()
764 buf += words_to_transfer * BYTES_PER_FIFO_WORD; in tegra_i2c_empty_rx_fifo()
765 buf_remaining -= words_to_transfer * BYTES_PER_FIFO_WORD; in tegra_i2c_empty_rx_fifo()
811 words_to_transfer = buf_remaining / BYTES_PER_FIFO_WORD; in tegra_i2c_fill_tx_fifo()
830 buf_remaining -= words_to_transfer * BYTES_PER_FIFO_WORD; in tegra_i2c_fill_tx_fifo()
834 i2c_dev->msg_buf = buf + words_to_transfer * BYTES_PER_FIFO_WORD; in tegra_i2c_fill_tx_fifo()
841 buf += words_to_transfer * BYTES_PER_FIFO_WORD; in tegra_i2c_fill_tx_fifo()
1254 xfer_size = ALIGN(xfer_size, BYTES_PER_FIFO_WORD); in tegra_i2c_xfer_msg()