Home
last modified time | relevance | path

Searched refs:cur_bpw (Results 1 - 4 of 4) sorted by relevance

/kernel/linux/linux-5.10/drivers/spi/
H A Dspi-s3c64xx.c170 * @cur_bpw: Stores the active bits per word settings.
189 unsigned cur_mode, cur_bpw; member
288 config.src_addr_width = sdd->cur_bpw / 8; in prepare_dma()
296 config.dst_addr_width = sdd->cur_bpw / 8; in prepare_dma()
391 writel(((xfer->len * 8 / sdd->cur_bpw) & 0xffff) in s3c64xx_enable_datapath()
403 switch (sdd->cur_bpw) { in s3c64xx_enable_datapath()
430 writel(((xfer->len * 8 / sdd->cur_bpw) & 0xffff) in s3c64xx_enable_datapath()
555 switch (sdd->cur_bpw) { in s3c64xx_wait_for_pio()
609 switch (sdd->cur_bpw) { in s3c64xx_spi_config()
692 if (bpw != sdd->cur_bpw || spee in s3c64xx_spi_transfer_one()
[all...]
H A Dspi-stm32.c277 * @cur_bpw: number of bits in a single SPI data frame
304 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()
1116 if (spi->cur_bpw <= 8) in stm32_spi_dma_config()
1118 else if (spi->cur_bpw < in stm32_spi_dma_config()
[all...]
/kernel/linux/linux-6.6/drivers/spi/
H A Dspi-s3c64xx.c176 * @cur_bpw: Stores the active bits per word settings.
195 unsigned cur_mode, cur_bpw; member
294 config.src_addr_width = sdd->cur_bpw / 8; in prepare_dma()
302 config.dst_addr_width = sdd->cur_bpw / 8; in prepare_dma()
437 writel(((xfer->len * 8 / sdd->cur_bpw) & 0xffff) in s3c64xx_enable_datapath()
449 switch (sdd->cur_bpw) { in s3c64xx_enable_datapath()
476 writel(((xfer->len * 8 / sdd->cur_bpw) & 0xffff) in s3c64xx_enable_datapath()
614 switch (sdd->cur_bpw) { in s3c64xx_wait_for_pio()
669 switch (sdd->cur_bpw) { in s3c64xx_spi_config()
763 if (bpw != sdd->cur_bpw || spee in s3c64xx_spi_transfer_one()
[all...]
H A Dspi-stm32.c281 * @cur_bpw: number of bits in a single SPI data frame
309 unsigned int cur_bpw; member
491 bpw = DIV_ROUND_UP(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()
614 (rxplvl >= 2 || spi->cur_bpw > 8))) { in stm32h7_spi_read_rxfifo()
1079 if (spi->cur_bpw <= 8) in stm32_spi_dma_config()
1081 else if (spi->cur_bpw <= 16) in stm32_spi_dma_config()
1354 if (spi->cur_bpw == 16) in stm32f4_spi_set_bpw()
1369 bpw = spi->cur_bpw in stm32h7_spi_set_bpw()
[all...]

Completed in 8 milliseconds