Lines Matching full:cpol
50 unsigned nsecs, unsigned cpol, unsigned flags, in bitbang_txrx_be_cpha0() argument
53 /* if (cpol == 0) this is SPI_MODE_0; else this is SPI_MODE_2 */ in bitbang_txrx_be_cpha0()
68 setsck(spi, !cpol); in bitbang_txrx_be_cpha0()
75 setsck(spi, cpol); in bitbang_txrx_be_cpha0()
82 unsigned nsecs, unsigned cpol, unsigned flags, in bitbang_txrx_be_cpha1() argument
85 /* if (cpol == 0) this is SPI_MODE_1; else this is SPI_MODE_3 */ in bitbang_txrx_be_cpha1()
92 setsck(spi, !cpol); in bitbang_txrx_be_cpha1()
101 setsck(spi, cpol); in bitbang_txrx_be_cpha1()
114 unsigned int nsecs, unsigned int cpol, unsigned int flags, in bitbang_txrx_le_cpha0() argument
117 /* if (cpol == 0) this is SPI_MODE_0; else this is SPI_MODE_2 */ in bitbang_txrx_le_cpha0()
133 setsck(spi, !cpol); in bitbang_txrx_le_cpha0()
140 setsck(spi, cpol); in bitbang_txrx_le_cpha0()
147 unsigned int nsecs, unsigned int cpol, unsigned int flags, in bitbang_txrx_le_cpha1() argument
150 /* if (cpol == 0) this is SPI_MODE_1; else this is SPI_MODE_3 */ in bitbang_txrx_le_cpha1()
158 setsck(spi, !cpol); in bitbang_txrx_le_cpha1()
167 setsck(spi, cpol); in bitbang_txrx_le_cpha1()