Home
last modified time | relevance | path

Searched refs:cpha (Results 1 – 6 of 6) sorted by relevance

/drivers/spi/
Dspi-cavium.c38 bool cpha, cpol; in octeon_spi_do_transfer() local
45 cpha = mode & SPI_CPHA; in octeon_spi_do_transfer()
56 mpi_cfg.s.idlelo = cpha != cpol; in octeon_spi_do_transfer()
57 mpi_cfg.s.cslate = cpha ? 1 : 0; in octeon_spi_do_transfer()
Dspi-geni-qcom.c203 u32 loopback_cfg, cpol, cpha, demux_output_inv; in setup_fifo_params() local
209 cpha = readl(se->base + SE_SPI_CPHA); in setup_fifo_params()
213 cpha &= ~CPHA; in setup_fifo_params()
222 cpha |= CPHA; in setup_fifo_params()
243 writel(cpha, se->base + SE_SPI_CPHA); in setup_fifo_params()
Dspi-slave-mt27xx.c117 bool cpha, cpol; in mtk_spi_slave_prepare_message() local
120 cpha = spi->mode & SPI_CPHA ? 1 : 0; in mtk_spi_slave_prepare_message()
124 if (cpha) in mtk_spi_slave_prepare_message()
Dspi-mt65xx.c195 u16 cpha, cpol; in mtk_spi_prepare_message() local
201 cpha = spi->mode & SPI_CPHA ? 1 : 0; in mtk_spi_prepare_message()
205 if (cpha) in mtk_spi_prepare_message()
Dspi-stm32.c207 const struct stm32_spi_reg cpha; member
326 .cpha = { STM32F4_SPI_CR1, STM32F4_SPI_CR1_CPHA },
344 .cpha = { STM32H7_SPI_CFG2, STM32H7_SPI_CFG2_CPHA },
1022 setb |= spi->cfg->regs->cpha.mask; in stm32_spi_prepare_msg()
1024 clrb |= spi->cfg->regs->cpha.mask; in stm32_spi_prepare_msg()
Dspi-sh-msiof.c347 u32 cpol, u32 cpha, in sh_msiof_spi_set_pin_regs() argument
381 edge = cpol ^ !cpha; in sh_msiof_spi_set_pin_regs()