Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/spi/
Dspi-geni-qcom.c87 unsigned int cur_bits_per_word; member
419 mas->cur_bits_per_word = spi_slv->bits_per_word; in setup_fifo_params()
469 if (xfer->bits_per_word != mas->cur_bits_per_word || in setup_gsi_xfer()
471 mas->cur_bits_per_word = xfer->bits_per_word; in setup_gsi_xfer()
482 if (!(mas->cur_bits_per_word % MIN_WORD_LEN)) { in setup_gsi_xfer()
483 peripheral.rx_len = ((xfer->len << 3) / mas->cur_bits_per_word); in setup_gsi_xfer()
485 int bytes_per_word = (mas->cur_bits_per_word / BITS_PER_BYTE) + 1; in setup_gsi_xfer()
551 if (!(mas->cur_bits_per_word % MIN_WORD_LEN)) in get_xfer_len_in_words()
552 len = xfer->len * BITS_PER_BYTE / mas->cur_bits_per_word; in get_xfer_len_in_words()
554 len = xfer->len / (mas->cur_bits_per_word / BITS_PER_BYTE + 1); in get_xfer_len_in_words()
[all …]