Home
last modified time | relevance | path

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

12

/linux-5.19.10/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-5.19.10/drivers/tty/serial/
Dvr41xx_siu.c229 ier = siu_read(port, UART_IER); in siu_stop_tx()
231 siu_write(port, UART_IER, ier); in siu_stop_tx()
243 ier = siu_read(port, UART_IER); in siu_start_tx()
245 siu_write(port, UART_IER, ier); in siu_start_tx()
257 ier = siu_read(port, UART_IER); in siu_stop_rx()
259 siu_write(port, UART_IER, ier); in siu_stop_rx()
273 ier = siu_read(port, UART_IER); in siu_enable_ms()
275 siu_write(port, UART_IER, ier); in siu_enable_ms()
460 siu_write(port, UART_IER, UART_IER_RLSI | UART_IER_RDI); in siu_startup()
475 siu_write(port, UART_IER, 0); in siu_shutdown()
[all …]
Dpxa.c68 serial_out(up, UART_IER, up->ier); in serial_pxa_enable_ms()
77 serial_out(up, UART_IER, up->ier); in serial_pxa_stop_tx()
87 serial_out(up, UART_IER, up->ier); in serial_pxa_stop_rx()
104 serial_out(up, UART_IER, up->ier); in receive_chars()
171 serial_out(up, UART_IER, up->ier); in receive_chars()
213 serial_out(up, UART_IER, up->ier); in serial_pxa_start_tx()
382 serial_out(up, UART_IER, up->ier); in serial_pxa_startup()
406 serial_out(up, UART_IER, 0); in serial_pxa_shutdown()
507 serial_out(up, UART_IER, up->ier); in serial_pxa_set_termios()
642 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.c280 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()
382 serial_out(up, UART_IER, up->ier); in serial_omap_enable_ier_thri()
420 serial_out(up, UART_IER, up->ier); in serial_omap_throttle()
431 serial_out(up, UART_IER, up->ier); in serial_omap_unthrottle()
746 serial_out(up, UART_IER, up->ier); in serial_omap_startup()
770 serial_out(up, UART_IER, 0); in serial_omap_shutdown()
886 serial_out(up, UART_IER, up->ier); in serial_omap_set_termios()
955 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()
852 tegra_uart_write(tup, ier, UART_IER); in tegra_uart_isr()
868 tegra_uart_write(tup, tup->ier_shadow, UART_IER); in tegra_uart_isr()
881 tegra_uart_write(tup, ier, UART_IER); in tegra_uart_isr()
890 UART_IER); in tegra_uart_isr()
926 tegra_uart_write(tup, ier, UART_IER); in tegra_uart_stop_rx()
946 tegra_uart_write(tup, 0, UART_IER); in tegra_uart_hw_deinit()
1105 tegra_uart_write(tup, tup->ier_shadow, UART_IER); in tegra_uart_hw_init()
1269 tegra_uart_write(tup, tup->ier_shadow, UART_IER); in tegra_uart_enable_ms()
[all …]
Dpch_uart.c316 "IER: \t0x%02x\n", ioread8(priv->membase + UART_IER)); in port_show_regs()
418 u8 ier = ioread8(priv->membase + UART_IER); in pch_uart_hal_enable_interrupt()
420 iowrite8(ier, priv->membase + UART_IER); in pch_uart_hal_enable_interrupt()
426 u8 ier = ioread8(priv->membase + UART_IER); in pch_uart_hal_disable_interrupt()
428 iowrite8(ier, priv->membase + UART_IER); in pch_uart_hal_disable_interrupt()
1506 ier = ioread8(priv->membase + UART_IER); in pch_uart_put_poll_char()
1520 iowrite8(ier, priv->membase + UART_IER); in pch_uart_put_poll_char()
1595 ier = ioread8(priv->membase + UART_IER); in pch_console_write()
1606 iowrite8(ier, priv->membase + UART_IER); in pch_console_write()
/linux-5.19.10/drivers/tty/serial/8250/
D8250_port.c752 serial_out(p, UART_IER, sleep ? UART_IERX_SLEEP : 0); in serial8250_set_sleep()
1146 iersave = serial_in(up, UART_IER); in autoconfig_16550a()
1147 serial_out(up, UART_IER, iersave & ~UART_IER_UUE); in autoconfig_16550a()
1148 if (!(serial_in(up, UART_IER) & UART_IER_UUE)) { in autoconfig_16550a()
1153 serial_out(up, UART_IER, iersave | UART_IER_UUE); in autoconfig_16550a()
1154 if (serial_in(up, UART_IER) & UART_IER_UUE) { in autoconfig_16550a()
1171 serial_out(up, UART_IER, iersave); in autoconfig_16550a()
1227 scratch = serial_in(up, UART_IER); in autoconfig()
1228 serial_out(up, UART_IER, 0); in autoconfig()
1236 scratch2 = serial_in(up, UART_IER) & 0x0f; in autoconfig()
[all …]
D8250_early.c142 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()
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_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.c328 serial_out(up, UART_IER, up->ier); in omap8250_restore_regs()
515 serial_out(up, UART_IER, (state != 0) ? UART_IERX_SLEEP : 0); in omap_8250_pm()
636 up->ier = port->serial_in(port, UART_IER); in omap8250_irq()
696 serial_out(up, UART_IER, up->ier); in omap_8250_startup()
737 serial_out(up, UART_IER, 0); in omap_8250_shutdown()
785 serial_out(up, UART_IER, up->ier); in omap_8250_unthrottle()
876 serial_out(p, UART_IER, p->ier); in __dma_rx_complete()
933 serial_out(p, UART_IER, p->ier); in omap_8250_rx_dma()
1149 serial_out(up, UART_IER, up->ier); in am654_8250_handle_rx_dma()
1154 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()
/linux-5.19.10/arch/powerpc/kernel/
Dudbg_16550.c18 #define UART_IER 1 macro
28 #define UART_DLM UART_IER
111 udbg_uart_out(UART_IER, 0xff); in udbg_uart_setup()
112 udbg_uart_out(UART_IER, 0x00); in udbg_uart_setup()
/linux-5.19.10/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-5.19.10/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-5.19.10/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()
641 outb(info->IER, info->ioaddr + UART_IER); in mxser_change_speed()
787 outb(info->IER, info->ioaddr + UART_IER); /* enable interrupts */ in mxser_activate()
823 outb(info->IER, info->ioaddr + UART_IER); in mxser_stop_rx()
845 outb(0x00, info->ioaddr + UART_IER); in mxser_shutdown_port()
1281 outb(info->IER, info->ioaddr + UART_IER); in mxser_throttle()
1284 outb(0, info->ioaddr + UART_IER); in mxser_throttle()
1286 outb(info->IER, info->ioaddr + UART_IER); in mxser_throttle()
[all …]
/linux-5.19.10/samples/vfio-mdev/
Dmtty.c322 if ((mdev_state->s[index].uart_reg[UART_IER] & in handle_bar_write()
343 if (mdev_state->s[index].uart_reg[UART_IER] & in handle_bar_write()
350 case UART_IER: in handle_bar_write()
430 if ((mdev_state->s[index].uart_reg[UART_IER] & UART_IER_MSI) && in handle_bar_write()
438 if ((mdev_state->s[index].uart_reg[UART_IER] & UART_IER_MSI) && in handle_bar_write()
492 if (mdev_state->s[index].uart_reg[UART_IER] & in handle_bar_read()
500 case UART_IER: in handle_bar_read()
510 u8 ier = mdev_state->s[index].uart_reg[UART_IER]; in handle_bar_read()
/linux-5.19.10/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-5.19.10/arch/arm/mach-davinci/
Dserial.c34 serial_write_reg(p, UART_IER, 0); /* disable all interrupts */ in davinci_serial_reset()
/linux-5.19.10/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-5.19.10/arch/sh/include/asm/
Dsmc37c93x.h59 #define UART_IER 0x2 /* Interrupt Enable Register */ macro
/linux-5.19.10/arch/x86/platform/ce4100/
Dce4100.c61 ier = mem_serial_in(p, UART_IER); in ce4100_mem_serial_in()
/linux-5.19.10/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