Lines Matching refs:intr
167 spi_ll_intr_t intr = 0; in get_event_intr() local
169 if ((ev & SPI_EV_SEND) && hal->append_mode) intr |= SPI_LL_INTR_OUT_EOF; in get_event_intr()
171 if ((ev & SPI_EV_SEND) && !hal->append_mode) intr |= SPI_LL_INTR_CMD8; in get_event_intr()
172 if (ev & SPI_EV_RECV) intr |= SPI_LL_INTR_CMD7; in get_event_intr()
173 if (ev & SPI_EV_BUF_TX) intr |= SPI_LL_INTR_RDBUF; in get_event_intr()
174 if (ev & SPI_EV_BUF_RX) intr |= SPI_LL_INTR_WRBUF; in get_event_intr()
175 if (ev & SPI_EV_CMD9) intr |= SPI_LL_INTR_CMD9; in get_event_intr()
176 if (ev & SPI_EV_CMDA) intr |= SPI_LL_INTR_CMDA; in get_event_intr()
177 if (ev & SPI_EV_TRANS) intr |= SPI_LL_INTR_TRANS_DONE; in get_event_intr()
178 return intr; in get_event_intr()
183 spi_ll_intr_t intr = get_event_intr(hal, ev); in spi_slave_hd_hal_check_clear_event() local
184 if (spi_ll_get_intr(hal->dev, intr)) { in spi_slave_hd_hal_check_clear_event()
185 spi_ll_clear_intr(hal->dev, intr); in spi_slave_hd_hal_check_clear_event()
194 spi_ll_intr_t intr = get_event_intr(hal, ev); in spi_slave_hd_hal_check_disable_event() local
210 if (spi_ll_get_intr(hal->dev, intr)) { in spi_slave_hd_hal_check_disable_event()
211 spi_ll_disable_intr(hal->dev, intr); in spi_slave_hd_hal_check_disable_event()
219 spi_ll_intr_t intr = get_event_intr(hal, ev); in spi_slave_hd_hal_enable_event_intr() local
220 spi_ll_enable_intr(hal->dev, intr); in spi_slave_hd_hal_enable_event_intr()
225 spi_ll_intr_t intr = get_event_intr(hal, ev); in spi_slave_hd_hal_invoke_event_intr() local
229 intr |= SPI_LL_INTR_TRANS_DONE; in spi_slave_hd_hal_invoke_event_intr()
232 spi_ll_enable_intr(hal->dev, intr); in spi_slave_hd_hal_invoke_event_intr()