Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/spi/
Dspi-stm32.c304 unsigned int cur_bpw; member
479 if (spi->cur_bpw <= 8) in stm32h7_spi_prepare_fthlv()
481 else if (spi->cur_bpw <= 16) in stm32h7_spi_prepare_fthlv()
487 if (spi->cur_bpw > 8) in stm32h7_spi_prepare_fthlv()
508 if (spi->cur_bpw == 16) { in stm32f4_spi_write_tx()
572 if (spi->cur_bpw == 16) { in stm32f4_spi_read_rx()
613 (flush && (rxplvl >= 2 || spi->cur_bpw > 8))) { in stm32h7_spi_read_rxfifo()
1114 if (spi->cur_bpw <= 8) in stm32_spi_dma_config()
1116 else if (spi->cur_bpw <= 16) in stm32_spi_dma_config()
1377 if (spi->cur_bpw == 16) in stm32f4_spi_set_bpw()
[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 …]