Lines Matching refs:irq_en
475 u32 irq_en; in qcom_geni_serial_console_write() local
511 irq_en = readl(uport->membase + SE_GENI_M_IRQ_EN); in qcom_geni_serial_console_write()
512 writel(irq_en | M_TX_FIFO_WATERMARK_EN, in qcom_geni_serial_console_write()
651 u32 irq_en; in qcom_geni_serial_start_tx_fifo() local
657 irq_en = readl(uport->membase + SE_GENI_M_IRQ_EN); in qcom_geni_serial_start_tx_fifo()
658 irq_en |= M_TX_FIFO_WATERMARK_EN | M_CMD_DONE_EN; in qcom_geni_serial_start_tx_fifo()
661 writel(irq_en, uport->membase + SE_GENI_M_IRQ_EN); in qcom_geni_serial_start_tx_fifo()
666 u32 irq_en; in qcom_geni_serial_stop_tx_fifo() local
669 irq_en = readl(uport->membase + SE_GENI_M_IRQ_EN); in qcom_geni_serial_stop_tx_fifo()
670 irq_en &= ~(M_CMD_DONE_EN | M_TX_FIFO_WATERMARK_EN); in qcom_geni_serial_stop_tx_fifo()
672 writel(irq_en, uport->membase + SE_GENI_M_IRQ_EN); in qcom_geni_serial_stop_tx_fifo()
714 u32 irq_en; in qcom_geni_serial_stop_rx_fifo() local
718 irq_en = readl(uport->membase + SE_GENI_S_IRQ_EN); in qcom_geni_serial_stop_rx_fifo()
719 irq_en &= ~(S_RX_FIFO_WATERMARK_EN | S_RX_FIFO_LAST_EN); in qcom_geni_serial_stop_rx_fifo()
720 writel(irq_en, uport->membase + SE_GENI_S_IRQ_EN); in qcom_geni_serial_stop_rx_fifo()
722 irq_en = readl(uport->membase + SE_GENI_M_IRQ_EN); in qcom_geni_serial_stop_rx_fifo()
723 irq_en &= ~(M_RX_FIFO_WATERMARK_EN | M_RX_FIFO_LAST_EN); in qcom_geni_serial_stop_rx_fifo()
724 writel(irq_en, uport->membase + SE_GENI_M_IRQ_EN); in qcom_geni_serial_stop_rx_fifo()
748 u32 irq_en; in qcom_geni_serial_start_rx_fifo() local
756 irq_en = readl(uport->membase + SE_GENI_S_IRQ_EN); in qcom_geni_serial_start_rx_fifo()
757 irq_en |= S_RX_FIFO_WATERMARK_EN | S_RX_FIFO_LAST_EN; in qcom_geni_serial_start_rx_fifo()
758 writel(irq_en, uport->membase + SE_GENI_S_IRQ_EN); in qcom_geni_serial_start_rx_fifo()
760 irq_en = readl(uport->membase + SE_GENI_M_IRQ_EN); in qcom_geni_serial_start_rx_fifo()
761 irq_en |= M_RX_FIFO_WATERMARK_EN | M_RX_FIFO_LAST_EN; in qcom_geni_serial_start_rx_fifo()
762 writel(irq_en, uport->membase + SE_GENI_M_IRQ_EN); in qcom_geni_serial_start_rx_fifo()
883 u32 irq_en; in qcom_geni_serial_handle_tx_fifo() local
911 irq_en = readl(uport->membase + SE_GENI_M_IRQ_EN); in qcom_geni_serial_handle_tx_fifo()
912 if (!(irq_en & M_TX_FIFO_WATERMARK_EN)) in qcom_geni_serial_handle_tx_fifo()
913 writel(irq_en | M_TX_FIFO_WATERMARK_EN, in qcom_geni_serial_handle_tx_fifo()
929 irq_en = readl(uport->membase + SE_GENI_M_IRQ_EN); in qcom_geni_serial_handle_tx_fifo()
930 if (irq_en & M_TX_FIFO_WATERMARK_EN) in qcom_geni_serial_handle_tx_fifo()
931 writel(irq_en & ~M_TX_FIFO_WATERMARK_EN, in qcom_geni_serial_handle_tx_fifo()