Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/spi/
Dspi_dw_regs.h56 DEFINE_MM_REG_WRITE(ctrlr1, DW_SPI_REG_CTRLR1, 32)
57 DEFINE_MM_REG_READ(ctrlr1, DW_SPI_REG_CTRLR1, 32)
60 DEFINE_MM_REG_WRITE(ctrlr1, DW_SPI_REG_CTRLR1, 16)
61 DEFINE_MM_REG_READ(ctrlr1, DW_SPI_REG_CTRLR1, 16)
Dspi_pw.c81 uint32_t ctrlr1; in spi_pw_intr_enable() local
83 ctrlr1 = spi_pw_reg_read(dev, PW_SPI_REG_CTRLR1); in spi_pw_intr_enable()
85 ctrlr1 |= PW_SPI_INTR_BITS; in spi_pw_intr_enable()
87 ctrlr1 |= PW_SPI_INTR_BITS; in spi_pw_intr_enable()
88 ctrlr1 &= ~(PW_SPI_INTR_MASK_RX); in spi_pw_intr_enable()
90 spi_pw_reg_write(dev, PW_SPI_REG_CTRLR1, ctrlr1); in spi_pw_intr_enable()
95 uint32_t ctrlr1; in spi_pw_intr_disable() local
97 ctrlr1 = spi_pw_reg_read(dev, PW_SPI_REG_CTRLR1); in spi_pw_intr_disable()
98 ctrlr1 &= ~(PW_SPI_INTR_BITS); in spi_pw_intr_disable()
99 spi_pw_reg_write(dev, PW_SPI_REG_CTRLR1, ctrlr1); in spi_pw_intr_disable()
[all …]