Home
last modified time | relevance | path

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

/openbmc/linux/drivers/spi/
H A Dspi-s3c64xx.c210 unsigned cur_mode, cur_bpw; member
312 config.src_addr_width = sdd->cur_bpw / 8; in prepare_dma()
320 config.dst_addr_width = sdd->cur_bpw / 8; in prepare_dma()
453 writel(((xfer->len * 8 / sdd->cur_bpw) & 0xffff) in s3c64xx_enable_datapath()
465 switch (sdd->cur_bpw) { in s3c64xx_enable_datapath()
492 writel(((xfer->len * 8 / sdd->cur_bpw) & 0xffff) in s3c64xx_enable_datapath()
628 switch (sdd->cur_bpw) { in s3c64xx_wait_for_pio()
683 switch (sdd->cur_bpw) { in s3c64xx_spi_config()
777 if (bpw != sdd->cur_bpw || speed != sdd->cur_speed) { in s3c64xx_spi_transfer_one()
778 sdd->cur_bpw = bpw; in s3c64xx_spi_transfer_one()
[all …]
H A Dspi-stm32.c309 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 - 1; in stm32h7_spi_set_bpw()
1564 spi->cur_bpw = transfer->bits_per_word; in stm32_spi_transfer_one_setup()
[all …]