/drivers/gpu/drm/i915/gt/ |
D | intel_gt_irq.c | 17 static void guc_irq_handler(struct intel_guc *guc, u16 iir) in guc_irq_handler() argument 19 if (iir & GUC_INTR_GUC2HOST) in guc_irq_handler() 59 const u16 iir) in gen11_other_irq_handler() argument 62 return guc_irq_handler(>->uc.guc, iir); in gen11_other_irq_handler() 65 return gen11_rps_irq_handler(>->rps, iir); in gen11_other_irq_handler() 68 instance, iir); in gen11_other_irq_handler() 73 const u8 instance, const u16 iir) in gen11_engine_irq_handler() argument 83 return intel_engine_cs_irq(engine, iir); in gen11_engine_irq_handler() 259 static void gen7_parity_error_irq_handler(struct intel_gt *gt, u32 iir) in gen7_parity_error_irq_handler() argument 268 if (iir & GT_RENDER_L3_PARITY_ERROR_INTERRUPT_S1) in gen7_parity_error_irq_handler() [all …]
|
D | intel_gt_irq.h | 44 static inline void intel_engine_cs_irq(struct intel_engine_cs *engine, u16 iir) in intel_engine_cs_irq() argument 46 if (iir) in intel_engine_cs_irq() 47 engine->irq_handler(engine, iir); in intel_engine_cs_irq() 53 u16 iir)) in intel_engine_set_irq_handler() argument
|
/drivers/media/platform/omap3isp/ |
D | isph3a_af.c | 71 isp_reg_writel(af->isp, conf->iir.h_start, in h3a_af_setup_regs() 79 coef |= conf->iir.coeff_set0[index]; in h3a_af_setup_regs() 80 coef |= conf->iir.coeff_set0[index + 1] << in h3a_af_setup_regs() 88 coef |= conf->iir.coeff_set1[index]; in h3a_af_setup_regs() 89 coef |= conf->iir.coeff_set1[index + 1] << in h3a_af_setup_regs() 96 isp_reg_writel(af->isp, conf->iir.coeff_set0[10], in h3a_af_setup_regs() 99 isp_reg_writel(af->isp, conf->iir.coeff_set1[10], in h3a_af_setup_regs() 157 struct omap3isp_h3a_af_iir *iir_cfg = &user_cfg->iir; in h3a_af_validate_params() 257 if (cur_cfg->iir.h_start != user_cfg->iir.h_start) { in h3a_af_set_params() 262 if (cur_cfg->iir.coeff_set0[index] != in h3a_af_set_params() [all …]
|
/drivers/gpu/drm/i915/ |
D | i915_irq.c | 233 i915_reg_t iir, i915_reg_t ier) in gen3_irq_reset() argument 241 intel_uncore_write(uncore, iir, 0xffffffff); in gen3_irq_reset() 242 intel_uncore_posting_read(uncore, iir); in gen3_irq_reset() 243 intel_uncore_write(uncore, iir, 0xffffffff); in gen3_irq_reset() 244 intel_uncore_posting_read(uncore, iir); in gen3_irq_reset() 299 i915_reg_t iir) in gen3_irq_init() argument 301 gen3_assert_iir_is_zero(uncore, iir); in gen3_irq_init() 1400 u32 iir, u32 pipe_stats[I915_MAX_PIPES]) in i9xx_pipestat_irq_ack() argument 1438 if (iir & iir_bit) in i9xx_pipestat_irq_ack() 1466 u16 iir, u32 pipe_stats[I915_MAX_PIPES]) in i8xx_pipestat_irq_handler() argument [all …]
|
D | i915_irq.h | 125 i915_reg_t iir, i915_reg_t ier); 132 i915_reg_t iir);
|
/drivers/bluetooth/ |
D | dtl1_cs.c | 295 int iir, lsr; in dtl1_interrupt() local 306 iir = inb(iobase + UART_IIR) & UART_IIR_ID; in dtl1_interrupt() 307 while (iir) { in dtl1_interrupt() 313 switch (iir) { in dtl1_interrupt() 328 BT_ERR("Unhandled IIR=%#x", iir); in dtl1_interrupt() 336 iir = inb(iobase + UART_IIR) & UART_IIR_ID; in dtl1_interrupt()
|
D | bt3c_cs.c | 338 int iir; in bt3c_interrupt() local 349 iir = inb(iobase + CONTROL); in bt3c_interrupt() 350 if (iir & 0x80) { in bt3c_interrupt() 370 outb(iir, iobase + CONTROL); in bt3c_interrupt()
|
/drivers/gpu/drm/i915/gvt/ |
D | interrupt.c | 42 #define iir_to_regbase(iir) (iir - 0x8) argument 289 u32 iir = *(u32 *)p_data; in intel_vgpu_reg_iir_handler() local 291 trace_write_ir(vgpu->id, "IIR", reg, iir, vgpu_vreg(vgpu, reg), in intel_vgpu_reg_iir_handler() 292 (vgpu_vreg(vgpu, reg) ^ iir)); in intel_vgpu_reg_iir_handler() 297 vgpu_vreg(vgpu, reg) &= ~iir; in intel_vgpu_reg_iir_handler() 366 u32 iir = regbase_to_iir( in update_upstream_irq() local 371 vgpu_vreg(vgpu, iir) |= (set_bits & ~vgpu_vreg(vgpu, imr)); in update_upstream_irq()
|
/drivers/tty/serial/8250/ |
D | 8250_omap.c | 628 unsigned int iir, lsr; in omap8250_irq() local 640 iir = serial_port_in(port, UART_IIR); in omap8250_irq() 641 ret = serial8250_handle_irq(port, iir); in omap8250_irq() 649 (iir & UART_IIR_RX_TIMEOUT) == UART_IIR_RX_TIMEOUT && in omap8250_irq() 1130 static bool handle_rx_dma(struct uart_8250_port *up, unsigned int iir) in handle_rx_dma() argument 1132 switch (iir & 0x3f) { in handle_rx_dma() 1143 u8 iir, unsigned char status) in omap_8250_handle_rx_dma() argument 1146 (iir & UART_IIR_RDI)) { in omap_8250_handle_rx_dma() 1147 if (handle_rx_dma(up, iir)) { in omap_8250_handle_rx_dma() 1156 static void am654_8250_handle_rx_dma(struct uart_8250_port *up, u8 iir, in am654_8250_handle_rx_dma() argument [all …]
|
D | 8250_fsl.c | 34 unsigned int iir; in fsl8250_handle_irq() local 39 iir = port->serial_in(port, UART_IIR); in fsl8250_handle_irq() 40 if (iir & UART_IIR_NO_INT) { in fsl8250_handle_irq()
|
D | 8250_port.c | 1872 static bool handle_rx_dma(struct uart_8250_port *up, unsigned int iir) in handle_rx_dma() argument 1874 switch (iir & 0x3f) { in handle_rx_dma() 1890 int serial8250_handle_irq(struct uart_port *port, unsigned int iir) in serial8250_handle_irq() argument 1898 if (iir & UART_IIR_NO_INT) in serial8250_handle_irq() 1924 if (!up->dma || handle_rx_dma(up, iir)) in serial8250_handle_irq() 1941 unsigned int iir; in serial8250_default_handle_irq() local 1946 iir = serial_port_in(port, UART_IIR); in serial8250_default_handle_irq() 1947 ret = serial8250_handle_irq(port, iir); in serial8250_default_handle_irq() 1962 unsigned int iir = serial_port_in(port, UART_IIR); in serial8250_tx_threshold_handle_irq() local 1965 if ((iir & UART_IIR_ID) == UART_IIR_THRI) { in serial8250_tx_threshold_handle_irq() [all …]
|
D | 8250_dw.c | 243 unsigned int iir = p->serial_in(p, UART_IIR); in dw8250_handle_irq() local 257 if (!up->dma && ((iir & 0x3f) == UART_IIR_RX_TIMEOUT)) { in dw8250_handle_irq() 267 if (serial8250_handle_irq(p, iir)) in dw8250_handle_irq() 270 if ((iir & UART_IIR_BUSY) == UART_IIR_BUSY) { in dw8250_handle_irq()
|
D | 8250_core.c | 259 unsigned int iir, ier = 0, lsr; in serial8250_backup_timeout() local 273 iir = serial_in(up, UART_IIR); in serial8250_backup_timeout() 283 if ((iir & UART_IIR_NO_INT) && (up->ier & UART_IER_THRI) && in serial8250_backup_timeout() 286 iir &= ~(UART_IIR_ID | UART_IIR_NO_INT); in serial8250_backup_timeout() 287 iir |= UART_IIR_THRI; in serial8250_backup_timeout() 290 if (!(iir & UART_IIR_NO_INT)) in serial8250_backup_timeout()
|
D | 8250_aspeed_vuart.c | 331 unsigned int iir, lsr; in aspeed_vuart_handle_irq() local 335 iir = serial_port_in(port, UART_IIR); in aspeed_vuart_handle_irq() 337 if (iir & UART_IIR_NO_INT) in aspeed_vuart_handle_irq()
|
/drivers/tty/serial/ |
D | sc16is7xx.c | 557 unsigned int iir) in sc16is7xx_handle_rx() argument 561 bool read_lsr = (iir == SC16IS7XX_IIR_RLSE_SRC) ? true : false; in sc16is7xx_handle_rx() 684 unsigned int iir, rxlen; in sc16is7xx_port_irq() local 686 iir = sc16is7xx_port_read(port, SC16IS7XX_IIR_REG); in sc16is7xx_port_irq() 687 if (iir & SC16IS7XX_IIR_NO_INT_BIT) in sc16is7xx_port_irq() 690 iir &= SC16IS7XX_IIR_ID_MASK; in sc16is7xx_port_irq() 692 switch (iir) { in sc16is7xx_port_irq() 707 if (iir == SC16IS7XX_IIR_RTOI_SRC && !rxlen) in sc16is7xx_port_irq() 711 sc16is7xx_handle_rx(port, rxlen, iir); in sc16is7xx_port_irq() 719 port->line, iir); in sc16is7xx_port_irq()
|
D | serial-tegra.c | 293 unsigned long iir; in tegra_uart_wait_fifo_mode_enabled() local 297 iir = tegra_uart_read(tup, UART_IIR); in tegra_uart_wait_fifo_mode_enabled() 298 if (iir & TEGRA_UART_FCR_IIR_FIFO_EN) in tegra_uart_wait_fifo_mode_enabled() 836 unsigned long iir; in tegra_uart_isr() local 844 iir = tegra_uart_read(tup, UART_IIR); in tegra_uart_isr() 845 if (iir & UART_IIR_NO_INT) { in tegra_uart_isr() 862 switch ((iir >> 1) & 0x7) { in tegra_uart_isr()
|
D | pxa.c | 245 unsigned int iir, lsr; in serial_pxa_irq() local 247 iir = serial_in(up, UART_IIR); in serial_pxa_irq() 248 if (iir & UART_IIR_NO_INT) in serial_pxa_irq()
|
D | vr41xx_siu.c | 410 uint8_t iir, lsr; in siu_interrupt() local 414 iir = siu_read(port, UART_IIR); in siu_interrupt() 415 if (iir & UART_IIR_NO_INT) in siu_interrupt()
|
/drivers/net/hamradio/ |
D | baycom_ser_fdx.c | 252 unsigned char iir, msr; in ser12_interrupt() local 258 if ((iir = inb(IIR(dev->base_addr))) & 1) in ser12_interrupt() 267 switch (iir & 6) { in ser12_interrupt() 302 iir = inb(IIR(dev->base_addr)); in ser12_interrupt() 303 } while (!(iir & 1)); in ser12_interrupt()
|
D | baycom_ser_hdx.c | 366 unsigned char iir; in ser12_interrupt() local 371 if ((iir = inb(IIR(dev->base_addr))) & 1) in ser12_interrupt() 375 switch (iir & 6) { in ser12_interrupt() 401 iir = inb(IIR(dev->base_addr)); in ser12_interrupt() 402 } while (!(iir & 1)); in ser12_interrupt()
|
/drivers/media/rc/ |
D | sir_ir.c | 158 int iir, lsr; in sir_interrupt() local 160 while ((iir = inb(io + UART_IIR) & UART_IIR_ID)) { in sir_interrupt() 166 switch (iir & UART_IIR_ID) { /* FIXME toto treba preriedit */ in sir_interrupt()
|
/drivers/tty/ |
D | mxser.c | 1691 u8 iir, msr, status; in mxser_port_isr() local 1694 iir = inb(port->ioaddr + UART_IIR); in mxser_port_isr() 1695 if (iir & UART_IIR_NO_INT) in mxser_port_isr() 1698 iir &= MOXA_MUST_IIR_MASK; in mxser_port_isr() 1714 if (iir == MOXA_MUST_IIR_GDA || in mxser_port_isr() 1715 iir == MOXA_MUST_IIR_RDA || in mxser_port_isr() 1716 iir == MOXA_MUST_IIR_RTO || in mxser_port_isr() 1717 iir == MOXA_MUST_IIR_LSR) in mxser_port_isr() 1730 if (iir == 0x02 && (status & UART_LSR_THRE)) in mxser_port_isr()
|
/drivers/video/fbdev/i810/ |
D | i810.h | 235 u16 bltcntl, hwstam, ier, iir, imr; member
|
/drivers/usb/serial/ |
D | mos7720.c | 697 __u8 iir; in mos7715_interrupt_callback() local 729 iir = data[0]; in mos7715_interrupt_callback() 730 if (!(iir & 0x01)) { /* serial port interrupt pending */ in mos7715_interrupt_callback() 731 switch (iir & 0x0f) { in mos7715_interrupt_callback()
|
/drivers/mmc/core/ |
D | sdio_uart.c | 515 unsigned int iir, lsr; in sdio_uart_irq() local 528 iir = sdio_in(port, UART_IIR); in sdio_uart_irq() 529 if (iir & UART_IIR_NO_INT) in sdio_uart_irq()
|