Searched refs:ctrlr1 (Results 1 – 2 of 2) sorted by relevance
/Zephyr-latest/drivers/spi/ |
D | spi_dw_regs.h | 56 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)
|
D | spi_pw.c | 81 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 …]
|