Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/spi/
Dspi-s3c64xx.c187 unsigned cur_mode, cur_bpw; member
286 config.src_addr_width = sdd->cur_bpw / 8; in prepare_dma()
294 config.dst_addr_width = sdd->cur_bpw / 8; in prepare_dma()
389 writel(((xfer->len * 8 / sdd->cur_bpw) & 0xffff) in s3c64xx_enable_datapath()
401 switch (sdd->cur_bpw) { in s3c64xx_enable_datapath()
428 writel(((xfer->len * 8 / sdd->cur_bpw) & 0xffff) in s3c64xx_enable_datapath()
553 switch (sdd->cur_bpw) { in s3c64xx_wait_for_pio()
607 switch (sdd->cur_bpw) { in s3c64xx_spi_config()
687 if (bpw != sdd->cur_bpw || speed != sdd->cur_speed) { in s3c64xx_spi_transfer_one()
688 sdd->cur_bpw = bpw; in s3c64xx_spi_transfer_one()
[all …]
Dspi-stm32.c297 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()
1051 if (spi->cur_bpw <= 8) in stm32_spi_dma_config()
1053 else if (spi->cur_bpw <= 16) in stm32_spi_dma_config()
1324 if (spi->cur_bpw == 16) in stm32f4_spi_set_bpw()
1339 bpw = spi->cur_bpw - 1; in stm32h7_spi_set_bpw()
1534 spi->cur_bpw = transfer->bits_per_word; in stm32_spi_transfer_one_setup()
[all …]