Home
last modified time | relevance | path

Searched refs:UART_IER (Results 1 – 25 of 34) sorted by relevance

12

/Linux-v6.6/drivers/media/rc/
Dserial_ir.c403 scratch = sinp(UART_IER); in hardware_init_port()
404 soutp(UART_IER, 0); in hardware_init_port()
408 scratch2 = sinp(UART_IER) & 0x0f; in hardware_init_port()
409 soutp(UART_IER, 0x0f); in hardware_init_port()
413 scratch3 = sinp(UART_IER) & 0x0f; in hardware_init_port()
414 soutp(UART_IER, scratch); in hardware_init_port()
425 soutp(UART_IER, sinp(UART_IER) & in hardware_init_port()
612 soutp(UART_IER, sinp(UART_IER) | UART_IER_MSI); in serial_ir_open()
629 soutp(UART_IER, sinp(UART_IER) & in serial_ir_close()
692 soutp(UART_IER, sinp(UART_IER) & in serial_ir_suspend()
[all …]
/Linux-v6.6/drivers/tty/serial/
Dpxa.c69 serial_out(up, UART_IER, up->ier); in serial_pxa_enable_ms()
78 serial_out(up, UART_IER, up->ier); in serial_pxa_stop_tx()
88 serial_out(up, UART_IER, up->ier); in serial_pxa_stop_rx()
105 serial_out(up, UART_IER, up->ier); in receive_chars()
172 serial_out(up, UART_IER, up->ier); in receive_chars()
191 serial_out(up, UART_IER, up->ier); in serial_pxa_start_tx()
360 serial_out(up, UART_IER, up->ier); in serial_pxa_startup()
384 serial_out(up, UART_IER, 0); in serial_pxa_shutdown()
485 serial_out(up, UART_IER, up->ier); in serial_pxa_set_termios()
618 ier = serial_in(up, UART_IER); in serial_pxa_console_write()
[all …]
Dsunsu.c259 serial_out(p, UART_IER, p->ier); in __stop_tx()
286 serial_out(up, UART_IER, up->ier); in sunsu_start_tx()
305 serial_out(up, UART_IER, up->ier); in sunsu_stop_rx()
316 serial_out(up, UART_IER, up->ier); in sunsu_enable_ms()
623 serial_outp(up, UART_IER, 0); in sunsu_startup()
699 serial_outp(up, UART_IER, up->ier); in sunsu_startup()
732 serial_outp(up, UART_IER, 0); in sunsu_shutdown()
871 serial_out(up, UART_IER, up->ier); in sunsu_change_speed()
1053 scratch = serial_inp(up, UART_IER); in sunsu_autoconfig()
1054 serial_outp(up, UART_IER, 0); in sunsu_autoconfig()
[all …]
Domap-serial.c276 serial_out(up, UART_IER, up->ier); in serial_omap_enable_ms()
321 serial_out(up, UART_IER, up->ier); in serial_omap_stop_tx()
331 serial_out(up, UART_IER, up->ier); in serial_omap_stop_rx()
357 serial_out(up, UART_IER, up->ier); in serial_omap_enable_ier_thri()
395 serial_out(up, UART_IER, up->ier); in serial_omap_throttle()
406 serial_out(up, UART_IER, up->ier); in serial_omap_unthrottle()
719 serial_out(up, UART_IER, up->ier); in serial_omap_startup()
743 serial_out(up, UART_IER, 0); in serial_omap_shutdown()
859 serial_out(up, UART_IER, up->ier); in serial_omap_set_termios()
928 serial_out(up, UART_IER, 0); in serial_omap_set_termios()
[all …]
Dserial-tegra.c420 tegra_uart_write(tup, ((divisor >> 8) & 0xFF), UART_IER); in tegra_set_baudrate()
511 tegra_uart_write(tup, tup->ier_shadow, UART_IER); in tegra_uart_start_pio_tx()
850 tegra_uart_write(tup, ier, UART_IER); in tegra_uart_isr()
866 tegra_uart_write(tup, tup->ier_shadow, UART_IER); in tegra_uart_isr()
879 tegra_uart_write(tup, ier, UART_IER); in tegra_uart_isr()
888 UART_IER); in tegra_uart_isr()
924 tegra_uart_write(tup, ier, UART_IER); in tegra_uart_stop_rx()
944 tegra_uart_write(tup, 0, UART_IER); in tegra_uart_hw_deinit()
1109 tegra_uart_write(tup, tup->ier_shadow, UART_IER); in tegra_uart_hw_init()
1276 tegra_uart_write(tup, tup->ier_shadow, UART_IER); in tegra_uart_enable_ms()
[all …]
Dpch_uart.c315 "IER: \t0x%02x\n", ioread8(priv->membase + UART_IER)); in port_show_regs()
417 u8 ier = ioread8(priv->membase + UART_IER); in pch_uart_hal_enable_interrupt()
419 iowrite8(ier, priv->membase + UART_IER); in pch_uart_hal_enable_interrupt()
425 u8 ier = ioread8(priv->membase + UART_IER); in pch_uart_hal_disable_interrupt()
427 iowrite8(ier, priv->membase + UART_IER); in pch_uart_hal_disable_interrupt()
1504 ier = ioread8(priv->membase + UART_IER); in pch_uart_put_poll_char()
1518 iowrite8(ier, priv->membase + UART_IER); in pch_uart_put_poll_char()
1593 ier = ioread8(priv->membase + UART_IER); in pch_console_write()
1604 iowrite8(ier, priv->membase + UART_IER); in pch_console_write()
/Linux-v6.6/drivers/tty/serial/8250/
D8250_em.c51 case UART_IER: /* IER @ 0x04 */ in serial8250_em_serial_out_helper()
75 case UART_IER: /* IER @ 0x04 */ in serial8250_em_serial_in()
89 ier = serial8250_em_serial_in(p, UART_IER); in serial8250_em_reg_update()
115 serial8250_em_serial_out_helper(p, UART_IER, ier); in serial8250_em_reg_update()
127 case UART_IER: in serial8250_em_serial_out()
D8250_early.c132 ier = serial8250_early_in(port, UART_IER); in init_port()
133 serial8250_early_out(port, UART_IER, ier & UART_IER_UUE); /* no interrupt */ in init_port()
158 ier = serial8250_early_in(port, UART_IER); in early_serial8250_setup()
159 serial8250_early_out(port, UART_IER, ier & UART_IER_UUE); in early_serial8250_setup()
D8250_port.c700 serial_out(p, UART_IER, sleep ? UART_IERX_SLEEP : 0); in serial8250_set_sleep()
715 serial_out(up, UART_IER, UART_IER_UUE); in serial8250_clear_IER()
717 serial_out(up, UART_IER, 0); in serial8250_clear_IER()
1111 iersave = serial_in(up, UART_IER); in autoconfig_16550a()
1112 serial_out(up, UART_IER, iersave & ~UART_IER_UUE); in autoconfig_16550a()
1113 if (!(serial_in(up, UART_IER) & UART_IER_UUE)) { in autoconfig_16550a()
1118 serial_out(up, UART_IER, iersave | UART_IER_UUE); in autoconfig_16550a()
1119 if (serial_in(up, UART_IER) & UART_IER_UUE) { in autoconfig_16550a()
1136 serial_out(up, UART_IER, iersave); in autoconfig_16550a()
1194 scratch = serial_in(up, UART_IER); in autoconfig()
[all …]
D8250_rt288x.c20 [UART_IER] = 2,
30 [UART_IER] = 2,
D8250_ingenic.c109 early_out(port, UART_IER, 0); in ingenic_earlycon_setup_tail()
181 case UART_IER: in ingenic_uart_serial_out()
194 ier = p->serial_in(p, UART_IER); in ingenic_uart_serial_out()
D8250_omap.c342 serial_out(up, UART_IER, up->ier); in omap8250_restore_regs()
539 serial_out(up, UART_IER, (state != 0) ? UART_IERX_SLEEP : 0); in omap_8250_pm()
664 up->ier = port->serial_in(port, UART_IER); in omap8250_irq()
722 serial_out(up, UART_IER, up->ier); in omap_8250_startup()
766 serial_out(up, UART_IER, 0); in omap_8250_shutdown()
816 serial_out(up, UART_IER, up->ier); in omap_8250_unthrottle()
976 serial_out(p, UART_IER, p->ier); in __dma_rx_complete()
1036 serial_out(p, UART_IER, p->ier); in omap_8250_rx_dma()
1252 serial_out(up, UART_IER, up->ier); in am654_8250_handle_rx_dma()
1257 serial_out(up, UART_IER, up->ier); in am654_8250_handle_rx_dma()
D8250_mtk.c228 serial_out(up, UART_IER, serial_in(up, UART_IER) & (~mask)); in mtk8250_disable_intrs()
236 serial_out(up, UART_IER, serial_in(up, UART_IER) | mask); in mtk8250_enable_intrs()
D8250.h187 serial_out(up, UART_IER, up->ier); in serial8250_set_THRI()
199 serial_out(up, UART_IER, up->ier); in serial8250_clear_THRI()
D8250_bcm7271.c613 serial_port_out(port, UART_IER, up->ier); in brcmuart_startup()
795 ier = serial_port_in(p, UART_IER); in brcmuart_handle_irq()
804 serial_port_out(p, UART_IER, ier); in brcmuart_handle_irq()
851 status = serial_port_in(p, UART_IER); in brcmuart_hrtimer_func()
853 serial_port_out(p, UART_IER, status); in brcmuart_hrtimer_func()
/Linux-v6.6/arch/powerpc/kernel/
Dudbg_16550.c19 #define UART_IER 1 macro
29 #define UART_DLM UART_IER
112 udbg_uart_out(UART_IER, 0xff); in udbg_uart_setup()
113 udbg_uart_out(UART_IER, 0x00); in udbg_uart_setup()
/Linux-v6.6/arch/powerpc/platforms/embedded6xx/
Dls_uart.c69 out_8(avr_addr + UART_IER, 0); in avr_uart_configure()
102 out_8(avr_addr + UART_IER, 0); in ls_uart_init()
/Linux-v6.6/drivers/tty/
Dmxser.c441 outb(info->IER & ~UART_IER_THRI, info->ioaddr + UART_IER); in __mxser_start_tx()
443 outb(info->IER, info->ioaddr + UART_IER); in __mxser_start_tx()
458 outb(info->IER, info->ioaddr + UART_IER); in __mxser_stop_tx()
643 outb(info->IER, info->ioaddr + UART_IER); in mxser_change_speed()
789 outb(info->IER, info->ioaddr + UART_IER); /* enable interrupts */ in mxser_activate()
825 outb(info->IER, info->ioaddr + UART_IER); in mxser_stop_rx()
847 outb(0x00, info->ioaddr + UART_IER); in mxser_shutdown_port()
1283 outb(info->IER, info->ioaddr + UART_IER); in mxser_throttle()
1286 outb(0, info->ioaddr + UART_IER); in mxser_throttle()
1288 outb(info->IER, info->ioaddr + UART_IER); in mxser_throttle()
[all …]
/Linux-v6.6/drivers/accessibility/speakup/
Dserialio.c95 outb(0, ser->port + UART_IER); in spk_serial_init()
145 speakup_info.port_tts + UART_IER); in start_serial_interrupt()
210 outb(0, speakup_info.port_tts + UART_IER); in spk_stop_serial_interrupt()
/Linux-v6.6/samples/vfio-mdev/
Dmtty.c336 if ((mdev_state->s[index].uart_reg[UART_IER] & in handle_bar_write()
357 if (mdev_state->s[index].uart_reg[UART_IER] & in handle_bar_write()
364 case UART_IER: in handle_bar_write()
444 if ((mdev_state->s[index].uart_reg[UART_IER] & UART_IER_MSI) && in handle_bar_write()
452 if ((mdev_state->s[index].uart_reg[UART_IER] & UART_IER_MSI) && in handle_bar_write()
506 if (mdev_state->s[index].uart_reg[UART_IER] & in handle_bar_read()
514 case UART_IER: in handle_bar_read()
524 u8 ier = mdev_state->s[index].uart_reg[UART_IER]; in handle_bar_read()
/Linux-v6.6/drivers/bluetooth/
Ddtl1_cs.c475 outb(0, iobase + UART_IER); in dtl1_open()
485 outb(UART_IER_RLSI | UART_IER_RDI | UART_IER_THRI, iobase + UART_IER); in dtl1_open()
521 outb(0, iobase + UART_IER); in dtl1_close()
/Linux-v6.6/drivers/usb/serial/
Dark3116.c141 ark3116_write_reg(serial, UART_IER, 0); in ark3116_port_probe()
304 ark3116_write_reg(serial, UART_IER, 0); in ark3116_close()
353 ark3116_write_reg(port->serial, UART_IER, UART_IER_MSI|UART_IER_RLSI); in ark3116_open()
/Linux-v6.6/arch/sh/include/asm/
Dsmc37c93x.h59 #define UART_IER 0x2 /* Interrupt Enable Register */ macro
/Linux-v6.6/arch/x86/platform/ce4100/
Dce4100.c61 ier = mem_serial_in(p, UART_IER); in ce4100_mem_serial_in()
/Linux-v6.6/drivers/mmc/core/
Dsdio_uart.c324 sdio_out(port, UART_IER, port->ier); in sdio_uart_change_speed()
338 sdio_out(port, UART_IER, port->ier); in sdio_uart_start_tx()
346 sdio_out(port, UART_IER, port->ier); in sdio_uart_stop_tx()
354 sdio_out(port, UART_IER, port->ier); in sdio_uart_stop_rx()
678 sdio_out(port, UART_IER, 0); in sdio_uart_shutdown()

12