Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/spi/
Dspi-s3c64xx.c216 unsigned cur_mode, cur_bpw; member
317 config.src_addr_width = sdd->cur_bpw / 8; in s3c64xx_prepare_dma()
323 config.dst_addr_width = sdd->cur_bpw / 8; in s3c64xx_prepare_dma()
469 switch (sdd->cur_bpw) { in s3c64xx_iowrite_rep()
509 writel(((xfer->len * 8 / sdd->cur_bpw) & 0xffff) in s3c64xx_enable_datapath()
535 writel(((xfer->len * 8 / sdd->cur_bpw) & 0xffff) in s3c64xx_enable_datapath()
671 switch (sdd->cur_bpw) { in s3c64xx_wait_for_pio()
726 switch (sdd->cur_bpw) { in s3c64xx_spi_config()
820 if (bpw != sdd->cur_bpw || speed != sdd->cur_speed) { in s3c64xx_spi_transfer_one()
821 sdd->cur_bpw = bpw; in s3c64xx_spi_transfer_one()
[all …]
Dspi-stm32.c345 unsigned int cur_bpw; member
581 bpw = DIV_ROUND_UP(spi->cur_bpw, 8); in stm32h7_spi_prepare_fthlv()
598 if (spi->cur_bpw == 16) { in stm32f4_spi_write_tx()
691 if (spi->cur_bpw == 16) { in stm32f4_spi_read_rx()
773 (rxplvl >= 2 || spi->cur_bpw > 8))) { in stm32h7_spi_read_rxfifo()
1243 if (spi->cur_bpw <= 8) in stm32_spi_dma_config()
1245 else if (spi->cur_bpw <= 16) in stm32_spi_dma_config()
1393 if (spi->cur_bpw <= 8) in stm32f7_spi_transfer_one_dma_start()
1533 if (spi->cur_bpw == 16) in stm32f4_spi_set_bpw()
1548 bpw = spi->cur_bpw - 1; in stm32f7_spi_set_bpw()
[all …]