Lines Matching refs:cur_bpw
297 unsigned int cur_bpw; member
473 bpw = DIV_ROUND_UP(spi->cur_bpw, 8); in stm32h7_spi_prepare_fthlv()
490 if (spi->cur_bpw == 16) { in stm32f4_spi_write_tx()
554 if (spi->cur_bpw == 16) { in stm32f4_spi_read_rx()
596 (rxplvl >= 2 || spi->cur_bpw > 8))) { in stm32h7_spi_read_rxfifo()
1052 if (spi->cur_bpw <= 8) in stm32_spi_dma_config()
1054 else if (spi->cur_bpw <= 16) in stm32_spi_dma_config()
1325 if (spi->cur_bpw == 16) in stm32f4_spi_set_bpw()
1340 bpw = spi->cur_bpw - 1; in stm32h7_spi_set_bpw()
1535 spi->cur_bpw = transfer->bits_per_word; in stm32_spi_transfer_one_setup()
1560 if (spi->cur_bpw <= 8) in stm32_spi_transfer_one_setup()
1562 else if (spi->cur_bpw <= 16) in stm32_spi_transfer_one_setup()
1577 spi->cur_bpw, spi->cur_fthlv); in stm32_spi_transfer_one_setup()