Home
last modified time | relevance | path

Searched refs:irq_enabled (Results 1 – 25 of 81) sorted by relevance

1234

/openbmc/linux/drivers/gpu/drm/
H A Ddrm_irq.c77 if (dev->irq_enabled) in drm_legacy_irq_install()
79 dev->irq_enabled = true; in drm_legacy_irq_install()
95 dev->irq_enabled = false; in drm_legacy_irq_install()
104 dev->irq_enabled = false; in drm_legacy_irq_install()
118 bool irq_enabled; in drm_legacy_irq_uninstall() local
121 irq_enabled = dev->irq_enabled; in drm_legacy_irq_uninstall()
122 dev->irq_enabled = false; in drm_legacy_irq_uninstall()
146 if (!irq_enabled) in drm_legacy_irq_uninstall()
H A Ddrm_legacy_misc.c79 if (dev->irq_enabled) in drm_legacy_dev_reinit()
/openbmc/linux/arch/xtensa/kernel/
H A Dtime.c57 int irq_enabled; member
88 if (timer->irq_enabled) { in ccount_timer_shutdown()
90 timer->irq_enabled = 0; in ccount_timer_shutdown()
100 if (!timer->irq_enabled) { in ccount_timer_set_oneshot()
102 timer->irq_enabled = 1; in ccount_timer_set_oneshot()
132 timer->irq_enabled = 1; in local_timer_setup()
/openbmc/qemu/hw/arm/
H A Dintegratorcp.c53 uint32_t irq_enabled; member
130 return s->int_level & s->irq_enabled; in integratorcm_read()
134 return s->irq_enabled; in integratorcm_read()
229 s->irq_enabled |= value; in integratorcm_write()
233 s->irq_enabled &= ~value; in integratorcm_write()
336 uint32_t irq_enabled; member
358 flags = (s->level & s->irq_enabled); in icp_pic_update()
381 return s->level & s->irq_enabled; in icp_pic_read()
385 return s->irq_enabled; in icp_pic_read()
411 s->irq_enabled |= value; in icp_pic_write()
[all …]
/openbmc/qemu/hw/i2c/
H A Dsmbus_ich9.c39 bool irq_enabled; member
55 VMSTATE_BOOL_TEST(irq_enabled, ICH9SMBState, ich9_vmstate_need_smbus),
87 if (enabled == s->irq_enabled) { in ich9_smb_set_irq()
91 s->irq_enabled = enabled; in ich9_smb_set_irq()
/openbmc/linux/drivers/gpu/drm/i915/pxp/
H A Dintel_pxp_irq.c75 if (!pxp->irq_enabled) in intel_pxp_irq_enable()
79 pxp->irq_enabled = true; in intel_pxp_irq_enable()
99 pxp->irq_enabled = false; in intel_pxp_irq_disable()
H A Dintel_pxp_types.h104 bool irq_enabled; member
/openbmc/linux/drivers/net/phy/
H A Dnxp-cbtx.c156 int irq_stat, irq_enabled; in cbtx_handle_interrupt() local
164 irq_enabled = phy_read(phydev, CBTX_IRQ_ENABLE); in cbtx_handle_interrupt()
165 if (irq_enabled < 0) { in cbtx_handle_interrupt()
170 if (!(irq_enabled & irq_stat)) in cbtx_handle_interrupt()
/openbmc/qemu/hw/rtc/
H A Dgoldfish_rtc.c48 qemu_set_irq(s->irq, (s->irq_pending & s->irq_enabled) ? 1 : 0); in goldfish_rtc_update()
121 r = s->irq_enabled; in goldfish_rtc_read()
162 s->irq_enabled = (uint32_t)(value & 0x1); in goldfish_rtc_write()
250 VMSTATE_UINT32(irq_enabled, GoldfishRTCState),
271 s->irq_enabled = 0; in goldfish_rtc_reset()
/openbmc/linux/drivers/rtc/
H A Drtc-st-lpc.c47 bool irq_enabled:1; member
141 if (enabled && !rtc->irq_enabled) { in st_rtc_alarm_irq_enable()
143 rtc->irq_enabled = true; in st_rtc_alarm_irq_enable()
144 } else if (!enabled && rtc->irq_enabled) { in st_rtc_alarm_irq_enable()
146 rtc->irq_enabled = false; in st_rtc_alarm_irq_enable()
H A Drtc-xgene.c40 unsigned int irq_enabled; member
221 pdata->irq_enabled = xgene_rtc_alarm_irq_enabled(dev); in xgene_rtc_suspend()
248 xgene_rtc_alarm_irq_enable(dev, pdata->irq_enabled); in xgene_rtc_resume()
/openbmc/linux/drivers/thermal/
H A Dimx_thermal.c211 bool irq_enabled; member
299 if (!data->irq_enabled && *temp < data->alarm_temp) { in imx_get_temp()
300 data->irq_enabled = true; in imx_get_temp()
317 if (!data->irq_enabled) { in imx_change_mode()
318 data->irq_enabled = true; in imx_change_mode()
324 if (data->irq_enabled) { in imx_change_mode()
326 data->irq_enabled = false; in imx_change_mode()
527 data->irq_enabled = false; in imx_thermal_alarm_irq()
744 data->irq_enabled = true; in imx_thermal_probe()
/openbmc/linux/drivers/gpio/
H A Dgpio-max77620.c23 bool irq_enabled[MAX77620_GPIO_NR]; member
56 gpio->irq_enabled[data->hwirq] = false; in max77620_gpio_irq_mask()
66 gpio->irq_enabled[data->hwirq] = true; in max77620_gpio_irq_unmask()
113 value = gpio->irq_enabled[offset] ? gpio->irq_type[offset] : 0; in max77620_gpio_bus_sync_unlock()
H A Dgpio-pcf857x.c74 unsigned int irq_enabled; /* enabled irqs */ member
203 change = (gpio->status ^ status) & gpio->irq_enabled; in pcf857x_irq()
231 gpio->irq_enabled |= (1 << hwirq); in pcf857x_irq_enable()
239 gpio->irq_enabled &= ~(1 << hwirq); in pcf857x_irq_disable()
/openbmc/qemu/hw/timer/
H A Dpxa2xx_timer.c103 uint32_t irq_enabled; member
234 return s->irq_enabled; in pxa2xx_timer_read()
339 s->irq_enabled = value & 0xfff; in pxa2xx_timer_write()
413 if (i->irq_enabled & (1 << t->num)) { in pxa2xx_timer_tick()
460 s->irq_enabled = 0; in pxa2xx_timer_init()
544 VMSTATE_UINT32(irq_enabled, PXA2xxTimerInfo),
/openbmc/qemu/include/hw/misc/
H A Dvirt_ctrl.h21 uint32_t irq_enabled; member
/openbmc/linux/drivers/gpu/drm/omapdrm/
H A Domap_irq.c287 priv->irq_enabled = true; in omap_drm_irq_install()
296 if (!priv->irq_enabled) in omap_drm_irq_uninstall()
299 priv->irq_enabled = false; in omap_drm_irq_uninstall()
H A Domap_drv.h65 bool irq_enabled; member
/openbmc/qemu/include/hw/rtc/
H A Dgoldfish_rtc.h43 uint32_t irq_enabled; member
/openbmc/linux/drivers/gpu/drm/i915/gt/
H A Dintel_breadcrumbs_types.h45 unsigned int irq_enabled; member
H A Dintel_breadcrumbs.c47 if (!b->irq_enabled++ && b->irq_enable(b)) in __intel_breadcrumbs_arm_irq()
64 GEM_BUG_ON(!b->irq_enabled); in __intel_breadcrumbs_disarm_irq()
65 if (!--b->irq_enabled) in __intel_breadcrumbs_disarm_irq()
304 if (b->irq_enabled) in intel_breadcrumbs_reset()
/openbmc/linux/drivers/soc/qcom/
H A Dsmsm.c109 DECLARE_BITMAP(irq_enabled, 32);
209 for_each_set_bit(i, entry->irq_enabled, 32) { in smsm_intr()
249 clear_bit(irq, entry->irq_enabled); in smsm_mask_irq()
272 set_bit(irq, entry->irq_enabled); in smsm_unmask_irq()
H A Dsmp2p.c103 DECLARE_BITMAP(irq_enabled, 32);
258 for_each_set_bit(i, entry->irq_enabled, 32) { in qcom_smp2p_notify_in()
322 clear_bit(irq, entry->irq_enabled); in smp2p_mask_irq()
330 set_bit(irq, entry->irq_enabled); in smp2p_unmask_irq()
/openbmc/linux/drivers/crypto/intel/qat/qat_common/
H A Dadf_vf_isr.c196 accel_dev->vf.irq_enabled = true; in adf_request_msi_irq()
228 if (accel_dev->vf.irq_enabled) { in adf_vf_isr_resource_free()
/openbmc/qemu/hw/cxl/
H A Dcxl-events.c40 log->irq_enabled = false; in cxl_event_init()
251 if (!log->irq_enabled || cxl_event_empty(log)) { in cxl_event_irq_assert()

1234