Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/spi/
Dspi-stm32.c164 unsigned int cur_bpw; member
292 if (spi->cur_bpw <= 8) in stm32_spi_prepare_fthlv()
294 else if (spi->cur_bpw <= 16) in stm32_spi_prepare_fthlv()
300 if (spi->cur_bpw > 8) in stm32_spi_prepare_fthlv()
366 (flush && (rxplvl >= 2 || spi->cur_bpw > 8))) { in stm32_spi_read_rxfifo()
677 if (spi->cur_bpw <= 8) in stm32_spi_dma_config()
679 else if (spi->cur_bpw <= 16) in stm32_spi_dma_config()
867 if (spi->cur_bpw != transfer->bits_per_word) { in stm32_spi_transfer_one_setup()
870 spi->cur_bpw = transfer->bits_per_word; in stm32_spi_transfer_one_setup()
871 bpw = spi->cur_bpw - 1; in stm32_spi_transfer_one_setup()
[all …]
Dspi-s3c64xx.c183 unsigned cur_mode, cur_bpw; member
281 config.src_addr_width = sdd->cur_bpw / 8; in prepare_dma()
289 config.dst_addr_width = sdd->cur_bpw / 8; in prepare_dma()
371 writel(((xfer->len * 8 / sdd->cur_bpw) & 0xffff) in s3c64xx_enable_datapath()
383 switch (sdd->cur_bpw) { in s3c64xx_enable_datapath()
410 writel(((xfer->len * 8 / sdd->cur_bpw) & 0xffff) in s3c64xx_enable_datapath()
529 switch (sdd->cur_bpw) { in s3c64xx_wait_for_pio()
582 switch (sdd->cur_bpw) { in s3c64xx_spi_config()
653 if (bpw != sdd->cur_bpw || speed != sdd->cur_speed) { in s3c64xx_spi_transfer_one()
654 sdd->cur_bpw = bpw; in s3c64xx_spi_transfer_one()
[all …]