Lines Matching refs:cur_bits_per_word
87 unsigned int cur_bits_per_word;
419 mas->cur_bits_per_word = spi_slv->bits_per_word;
469 if (xfer->bits_per_word != mas->cur_bits_per_word ||
471 mas->cur_bits_per_word = xfer->bits_per_word;
482 if (!(mas->cur_bits_per_word % MIN_WORD_LEN)) {
483 peripheral.rx_len = ((xfer->len << 3) / mas->cur_bits_per_word);
485 int bytes_per_word = (mas->cur_bits_per_word / BITS_PER_BYTE) + 1;
551 if (!(mas->cur_bits_per_word % MIN_WORD_LEN))
552 len = xfer->len * BITS_PER_BYTE / mas->cur_bits_per_word;
554 len = xfer->len / (mas->cur_bits_per_word / BITS_PER_BYTE + 1);
574 fifo_size = mas->tx_fifo_depth * mas->fifo_width_bits / mas->cur_bits_per_word;
736 if (mas->fifo_width_bits % mas->cur_bits_per_word)
737 return roundup_pow_of_two(DIV_ROUND_UP(mas->cur_bits_per_word,
849 if (xfer->bits_per_word != mas->cur_bits_per_word) {
851 mas->cur_bits_per_word = xfer->bits_per_word;
985 mas->tx_rem_bytes, mas->cur_bits_per_word);
989 mas->rx_rem_bytes, mas->cur_bits_per_word);