Searched refs:cpha (Results 1 – 6 of 6) sorted by relevance
/drivers/spi/ |
D | spi-cavium.c | 38 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()
|
D | spi-geni-qcom.c | 203 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()
|
D | spi-slave-mt27xx.c | 117 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()
|
D | spi-mt65xx.c | 195 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()
|
D | spi-stm32.c | 207 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()
|
D | spi-sh-msiof.c | 347 u32 cpol, u32 cpha, in sh_msiof_spi_set_pin_regs() argument 381 edge = cpol ^ !cpha; in sh_msiof_spi_set_pin_regs()
|