Searched refs:cpol (Results 1 – 5 of 5) sorted by relevance
/drivers/spi/ |
D | spi-bitbang-txrx.h | 47 unsigned nsecs, unsigned cpol, unsigned flags, in bitbang_txrx_be_cpha0() argument 60 setsck(spi, !cpol); in bitbang_txrx_be_cpha0() 67 setsck(spi, cpol); in bitbang_txrx_be_cpha0() 74 unsigned nsecs, unsigned cpol, unsigned flags, in bitbang_txrx_be_cpha1() argument 83 setsck(spi, !cpol); in bitbang_txrx_be_cpha1() 88 setsck(spi, cpol); in bitbang_txrx_be_cpha1()
|
D | spi-octeon.c | 58 bool cpha, cpol; in octeon_spi_do_transfer() local 66 cpol = mode & SPI_CPOL; in octeon_spi_do_transfer() 78 mpi_cfg.s.idlelo = cpha != cpol; in octeon_spi_do_transfer()
|
D | spi-nuc900.c | 75 unsigned int cpol = spi->mode & SPI_CPOL ? 1 : 0; in nuc900_slave_select() local 96 if (!cpol) in nuc900_slave_select()
|
D | spi-sh-msiof.c | 283 u32 cpol, u32 cpha, in sh_msiof_spi_set_pin_regs() argument 307 tmp |= CTR_TSCKIZ_SCK | cpol << CTR_TSCKIZ_POL_SHIFT; in sh_msiof_spi_set_pin_regs() 308 tmp |= CTR_RSCKIZ_SCK | cpol << CTR_RSCKIZ_POL_SHIFT; in sh_msiof_spi_set_pin_regs() 310 edge = cpol ^ !cpha; in sh_msiof_spi_set_pin_regs()
|
D | spi-atmel.c | 317 u32 cpol = (spi->mode & SPI_CPOL) ? SPI_BIT(CPOL) : 0; in cs_activate() local 324 if ((csr ^ cpol) & SPI_BIT(CPOL)) in cs_activate()
|