Home
last modified time | relevance | path

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

/linux/drivers/spi/
H A Dspi-s3c64xx.c218 unsigned cur_mode, cur_bpw; member
319 config.src_addr_width = sdd->cur_bpw / 8; in s3c64xx_prepare_dma()
325 config.dst_addr_width = sdd->cur_bpw / 8; in s3c64xx_prepare_dma()
471 switch (sdd->cur_bpw) { in s3c64xx_iowrite_rep()
511 writel(((xfer->len * 8 / sdd->cur_bpw) & 0xffff) in s3c64xx_enable_datapath()
537 writel(((xfer->len * 8 / sdd->cur_bpw) & 0xffff) in s3c64xx_enable_datapath()
673 switch (sdd->cur_bpw) { in s3c64xx_wait_for_pio()
728 switch (sdd->cur_bpw) { in s3c64xx_spi_config()
822 if (bpw != sdd->cur_bpw || speed != sdd->cur_speed) { in s3c64xx_spi_transfer_one()
823 sdd->cur_bpw = bpw; in s3c64xx_spi_transfer_one()
[all …]
H A Dspi-stm32.c363 unsigned int cur_bpw; member
607 bpw = DIV_ROUND_UP(spi->cur_bpw, 8); in stm32h7_spi_prepare_fthlv()
624 if (spi->cur_bpw == 16) { in stm32f4_spi_write_tx()
717 if (spi->cur_bpw == 16) { in stm32f4_spi_read_rx()
799 (rxplvl >= 2 || spi->cur_bpw > 8))) { in stm32h7_spi_read_rxfifo()
1286 if (spi->cur_bpw <= 8) in stm32_spi_dma_config()
1288 else if (spi->cur_bpw <= 16) in stm32_spi_dma_config()
1485 if (spi->cur_bpw <= 8) in stm32f7_spi_transfer_one_dma_start()
1771 if (spi->cur_bpw == 16) in stm32f4_spi_set_bpw()
1786 bpw = spi->cur_bpw - 1; in stm32f7_spi_set_bpw()
[all …]