/drivers/tty/serial/jsm/ |
D | jsm_neo.c | 51 u8 ier, efr; in neo_set_cts_flow_control() local 52 ier = readb(&ch->ch_neo_uart->ier); in neo_set_cts_flow_control() 58 ier |= (UART_17158_IER_CTSDSR); in neo_set_cts_flow_control() 77 writeb(ier, &ch->ch_neo_uart->ier); in neo_set_cts_flow_control() 82 u8 ier, efr; in neo_set_rts_flow_control() local 83 ier = readb(&ch->ch_neo_uart->ier); in neo_set_rts_flow_control() 89 ier |= (UART_17158_IER_RTSDTR); in neo_set_rts_flow_control() 93 ier &= ~(UART_17158_IER_XOFF); in neo_set_rts_flow_control() 108 writeb(ier, &ch->ch_neo_uart->ier); in neo_set_rts_flow_control() 122 u8 ier, efr; in neo_set_ixon_flow_control() local [all …]
|
/drivers/tty/serial/ |
D | pxa.c | 52 unsigned char ier; member 76 up->ier |= UART_IER_MSI; in serial_pxa_enable_ms() 77 serial_out(up, UART_IER, up->ier); in serial_pxa_enable_ms() 84 if (up->ier & UART_IER_THRI) { in serial_pxa_stop_tx() 85 up->ier &= ~UART_IER_THRI; in serial_pxa_stop_tx() 86 serial_out(up, UART_IER, up->ier); in serial_pxa_stop_tx() 94 up->ier &= ~UART_IER_RLSI; in serial_pxa_stop_rx() 96 serial_out(up, UART_IER, up->ier); in serial_pxa_stop_rx() 112 up->ier &= ~UART_IER_RTOIE; in receive_chars() 113 serial_out(up, UART_IER, up->ier); in receive_chars() [all …]
|
D | timbuart.c | 47 static void timbuart_mctrl_check(struct uart_port *port, u32 isr, u32 *ier); 54 u32 ier = ioread32(port->membase + TIMBUART_IER) & ~RXFLAGS; in timbuart_stop_rx() local 55 iowrite32(ier, port->membase + TIMBUART_IER); in timbuart_stop_rx() 61 u32 ier = ioread32(port->membase + TIMBUART_IER) & ~TXBAE; in timbuart_stop_tx() local 62 iowrite32(ier, port->membase + TIMBUART_IER); in timbuart_stop_tx() 131 static void timbuart_handle_tx_port(struct uart_port *port, u32 isr, u32 *ier) in timbuart_handle_tx_port() argument 152 *ier |= uart->last_ier & TXFLAGS; in timbuart_handle_tx_port() 160 *ier |= TXBAE; in timbuart_handle_tx_port() 165 void timbuart_handle_rx_port(struct uart_port *port, u32 isr, u32 *ier) in timbuart_handle_rx_port() argument 182 *ier |= RXBAF | RXBF | RXTT; in timbuart_handle_rx_port() [all …]
|
D | vt8500_serial.c | 87 unsigned int ier; member 114 vt8500_port->ier &= ~TX_FIFO_INTS; in vt8500_stop_tx() 115 vt8500_write(port, vt8500_port->ier, VT8500_URIER); in vt8500_stop_tx() 124 vt8500_port->ier &= ~RX_FIFO_INTS; in vt8500_stop_rx() 125 vt8500_write(port, vt8500_port->ier, VT8500_URIER); in vt8500_stop_rx() 134 vt8500_port->ier |= TCTS; in vt8500_enable_ms() 135 vt8500_write(port, vt8500_port->ier, VT8500_URIER); in vt8500_enable_ms() 213 vt8500_port->ier &= ~TX_FIFO_INTS; in vt8500_start_tx() 214 vt8500_write(port, vt8500_port->ier, VT8500_URIER); in vt8500_start_tx() 216 vt8500_port->ier |= TX_FIFO_INTS; in vt8500_start_tx() [all …]
|
D | vr41xx_siu.c | 242 uint8_t ier; in siu_stop_tx() local 246 ier = siu_read(port, UART_IER); in siu_stop_tx() 247 ier &= ~UART_IER_THRI; in siu_stop_tx() 248 siu_write(port, UART_IER, ier); in siu_stop_tx() 256 uint8_t ier; in siu_start_tx() local 260 ier = siu_read(port, UART_IER); in siu_start_tx() 261 ier |= UART_IER_THRI; in siu_start_tx() 262 siu_write(port, UART_IER, ier); in siu_start_tx() 270 uint8_t ier; in siu_stop_rx() local 274 ier = siu_read(port, UART_IER); in siu_stop_rx() [all …]
|
D | m32r_sio.c | 113 unsigned char ier; member 254 if (up->ier & UART_IER_THRI) { in m32r_sio_stop_tx() 255 up->ier &= ~UART_IER_THRI; in m32r_sio_stop_tx() 256 serial_out(up, UART_IER, up->ier); in m32r_sio_stop_tx() 266 if (!(up->ier & UART_IER_THRI)) { in m32r_sio_start_tx() 267 up->ier |= UART_IER_THRI; in m32r_sio_start_tx() 268 serial_out(up, UART_IER, up->ier); in m32r_sio_start_tx() 277 if (!(up->ier & UART_IER_THRI)) { in m32r_sio_start_tx() 278 up->ier |= UART_IER_THRI; in m32r_sio_start_tx() 279 serial_out(up, UART_IER, up->ier); in m32r_sio_start_tx() [all …]
|
D | omap-serial.c | 131 unsigned char ier; member 265 up->ier |= UART_IER_MSI; in serial_omap_enable_ms() 266 serial_out(up, UART_IER, up->ier); in serial_omap_enable_ms() 276 if (up->ier & UART_IER_THRI) { in serial_omap_stop_tx() 277 up->ier &= ~UART_IER_THRI; in serial_omap_stop_tx() 278 serial_out(up, UART_IER, up->ier); in serial_omap_stop_tx() 290 up->ier &= ~UART_IER_RLSI; in serial_omap_stop_rx() 292 serial_out(up, UART_IER, up->ier); in serial_omap_stop_rx() 333 if (!(up->ier & UART_IER_THRI)) { in serial_omap_enable_ier_thri() 334 up->ier |= UART_IER_THRI; in serial_omap_enable_ier_thri() [all …]
|
D | ar933x_uart.c | 47 unsigned int ier; /* shadow Interrupt Enable Register */ member 93 up->ier |= AR933X_UART_INT_TX_EMPTY; in ar933x_uart_start_tx_interrupt() 94 ar933x_uart_write(up, AR933X_UART_INT_EN_REG, up->ier); in ar933x_uart_start_tx_interrupt() 99 up->ier &= ~AR933X_UART_INT_TX_EMPTY; in ar933x_uart_stop_tx_interrupt() 100 ar933x_uart_write(up, AR933X_UART_INT_EN_REG, up->ier); in ar933x_uart_stop_tx_interrupt() 152 up->ier &= ~AR933X_UART_INT_RX_VALID; in ar933x_uart_stop_rx() 153 ar933x_uart_write(up, AR933X_UART_INT_EN_REG, up->ier); in ar933x_uart_stop_rx() 417 up->ier = AR933X_UART_INT_RX_VALID; in ar933x_uart_startup() 418 ar933x_uart_write(up, AR933X_UART_INT_EN_REG, up->ier); in ar933x_uart_startup() 430 up->ier = 0; in ar933x_uart_shutdown() [all …]
|
D | mfd.c | 73 unsigned char ier; member 288 up->ier |= UART_IER_MSI; in serial_hsu_enable_ms() 289 serial_out(up, UART_IER, up->ier); in serial_hsu_enable_ms() 363 } else if (!(up->ier & UART_IER_THRI)) { in serial_hsu_start_tx() 364 up->ier |= UART_IER_THRI; in serial_hsu_start_tx() 365 serial_out(up, UART_IER, up->ier); in serial_hsu_start_tx() 377 else if (up->ier & UART_IER_THRI) { in serial_hsu_stop_tx() 378 up->ier &= ~UART_IER_THRI; in serial_hsu_stop_tx() 379 serial_out(up, UART_IER, up->ier); in serial_hsu_stop_tx() 452 up->ier &= ~UART_IER_RLSI; in serial_hsu_stop_rx() [all …]
|
D | nwpserial.c | 36 unsigned int ier; member 81 up->ier = dcr_read(up->dcr_host, UART_IER); in nwpserial_console_write() 82 dcr_write(up->dcr_host, UART_IER, up->ier & ~UART_IER_RDI); in nwpserial_console_write() 91 dcr_write(up->dcr_host, UART_IER, up->ier); in nwpserial_console_write() 180 up->ier = UART_IER_RDI; in nwpserial_startup() 181 dcr_write(up->dcr_host, UART_IER, up->ier); in nwpserial_startup() 198 up->ier = 0; in nwpserial_shutdown() 199 dcr_write(up->dcr_host, UART_IER, up->ier); in nwpserial_shutdown()
|
D | sunsu.c | 90 unsigned char ier; member 259 if (p->ier & UART_IER_THRI) { in __stop_tx() 260 p->ier &= ~UART_IER_THRI; in __stop_tx() 261 serial_out(p, UART_IER, p->ier); in __stop_tx() 284 if (!(up->ier & UART_IER_THRI)) { in sunsu_start_tx() 285 up->ier |= UART_IER_THRI; in sunsu_start_tx() 286 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() 313 up->ier |= UART_IER_MSI; in sunsu_enable_ms() [all …]
|
D | serial-tegra.c | 665 unsigned long ier; in tegra_uart_isr() local 676 ier = tup->ier_shadow; in tegra_uart_isr() 677 ier |= (UART_IER_RLSI | UART_IER_RTOIE | in tegra_uart_isr() 679 tup->ier_shadow = ier; in tegra_uart_isr() 680 tegra_uart_write(tup, ier, UART_IER); in tegra_uart_isr() 704 ier = tup->ier_shadow; in tegra_uart_isr() 705 ier |= UART_IER_RDI; in tegra_uart_isr() 706 tegra_uart_write(tup, ier, UART_IER); in tegra_uart_isr() 707 ier &= ~(UART_IER_RDI | UART_IER_RLSI | in tegra_uart_isr() 709 tup->ier_shadow = ier; in tegra_uart_isr() [all …]
|
D | serial_txx9.c | 499 unsigned int ier; in serial_txx9_get_poll_char() local 506 ier = sio_in(up, TXX9_SIDICR); in serial_txx9_get_poll_char() 519 sio_out(up, TXX9_SIDICR, ier); in serial_txx9_get_poll_char() 526 unsigned int ier; in serial_txx9_put_poll_char() local 532 ier = sio_in(up, TXX9_SIDICR); in serial_txx9_put_poll_char() 551 sio_out(up, TXX9_SIDICR, ier); in serial_txx9_put_poll_char() 920 unsigned int ier, flcr; in serial_txx9_console_write() local 925 ier = sio_in(up, TXX9_SIDICR); in serial_txx9_console_write() 942 sio_out(up, TXX9_SIDICR, ier); in serial_txx9_console_write()
|
D | pch_uart.c | 407 u8 ier = ioread8(priv->membase + UART_IER); in pch_uart_hal_enable_interrupt() local 408 ier |= flag & PCH_UART_IER_MASK; in pch_uart_hal_enable_interrupt() 409 iowrite8(ier, priv->membase + UART_IER); in pch_uart_hal_enable_interrupt() 415 u8 ier = ioread8(priv->membase + UART_IER); in pch_uart_hal_disable_interrupt() local 416 ier &= ~(flag & PCH_UART_IER_MASK); in pch_uart_hal_disable_interrupt() 417 iowrite8(ier, priv->membase + UART_IER); in pch_uart_hal_disable_interrupt() 1548 unsigned int ier; in pch_uart_put_poll_char() local 1555 ier = ioread8(priv->membase + UART_IER); in pch_uart_put_poll_char() 1574 iowrite8(ier, priv->membase + UART_IER); in pch_uart_put_poll_char() 1627 u8 ier; in pch_console_write() local [all …]
|
D | bcm63xx_uart.c | 507 unsigned int ctl, baud, quot, ier; in bcm_uart_set_termios() local 555 ier = bcm_uart_readl(port, UART_IR_REG); in bcm_uart_set_termios() 557 ier &= ~UART_IR_MASK(UART_IR_EXTIP); in bcm_uart_set_termios() 559 ier |= UART_IR_MASK(UART_IR_EXTIP); in bcm_uart_set_termios() 561 bcm_uart_writel(port, ier, UART_IR_REG); in bcm_uart_set_termios()
|
/drivers/mmc/card/ |
D | sdio_uart.c | 83 unsigned char ier; member 337 port->ier &= ~UART_IER_MSI; in sdio_uart_change_speed() 339 port->ier |= UART_IER_MSI; in sdio_uart_change_speed() 343 sdio_out(port, UART_IER, port->ier); in sdio_uart_change_speed() 355 if (!(port->ier & UART_IER_THRI)) { in sdio_uart_start_tx() 356 port->ier |= UART_IER_THRI; in sdio_uart_start_tx() 357 sdio_out(port, UART_IER, port->ier); in sdio_uart_start_tx() 363 if (port->ier & UART_IER_THRI) { in sdio_uart_stop_tx() 364 port->ier &= ~UART_IER_THRI; in sdio_uart_stop_tx() 365 sdio_out(port, UART_IER, port->ier); in sdio_uart_stop_tx() [all …]
|
/drivers/net/irda/ |
D | nsc-ircc.c | 1257 __u8 ier; /* Interrupt enable register */ in nsc_ircc_change_speed() local 1336 ier = IER_SFIF_IE; in nsc_ircc_change_speed() 1341 ier = IER_RXHDL_IE; in nsc_ircc_change_speed() 1344 outb(ier, iobase+IER); in nsc_ircc_change_speed() 1350 return ier; in nsc_ircc_change_speed() 1964 self->ier = IER_TXLDL_IE; in nsc_ircc_sir_interrupt() 1969 self->ier = IER_TXEMP_IE; in nsc_ircc_sir_interrupt() 1977 self->ier = IER_RXHDL_IE; in nsc_ircc_sir_interrupt() 1983 self->ier = nsc_ircc_change_speed(self, in nsc_ircc_sir_interrupt() 2001 self->ier = IER_RXHDL_IE; in nsc_ircc_sir_interrupt() [all …]
|
D | ali-ircc.c | 715 eir = self->InterruptID & self->ier; /* Mask out the interesting ones */ in ali_ircc_fir_interrupt() 719 IRDA_DEBUG(1, "%s(), self->ier = %x\n", __func__,self->ier); in ali_ircc_fir_interrupt() 739 self->ier = IER_EOM; in ali_ircc_fir_interrupt() 744 self->ier = IER_EOM; in ali_ircc_fir_interrupt() 762 self->ier = IER_EOM; in ali_ircc_fir_interrupt() 768 self->ier = IER_EOM | IER_TIMER; in ali_ircc_fir_interrupt() 792 self->ier = IER_EOM; in ali_ircc_fir_interrupt() 799 self->ier = IER_EOM; in ali_ircc_fir_interrupt() 803 self->ier = IER_EOM | IER_TIMER; in ali_ircc_fir_interrupt() 946 self->ier = IER_EOM; in ali_ircc_sir_write_wakeup() [all …]
|
/drivers/i2c/busses/ |
D | i2c-xiic.c | 204 u32 ier = xiic_getreg32(i2c, XIIC_IIER_OFFSET); in xiic_irq_dis() local 205 xiic_setreg32(i2c, XIIC_IIER_OFFSET, ier & ~mask); in xiic_irq_dis() 210 u32 ier = xiic_getreg32(i2c, XIIC_IIER_OFFSET); in xiic_irq_en() local 211 xiic_setreg32(i2c, XIIC_IIER_OFFSET, ier | mask); in xiic_irq_en() 331 u32 pend, isr, ier; in xiic_process() local 340 ier = xiic_getreg32(i2c, XIIC_IIER_OFFSET); in xiic_process() 341 pend = isr & ier; in xiic_process() 345 __func__, ier, isr, pend, xiic_getreg8(i2c, XIIC_SR_REG_OFFSET), in xiic_process()
|
/drivers/tty/serial/8250/ |
D | 8250_core.c | 1272 if (p->ier & UART_IER_THRI) { in __stop_tx() 1273 p->ier &= ~UART_IER_THRI; in __stop_tx() 1274 serial_out(p, UART_IER, p->ier); in __stop_tx() 1301 } else if (!(up->ier & UART_IER_THRI)) { in serial8250_start_tx() 1302 up->ier |= UART_IER_THRI; in serial8250_start_tx() 1303 serial_port_out(port, UART_IER, up->ier); in serial8250_start_tx() 1328 up->ier &= ~UART_IER_RLSI; in serial8250_stop_rx() 1330 serial_port_out(port, UART_IER, up->ier); in serial8250_stop_rx() 1342 up->ier |= UART_IER_MSI; in serial8250_enable_ms() 1343 serial_port_out(port, UART_IER, up->ier); in serial8250_enable_ms() [all …]
|
D | 8250_early.c | 94 unsigned int ier; in early_serial8250_write() local 97 ier = serial8250_early_in(port, UART_IER); in early_serial8250_write() 104 serial8250_early_out(port, UART_IER, ier); in early_serial8250_write()
|
/drivers/dma/ |
D | timb_dma.c | 127 u32 ier; in __td_enable_chan_irq() local 130 ier = ioread32(td->membase + TIMBDMA_IER); in __td_enable_chan_irq() 131 ier |= 1 << id; in __td_enable_chan_irq() 133 ier); in __td_enable_chan_irq() 134 iowrite32(ier, td->membase + TIMBDMA_IER); in __td_enable_chan_irq() 629 u32 ier; in td_tasklet() local 648 ier = __td_ier_mask(td); in td_tasklet() 649 iowrite32(ier, td->membase + TIMBDMA_IER); in td_tasklet()
|
/drivers/staging/comedi/drivers/ |
D | amplc_pci230.c | 537 unsigned char ier; /* Copy of interrupt enables/status register. */ member 1150 if (devpriv->ier != devpriv->int_en) { in pci230_ao_stop() 1151 devpriv->ier = devpriv->int_en; in pci230_ao_stop() 1152 outb(devpriv->ier, devpriv->iobase1 + PCI230_INT_SCE); in pci230_ao_stop() 1405 devpriv->ier |= PCI230_INT_ZCLK_CT1; in pci230_ao_start() 1406 outb(devpriv->ier, in pci230_ao_start() 1423 devpriv->ier |= PCI230P2_INT_DAC; in pci230_ao_start() 1424 outb(devpriv->ier, devpriv->iobase1 + PCI230_INT_SCE); in pci230_ao_start() 2023 if (devpriv->ier != devpriv->int_en) { in pci230_ai_stop() 2024 devpriv->ier = devpriv->int_en; in pci230_ai_stop() [all …]
|
/drivers/gpio/ |
D | gpio-adnp.c | 198 u8 ddr, plr, ier, isr; in adnp_gpio_dbg_show() local 214 err = adnp_read(adnp, GPIO_IER(adnp) + i, &ier); in adnp_gpio_dbg_show() 241 if (ier & BIT(j)) in adnp_gpio_dbg_show() 287 u8 changed, level, isr, ier; in adnp_irq() local 305 err = adnp_read(adnp, GPIO_IER(adnp) + i, &ier); in adnp_irq() 325 pending &= isr & ier; in adnp_irq()
|
/drivers/mmc/host/ |
D | wbsd.c | 136 u8 setup, ier; in wbsd_init_device() local 178 ier = 0; in wbsd_init_device() 179 ier |= WBSD_EINT_CARD; in wbsd_init_device() 180 ier |= WBSD_EINT_FIFO_THRE; in wbsd_init_device() 181 ier |= WBSD_EINT_CRC; in wbsd_init_device() 182 ier |= WBSD_EINT_TIMEOUT; in wbsd_init_device() 183 ier |= WBSD_EINT_TC; in wbsd_init_device() 185 outb(ier, host->base + WBSD_EIR); in wbsd_init_device()
|