Home
last modified time | relevance | path

Searched refs:ier (Results 1 – 25 of 83) sorted by relevance

1234

/kernel/linux/linux-5.10/drivers/tty/serial/jsm/
Djsm_cls.c55 u8 ier = readb(&ch->ch_cls_uart->ier); in cls_set_cts_flow_control() local
79 ier |= (UART_EXAR654_IER_CTSDSR); in cls_set_cts_flow_control()
80 ier &= ~(UART_EXAR654_IER_XOFF); in cls_set_cts_flow_control()
81 writeb(ier, &ch->ch_cls_uart->ier); in cls_set_cts_flow_control()
96 u8 ier = readb(&ch->ch_cls_uart->ier); in cls_set_ixon_flow_control() local
126 ier &= ~(UART_EXAR654_IER_CTSDSR); in cls_set_ixon_flow_control()
127 ier |= (UART_EXAR654_IER_XOFF); in cls_set_ixon_flow_control()
128 writeb(ier, &ch->ch_cls_uart->ier); in cls_set_ixon_flow_control()
141 u8 ier = readb(&ch->ch_cls_uart->ier); in cls_set_no_output_flow_control() local
165 ier &= ~(UART_EXAR654_IER_CTSDSR); in cls_set_no_output_flow_control()
[all …]
Djsm_neo.c37 u8 ier, efr; in neo_set_cts_flow_control() local
38 ier = readb(&ch->ch_neo_uart->ier); in neo_set_cts_flow_control()
44 ier |= (UART_17158_IER_CTSDSR); in neo_set_cts_flow_control()
63 writeb(ier, &ch->ch_neo_uart->ier); in neo_set_cts_flow_control()
68 u8 ier, efr; in neo_set_rts_flow_control() local
69 ier = readb(&ch->ch_neo_uart->ier); in neo_set_rts_flow_control()
75 ier |= (UART_17158_IER_RTSDTR); in neo_set_rts_flow_control()
79 ier &= ~(UART_17158_IER_XOFF); in neo_set_rts_flow_control()
94 writeb(ier, &ch->ch_neo_uart->ier); in neo_set_rts_flow_control()
108 u8 ier, efr; in neo_set_ixon_flow_control() local
[all …]
/kernel/linux/linux-5.10/drivers/tty/serial/
Dpxa.c43 unsigned char ier; member
67 up->ier |= UART_IER_MSI; in serial_pxa_enable_ms()
68 serial_out(up, UART_IER, up->ier); in serial_pxa_enable_ms()
75 if (up->ier & UART_IER_THRI) { in serial_pxa_stop_tx()
76 up->ier &= ~UART_IER_THRI; in serial_pxa_stop_tx()
77 serial_out(up, UART_IER, up->ier); in serial_pxa_stop_tx()
85 up->ier &= ~UART_IER_RLSI; in serial_pxa_stop_rx()
87 serial_out(up, UART_IER, up->ier); in serial_pxa_stop_rx()
103 up->ier &= ~UART_IER_RTOIE; in receive_chars()
104 serial_out(up, UART_IER, up->ier); in receive_chars()
[all …]
Dtimbuart.c35 static void timbuart_mctrl_check(struct uart_port *port, u32 isr, u32 *ier);
42 u32 ier = ioread32(port->membase + TIMBUART_IER) & ~RXFLAGS; in timbuart_stop_rx() local
43 iowrite32(ier, port->membase + TIMBUART_IER); in timbuart_stop_rx()
49 u32 ier = ioread32(port->membase + TIMBUART_IER) & ~TXBAE; in timbuart_stop_tx() local
50 iowrite32(ier, port->membase + TIMBUART_IER); in timbuart_stop_tx()
119 static void timbuart_handle_tx_port(struct uart_port *port, u32 isr, u32 *ier) in timbuart_handle_tx_port() argument
140 *ier |= uart->last_ier & TXFLAGS; in timbuart_handle_tx_port()
148 *ier |= TXBAE; in timbuart_handle_tx_port()
153 static void timbuart_handle_rx_port(struct uart_port *port, u32 isr, u32 *ier) in timbuart_handle_rx_port() argument
170 *ier |= RXBAF | RXBF | RXTT; in timbuart_handle_rx_port()
[all …]
Dfsl_linflexuart.c145 unsigned long ier; in linflex_stop_tx() local
147 ier = readl(port->membase + LINIER); in linflex_stop_tx()
148 ier &= ~(LINFLEXD_LINIER_DTIE); in linflex_stop_tx()
149 writel(ier, port->membase + LINIER); in linflex_stop_tx()
154 unsigned long ier; in linflex_stop_rx() local
156 ier = readl(port->membase + LINIER); in linflex_stop_rx()
157 writel(ier & ~LINFLEXD_LINIER_DRIE, port->membase + LINIER); in linflex_stop_rx()
192 unsigned long ier; in linflex_start_tx() local
195 ier = readl(port->membase + LINIER); in linflex_start_tx()
196 writel(ier | LINFLEXD_LINIER_DTIE, port->membase + LINIER); in linflex_start_tx()
[all …]
Dvr41xx_siu.c225 uint8_t ier; in siu_stop_tx() local
229 ier = siu_read(port, UART_IER); in siu_stop_tx()
230 ier &= ~UART_IER_THRI; in siu_stop_tx()
231 siu_write(port, UART_IER, ier); in siu_stop_tx()
239 uint8_t ier; in siu_start_tx() local
243 ier = siu_read(port, UART_IER); in siu_start_tx()
244 ier |= UART_IER_THRI; in siu_start_tx()
245 siu_write(port, UART_IER, ier); in siu_start_tx()
253 uint8_t ier; in siu_stop_rx() local
257 ier = siu_read(port, UART_IER); in siu_stop_rx()
[all …]
Dvt8500_serial.c100 unsigned int ier; member
128 vt8500_port->ier &= ~TX_FIFO_INTS; in vt8500_stop_tx()
129 vt8500_write(port, vt8500_port->ier, VT8500_URIER); in vt8500_stop_tx()
138 vt8500_port->ier &= ~RX_FIFO_INTS; in vt8500_stop_rx()
139 vt8500_write(port, vt8500_port->ier, VT8500_URIER); in vt8500_stop_rx()
148 vt8500_port->ier |= TCTS; in vt8500_enable_ms()
149 vt8500_write(port, vt8500_port->ier, VT8500_URIER); in vt8500_enable_ms()
229 vt8500_port->ier &= ~TX_FIFO_INTS; in vt8500_start_tx()
230 vt8500_write(port, vt8500_port->ier, VT8500_URIER); in vt8500_start_tx()
232 vt8500_port->ier |= TX_FIFO_INTS; in vt8500_start_tx()
[all …]
Dsifive.c160 unsigned char ier; member
340 if (ssp->ier & SIFIVE_SERIAL_IE_TXWM_MASK) in __ssp_enable_txwm()
343 ssp->ier |= SIFIVE_SERIAL_IE_TXWM_MASK; in __ssp_enable_txwm()
344 __ssp_writel(ssp->ier, SIFIVE_SERIAL_IE_OFFS, ssp); in __ssp_enable_txwm()
356 if (ssp->ier & SIFIVE_SERIAL_IE_RXWM_MASK) in __ssp_enable_rxwm()
359 ssp->ier |= SIFIVE_SERIAL_IE_RXWM_MASK; in __ssp_enable_rxwm()
360 __ssp_writel(ssp->ier, SIFIVE_SERIAL_IE_OFFS, ssp); in __ssp_enable_rxwm()
372 if (!(ssp->ier & SIFIVE_SERIAL_IE_TXWM_MASK)) in __ssp_disable_txwm()
375 ssp->ier &= ~SIFIVE_SERIAL_IE_TXWM_MASK; in __ssp_disable_txwm()
376 __ssp_writel(ssp->ier, SIFIVE_SERIAL_IE_OFFS, ssp); in __ssp_disable_txwm()
[all …]
Domap-serial.c130 unsigned char ier; member
280 up->ier |= UART_IER_MSI; in serial_omap_enable_ms()
281 serial_out(up, UART_IER, up->ier); in serial_omap_enable_ms()
329 if (up->ier & UART_IER_THRI) { in serial_omap_stop_tx()
330 up->ier &= ~UART_IER_THRI; in serial_omap_stop_tx()
331 serial_out(up, UART_IER, up->ier); in serial_omap_stop_tx()
343 up->ier &= ~(UART_IER_RLSI | UART_IER_RDI); in serial_omap_stop_rx()
345 serial_out(up, UART_IER, up->ier); in serial_omap_stop_rx()
391 if (!(up->ier & UART_IER_THRI)) { in serial_omap_enable_ier_thri()
392 up->ier |= UART_IER_THRI; in serial_omap_enable_ier_thri()
[all …]
Dsunsu.c87 unsigned char ier; member
256 if (p->ier & UART_IER_THRI) { in __stop_tx()
257 p->ier &= ~UART_IER_THRI; in __stop_tx()
258 serial_out(p, UART_IER, p->ier); in __stop_tx()
283 if (!(up->ier & UART_IER_THRI)) { in sunsu_start_tx()
284 up->ier |= UART_IER_THRI; in sunsu_start_tx()
285 serial_out(up, UART_IER, up->ier); in sunsu_start_tx()
302 up->ier &= ~UART_IER_RLSI; in sunsu_stop_rx()
304 serial_out(up, UART_IER, up->ier); in sunsu_stop_rx()
314 up->ier |= UART_IER_MSI; in sunsu_enable_ms()
[all …]
Dar933x_uart.c49 unsigned int ier; /* shadow Interrupt Enable Register */ member
98 up->ier |= AR933X_UART_INT_TX_EMPTY; in ar933x_uart_start_tx_interrupt()
99 ar933x_uart_write(up, AR933X_UART_INT_EN_REG, up->ier); in ar933x_uart_start_tx_interrupt()
104 up->ier &= ~AR933X_UART_INT_TX_EMPTY; in ar933x_uart_stop_tx_interrupt()
105 ar933x_uart_write(up, AR933X_UART_INT_EN_REG, up->ier); in ar933x_uart_stop_tx_interrupt()
110 up->ier |= AR933X_UART_INT_RX_VALID; in ar933x_uart_start_rx_interrupt()
111 ar933x_uart_write(up, AR933X_UART_INT_EN_REG, up->ier); in ar933x_uart_start_rx_interrupt()
116 up->ier &= ~AR933X_UART_INT_RX_VALID; in ar933x_uart_stop_rx_interrupt()
117 ar933x_uart_write(up, AR933X_UART_INT_EN_REG, up->ier); in ar933x_uart_stop_rx_interrupt()
515 up->ier = 0; in ar933x_uart_shutdown()
[all …]
/kernel/liteos_m/arch/xtensa/lx6/gcc/
Dlos_interrupt.c103 UINT32 ier; in HwiUnmask() local
105 __asm__ __volatile__("rsr %0, intenable" : "=a"(ier) : : "memory"); in HwiUnmask()
106 __asm__ __volatile__("wsr %0, intenable; rsync" : : "a"(ier | ((UINT32)0x1U << hwiNum))); in HwiUnmask()
113 UINT32 ier; in HwiMask() local
115 __asm__ __volatile__("rsr %0, intenable" : "=a"(ier) : : "memory"); in HwiMask()
116 __asm__ __volatile__("wsr %0, intenable; rsync" : : "a"(ier & ~((UINT32)0x1U << hwiNum))); in HwiMask()
130 UINT32 ier; in HwiNumGet() local
134 __asm__ __volatile__("rsr %0, interrupt" : "=a"(ier) : : "memory"); in HwiNumGet()
137 intSave = ier & intenable; in HwiNumGet()
/kernel/linux/linux-5.10/drivers/tty/serial/8250/
D8250_early.c139 unsigned int ier; in init_port() local
142 ier = serial8250_early_in(port, UART_IER); in init_port()
143 serial8250_early_out(port, UART_IER, ier & UART_IER_UUE); /* no interrupt */ in init_port()
165 unsigned int ier; in early_serial8250_setup() local
168 ier = serial8250_early_in(port, UART_IER); in early_serial8250_setup()
169 serial8250_early_out(port, UART_IER, ier & UART_IER_UUE); in early_serial8250_setup()
D8250.h158 if (up->ier & UART_IER_THRI) in serial8250_set_THRI()
160 up->ier |= UART_IER_THRI; in serial8250_set_THRI()
161 serial_out(up, UART_IER, up->ier); in serial8250_set_THRI()
167 if (!(up->ier & UART_IER_THRI)) in serial8250_clear_THRI()
169 up->ier &= ~UART_IER_THRI; in serial8250_clear_THRI()
170 serial_out(up, UART_IER, up->ier); in serial8250_clear_THRI()
D8250_fsl.c57 (up->ier & (UART_IER_RLSI | UART_IER_RDI))) { in fsl8250_handle_irq()
65 up->ier = port->serial_in(port, UART_IER); in fsl8250_handle_irq()
66 if (up->ier & (UART_IER_RLSI | UART_IER_RDI)) { in fsl8250_handle_irq()
81 if ((lsr & UART_LSR_THRE) && (up->ier & UART_IER_THRI)) in fsl8250_handle_irq()
D8250_omap.c331 serial_out(up, UART_IER, up->ier); in omap8250_restore_regs()
442 up->ier &= ~UART_IER_MSI; in omap_8250_set_termios()
444 up->ier |= UART_IER_MSI; in omap_8250_set_termios()
656 up->ier = port->serial_in(port, UART_IER); in omap8250_irq()
657 if (up->ier & (UART_IER_RLSI | UART_IER_RDI)) { in omap8250_irq()
714 up->ier = UART_IER_RLSI | UART_IER_RDI; in omap_8250_startup()
715 serial_out(up, UART_IER, up->ier); in omap_8250_startup()
755 up->ier = 0; in omap_8250_shutdown()
802 up->ier |= UART_IER_RLSI | UART_IER_RDI; in omap_8250_unthrottle()
804 serial_out(up, UART_IER, up->ier); in omap_8250_unthrottle()
[all …]
/kernel/linux/linux-5.10/drivers/net/can/rcar/
Drcar_can.c84 u8 ier; /* Interrupt Enable Register */ member
101 u8 ier; member
330 priv->ier = RCAR_CAN_IER_ERSIE; in rcar_can_error()
331 writeb(priv->ier, &priv->regs->ier); in rcar_can_error()
406 if (!(isr & priv->ier)) in rcar_can_interrupt()
418 priv->ier &= ~RCAR_CAN_IER_RXFIE; in rcar_can_interrupt()
419 writeb(priv->ier, &priv->regs->ier); in rcar_can_interrupt()
484 priv->ier = RCAR_CAN_IER_ERSIE | RCAR_CAN_IER_RXFIE | in rcar_can_start()
486 writeb(priv->ier, &priv->regs->ier); in rcar_can_start()
569 writeb(0, &priv->regs->ier); in rcar_can_stop()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gvt/
Dinterrupt.c43 #define ier_to_regbase(ier) (ier - 0xC) argument
210 u32 ier = *(u32 *)p_data; in intel_vgpu_reg_master_irq_handler() local
213 trace_write_ir(vgpu->id, "MASTER_IRQ", reg, ier, virtual_ier, in intel_vgpu_reg_master_irq_handler()
214 (virtual_ier ^ ier)); in intel_vgpu_reg_master_irq_handler()
221 ier &= GEN8_MASTER_IRQ_CONTROL; in intel_vgpu_reg_master_irq_handler()
224 vgpu_vreg(vgpu, reg) |= ier; in intel_vgpu_reg_master_irq_handler()
251 u32 ier = *(u32 *)p_data; in intel_vgpu_reg_ier_handler() local
253 trace_write_ir(vgpu->id, "IER", reg, ier, vgpu_vreg(vgpu, reg), in intel_vgpu_reg_ier_handler()
254 (vgpu_vreg(vgpu, reg) ^ ier)); in intel_vgpu_reg_ier_handler()
256 vgpu_vreg(vgpu, reg) = ier; in intel_vgpu_reg_ier_handler()
/kernel/linux/linux-5.10/drivers/mmc/core/
Dsdio_uart.c79 unsigned char ier; member
331 port->ier &= ~UART_IER_MSI; in sdio_uart_change_speed()
333 port->ier |= UART_IER_MSI; in sdio_uart_change_speed()
337 sdio_out(port, UART_IER, port->ier); in sdio_uart_change_speed()
349 if (!(port->ier & UART_IER_THRI)) { in sdio_uart_start_tx()
350 port->ier |= UART_IER_THRI; in sdio_uart_start_tx()
351 sdio_out(port, UART_IER, port->ier); in sdio_uart_start_tx()
357 if (port->ier & UART_IER_THRI) { in sdio_uart_stop_tx()
358 port->ier &= ~UART_IER_THRI; in sdio_uart_stop_tx()
359 sdio_out(port, UART_IER, port->ier); in sdio_uart_stop_tx()
[all …]
/kernel/linux/linux-5.10/arch/x86/platform/ce4100/
Dce4100.c54 unsigned int ret, ier, lsr; in ce4100_mem_serial_in() local
61 ier = mem_serial_in(p, UART_IER); in ce4100_mem_serial_in()
63 if (ier & UART_IER_THRI) { in ce4100_mem_serial_in()
/kernel/linux/linux-5.10/drivers/i2c/busses/
Di2c-xiic.c232 u32 ier = xiic_getreg32(i2c, XIIC_IIER_OFFSET); in xiic_irq_dis() local
233 xiic_setreg32(i2c, XIIC_IIER_OFFSET, ier & ~mask); in xiic_irq_dis()
238 u32 ier = xiic_getreg32(i2c, XIIC_IIER_OFFSET); in xiic_irq_en() local
239 xiic_setreg32(i2c, XIIC_IIER_OFFSET, ier | mask); in xiic_irq_en()
376 u32 pend, isr, ier; in xiic_process() local
386 ier = xiic_getreg32(i2c, XIIC_IIER_OFFSET); in xiic_process()
387 pend = isr & ier; in xiic_process()
390 __func__, ier, isr, pend); in xiic_process()
626 u32 pend, isr, ier; in xiic_isr() local
635 ier = xiic_getreg32(i2c, XIIC_IIER_OFFSET); in xiic_isr()
[all …]
/kernel/linux/linux-5.10/sound/soc/stm/
Dstm32_i2s.c247 u32 sr, ier; in stm32_i2s_isr() local
252 regmap_read(i2s->regmap, STM32_I2S_IER_REG, &ier); in stm32_i2s_isr()
254 flags = sr & ier; in stm32_i2s_isr()
257 sr, ier); in stm32_i2s_isr()
598 u32 cfg1_mask, ier; in stm32_i2s_trigger() local
633 ier = I2S_IER_UDRIE; in stm32_i2s_trigger()
635 ier = I2S_IER_OVRIE; in stm32_i2s_trigger()
645 ier |= I2S_IER_TIFREIE; in stm32_i2s_trigger()
647 regmap_update_bits(i2s->regmap, STM32_I2S_IER_REG, ier, ier); in stm32_i2s_trigger()
/kernel/linux/linux-5.10/drivers/mmc/host/
Dsdhci.c167 host->ier |= present ? SDHCI_INT_CARD_REMOVE : in sdhci_set_card_detection()
170 host->ier &= ~(SDHCI_INT_CARD_REMOVE | SDHCI_INT_CARD_INSERT); in sdhci_set_card_detection()
173 sdhci_writel(host, host->ier, SDHCI_INT_ENABLE); in sdhci_set_card_detection()
174 sdhci_writel(host, host->ier, SDHCI_SIGNAL_ENABLE); in sdhci_set_card_detection()
260 host->ier = SDHCI_INT_BUS_POWER | SDHCI_INT_DATA_END_BIT | in sdhci_set_default_irqs()
268 host->ier |= SDHCI_INT_RETUNE; in sdhci_set_default_irqs()
270 sdhci_writel(host, host->ier, SDHCI_INT_ENABLE); in sdhci_set_default_irqs()
271 sdhci_writel(host, host->ier, SDHCI_SIGNAL_ENABLE); in sdhci_set_default_irqs()
349 u32 cd = host->ier & (SDHCI_INT_CARD_REMOVE | SDHCI_INT_CARD_INSERT); in sdhci_reinit()
360 if (cd != (host->ier & (SDHCI_INT_CARD_REMOVE | SDHCI_INT_CARD_INSERT))) in sdhci_reinit()
[all …]
/kernel/linux/linux-5.10/drivers/dma/
Dtimb_dma.c115 u32 ier; in __td_enable_chan_irq() local
118 ier = ioread32(td->membase + TIMBDMA_IER); in __td_enable_chan_irq()
119 ier |= 1 << id; in __td_enable_chan_irq()
121 ier); in __td_enable_chan_irq()
122 iowrite32(ier, td->membase + TIMBDMA_IER); in __td_enable_chan_irq()
571 u32 ier; in td_tasklet() local
590 ier = __td_ier_mask(td); in td_tasklet()
591 iowrite32(ier, td->membase + TIMBDMA_IER); in td_tasklet()
/kernel/linux/linux-5.10/arch/sh/include/asm/
Dsmc37c93x.h73 volatile __u16 ier; member
91 #define dlm ier

1234