Home
last modified time | relevance | path

Searched refs:cs_mode (Results 1 – 2 of 2) sorted by relevance

/Zephyr-latest/drivers/spi/
Dspi_pw.c149 if (spi->cs_mode == CS_SW_MODE) { in spi_pw_cs_ctrl_enable()
151 } else if (spi->cs_mode == CS_GPIO_MODE) { in spi_pw_cs_ctrl_enable()
155 if (spi->cs_mode == CS_SW_MODE) { in spi_pw_cs_ctrl_enable()
157 } else if (spi->cs_mode == CS_GPIO_MODE) { in spi_pw_cs_ctrl_enable()
182 if (spi->cs_mode == CS_HW_MODE) { in spi_pw_cs_ctrl_init()
184 } else if (spi->cs_mode == CS_SW_MODE) { in spi_pw_cs_ctrl_init()
186 } else if (spi->cs_mode == CS_GPIO_MODE) { in spi_pw_cs_ctrl_init()
554 if (spi->cs_mode == CS_GPIO_MODE) { in spi_pw_configure()
556 spi->cs_mode = CS_HW_MODE; in spi_pw_configure()
802 if (spi->cs_mode == CS_GPIO_MODE) { in spi_pw_init()
[all …]
Dspi_pw.h218 uint8_t cs_mode; member