/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() 24 cs_irq_handler(struct intel_engine_cs *engine, u32 iir) in cs_irq_handler() argument 28 if (unlikely(iir & GT_CS_MASTER_ERROR_INTERRUPT)) { in cs_irq_handler() 44 if (iir & GT_WAIT_SEMAPHORE_INTERRUPT) { in cs_irq_handler() 53 if (iir & GT_CONTEXT_SWITCH_INTERRUPT) in cs_irq_handler() 56 if (iir & GT_RENDER_USER_INTERRUPT) { in cs_irq_handler() 101 const u16 iir) in gen11_other_irq_handler() argument 104 return guc_irq_handler(>->uc.guc, iir); in gen11_other_irq_handler() 107 return gen11_rps_irq_handler(>->rps, iir); in gen11_other_irq_handler() [all …]
|
/drivers/gpu/drm/i915/ |
D | i915_irq.c | 204 i915_reg_t iir, i915_reg_t ier) in gen3_irq_reset() argument 212 intel_uncore_write(uncore, iir, 0xffffffff); in gen3_irq_reset() 213 intel_uncore_posting_read(uncore, iir); in gen3_irq_reset() 214 intel_uncore_write(uncore, iir, 0xffffffff); in gen3_irq_reset() 215 intel_uncore_posting_read(uncore, iir); in gen3_irq_reset() 270 i915_reg_t iir) in gen3_irq_init() argument 272 gen3_assert_iir_is_zero(uncore, iir); in gen3_irq_init() 1304 u32 iir, u32 pipe_stats[I915_MAX_PIPES]) in i9xx_pipestat_irq_ack() argument 1342 if (iir & iir_bit) in i9xx_pipestat_irq_ack() 1370 u16 iir, u32 pipe_stats[I915_MAX_PIPES]) in i8xx_pipestat_irq_handler() argument [all …]
|
D | i915_irq.h | 123 i915_reg_t iir, i915_reg_t ier); 130 i915_reg_t iir);
|
/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/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 | 633 unsigned int iir, lsr; in omap8250_irq() local 645 iir = serial_port_in(port, UART_IIR); in omap8250_irq() 646 ret = serial8250_handle_irq(port, iir); in omap8250_irq() 654 (iir & UART_IIR_RX_TIMEOUT) == UART_IIR_RX_TIMEOUT && in omap8250_irq() 1135 static bool handle_rx_dma(struct uart_8250_port *up, unsigned int iir) in handle_rx_dma() argument 1137 switch (iir & 0x3f) { in handle_rx_dma() 1148 u8 iir, unsigned char status) in omap_8250_handle_rx_dma() argument 1151 (iir & UART_IIR_RDI)) { in omap_8250_handle_rx_dma() 1152 if (handle_rx_dma(up, iir)) { in omap_8250_handle_rx_dma() 1161 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 | 1869 static bool handle_rx_dma(struct uart_8250_port *up, unsigned int iir) in handle_rx_dma() argument 1871 switch (iir & 0x3f) { in handle_rx_dma() 1887 int serial8250_handle_irq(struct uart_port *port, unsigned int iir) in serial8250_handle_irq() argument 1895 if (iir & UART_IIR_NO_INT) in serial8250_handle_irq() 1921 if (!up->dma || handle_rx_dma(up, iir)) in serial8250_handle_irq() 1937 unsigned int iir; in serial8250_default_handle_irq() local 1942 iir = serial_port_in(port, UART_IIR); in serial8250_default_handle_irq() 1943 ret = serial8250_handle_irq(port, iir); in serial8250_default_handle_irq() 1958 unsigned int iir = serial_port_in(port, UART_IIR); in serial8250_tx_threshold_handle_irq() local 1961 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_aspeed_vuart.c | 299 unsigned int iir, lsr; in aspeed_vuart_handle_irq() local 303 iir = serial_port_in(port, UART_IIR); in aspeed_vuart_handle_irq() 305 if (iir & UART_IIR_NO_INT) in aspeed_vuart_handle_irq()
|
D | 8250_core.c | 269 unsigned int iir, ier = 0, lsr; in serial8250_backup_timeout() local 283 iir = serial_in(up, UART_IIR); in serial8250_backup_timeout() 293 if ((iir & UART_IIR_NO_INT) && (up->ier & UART_IER_THRI) && in serial8250_backup_timeout() 296 iir &= ~(UART_IIR_ID | UART_IIR_NO_INT); in serial8250_backup_timeout() 297 iir |= UART_IIR_THRI; in serial8250_backup_timeout() 300 if (!(iir & UART_IIR_NO_INT)) in serial8250_backup_timeout()
|
/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 | 288 unsigned long iir; in tegra_uart_wait_fifo_mode_enabled() local 292 iir = tegra_uart_read(tup, UART_IIR); in tegra_uart_wait_fifo_mode_enabled() 293 if (iir & TEGRA_UART_FCR_IIR_FIFO_EN) in tegra_uart_wait_fifo_mode_enabled() 831 unsigned long iir; in tegra_uart_isr() local 839 iir = tegra_uart_read(tup, UART_IIR); in tegra_uart_isr() 840 if (iir & UART_IIR_NO_INT) { in tegra_uart_isr() 857 switch ((iir >> 1) & 0x7) { in tegra_uart_isr()
|
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()
|
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()
|
/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()
|
D | yam.c | 732 unsigned char iir; in yam_interrupt() local 744 while ((iir = IIR_MASK & inb(IIR(dev->base_addr))) != IIR_NOPEND) { in yam_interrupt() 758 dev->name, iir); in yam_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 | 2218 int status, iir, i; in mxser_interrupt() local 2253 iir = inb(port->ioaddr + UART_IIR); in mxser_interrupt() 2254 if (iir & UART_IIR_NO_INT) in mxser_interrupt() 2256 iir &= MOXA_MUST_IIR_MASK; in mxser_interrupt() 2280 if (iir == MOXA_MUST_IIR_GDA || in mxser_interrupt() 2281 iir == MOXA_MUST_IIR_RDA || in mxser_interrupt() 2282 iir == MOXA_MUST_IIR_RTO || in mxser_interrupt() 2283 iir == MOXA_MUST_IIR_LSR) in mxser_interrupt() 2298 if (iir == 0x02 && (status & in mxser_interrupt()
|
/drivers/video/fbdev/i810/ |
D | i810.h | 235 u16 bltcntl, hwstam, ier, iir, imr; member
|
/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()
|
/drivers/video/fbdev/intelfb/ |
D | intelfb.h | 236 u16 iir; member
|