Home
last modified time | relevance | path

Searched refs:irq_lock (Results 1 – 25 of 85) sorted by relevance

1234

/drivers/gpu/drm/i915/
Dintel_fifo_underrun.c57 assert_spin_locked(&dev_priv->irq_lock); in ivb_can_enable_err_int()
75 assert_spin_locked(&dev_priv->irq_lock); in cpt_can_enable_serr_int()
99 spin_lock_irq(&dev_priv->irq_lock); in i9xx_check_fifo_underruns()
118 spin_unlock_irq(&dev_priv->irq_lock); in i9xx_check_fifo_underruns()
129 assert_spin_locked(&dev_priv->irq_lock); in i9xx_set_fifo_underrun_reporting()
181 assert_spin_locked(&dev_priv->irq_lock); in broadwell_set_fifo_underrun_reporting()
238 assert_spin_locked(&dev_priv->irq_lock); in __intel_set_cpu_fifo_underrun_reporting()
277 spin_lock_irqsave(&dev_priv->irq_lock, flags); in intel_set_cpu_fifo_underrun_reporting()
280 spin_unlock_irqrestore(&dev_priv->irq_lock, flags); in intel_set_cpu_fifo_underrun_reporting()
317 spin_lock_irqsave(&dev_priv->irq_lock, flags); in intel_set_pch_fifo_underrun_reporting()
[all …]
Dintel_hotplug.c155 assert_spin_locked(&dev_priv->irq_lock); in intel_hpd_irq_storm_disable()
200 spin_lock_irq(&dev_priv->irq_lock); in intel_hpd_irq_storm_reenable_work()
224 spin_unlock_irq(&dev_priv->irq_lock); in intel_hpd_irq_storm_reenable_work()
259 spin_lock_irq(&dev_priv->irq_lock); in i915_digport_work_func()
264 spin_unlock_irq(&dev_priv->irq_lock); in i915_digport_work_func()
291 spin_lock_irq(&dev_priv->irq_lock); in i915_digport_work_func()
293 spin_unlock_irq(&dev_priv->irq_lock); in i915_digport_work_func()
316 spin_lock_irq(&dev_priv->irq_lock); in i915_hotplug_work_func()
324 spin_unlock_irq(&dev_priv->irq_lock); in i915_hotplug_work_func()
376 spin_lock(&dev_priv->irq_lock); in intel_hpd_irq_handler()
[all …]
Di915_irq.c181 assert_spin_locked(&dev_priv->irq_lock); in i915_hotplug_interrupt_update_locked()
206 spin_lock_irq(&dev_priv->irq_lock); in i915_hotplug_interrupt_update()
208 spin_unlock_irq(&dev_priv->irq_lock); in i915_hotplug_interrupt_update()
223 assert_spin_locked(&dev_priv->irq_lock); in ilk_update_display_irq()
263 assert_spin_locked(&dev_priv->irq_lock); in ilk_update_gt_irq()
315 assert_spin_locked(&dev_priv->irq_lock); in snb_update_pm_irq()
355 spin_lock_irq(&dev_priv->irq_lock); in gen6_reset_rps_interrupts()
360 spin_unlock_irq(&dev_priv->irq_lock); in gen6_reset_rps_interrupts()
367 spin_lock_irq(&dev_priv->irq_lock); in gen6_enable_rps_interrupts()
376 spin_unlock_irq(&dev_priv->irq_lock); in gen6_enable_rps_interrupts()
[all …]
Dintel_ringbuffer.c1559 spin_lock_irqsave(&dev_priv->irq_lock, flags); in gen5_ring_get_irq()
1562 spin_unlock_irqrestore(&dev_priv->irq_lock, flags); in gen5_ring_get_irq()
1574 spin_lock_irqsave(&dev_priv->irq_lock, flags); in gen5_ring_put_irq()
1577 spin_unlock_irqrestore(&dev_priv->irq_lock, flags); in gen5_ring_put_irq()
1590 spin_lock_irqsave(&dev_priv->irq_lock, flags); in i9xx_ring_get_irq()
1596 spin_unlock_irqrestore(&dev_priv->irq_lock, flags); in i9xx_ring_get_irq()
1608 spin_lock_irqsave(&dev_priv->irq_lock, flags); in i9xx_ring_put_irq()
1614 spin_unlock_irqrestore(&dev_priv->irq_lock, flags); in i9xx_ring_put_irq()
1627 spin_lock_irqsave(&dev_priv->irq_lock, flags); in i8xx_ring_get_irq()
1633 spin_unlock_irqrestore(&dev_priv->irq_lock, flags); in i8xx_ring_get_irq()
[all …]
/drivers/rtc/
Drtc-dev.c39 spin_lock_irq(&rtc->irq_lock); in rtc_dev_open()
41 spin_unlock_irq(&rtc->irq_lock); in rtc_dev_open()
66 spin_lock_irq(&rtc->irq_lock); in rtc_uie_task()
79 spin_unlock_irq(&rtc->irq_lock); in rtc_uie_task()
88 spin_lock_irqsave(&rtc->irq_lock, flags); in rtc_uie_timer()
93 spin_unlock_irqrestore(&rtc->irq_lock, flags); in rtc_uie_timer()
98 spin_lock_irq(&rtc->irq_lock); in clear_uie()
102 spin_unlock_irq(&rtc->irq_lock); in clear_uie()
104 spin_lock_irq(&rtc->irq_lock); in clear_uie()
108 spin_unlock_irq(&rtc->irq_lock); in clear_uie()
[all …]
Drtc-mxc.c209 spin_lock_irq(&pdata->rtc->irq_lock); in mxc_rtc_irq_enable()
218 spin_unlock_irq(&pdata->rtc->irq_lock); in mxc_rtc_irq_enable()
231 spin_lock_irqsave(&pdata->rtc->irq_lock, flags); in mxc_rtc_interrupt()
250 spin_unlock_irqrestore(&pdata->rtc->irq_lock, flags); in mxc_rtc_interrupt()
264 spin_lock_irq(&pdata->rtc->irq_lock); in mxc_rtc_release()
272 spin_unlock_irq(&pdata->rtc->irq_lock); in mxc_rtc_release()
Drtc-imxdi.c126 spinlock_t irq_lock; member
457 spin_lock_irqsave(&imxdi->irq_lock, flags); in di_int_enable()
460 spin_unlock_irqrestore(&imxdi->irq_lock, flags); in di_int_enable()
470 spin_lock_irqsave(&imxdi->irq_lock, flags); in di_int_disable()
473 spin_unlock_irqrestore(&imxdi->irq_lock, flags); in di_int_disable()
781 spin_lock_init(&imxdi->irq_lock); in dryice_rtc_probe()
/drivers/video/fbdev/omap2/dss/
Ddispc-compat.c57 spinlock_t irq_lock; member
159 spin_lock_irqsave(&dispc_compat.irq_lock, flags); in omap_dispc_register_isr()
193 spin_unlock_irqrestore(&dispc_compat.irq_lock, flags); in omap_dispc_register_isr()
197 spin_unlock_irqrestore(&dispc_compat.irq_lock, flags); in omap_dispc_register_isr()
210 spin_lock_irqsave(&dispc_compat.irq_lock, flags); in omap_dispc_unregister_isr()
231 spin_unlock_irqrestore(&dispc_compat.irq_lock, flags); in omap_dispc_unregister_isr()
271 spin_lock(&dispc_compat.irq_lock); in omap_dispc_irq_handler()
278 spin_unlock(&dispc_compat.irq_lock); in omap_dispc_irq_handler()
302 spin_unlock(&dispc_compat.irq_lock); in omap_dispc_irq_handler()
316 spin_lock(&dispc_compat.irq_lock); in omap_dispc_irq_handler()
[all …]
/drivers/input/misc/
Dgpio_input.c47 spinlock_t irq_lock; member
77 spin_lock_irqsave(&ds->irq_lock, irqflags); in gpio_event_input_timer_func()
158 spin_unlock_irqrestore(&ds->irq_lock, irqflags); in gpio_event_input_timer_func()
178 spin_lock_irqsave(&ds->irq_lock, irqflags); in gpio_event_input_irq_handler()
196 spin_unlock_irqrestore(&ds->irq_lock, irqflags); in gpio_event_input_irq_handler()
277 spin_lock_irqsave(&ds->irq_lock, irqflags); in gpio_event_input_func()
282 spin_unlock_irqrestore(&ds->irq_lock, irqflags); in gpio_event_input_func()
314 spin_lock_init(&ds->irq_lock); in gpio_event_input_func()
350 spin_lock_irqsave(&ds->irq_lock, irqflags); in gpio_event_input_func()
361 spin_unlock_irqrestore(&ds->irq_lock, irqflags); in gpio_event_input_func()
[all …]
/drivers/block/rsxx/
Dcore.c358 spin_lock(&card->irq_lock); in rsxx_isr()
407 spin_unlock(&card->irq_lock); in rsxx_isr()
496 spin_lock_irqsave(&card->irq_lock, flags); in card_event_handler()
498 spin_unlock_irqrestore(&card->irq_lock, flags); in card_event_handler()
705 spin_lock_irqsave(&card->irq_lock, flags); in rsxx_slot_reset()
710 spin_unlock_irqrestore(&card->irq_lock, flags); in rsxx_slot_reset()
827 spin_lock_init(&card->irq_lock); in rsxx_pci_probe()
831 spin_lock_irq(&card->irq_lock); in rsxx_pci_probe()
833 spin_unlock_irq(&card->irq_lock); in rsxx_pci_probe()
857 spin_lock_irq(&card->irq_lock); in rsxx_pci_probe()
[all …]
/drivers/mfd/
Ducb1x00-core.c322 raw_spin_lock(&ucb->irq_lock); in ucb1x00_irq_mask()
325 raw_spin_unlock(&ucb->irq_lock); in ucb1x00_irq_mask()
333 raw_spin_lock(&ucb->irq_lock); in ucb1x00_irq_unmask()
336 raw_spin_unlock(&ucb->irq_lock); in ucb1x00_irq_unmask()
344 raw_spin_lock(&ucb->irq_lock); in ucb1x00_irq_set_type()
360 raw_spin_unlock(&ucb->irq_lock); in ucb1x00_irq_set_type()
374 raw_spin_lock(&ucb->irq_lock); in ucb1x00_irq_set_wake()
379 raw_spin_unlock(&ucb->irq_lock); in ucb1x00_irq_set_wake()
530 raw_spin_lock_init(&ucb->irq_lock); in ucb1x00_probe()
687 raw_spin_lock_irqsave(&ucb->irq_lock, flags); in ucb1x00_suspend()
[all …]
Dlp8788-irq.c41 struct mutex irq_lock; member
84 mutex_lock(&irqd->irq_lock); in lp8788_irq_bus_lock()
99 mutex_unlock(&irqd->irq_lock); in lp8788_irq_bus_sync_unlock()
176 mutex_init(&irqd->irq_lock); in lp8788_irq_init()
Ducb1x00-ts.c45 spinlock_t irq_lock; member
243 spin_lock_irq(&ts->irq_lock); in ucb1x00_thread()
248 spin_unlock_irq(&ts->irq_lock); in ucb1x00_thread()
295 spin_lock(&ts->irq_lock); in ucb1x00_ts_irq()
298 spin_unlock(&ts->irq_lock); in ucb1x00_ts_irq()
383 spin_lock_init(&ts->irq_lock); in ucb1x00_ts_add()
Dtps65912-irq.c102 mutex_lock(&tps65912->irq_lock); in tps65912_irq_lock()
131 mutex_unlock(&tps65912->irq_lock); in tps65912_irq_sync_unlock()
186 mutex_init(&tps65912->irq_lock); in tps65912_irq_init()
/drivers/macintosh/ams/
Dams-core.c75 spin_lock(&ams_info.irq_lock); in ams_handle_irq()
80 spin_unlock(&ams_info.irq_lock); in ams_handle_irq()
107 spin_lock_irqsave(&ams_info.irq_lock, flags); in ams_worker()
124 spin_unlock_irqrestore(&ams_info.irq_lock, flags); in ams_worker()
196 spin_lock_init(&ams_info.irq_lock); in ams_init()
/drivers/net/wireless/b43legacy/
Dsysfs.c140 spin_lock_irqsave(&wldev->wl->irq_lock, flags); in b43legacy_attr_interfmode_store()
147 spin_unlock_irqrestore(&wldev->wl->irq_lock, flags); in b43legacy_attr_interfmode_store()
196 spin_lock_irqsave(&wldev->wl->irq_lock, flags); in b43legacy_attr_preamble_store()
200 spin_unlock_irqrestore(&wldev->wl->irq_lock, flags); in b43legacy_attr_preamble_store()
Dmain.c1247 spin_lock_irq(&wl->irq_lock); in b43legacy_beacon_update_trigger_work()
1254 spin_unlock_irq(&wl->irq_lock); in b43legacy_beacon_update_trigger_work()
1316 spin_lock_irqsave(&dev->wl->irq_lock, flags); in b43legacy_interrupt_tasklet()
1351 spin_unlock_irqrestore(&dev->wl->irq_lock, flags); in b43legacy_interrupt_tasklet()
1401 spin_unlock_irqrestore(&dev->wl->irq_lock, flags); in b43legacy_interrupt_tasklet()
1453 spin_lock(&dev->wl->irq_lock); in b43legacy_interrupt_handler()
1493 spin_unlock(&dev->wl->irq_lock); in b43legacy_interrupt_handler()
1988 spin_lock_irq(&dev->wl->irq_lock); in b43legacy_mac_enable()
1991 spin_unlock_irq(&dev->wl->irq_lock); in b43legacy_mac_enable()
2008 spin_lock_irq(&dev->wl->irq_lock); in b43legacy_mac_suspend()
[all …]
/drivers/uwb/
Dwhc-rc.c70 spinlock_t irq_lock; member
125 spin_lock(&whcrc->irq_lock); in whcrc_cmd()
130 spin_unlock(&whcrc->irq_lock); in whcrc_cmd()
163 spin_lock(&whcrc->irq_lock); in whcrc_enable_events()
166 spin_unlock(&whcrc->irq_lock); in whcrc_enable_events()
349 spin_lock_init(&whcrc->irq_lock); in whcrc_init()
/drivers/gpu/drm/armada/
Darmada_crtc.c257 spin_lock_irqsave(&dcrtc->irq_lock, flags); in armada_drm_crtc_complete_frame_work()
259 spin_unlock_irqrestore(&dcrtc->irq_lock, flags); in armada_drm_crtc_complete_frame_work()
415 spin_lock(&dcrtc->irq_lock); in armada_drm_crtc_irq()
448 spin_unlock(&dcrtc->irq_lock); in armada_drm_crtc_irq()
601 spin_lock_irqsave(&dcrtc->irq_lock, flags); in armada_drm_crtc_mode_set()
663 spin_unlock_irqrestore(&dcrtc->irq_lock, flags); in armada_drm_crtc_mode_set()
728 spin_lock_irq(&dcrtc->irq_lock); in armada_drm_crtc_plane_disable()
730 spin_unlock_irq(&dcrtc->irq_lock); in armada_drm_crtc_plane_disable()
843 spin_lock_irq(&dcrtc->irq_lock); in armada_drm_crtc_cursor_update()
847 spin_unlock_irq(&dcrtc->irq_lock); in armada_drm_crtc_cursor_update()
[all …]
/drivers/misc/cb710/
Dcore.c75 spin_lock(&chip->irq_lock); /* incl. smp_rmb() */ in cb710_irq_handler()
83 spin_unlock(&chip->irq_lock); in cb710_irq_handler()
167 spin_lock_irqsave(&chip->irq_lock, flags); in cb710_set_irq_handler()
169 spin_unlock_irqrestore(&chip->irq_lock, flags); in cb710_set_irq_handler()
248 spin_lock_init(&chip->irq_lock); in cb710_probe()
/drivers/hwmon/
Dda9055-hwmon.c40 struct mutex irq_lock; member
72 mutex_lock(&hwmon->irq_lock); in da9055_adc_manual_read()
107 mutex_unlock(&hwmon->irq_lock); in da9055_adc_manual_read()
260 mutex_init(&hwmon->irq_lock); in da9055_hwmon_probe()
/drivers/gpio/
Dgpio-tc3589x.c31 struct mutex irq_lock; member
135 mutex_lock(&tc3589x_gpio->irq_lock); in tc3589x_gpio_irq_lock()
164 mutex_unlock(&tc3589x_gpio->irq_lock); in tc3589x_gpio_irq_sync_unlock()
254 mutex_init(&tc3589x_gpio->irq_lock); in tc3589x_gpio_probe()
/drivers/mmc/host/
Domap_hsmmc.c189 spinlock_t irq_lock; /* Prevent races with irq handler */ member
589 spin_lock_irqsave(&host->irq_lock, flags); in omap_hsmmc_enable_irq()
597 spin_unlock_irqrestore(&host->irq_lock, flags); in omap_hsmmc_enable_irq()
605 spin_lock_irqsave(&host->irq_lock, flags); in omap_hsmmc_disable_irq()
612 spin_unlock_irqrestore(&host->irq_lock, flags); in omap_hsmmc_disable_irq()
957 spin_lock_irqsave(&host->irq_lock, flags); in omap_hsmmc_request_done()
960 spin_unlock_irqrestore(&host->irq_lock, flags); in omap_hsmmc_request_done()
1048 spin_lock_irqsave(&host->irq_lock, flags); in omap_hsmmc_dma_cleanup()
1051 spin_unlock_irqrestore(&host->irq_lock, flags); in omap_hsmmc_dma_cleanup()
1345 spin_lock_irq(&host->irq_lock); in omap_hsmmc_dma_callback()
[all …]
/drivers/pinctrl/bcm/
Dpinctrl-bcm2835.c109 spinlock_t irq_lock[BCM2835_NUM_BANKS]; member
451 spin_lock_irqsave(&pc->irq_lock[bank], flags); in bcm2835_gpio_irq_enable()
454 spin_unlock_irqrestore(&pc->irq_lock[bank], flags); in bcm2835_gpio_irq_enable()
465 spin_lock_irqsave(&pc->irq_lock[bank], flags); in bcm2835_gpio_irq_disable()
470 spin_unlock_irqrestore(&pc->irq_lock[bank], flags); in bcm2835_gpio_irq_disable()
572 spin_lock_irqsave(&pc->irq_lock[bank], flags); in bcm2835_gpio_irq_set_type()
584 spin_unlock_irqrestore(&pc->irq_lock[bank], flags); in bcm2835_gpio_irq_set_type()
1007 spin_lock_init(&pc->irq_lock[i]); in bcm2835_pinctrl_probe()
/drivers/media/pci/b2c2/
Dflexcop-pci.c66 spinlock_t irq_lock; member
153 spin_lock_irqsave(&fc_pci->irq_lock, flags); in flexcop_pci_isr()
231 spin_unlock_irqrestore(&fc_pci->irq_lock, flags); in flexcop_pci_isr()
315 spin_lock_init(&fc_pci->irq_lock); in flexcop_pci_init()

1234