Home
last modified time | relevance | path

Searched refs:CPOL (Results 1 – 4 of 4) sorted by relevance

/linux-6.12.1/drivers/spi/
Dspi-atmel.c421 new_polarity = (asd->csr & SPI_BIT(CPOL)) != 0; in cs_activate()
434 u32 cpol = (spi->mode & SPI_CPOL) ? SPI_BIT(CPOL) : 0; in cs_activate()
441 if ((csr ^ cpol) & SPI_BIT(CPOL)) in cs_activate()
443 csr ^ SPI_BIT(CPOL)); in cs_activate()
1293 csr |= SPI_BIT(CPOL); in atmel_spi_setup()
Dspi-geni-qcom.c30 #define CPOL BIT(2) macro
410 cpol = CPOL; in setup_fifo_params()
/linux-6.12.1/Documentation/devicetree/bindings/net/
Dqca,qca7000.txt52 spi-cpol; /* SPI mode: CPOL=1 */
/linux-6.12.1/Documentation/spi/
Dspi-summary.rst100 - CPOL indicates the initial clock polarity. CPOL=0 means the
102 the second (trailing) edge is falling. CPOL=1 means the clock
113 but their timing diagrams will make the CPOL and CPHA modes clear.
115 In the SPI mode number, CPOL is the high order bit and CPHA is the
117 starting low (CPOL=0) and data stabilized for sampling during the
622 each other. For example, in SPI mode 0 (CPOL=0, CPHA=0) the bus lines may behave