Searched refs:cs_ctrl (Results 1 – 2 of 2) sorted by relevance
130 struct spi_cs_control cs_ctrl = (struct spi_cs_control){ in main() local141 test_basic_write_9bit_words(dev, &cs_ctrl); in main()144 test_9bit_loopback_partial(dev, &cs_ctrl); in main()147 test_8bit_xfer(dev, &cs_ctrl); in main()
53 uint32_t cs_ctrl; in spi_pw_enable_cs_hw_ctrl() local55 cs_ctrl = spi_pw_reg_read(dev, PW_SPI_REG_CS_CTRL); in spi_pw_enable_cs_hw_ctrl()56 cs_ctrl &= PW_SPI_CS_CTRL_HW_MODE; in spi_pw_enable_cs_hw_ctrl()57 spi_pw_reg_write(dev, PW_SPI_REG_CS_CTRL, cs_ctrl); in spi_pw_enable_cs_hw_ctrl()62 uint32_t cs_ctrl; in spi_pw_cs_sw_ctrl() local64 cs_ctrl = spi_pw_reg_read(dev, PW_SPI_REG_CS_CTRL); in spi_pw_cs_sw_ctrl()65 cs_ctrl &= ~(PW_SPI_CS_CTRL_CS_MASK); in spi_pw_cs_sw_ctrl()67 cs_ctrl |= PW_SPI_CS_CTRL_SW_MODE; in spi_pw_cs_sw_ctrl()70 cs_ctrl &= PW_SPI_CS_LOW; in spi_pw_cs_sw_ctrl()72 cs_ctrl |= PW_SPI_CS_HIGH; in spi_pw_cs_sw_ctrl()[all …]