Searched refs:cpol (Results 1 - 4 of 4) sorted by relevance
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/spi/ |
H A D | spi_bitbang_txrx.h | 47 unsigned nsecs, unsigned cpol, unsigned flags, 50 /* if (cpol == 0) this is SPI_MODE_0; else this is SPI_MODE_2 */ 60 setsck(spi, !cpol); 67 setsck(spi, cpol); 74 unsigned nsecs, unsigned cpol, unsigned flags, 77 /* if (cpol == 0) this is SPI_MODE_1; else this is SPI_MODE_3 */ 83 setsck(spi, !cpol); 88 setsck(spi, cpol); 46 bitbang_txrx_be_cpha0(struct spi_device *spi, unsigned nsecs, unsigned cpol, unsigned flags, u32 word, u8 bits) argument 73 bitbang_txrx_be_cpha1(struct spi_device *spi, unsigned nsecs, unsigned cpol, unsigned flags, u32 word, u8 bits) argument
|
H A D | spi_sh_msiof.c | 169 int cpol, int cpha, 187 tmp |= cpol << 30; /* TSCKIZ */ 188 tmp |= cpol << 28; /* RSCKIZ */ 190 edge = cpol ? cpha : !cpha; 168 sh_msiof_spi_set_pin_regs(struct sh_msiof_spi_priv *p, int cpol, int cpha, int tx_hi_z, int lsb_first) argument
|
H A D | spi_nuc900.c | 79 unsigned int cpol = spi->mode & SPI_CPOL ? 1 : 0; local 100 if (!cpol)
|
H A D | atmel_spi.c | 100 u32 cpol = (spi->mode & SPI_CPOL) ? SPI_BIT(CPOL) : 0; local 107 if ((csr ^ cpol) & SPI_BIT(CPOL))
|
Completed in 126 milliseconds