Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/spi/
Dspi-stm32.c304 unsigned int cur_bpw; member
487 if (spi->cur_bpw <= 8) in stm32h7_spi_prepare_fthlv()
489 else if (spi->cur_bpw <= 16) in stm32h7_spi_prepare_fthlv()
495 if (spi->cur_bpw > 8) in stm32h7_spi_prepare_fthlv()
519 if (spi->cur_bpw == 16) { in stm32f4_spi_write_tx()
583 if (spi->cur_bpw == 16) { in stm32f4_spi_read_rx()
625 (flush && (rxplvl >= 2 || spi->cur_bpw > 8))) { in stm32h7_spi_read_rxfifo()
1119 if (spi->cur_bpw <= 8) in stm32_spi_dma_config()
1121 else if (spi->cur_bpw <= 16) in stm32_spi_dma_config()
1390 if (spi->cur_bpw == 16) in stm32f4_spi_set_bpw()
[all …]
Dspi-s3c64xx.c188 unsigned cur_mode, cur_bpw; member
287 config.src_addr_width = sdd->cur_bpw / 8; in prepare_dma()
295 config.dst_addr_width = sdd->cur_bpw / 8; in prepare_dma()
390 writel(((xfer->len * 8 / sdd->cur_bpw) & 0xffff) in s3c64xx_enable_datapath()
402 switch (sdd->cur_bpw) { in s3c64xx_enable_datapath()
429 writel(((xfer->len * 8 / sdd->cur_bpw) & 0xffff) in s3c64xx_enable_datapath()
554 switch (sdd->cur_bpw) { in s3c64xx_wait_for_pio()
608 switch (sdd->cur_bpw) { in s3c64xx_spi_config()
684 if (bpw != sdd->cur_bpw || speed != sdd->cur_speed) { in s3c64xx_spi_transfer_one()
685 sdd->cur_bpw = bpw; in s3c64xx_spi_transfer_one()
[all …]