Lines Matching refs:imr
112 uint32_t imr; in ucpd_tx_interrupts_enable() local
114 imr = LL_UCPD_ReadReg(config->ucpd_port, IMR); in ucpd_tx_interrupts_enable()
119 imr | UCPD_IMR_TX_INT_MASK); in ucpd_tx_interrupts_enable()
122 imr & ~UCPD_IMR_TX_INT_MASK); in ucpd_tx_interrupts_enable()
489 uint32_t imr; in ucpd_set_rx_enable() local
492 imr = LL_UCPD_ReadReg(config->ucpd_port, IMR); in ucpd_set_rx_enable()
502 imr |= UCPD_IMR_RX_INT_MASK; in ucpd_set_rx_enable()
504 LL_UCPD_WriteReg(config->ucpd_port, IMR, imr); in ucpd_set_rx_enable()
507 imr &= ~UCPD_IMR_RX_INT_MASK; in ucpd_set_rx_enable()
510 LL_UCPD_WriteReg(config->ucpd_port, IMR, imr); in ucpd_set_rx_enable()
560 uint32_t imr; in ucpd_start_transmit() local
590 imr = LL_UCPD_ReadReg(config->ucpd_port, IMR); in ucpd_start_transmit()
591 imr |= UCPD_IMR_HRSTDISCIE | UCPD_IMR_HRSTSENTIE; in ucpd_start_transmit()
592 LL_UCPD_WriteReg(config->ucpd_port, IMR, imr); in ucpd_start_transmit()