Home
last modified time | relevance | path

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

12

/linux-6.1.9/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-6.1.9/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()
214 serial_out(up, UART_IER, up->ier); in serial_pxa_start_tx()
383 serial_out(up, UART_IER, up->ier); in serial_pxa_startup()
407 serial_out(up, UART_IER, 0); in serial_pxa_shutdown()
508 serial_out(up, UART_IER, up->ier); in serial_pxa_set_termios()
641 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()
624 serial_outp(up, UART_IER, 0); in sunsu_startup()
700 serial_outp(up, UART_IER, up->ier); in sunsu_startup()
733 serial_outp(up, UART_IER, 0); in sunsu_shutdown()
872 serial_out(up, UART_IER, up->ier); in sunsu_change_speed()
1054 scratch = serial_inp(up, UART_IER); in sunsu_autoconfig()
1055 serial_outp(up, UART_IER, 0); in sunsu_autoconfig()
[all …]
Domap-serial.c281 serial_out(up, UART_IER, up->ier); in serial_omap_enable_ms()
326 serial_out(up, UART_IER, up->ier); in serial_omap_stop_tx()
336 serial_out(up, UART_IER, up->ier); in serial_omap_stop_rx()
384 serial_out(up, UART_IER, up->ier); in serial_omap_enable_ier_thri()
422 serial_out(up, UART_IER, up->ier); in serial_omap_throttle()
433 serial_out(up, UART_IER, up->ier); in serial_omap_unthrottle()
748 serial_out(up, UART_IER, up->ier); in serial_omap_startup()
772 serial_out(up, UART_IER, 0); in serial_omap_shutdown()
888 serial_out(up, UART_IER, up->ier); in serial_omap_set_termios()
957 serial_out(up, UART_IER, 0); in serial_omap_set_termios()
[all …]
Dserial-tegra.c421 tegra_uart_write(tup, ((divisor >> 8) & 0xFF), UART_IER); in tegra_set_baudrate()
513 tegra_uart_write(tup, tup->ier_shadow, UART_IER); in tegra_uart_start_pio_tx()
853 tegra_uart_write(tup, ier, UART_IER); in tegra_uart_isr()
869 tegra_uart_write(tup, tup->ier_shadow, UART_IER); in tegra_uart_isr()
882 tegra_uart_write(tup, ier, UART_IER); in tegra_uart_isr()
891 UART_IER); in tegra_uart_isr()
927 tegra_uart_write(tup, ier, UART_IER); in tegra_uart_stop_rx()
947 tegra_uart_write(tup, 0, UART_IER); in tegra_uart_hw_deinit()
1106 tegra_uart_write(tup, tup->ier_shadow, UART_IER); in tegra_uart_hw_init()
1270 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()
1508 ier = ioread8(priv->membase + UART_IER); in pch_uart_put_poll_char()
1522 iowrite8(ier, priv->membase + UART_IER); in pch_uart_put_poll_char()
1597 ier = ioread8(priv->membase + UART_IER); in pch_console_write()
1608 iowrite8(ier, priv->membase + UART_IER); in pch_console_write()
/linux-6.1.9/drivers/tty/serial/8250/
D8250_port.c342 [UART_IER] = 2,
353 [UART_IER] = 2,
746 serial_out(p, UART_IER, sleep ? UART_IERX_SLEEP : 0); in serial8250_set_sleep()
760 serial_out(up, UART_IER, UART_IER_UUE); in serial8250_clear_IER()
762 serial_out(up, UART_IER, 0); in serial8250_clear_IER()
1149 iersave = serial_in(up, UART_IER); in autoconfig_16550a()
1150 serial_out(up, UART_IER, iersave & ~UART_IER_UUE); in autoconfig_16550a()
1151 if (!(serial_in(up, UART_IER) & UART_IER_UUE)) { in autoconfig_16550a()
1156 serial_out(up, UART_IER, iersave | UART_IER_UUE); in autoconfig_16550a()
1157 if (serial_in(up, UART_IER) & UART_IER_UUE) { in autoconfig_16550a()
[all …]
D8250_early.c140 ier = serial8250_early_in(port, UART_IER); in init_port()
141 serial8250_early_out(port, UART_IER, ier & UART_IER_UUE); /* no interrupt */ in init_port()
166 ier = serial8250_early_in(port, UART_IER); in early_serial8250_setup()
167 serial8250_early_out(port, UART_IER, ier & UART_IER_UUE); in early_serial8250_setup()
D8250_em.c40 case UART_IER: /* IER @ 0x04 */ in serial8250_em_serial_out()
59 case UART_IER: /* IER @ 0x04 */ in serial8250_em_serial_in()
D8250_ingenic.c112 early_out(port, UART_IER, 0); in ingenic_early_console_setup()
157 case UART_IER: in ingenic_uart_serial_out()
170 ier = p->serial_in(p, UART_IER); in ingenic_uart_serial_out()
D8250_omap.c331 serial_out(up, UART_IER, up->ier); in omap8250_restore_regs()
521 serial_out(up, UART_IER, (state != 0) ? UART_IERX_SLEEP : 0); in omap_8250_pm()
642 up->ier = port->serial_in(port, UART_IER); in omap8250_irq()
701 serial_out(up, UART_IER, up->ier); in omap_8250_startup()
742 serial_out(up, UART_IER, 0); in omap_8250_shutdown()
790 serial_out(up, UART_IER, up->ier); in omap_8250_unthrottle()
881 serial_out(p, UART_IER, p->ier); in __dma_rx_complete()
938 serial_out(p, UART_IER, p->ier); in omap_8250_rx_dma()
1151 serial_out(up, UART_IER, up->ier); in am654_8250_handle_rx_dma()
1156 serial_out(up, UART_IER, up->ier); in am654_8250_handle_rx_dma()
D8250_mtk.c225 serial_out(up, UART_IER, serial_in(up, UART_IER) & (~mask)); in mtk8250_disable_intrs()
230 serial_out(up, UART_IER, serial_in(up, UART_IER) | mask); in mtk8250_enable_intrs()
D8250.h185 serial_out(up, UART_IER, up->ier); in serial8250_set_THRI()
194 serial_out(up, UART_IER, up->ier); in serial8250_clear_THRI()
D8250_bcm7271.c612 serial_port_out(port, UART_IER, up->ier); in brcmuart_startup()
793 ier = serial_port_in(p, UART_IER); in brcmuart_handle_irq()
802 serial_port_out(p, UART_IER, ier); in brcmuart_handle_irq()
849 status = serial_port_in(p, UART_IER); in brcmuart_hrtimer_func()
851 serial_port_out(p, UART_IER, status); in brcmuart_hrtimer_func()
/linux-6.1.9/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-6.1.9/arch/powerpc/platforms/embedded6xx/
Dls_uart.c68 out_8(avr_addr + UART_IER, 0); in avr_uart_configure()
101 out_8(avr_addr + UART_IER, 0); in ls_uart_init()
/linux-6.1.9/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-6.1.9/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()
642 outb(info->IER, info->ioaddr + UART_IER); in mxser_change_speed()
788 outb(info->IER, info->ioaddr + UART_IER); /* enable interrupts */ in mxser_activate()
824 outb(info->IER, info->ioaddr + UART_IER); in mxser_stop_rx()
846 outb(0x00, info->ioaddr + UART_IER); in mxser_shutdown_port()
1282 outb(info->IER, info->ioaddr + UART_IER); in mxser_throttle()
1285 outb(0, info->ioaddr + UART_IER); in mxser_throttle()
1287 outb(info->IER, info->ioaddr + UART_IER); in mxser_throttle()
[all …]
/linux-6.1.9/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-6.1.9/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-6.1.9/arch/arm/mach-davinci/
Dserial.c34 serial_write_reg(p, UART_IER, 0); /* disable all interrupts */ in davinci_serial_reset()
/linux-6.1.9/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-6.1.9/arch/sh/include/asm/
Dsmc37c93x.h59 #define UART_IER 0x2 /* Interrupt Enable Register */ macro
/linux-6.1.9/arch/x86/platform/ce4100/
Dce4100.c61 ier = mem_serial_in(p, UART_IER); in ce4100_mem_serial_in()
/linux-6.1.9/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()
679 sdio_out(port, UART_IER, 0); in sdio_uart_shutdown()

12