/openbmc/qemu/include/hw/ |
H A D | irq.h | 8 void qemu_set_irq(qemu_irq irq, int level); 12 qemu_set_irq(irq, 1); in qemu_irq_raise() 17 qemu_set_irq(irq, 0); in qemu_irq_lower() 22 qemu_set_irq(irq, 1); in qemu_irq_pulse() 23 qemu_set_irq(irq, 0); in qemu_irq_pulse()
|
/openbmc/qemu/hw/char/ |
H A D | avr_usart.c | 48 qemu_set_irq(usart->rxc_irq, 1); in avr_usart_receive() 103 qemu_set_irq(usart->rxc_irq, 0); in avr_usart_reset() 104 qemu_set_irq(usart->txc_irq, 0); in avr_usart_reset() 105 qemu_set_irq(usart->dre_irq, 0); in avr_usart_reset() 131 qemu_set_irq(usart->rxc_irq, 0); in avr_usart_read() 176 qemu_set_irq(usart->txc_irq, 1); in avr_usart_write() 180 qemu_set_irq(usart->dre_irq, 1); in avr_usart_write() 192 qemu_set_irq(usart->txc_irq, 0); in avr_usart_write() 210 qemu_set_irq(usart->rxc_irq, in avr_usart_write() 213 qemu_set_irq(usart->txc_irq, in avr_usart_write() [all …]
|
H A D | renesas_sci.c | 89 qemu_set_irq(sci->irq[ERI], 1); in receive() 108 qemu_set_irq(sci->irq[TEI], 0); in send_byte() 122 qemu_set_irq(sci->irq[TEI], 1); in txend() 172 qemu_set_irq(sci->irq[TEI], 0); in sci_write() 175 qemu_set_irq(sci->irq[ERI], 0); in sci_write() 193 qemu_set_irq(sci->irq[ERI], 0); in sci_write() 267 qemu_set_irq(sci->irq[ERI], 1); in sci_event()
|
H A D | ibex_uart.c | 80 qemu_set_irq(s->tx_watermark, 1); in ibex_uart_update_irqs() 82 qemu_set_irq(s->tx_watermark, 0); in ibex_uart_update_irqs() 86 qemu_set_irq(s->rx_watermark, 1); in ibex_uart_update_irqs() 88 qemu_set_irq(s->rx_watermark, 0); in ibex_uart_update_irqs() 92 qemu_set_irq(s->tx_empty, 1); in ibex_uart_update_irqs() 94 qemu_set_irq(s->tx_empty, 0); in ibex_uart_update_irqs() 98 qemu_set_irq(s->rx_overflow, 1); in ibex_uart_update_irqs() 100 qemu_set_irq(s->rx_overflow, 0); in ibex_uart_update_irqs()
|
H A D | goldfish_tty.c | 81 qemu_set_irq(s->irq, 0); in goldfish_tty_cmd() 89 qemu_set_irq(s->irq, 1); in goldfish_tty_cmd() 120 qemu_set_irq(s->irq, 0); in goldfish_tty_cmd() 189 qemu_set_irq(s->irq, 1); in goldfish_tty_receive()
|
H A D | sh_serial.c | 115 qemu_set_irq(s->txi, val & (1 << 7)); in sh_serial_write() 118 qemu_set_irq(s->rxi, 0); in sh_serial_write() 160 qemu_set_irq(s->rxi, 0); in sh_serial_write() 345 qemu_set_irq(s->rxi, 1); in sh_serial_timeout_int() 366 qemu_set_irq(s->rxi, 1); in sh_serial_receive1()
|
H A D | cmsdk-apb-uart.c | 108 qemu_set_irq(s->txint, !!(s->intstatus & R_INTSTATUS_TX_MASK)); in cmsdk_apb_uart_update() 109 qemu_set_irq(s->rxint, !!(s->intstatus & R_INTSTATUS_RX_MASK)); in cmsdk_apb_uart_update() 110 qemu_set_irq(s->txovrint, !!(s->intstatus & R_INTSTATUS_TXO_MASK)); in cmsdk_apb_uart_update() 111 qemu_set_irq(s->rxovrint, !!(s->intstatus & R_INTSTATUS_RXO_MASK)); in cmsdk_apb_uart_update() 112 qemu_set_irq(s->uartint, !!(s->intstatus)); in cmsdk_apb_uart_update()
|
/openbmc/qemu/hw/timer/ |
H A D | avr_timer16.c | 264 qemu_set_irq(t16->ovf_irq, 1); in avr_timer16_interrupt() 278 qemu_set_irq(t16->capt_irq, 1); in avr_timer16_interrupt() 284 qemu_set_irq(t16->compa_irq, 1); in avr_timer16_interrupt() 288 qemu_set_irq(t16->compb_irq, 1); in avr_timer16_interrupt() 292 qemu_set_irq(t16->compc_irq, 1); in avr_timer16_interrupt() 305 qemu_set_irq(t16->capt_irq, 0); in avr_timer16_reset() 306 qemu_set_irq(t16->compa_irq, 0); in avr_timer16_reset() 307 qemu_set_irq(t16->compb_irq, 0); in avr_timer16_reset() 308 qemu_set_irq(t16->compc_irq, 0); in avr_timer16_reset() 309 qemu_set_irq(t16->ovf_irq, 0); in avr_timer16_reset()
|
H A D | ibex_timer.c | 83 qemu_set_irq(s->irq, true); in ibex_timer_update_irqs() 90 qemu_set_irq(s->irq, false); in ibex_timer_update_irqs() 113 qemu_set_irq(s->irq, true); in ibex_timer_cb() 225 qemu_set_irq(s->irq, true); in ibex_timer_write()
|
/openbmc/qemu/hw/gpio/ |
H A D | pcf8574.c | 71 qemu_set_irq(s->intrq, 1); in pcf8574_rx() 92 qemu_set_irq(s->handler[line], (actual >> line) & 1); in pcf8574_tx() 97 qemu_set_irq(s->intrq, actual == s->lastrq); in pcf8574_tx() 128 qemu_set_irq(s->intrq, 0); in pcf8574_gpio_set()
|
H A D | gpio_key.c | 65 qemu_set_irq(s->irq, 0); in gpio_key_timer_expired() 73 qemu_set_irq(s->irq, 1); in gpio_key_set_irq()
|
H A D | imx_gpio.c | 72 qemu_set_irq(s->irq[0], (s->isr & s->imr & 0x0000FFFF) ? 1 : 0); in imx_gpio_update_int() 73 qemu_set_irq(s->irq[1], (s->isr & s->imr & 0xFFFF0000) ? 1 : 0); in imx_gpio_update_int() 75 qemu_set_irq(s->irq[0], (s->isr & s->imr) ? 1 : 0); in imx_gpio_update_int() 144 qemu_set_irq(s->output[i], extract32(s->dr, i, 1)); in imx_gpio_set_all_output_lines()
|
/openbmc/qemu/hw/watchdog/ |
H A D | sbsa_gwdt.c | 147 qemu_set_irq(s->irq, 0); in sbsa_gwdt_write() 154 qemu_set_irq(s->irq, 0); in sbsa_gwdt_write() 161 qemu_set_irq(s->irq, 0); in sbsa_gwdt_write() 201 qemu_set_irq(s->irq, 1); in sbsa_gwdt_timer_sysinterrupt()
|
/openbmc/qemu/hw/misc/ |
H A D | mst_fpga.c | 98 qemu_set_irq(s->parent, s->intsetclr & s->intmskena); in mst_fpga_set_irq() 173 qemu_set_irq(s->parent, s->intsetclr & s->intmskena); in mst_fpga_writeb() 177 qemu_set_irq(s->parent, s->intsetclr & s->intmskena); in mst_fpga_writeb() 202 qemu_set_irq(s->parent, s->intsetclr & s->intmskena); in mst_fpga_post_load()
|
H A D | avr_power.c | 39 qemu_set_irq(s->irq[i], 0); in avr_mask_reset() 65 qemu_set_irq(s->irq[i], (val8 & (1 << i)) != 0); in avr_mask_write()
|
H A D | iotkit-secctl.c | 279 qemu_set_irq(ppc->ap[i], v); in iotkit_secctl_update_ppc_ap() 289 qemu_set_irq(ppc->nonsec[i], extract32(ppc->ns, i, 1)); in iotkit_secctl_ppc_ns_write() 310 qemu_set_irq(ppc->irq_clear, extract32(value, ppc->irq_bit_offset, 1)); in iotkit_secctl_ppc_update_irq_clear() 317 qemu_set_irq(ppc->irq_enable, extract32(value, ppc->irq_bit_offset, 1)); in iotkit_secctl_ppc_update_irq_enable() 325 qemu_set_irq(msc_irqs[i], extract32(value, i + 16, 1)); in iotkit_secctl_update_mscexp_irqs() 334 qemu_set_irq(s->msc_irq, level); in iotkit_secctl_update_msc_irq() 357 qemu_set_irq(s->nsc_cfg_irq, s->nsccfg); in iotkit_secctl_s_write() 362 qemu_set_irq(s->sec_resp_cfg, s->secrespcfg); in iotkit_secctl_s_write()
|
H A D | xlnx-zynqmp-apu-ctrl.c | 35 qemu_set_irq(s->wfi_out[i], !!(wfi_pending & (1 << i))); in update_wfi_out() 63 qemu_set_irq(s->cpu_power_status[i], !!new); in zynqmp_apu_pwrctl_post_write() 74 qemu_set_irq(s->irq_imr, pending); in imr_update_irq()
|
/openbmc/qemu/hw/intc/ |
H A D | omap_intc.c | 103 qemu_set_irq(s->parent_intr[is_fiq], 1); in omap_inth_update() 265 qemu_set_irq(s->parent_intr[1], 0); in omap_inth_write() 270 qemu_set_irq(s->parent_intr[0], 0); in omap_inth_write() 362 qemu_set_irq(s->parent_intr[0], 0); in omap_inth_reset() 363 qemu_set_irq(s->parent_intr[1], 0); in omap_inth_reset() 535 qemu_set_irq(s->parent_intr[1], 0); in omap2_inth_write() 540 qemu_set_irq(s->parent_intr[0], 0); in omap2_inth_write()
|
H A D | imx_avic.c | 67 qemu_set_irq(s->fiq, !!flags); in imx_avic_update() 71 qemu_set_irq(s->irq, !!flags); in imx_avic_update() 82 qemu_set_irq(s->irq, 1); in imx_avic_update() 87 qemu_set_irq(s->irq, 0); in imx_avic_update()
|
H A D | loongarch_pch_msi.c | 36 qemu_set_irq(s->pch_msi_irq[irq_num], 1); in loongarch_msi_mem_write() 49 qemu_set_irq(s->pch_msi_irq[irq], level); in pch_msi_irq_handler()
|
H A D | etraxfs_pic.c | 80 qemu_set_irq(fs->parent_irq, vector); in pic_update() 127 qemu_set_irq(fs->parent_nmi, !!fs->regs[R_R_NMI]); in nmi_handler()
|
/openbmc/qemu/hw/isa/ |
H A D | i82378.c | 52 qemu_set_irq(s->cpu_intr, level); in i82378_request_out0_irq() 60 qemu_set_irq(s->isa_irqs_in[irq], level); in i82378_request_pic_irq()
|
/openbmc/qemu/hw/cpu/ |
H A D | realview_mpcore.c | 51 qemu_set_irq(s->rvic[i][irq], level); in mpcore_rirq_set_irq() 56 qemu_set_irq(s->cpuic[irq], level); in mpcore_rirq_set_irq()
|
/openbmc/qemu/hw/input/ |
H A D | lasips2.c | 136 qemu_set_irq(s->irq, level); in lasips2_update_irq() 169 qemu_set_irq(lp->irq, 1); in lasips2_reg_write() 203 qemu_set_irq(lp->irq, 0); in lasips2_reg_read() 330 qemu_set_irq(s->irq, level); in lasips2_port_set_irq()
|
/openbmc/qemu/hw/ppc/ |
H A D | prep_systemio.c | 73 qemu_set_irq(s->softreset_irq, s->sreset); in prep_port0092_write() 209 qemu_set_irq(s->non_contiguous_io_map_irq, in prep_port0850_write() 262 qemu_set_irq(s->non_contiguous_io_map_irq, in prep_systemio_realize()
|