Home
last modified time | relevance | path

Searched refs:irq_flags (Results 1 – 25 of 238) sorted by relevance

12345678910

/Linux-v4.19/drivers/misc/sgi-xp/
Dxpc_channel.c27 xpc_process_connect(struct xpc_channel *ch, unsigned long *irq_flags) in xpc_process_connect() argument
41 spin_unlock_irqrestore(&ch->lock, *irq_flags); in xpc_process_connect()
43 spin_lock_irqsave(&ch->lock, *irq_flags); in xpc_process_connect()
46 XPC_DISCONNECT_CHANNEL(ch, ret, irq_flags); in xpc_process_connect()
56 xpc_arch_ops.send_chctl_openreply(ch, irq_flags); in xpc_process_connect()
64 xpc_arch_ops.send_chctl_opencomplete(ch, irq_flags); in xpc_process_connect()
80 xpc_process_disconnect(struct xpc_channel *ch, unsigned long *irq_flags) in xpc_process_disconnect() argument
115 xpc_arch_ops.send_chctl_closereply(ch, irq_flags); in xpc_process_disconnect()
131 spin_unlock_irqrestore(&ch->lock, *irq_flags); in xpc_process_disconnect()
133 spin_lock_irqsave(&ch->lock, *irq_flags); in xpc_process_disconnect()
[all …]
Dxpc_uv.c90 unsigned long irq_flags; in xpc_teardown_partitions_uv() local
97 spin_lock_irqsave(&part_uv->flags_lock, irq_flags); in xpc_teardown_partitions_uv()
99 spin_unlock_irqrestore(&part_uv->flags_lock, irq_flags); in xpc_teardown_partitions_uv()
371 unsigned long irq_flags; in xpc_process_activate_IRQ_rcvd_uv() local
378 spin_lock_irqsave(&xpc_activate_IRQ_rcvd_lock, irq_flags); in xpc_process_activate_IRQ_rcvd_uv()
390 spin_unlock_irqrestore(&xpc_activate_IRQ_rcvd_lock, irq_flags); in xpc_process_activate_IRQ_rcvd_uv()
411 spin_lock_irqsave(&xpc_activate_IRQ_rcvd_lock, irq_flags); in xpc_process_activate_IRQ_rcvd_uv()
415 spin_unlock_irqrestore(&xpc_activate_IRQ_rcvd_lock, irq_flags); in xpc_process_activate_IRQ_rcvd_uv()
425 unsigned long irq_flags; in xpc_handle_activate_mq_msg_uv() local
447 spin_lock_irqsave(&xpc_activate_IRQ_rcvd_lock, irq_flags); in xpc_handle_activate_mq_msg_uv()
[all …]
Dxpc_main.c542 unsigned long irq_flags; in xpc_activating() local
546 spin_lock_irqsave(&part->act_lock, irq_flags); in xpc_activating()
550 spin_unlock_irqrestore(&part->act_lock, irq_flags); in xpc_activating()
560 spin_unlock_irqrestore(&part->act_lock, irq_flags); in xpc_activating()
594 unsigned long irq_flags; in xpc_activate_partition() local
597 spin_lock_irqsave(&part->act_lock, irq_flags); in xpc_activate_partition()
604 spin_unlock_irqrestore(&part->act_lock, irq_flags); in xpc_activate_partition()
609 spin_lock_irqsave(&part->act_lock, irq_flags); in xpc_activate_partition()
612 spin_unlock_irqrestore(&part->act_lock, irq_flags); in xpc_activate_partition()
695 unsigned long irq_flags; in xpc_kthread_start() local
[all …]
Dxpc_sn2.c175 unsigned long irq_flags; in xpc_send_IRQ_sn2() local
177 local_irq_save(irq_flags); in xpc_send_IRQ_sn2()
191 local_irq_restore(irq_flags); in xpc_send_IRQ_sn2()
215 unsigned long irq_flags; in xpc_handle_activate_IRQ_sn2() local
217 spin_lock_irqsave(&xpc_activate_IRQ_rcvd_lock, irq_flags); in xpc_handle_activate_IRQ_sn2()
219 spin_unlock_irqrestore(&xpc_activate_IRQ_rcvd_lock, irq_flags); in xpc_handle_activate_IRQ_sn2()
244 unsigned long irq_flags; in xpc_send_local_activate_IRQ_sn2() local
253 spin_lock_irqsave(&xpc_activate_IRQ_rcvd_lock, irq_flags); in xpc_send_local_activate_IRQ_sn2()
255 spin_unlock_irqrestore(&xpc_activate_IRQ_rcvd_lock, irq_flags); in xpc_send_local_activate_IRQ_sn2()
271 unsigned long irq_flags; in xpc_check_for_sent_chctl_flags_sn2() local
[all …]
Dxpc_partition.c316 unsigned long irq_flags; in xpc_mark_partition_active() local
321 spin_lock_irqsave(&part->act_lock, irq_flags); in xpc_mark_partition_active()
329 spin_unlock_irqrestore(&part->act_lock, irq_flags); in xpc_mark_partition_active()
341 unsigned long irq_flags; in xpc_deactivate_partition() local
343 spin_lock_irqsave(&part->act_lock, irq_flags); in xpc_deactivate_partition()
347 spin_unlock_irqrestore(&part->act_lock, irq_flags); in xpc_deactivate_partition()
359 spin_unlock_irqrestore(&part->act_lock, irq_flags); in xpc_deactivate_partition()
366 spin_unlock_irqrestore(&part->act_lock, irq_flags); in xpc_deactivate_partition()
388 unsigned long irq_flags; in xpc_mark_partition_inactive() local
393 spin_lock_irqsave(&part->act_lock, irq_flags); in xpc_mark_partition_inactive()
[all …]
/Linux-v4.19/drivers/staging/comedi/drivers/
Ddas800.c236 unsigned long irq_flags; in das800_enable() local
238 spin_lock_irqsave(&dev->spinlock, irq_flags); in das800_enable()
246 spin_unlock_irqrestore(&dev->spinlock, irq_flags); in das800_enable()
251 unsigned long irq_flags; in das800_disable() local
253 spin_lock_irqsave(&dev->spinlock, irq_flags); in das800_disable()
256 spin_unlock_irqrestore(&dev->spinlock, irq_flags); in das800_disable()
377 unsigned long irq_flags; in das800_ai_do_cmd() local
381 spin_lock_irqsave(&dev->spinlock, irq_flags); in das800_ai_do_cmd()
384 spin_unlock_irqrestore(&dev->spinlock, irq_flags); in das800_ai_do_cmd()
405 spin_lock_irqsave(&dev->spinlock, irq_flags); in das800_ai_do_cmd()
[all …]
/Linux-v4.19/drivers/media/usb/pvrusb2/
Dpvrusb2-io.c161 unsigned long irq_flags; in pvr2_buffer_set_none() local
170 spin_lock_irqsave(&sp->list_lock, irq_flags); in pvr2_buffer_set_none()
172 spin_unlock_irqrestore(&sp->list_lock, irq_flags); in pvr2_buffer_set_none()
178 unsigned long irq_flags; in pvr2_buffer_set_ready() local
187 spin_lock_irqsave(&sp->list_lock, irq_flags); in pvr2_buffer_set_ready()
198 spin_unlock_irqrestore(&sp->list_lock, irq_flags); in pvr2_buffer_set_ready()
204 unsigned long irq_flags; in pvr2_buffer_set_idle() local
213 spin_lock_irqsave(&sp->list_lock, irq_flags); in pvr2_buffer_set_idle()
223 spin_unlock_irqrestore(&sp->list_lock, irq_flags); in pvr2_buffer_set_idle()
228 unsigned long irq_flags; in pvr2_buffer_set_queued() local
[all …]
/Linux-v4.19/drivers/gpu/drm/gma500/
Dpsb_lid.c31 unsigned long irq_flags; in psb_lid_timer_func() local
64 spin_lock_irqsave(&dev_priv->lid_lock, irq_flags); in psb_lid_timer_func()
69 spin_unlock_irqrestore(&dev_priv->lid_lock, irq_flags); in psb_lid_timer_func()
75 unsigned long irq_flags; in psb_lid_timer_init() local
78 spin_lock_irqsave(&dev_priv->lid_lock, irq_flags); in psb_lid_timer_init()
85 spin_unlock_irqrestore(&dev_priv->lid_lock, irq_flags); in psb_lid_timer_init()
/Linux-v4.19/drivers/gpu/drm/virtio/
Dvirtgpu_fence.c75 unsigned long irq_flags; in virtio_gpu_fence_emit() local
81 spin_lock_irqsave(&drv->lock, irq_flags); in virtio_gpu_fence_emit()
88 spin_unlock_irqrestore(&drv->lock, irq_flags); in virtio_gpu_fence_emit()
100 unsigned long irq_flags; in virtio_gpu_fence_event_process() local
102 spin_lock_irqsave(&drv->lock, irq_flags); in virtio_gpu_fence_event_process()
111 spin_unlock_irqrestore(&drv->lock, irq_flags); in virtio_gpu_fence_event_process()
/Linux-v4.19/drivers/gpu/drm/msm/disp/dpu1/
Ddpu_core_irq.c33 unsigned long irq_flags; in dpu_core_irq_callback_handler() local
47 spin_lock_irqsave(&dpu_kms->irq_obj.cb_lock, irq_flags); in dpu_core_irq_callback_handler()
51 spin_unlock_irqrestore(&dpu_kms->irq_obj.cb_lock, irq_flags); in dpu_core_irq_callback_handler()
81 unsigned long irq_flags; in _dpu_core_irq_enable() local
110 spin_lock_irqsave(&dpu_kms->irq_obj.cb_lock, irq_flags); in _dpu_core_irq_enable()
115 spin_unlock_irqrestore(&dpu_kms->irq_obj.cb_lock, irq_flags); in _dpu_core_irq_enable()
214 unsigned long irq_flags; in dpu_core_irq_register_callback() local
236 spin_lock_irqsave(&dpu_kms->irq_obj.cb_lock, irq_flags); in dpu_core_irq_register_callback()
241 spin_unlock_irqrestore(&dpu_kms->irq_obj.cb_lock, irq_flags); in dpu_core_irq_register_callback()
249 unsigned long irq_flags; in dpu_core_irq_unregister_callback() local
[all …]
Ddpu_hw_interrupts.c806 unsigned long irq_flags; in dpu_hw_intr_dispatch_irq() local
816 spin_lock_irqsave(&intr->irq_lock, irq_flags); in dpu_hw_intr_dispatch_irq()
862 spin_unlock_irqrestore(&intr->irq_lock, irq_flags); in dpu_hw_intr_dispatch_irq()
868 unsigned long irq_flags; in dpu_hw_intr_enable_irq() local
886 spin_lock_irqsave(&intr->irq_lock, irq_flags); in dpu_hw_intr_enable_irq()
904 spin_unlock_irqrestore(&intr->irq_lock, irq_flags); in dpu_hw_intr_enable_irq()
958 unsigned long irq_flags; in dpu_hw_intr_disable_irq() local
968 spin_lock_irqsave(&intr->irq_lock, irq_flags); in dpu_hw_intr_disable_irq()
970 spin_unlock_irqrestore(&intr->irq_lock, irq_flags); in dpu_hw_intr_disable_irq()
1023 unsigned long irq_flags; in dpu_hw_intr_get_interrupt_statuses() local
[all …]
/Linux-v4.19/drivers/rtc/
Drtc-pm8xxx.c86 unsigned long secs, irq_flags; in pm8xxx_rtc_set_time() local
104 spin_lock_irqsave(&rtc_dd->ctrl_reg_lock, irq_flags); in pm8xxx_rtc_set_time()
177 spin_unlock_irqrestore(&rtc_dd->ctrl_reg_lock, irq_flags); in pm8xxx_rtc_set_time()
232 unsigned long secs, irq_flags; in pm8xxx_rtc_set_alarm() local
243 spin_lock_irqsave(&rtc_dd->ctrl_reg_lock, irq_flags); in pm8xxx_rtc_set_alarm()
272 spin_unlock_irqrestore(&rtc_dd->ctrl_reg_lock, irq_flags); in pm8xxx_rtc_set_alarm()
312 unsigned long irq_flags; in pm8xxx_rtc_alarm_irq_enable() local
317 spin_lock_irqsave(&rtc_dd->ctrl_reg_lock, irq_flags); in pm8xxx_rtc_alarm_irq_enable()
335 spin_unlock_irqrestore(&rtc_dd->ctrl_reg_lock, irq_flags); in pm8xxx_rtc_alarm_irq_enable()
353 unsigned long irq_flags; in pm8xxx_alarm_trigger() local
[all …]
/Linux-v4.19/drivers/staging/goldfish/
Dgoldfish_audio.c135 unsigned long irq_flags; in goldfish_audio_read() local
149 spin_lock_irqsave(&data->lock, irq_flags); in goldfish_audio_read()
151 spin_unlock_irqrestore(&data->lock, irq_flags); in goldfish_audio_read()
170 unsigned long irq_flags; in goldfish_audio_write() local
194 spin_lock_irqsave(&data->lock, irq_flags); in goldfish_audio_write()
206 spin_unlock_irqrestore(&data->lock, irq_flags); in goldfish_audio_write()
252 unsigned long irq_flags; in goldfish_audio_interrupt() local
256 spin_lock_irqsave(&data->lock, irq_flags); in goldfish_audio_interrupt()
270 spin_unlock_irqrestore(&data->lock, irq_flags); in goldfish_audio_interrupt()
/Linux-v4.19/arch/sh/boards/mach-landisk/
Dpsw.c67 .irq_flags = IRQF_SHARED,
74 .irq_flags = IRQF_SHARED,
81 .irq_flags = IRQF_SHARED,
88 .irq_flags = IRQF_SHARED,
/Linux-v4.19/drivers/gpio/
Dgpiolib-sysfs.c26 unsigned char irq_flags; member
168 unsigned long irq_flags; in gpio_sysfs_request_irq() local
179 irq_flags = IRQF_SHARED; in gpio_sysfs_request_irq()
181 irq_flags |= test_bit(FLAG_ACTIVE_LOW, &desc->flags) ? in gpio_sysfs_request_irq()
184 irq_flags |= test_bit(FLAG_ACTIVE_LOW, &desc->flags) ? in gpio_sysfs_request_irq()
199 ret = request_any_context_irq(data->irq, gpio_sysfs_irq, irq_flags, in gpio_sysfs_request_irq()
204 data->irq_flags = flags; in gpio_sysfs_request_irq()
225 data->irq_flags = 0; in gpio_sysfs_free_irq()
251 if (data->irq_flags == trigger_types[i].flags) { in edge_show()
282 if (flags == data->irq_flags) { in edge_store()
[all …]
/Linux-v4.19/drivers/mfd/
Darizona-irq.c149 } else if (arizona->pdata.irq_flags & IRQF_TRIGGER_RISING && in arizona_irq_thread()
152 } else if (arizona->pdata.irq_flags & IRQF_TRIGGER_FALLING && in arizona_irq_thread()
280 if (!arizona->pdata.irq_flags) { in arizona_irq_init()
288 arizona->pdata.irq_flags = irqd_get_trigger_type(irq_data); in arizona_irq_init()
289 switch (arizona->pdata.irq_flags) { in arizona_irq_init()
299 arizona->pdata.irq_flags = IRQF_TRIGGER_LOW; in arizona_irq_init()
304 if (arizona->pdata.irq_flags & (IRQF_TRIGGER_HIGH | in arizona_irq_init()
315 flags |= arizona->pdata.irq_flags; in arizona_irq_init()
Das3722.c354 as3722->irq_flags = irqd_get_trigger_type(irq_data); in as3722_i2c_of_probe()
355 dev_dbg(&i2c->dev, "IRQ flags are 0x%08lx\n", as3722->irq_flags); in as3722_i2c_of_probe()
363 unsigned long irq_flags; in as3722_i2c_probe() local
390 irq_flags = as3722->irq_flags | IRQF_ONESHOT; in as3722_i2c_probe()
393 irq_flags, -1, &as3722_irq_chip, in as3722_i2c_probe()
/Linux-v4.19/arch/ia64/sn/kernel/
Dbte_error.c173 unsigned long irq_flags; in bte_error_handler() local
180 spin_lock_irqsave(recovery_lock, irq_flags); in bte_error_handler()
198 spin_unlock_irqrestore(recovery_lock, irq_flags); in bte_error_handler()
203 spin_unlock_irqrestore(recovery_lock, irq_flags); in bte_error_handler()
227 spin_unlock_irqrestore(recovery_lock, irq_flags); in bte_error_handler()
/Linux-v4.19/sound/soc/intel/atom/sst/
Dsst_ipc.c131 unsigned long irq_flags; in sst_post_message_mrfld() local
134 spin_lock_irqsave(&sst_drv_ctx->ipc_spin_lock, irq_flags); in sst_post_message_mrfld()
151 spin_unlock_irqrestore(&sst_drv_ctx->ipc_spin_lock, irq_flags); in sst_post_message_mrfld()
158 spin_unlock_irqrestore(&sst_drv_ctx->ipc_spin_lock, irq_flags); in sst_post_message_mrfld()
181 spin_unlock_irqrestore(&sst_drv_ctx->ipc_spin_lock, irq_flags); in sst_post_message_mrfld()
192 unsigned long irq_flags; in intel_sst_clear_intr_mrfld() local
194 spin_lock_irqsave(&sst_drv_ctx->ipc_spin_lock, irq_flags); in intel_sst_clear_intr_mrfld()
212 spin_unlock_irqrestore(&sst_drv_ctx->ipc_spin_lock, irq_flags); in intel_sst_clear_intr_mrfld()
/Linux-v4.19/drivers/gpu/drm/ttm/
Dttm_page_alloc.c287 unsigned long irq_flags; in ttm_page_pool_free() local
308 spin_lock_irqsave(&pool->lock, irq_flags); in ttm_page_pool_free()
325 spin_unlock_irqrestore(&pool->lock, irq_flags); in ttm_page_pool_free()
359 spin_unlock_irqrestore(&pool->lock, irq_flags); in ttm_page_pool_free()
573 unsigned count, unsigned long *irq_flags) in ttm_page_pool_fill_locked() argument
599 spin_unlock_irqrestore(&pool->lock, *irq_flags); in ttm_page_pool_fill_locked()
604 spin_lock_irqsave(&pool->lock, *irq_flags); in ttm_page_pool_fill_locked()
635 unsigned long irq_flags; in ttm_page_pool_get_pages() local
640 spin_lock_irqsave(&pool->lock, irq_flags); in ttm_page_pool_get_pages()
643 &irq_flags); in ttm_page_pool_get_pages()
[all …]
Dttm_page_alloc_dma.c404 unsigned long irq_flags; in ttm_dma_page_pool_free() local
434 spin_lock_irqsave(&pool->lock, irq_flags); in ttm_dma_page_pool_free()
454 spin_unlock_irqrestore(&pool->lock, irq_flags); in ttm_dma_page_pool_free()
490 spin_unlock_irqrestore(&pool->lock, irq_flags); in ttm_dma_page_pool_free()
790 unsigned long *irq_flags) in ttm_dma_page_pool_fill_locked() argument
800 spin_unlock_irqrestore(&pool->lock, *irq_flags); in ttm_dma_page_pool_fill_locked()
806 spin_lock_irqsave(&pool->lock, *irq_flags); in ttm_dma_page_pool_fill_locked()
842 unsigned long irq_flags; in ttm_dma_pool_get_pages() local
845 spin_lock_irqsave(&pool->lock, irq_flags); in ttm_dma_pool_get_pages()
846 count = ttm_dma_page_pool_fill_locked(pool, &irq_flags); in ttm_dma_pool_get_pages()
[all …]
/Linux-v4.19/arch/sh/boards/mach-highlander/
Dpsw.c63 .irq_flags = IRQF_TRIGGER_RISING | IRQF_TRIGGER_FALLING |
81 .irq_flags = IRQF_TRIGGER_RISING | IRQF_TRIGGER_FALLING |
99 .irq_flags = IRQF_TRIGGER_RISING | IRQF_TRIGGER_FALLING |
/Linux-v4.19/drivers/crypto/nx/
Dnx-sha256.c76 unsigned long irq_flags; in nx_sha256_update() local
82 spin_lock_irqsave(&nx_ctx->lock, irq_flags); in nx_sha256_update()
185 spin_unlock_irqrestore(&nx_ctx->lock, irq_flags); in nx_sha256_update()
195 unsigned long irq_flags; in nx_sha256_final() local
200 spin_lock_irqsave(&nx_ctx->lock, irq_flags); in nx_sha256_final()
256 spin_unlock_irqrestore(&nx_ctx->lock, irq_flags); in nx_sha256_final()
Dnx-sha512.c76 unsigned long irq_flags; in nx_sha512_update() local
82 spin_lock_irqsave(&nx_ctx->lock, irq_flags); in nx_sha512_update()
188 spin_unlock_irqrestore(&nx_ctx->lock, irq_flags); in nx_sha512_update()
200 unsigned long irq_flags; in nx_sha512_final() local
204 spin_lock_irqsave(&nx_ctx->lock, irq_flags); in nx_sha512_final()
262 spin_unlock_irqrestore(&nx_ctx->lock, irq_flags); in nx_sha512_final()
/Linux-v4.19/drivers/extcon/
Dextcon-gpio.c52 unsigned long irq_flags; member
93 if (!data->irq_flags || data->extcon_id > EXTCON_NONE) in gpio_extcon_probe()
121 gpio_irq_handler, data->irq_flags, in gpio_extcon_probe()

12345678910