Home
last modified time | relevance | path

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

/drivers/tty/serial/
Dqcom_geni_serial.c107 #define BYTES_PER_FIFO_WORD 4 macro
374 private_data->poll_cached_bytes_cnt = BYTES_PER_FIFO_WORD; in qcom_geni_serial_get_char()
409 if (private_data->write_cached_bytes_cnt == BYTES_PER_FIFO_WORD) { in qcom_geni_serial_wr_char()
459 (BYTES_PER_FIFO_WORD - private_data->write_cached_bytes_cnt); in __qcom_geni_serial_console_write()
537 int chunk = min_t(int, bytes - i, BYTES_PER_FIFO_WORD); in handle_rx_console()
717 total_bytes = BYTES_PER_FIFO_WORD * (word_cnt - 1); in qcom_geni_serial_handle_rx()
721 total_bytes += BYTES_PER_FIFO_WORD; in qcom_geni_serial_handle_rx()
754 avail *= BYTES_PER_FIFO_WORD; in qcom_geni_serial_handle_tx()
778 tx_bytes = min_t(size_t, remaining, BYTES_PER_FIFO_WORD); in qcom_geni_serial_handle_tx()
940 geni_se_config_packing(&port->se, BITS_PER_BYTE, BYTES_PER_FIFO_WORD, in qcom_geni_serial_port_setup()
[all …]
/drivers/i2c/busses/
Di2c-tegra.c30 #define BYTES_PER_FIFO_WORD 4 macro
757 words_to_transfer = buf_remaining / BYTES_PER_FIFO_WORD; in tegra_i2c_empty_rx_fifo()
763 buf += words_to_transfer * BYTES_PER_FIFO_WORD; in tegra_i2c_empty_rx_fifo()
764 buf_remaining -= words_to_transfer * BYTES_PER_FIFO_WORD; in tegra_i2c_empty_rx_fifo()
810 words_to_transfer = buf_remaining / BYTES_PER_FIFO_WORD; in tegra_i2c_fill_tx_fifo()
829 buf_remaining -= words_to_transfer * BYTES_PER_FIFO_WORD; in tegra_i2c_fill_tx_fifo()
833 i2c_dev->msg_buf = buf + words_to_transfer * BYTES_PER_FIFO_WORD; in tegra_i2c_fill_tx_fifo()
840 buf += words_to_transfer * BYTES_PER_FIFO_WORD; in tegra_i2c_fill_tx_fifo()
1243 xfer_size = ALIGN(xfer_size, BYTES_PER_FIFO_WORD); in tegra_i2c_xfer_msg()