Home
last modified time | relevance | path

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

12345678910

/kernel/linux/linux-5.10/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.c93 unsigned long irq_flags; in xpc_teardown_partitions_uv() local
100 spin_lock_irqsave(&part_uv->flags_lock, irq_flags); in xpc_teardown_partitions_uv()
102 spin_unlock_irqrestore(&part_uv->flags_lock, irq_flags); in xpc_teardown_partitions_uv()
374 unsigned long irq_flags; in xpc_process_activate_IRQ_rcvd_uv() local
381 spin_lock_irqsave(&xpc_activate_IRQ_rcvd_lock, irq_flags); in xpc_process_activate_IRQ_rcvd_uv()
393 spin_unlock_irqrestore(&xpc_activate_IRQ_rcvd_lock, irq_flags); in xpc_process_activate_IRQ_rcvd_uv()
414 spin_lock_irqsave(&xpc_activate_IRQ_rcvd_lock, irq_flags); in xpc_process_activate_IRQ_rcvd_uv()
418 spin_unlock_irqrestore(&xpc_activate_IRQ_rcvd_lock, irq_flags); in xpc_process_activate_IRQ_rcvd_uv()
428 unsigned long irq_flags; in xpc_handle_activate_mq_msg_uv() local
450 spin_lock_irqsave(&xpc_activate_IRQ_rcvd_lock, irq_flags); in xpc_handle_activate_mq_msg_uv()
[all …]
Dxpc_main.c536 unsigned long irq_flags; in xpc_activating() local
540 spin_lock_irqsave(&part->act_lock, irq_flags); in xpc_activating()
544 spin_unlock_irqrestore(&part->act_lock, irq_flags); in xpc_activating()
554 spin_unlock_irqrestore(&part->act_lock, irq_flags); in xpc_activating()
588 unsigned long irq_flags; in xpc_activate_partition() local
591 spin_lock_irqsave(&part->act_lock, irq_flags); in xpc_activate_partition()
598 spin_unlock_irqrestore(&part->act_lock, irq_flags); in xpc_activate_partition()
603 spin_lock_irqsave(&part->act_lock, irq_flags); in xpc_activate_partition()
606 spin_unlock_irqrestore(&part->act_lock, irq_flags); in xpc_activate_partition()
689 unsigned long irq_flags; in xpc_kthread_start() local
[all …]
Dxpc_partition.c312 unsigned long irq_flags; in xpc_mark_partition_active() local
317 spin_lock_irqsave(&part->act_lock, irq_flags); in xpc_mark_partition_active()
325 spin_unlock_irqrestore(&part->act_lock, irq_flags); in xpc_mark_partition_active()
337 unsigned long irq_flags; in xpc_deactivate_partition() local
339 spin_lock_irqsave(&part->act_lock, irq_flags); in xpc_deactivate_partition()
343 spin_unlock_irqrestore(&part->act_lock, irq_flags); in xpc_deactivate_partition()
355 spin_unlock_irqrestore(&part->act_lock, irq_flags); in xpc_deactivate_partition()
362 spin_unlock_irqrestore(&part->act_lock, irq_flags); in xpc_deactivate_partition()
384 unsigned long irq_flags; in xpc_mark_partition_inactive() local
389 spin_lock_irqsave(&part->act_lock, irq_flags); in xpc_mark_partition_inactive()
[all …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/drivers/media/usb/pvrusb2/
Dpvrusb2-io.c151 unsigned long irq_flags; in pvr2_buffer_set_none() local
160 spin_lock_irqsave(&sp->list_lock, irq_flags); in pvr2_buffer_set_none()
162 spin_unlock_irqrestore(&sp->list_lock, irq_flags); in pvr2_buffer_set_none()
168 unsigned long irq_flags; in pvr2_buffer_set_ready() local
177 spin_lock_irqsave(&sp->list_lock, irq_flags); in pvr2_buffer_set_ready()
188 spin_unlock_irqrestore(&sp->list_lock, irq_flags); in pvr2_buffer_set_ready()
194 unsigned long irq_flags; in pvr2_buffer_set_idle() local
203 spin_lock_irqsave(&sp->list_lock, irq_flags); in pvr2_buffer_set_idle()
213 spin_unlock_irqrestore(&sp->list_lock, irq_flags); in pvr2_buffer_set_idle()
218 unsigned long irq_flags; in pvr2_buffer_set_queued() local
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/gma500/
Dpsb_lid.c19 unsigned long irq_flags; in psb_lid_timer_func() local
52 spin_lock_irqsave(&dev_priv->lid_lock, irq_flags); in psb_lid_timer_func()
57 spin_unlock_irqrestore(&dev_priv->lid_lock, irq_flags); in psb_lid_timer_func()
63 unsigned long irq_flags; in psb_lid_timer_init() local
66 spin_lock_irqsave(&dev_priv->lid_lock, irq_flags); in psb_lid_timer_init()
73 spin_unlock_irqrestore(&dev_priv->lid_lock, irq_flags); in psb_lid_timer_init()
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/disp/dpu1/
Ddpu_core_irq.c25 unsigned long irq_flags; in dpu_core_irq_callback_handler() local
39 spin_lock_irqsave(&dpu_kms->irq_obj.cb_lock, irq_flags); in dpu_core_irq_callback_handler()
43 spin_unlock_irqrestore(&dpu_kms->irq_obj.cb_lock, irq_flags); in dpu_core_irq_callback_handler()
72 unsigned long irq_flags; in _dpu_core_irq_enable() local
101 spin_lock_irqsave(&dpu_kms->irq_obj.cb_lock, irq_flags); in _dpu_core_irq_enable()
106 spin_unlock_irqrestore(&dpu_kms->irq_obj.cb_lock, irq_flags); in _dpu_core_irq_enable()
205 unsigned long irq_flags; in dpu_core_irq_register_callback() local
227 spin_lock_irqsave(&dpu_kms->irq_obj.cb_lock, irq_flags); in dpu_core_irq_register_callback()
232 spin_unlock_irqrestore(&dpu_kms->irq_obj.cb_lock, irq_flags); in dpu_core_irq_register_callback()
240 unsigned long irq_flags; in dpu_core_irq_unregister_callback() local
[all …]
Ddpu_hw_interrupts.c782 unsigned long irq_flags; in dpu_hw_intr_dispatch_irq() local
792 spin_lock_irqsave(&intr->irq_lock, irq_flags); in dpu_hw_intr_dispatch_irq()
838 spin_unlock_irqrestore(&intr->irq_lock, irq_flags); in dpu_hw_intr_dispatch_irq()
844 unsigned long irq_flags; in dpu_hw_intr_enable_irq() local
862 spin_lock_irqsave(&intr->irq_lock, irq_flags); in dpu_hw_intr_enable_irq()
880 spin_unlock_irqrestore(&intr->irq_lock, irq_flags); in dpu_hw_intr_enable_irq()
934 unsigned long irq_flags; in dpu_hw_intr_disable_irq() local
944 spin_lock_irqsave(&intr->irq_lock, irq_flags); in dpu_hw_intr_disable_irq()
946 spin_unlock_irqrestore(&intr->irq_lock, irq_flags); in dpu_hw_intr_disable_irq()
993 unsigned long irq_flags; in dpu_hw_intr_get_interrupt_statuses() local
[all …]
/kernel/linux/linux-5.10/drivers/irqchip/
Dirq-madera.c167 unsigned int irq_flags = 0; in madera_irq_probe() local
176 irq_flags = madera->pdata.irq_flags; in madera_irq_probe()
177 if (!irq_flags) { in madera_irq_probe()
184 irq_flags = irqd_get_trigger_type(irq_data); in madera_irq_probe()
187 if (irq_flags == IRQ_TYPE_NONE) in madera_irq_probe()
188 irq_flags = IRQF_TRIGGER_LOW; in madera_irq_probe()
191 if (irq_flags & (IRQF_TRIGGER_RISING | IRQF_TRIGGER_FALLING)) { in madera_irq_probe()
200 if (irq_flags & IRQF_TRIGGER_HIGH) { in madera_irq_probe()
/kernel/linux/linux-5.10/drivers/gpu/drm/virtio/
Dvirtgpu_fence.c100 unsigned long irq_flags; in virtio_gpu_fence_emit() local
102 spin_lock_irqsave(&drv->lock, irq_flags); in virtio_gpu_fence_emit()
106 spin_unlock_irqrestore(&drv->lock, irq_flags); in virtio_gpu_fence_emit()
119 unsigned long irq_flags; in virtio_gpu_fence_event_process() local
121 spin_lock_irqsave(&drv->lock, irq_flags); in virtio_gpu_fence_event_process()
130 spin_unlock_irqrestore(&drv->lock, irq_flags); in virtio_gpu_fence_event_process()
/kernel/linux/linux-5.10/drivers/rtc/
Drtc-pm8xxx.c78 unsigned long secs, irq_flags; in pm8xxx_rtc_set_time() local
96 spin_lock_irqsave(&rtc_dd->ctrl_reg_lock, irq_flags); in pm8xxx_rtc_set_time()
169 spin_unlock_irqrestore(&rtc_dd->ctrl_reg_lock, irq_flags); in pm8xxx_rtc_set_time()
223 unsigned long secs, irq_flags; in pm8xxx_rtc_set_alarm() local
234 spin_lock_irqsave(&rtc_dd->ctrl_reg_lock, irq_flags); in pm8xxx_rtc_set_alarm()
261 spin_unlock_irqrestore(&rtc_dd->ctrl_reg_lock, irq_flags); in pm8xxx_rtc_set_alarm()
294 unsigned long irq_flags; in pm8xxx_rtc_alarm_irq_enable() local
300 spin_lock_irqsave(&rtc_dd->ctrl_reg_lock, irq_flags); in pm8xxx_rtc_alarm_irq_enable()
328 spin_unlock_irqrestore(&rtc_dd->ctrl_reg_lock, irq_flags); in pm8xxx_rtc_alarm_irq_enable()
346 unsigned long irq_flags; in pm8xxx_alarm_trigger() local
[all …]
/kernel/linux/linux-5.10/drivers/staging/goldfish/
Dgoldfish_audio.c126 unsigned long irq_flags; in goldfish_audio_read() local
140 spin_lock_irqsave(&data->lock, irq_flags); in goldfish_audio_read()
142 spin_unlock_irqrestore(&data->lock, irq_flags); in goldfish_audio_read()
161 unsigned long irq_flags; in goldfish_audio_write() local
185 spin_lock_irqsave(&data->lock, irq_flags); in goldfish_audio_write()
197 spin_unlock_irqrestore(&data->lock, irq_flags); in goldfish_audio_write()
243 unsigned long irq_flags; in goldfish_audio_interrupt() local
247 spin_lock_irqsave(&data->lock, irq_flags); in goldfish_audio_interrupt()
261 spin_unlock_irqrestore(&data->lock, irq_flags); in goldfish_audio_interrupt()
/kernel/linux/linux-5.10/arch/sh/boards/mach-landisk/
Dpsw.c64 .irq_flags = IRQF_SHARED,
71 .irq_flags = IRQF_SHARED,
78 .irq_flags = IRQF_SHARED,
85 .irq_flags = IRQF_SHARED,
/kernel/linux/linux-5.10/drivers/extcon/
Dextcon-gpio.c68 unsigned long irq_flags; in gpio_extcon_probe() local
100 irq_flags = IRQF_TRIGGER_FALLING; in gpio_extcon_probe()
102 irq_flags = IRQF_TRIGGER_RISING; in gpio_extcon_probe()
122 gpio_irq_handler, irq_flags, in gpio_extcon_probe()
/kernel/linux/linux-5.10/drivers/gpio/
Dgpiolib-sysfs.c27 unsigned char irq_flags; member
169 unsigned long irq_flags; in gpio_sysfs_request_irq() local
180 irq_flags = IRQF_SHARED; in gpio_sysfs_request_irq()
182 irq_flags |= test_bit(FLAG_ACTIVE_LOW, &desc->flags) ? in gpio_sysfs_request_irq()
185 irq_flags |= test_bit(FLAG_ACTIVE_LOW, &desc->flags) ? in gpio_sysfs_request_irq()
200 ret = request_any_context_irq(data->irq, gpio_sysfs_irq, irq_flags, in gpio_sysfs_request_irq()
205 data->irq_flags = flags; in gpio_sysfs_request_irq()
226 data->irq_flags = 0; in gpio_sysfs_free_irq()
252 if (data->irq_flags == trigger_types[i].flags) { in edge_show()
283 if (flags == data->irq_flags) { in edge_store()
[all …]
/kernel/linux/linux-5.10/drivers/mfd/
Darizona-irq.c146 } else if (arizona->pdata.irq_flags & IRQF_TRIGGER_RISING && in arizona_irq_thread()
149 } else if (arizona->pdata.irq_flags & IRQF_TRIGGER_FALLING && in arizona_irq_thread()
277 if (!arizona->pdata.irq_flags) { in arizona_irq_init()
285 arizona->pdata.irq_flags = irqd_get_trigger_type(irq_data); in arizona_irq_init()
286 switch (arizona->pdata.irq_flags) { in arizona_irq_init()
296 arizona->pdata.irq_flags = IRQF_TRIGGER_LOW; in arizona_irq_init()
301 if (arizona->pdata.irq_flags & (IRQF_TRIGGER_HIGH | in arizona_irq_init()
312 flags |= arizona->pdata.irq_flags; in arizona_irq_init()
Das3722.c341 as3722->irq_flags = irqd_get_trigger_type(irq_data); in as3722_i2c_of_probe()
342 dev_dbg(&i2c->dev, "IRQ flags are 0x%08lx\n", as3722->irq_flags); in as3722_i2c_of_probe()
350 unsigned long irq_flags; in as3722_i2c_probe() local
377 irq_flags = as3722->irq_flags | IRQF_ONESHOT; in as3722_i2c_probe()
380 irq_flags, -1, &as3722_irq_chip, in as3722_i2c_probe()
/kernel/linux/linux-5.10/sound/soc/intel/atom/sst/
Dsst_ipc.c122 unsigned long irq_flags; in sst_post_message_mrfld() local
125 spin_lock_irqsave(&sst_drv_ctx->ipc_spin_lock, irq_flags); in sst_post_message_mrfld()
142 spin_unlock_irqrestore(&sst_drv_ctx->ipc_spin_lock, irq_flags); in sst_post_message_mrfld()
149 spin_unlock_irqrestore(&sst_drv_ctx->ipc_spin_lock, irq_flags); in sst_post_message_mrfld()
172 spin_unlock_irqrestore(&sst_drv_ctx->ipc_spin_lock, irq_flags); in sst_post_message_mrfld()
183 unsigned long irq_flags; in intel_sst_clear_intr_mrfld() local
185 spin_lock_irqsave(&sst_drv_ctx->ipc_spin_lock, irq_flags); in intel_sst_clear_intr_mrfld()
203 spin_unlock_irqrestore(&sst_drv_ctx->ipc_spin_lock, irq_flags); in intel_sst_clear_intr_mrfld()
/kernel/linux/linux-5.10/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.c407 unsigned long irq_flags; in ttm_dma_page_pool_free() local
431 spin_lock_irqsave(&pool->lock, irq_flags); in ttm_dma_page_pool_free()
451 spin_unlock_irqrestore(&pool->lock, irq_flags); in ttm_dma_page_pool_free()
487 spin_unlock_irqrestore(&pool->lock, irq_flags); in ttm_dma_page_pool_free()
787 unsigned long *irq_flags) in ttm_dma_page_pool_fill_locked() argument
797 spin_unlock_irqrestore(&pool->lock, *irq_flags); in ttm_dma_page_pool_fill_locked()
803 spin_lock_irqsave(&pool->lock, *irq_flags); in ttm_dma_page_pool_fill_locked()
839 unsigned long irq_flags; in ttm_dma_pool_get_pages() local
842 spin_lock_irqsave(&pool->lock, irq_flags); in ttm_dma_pool_get_pages()
843 count = ttm_dma_page_pool_fill_locked(pool, &irq_flags); in ttm_dma_pool_get_pages()
[all …]
/kernel/linux/linux-5.10/arch/sh/boards/mach-highlander/
Dpsw.c60 .irq_flags = IRQF_TRIGGER_RISING | IRQF_TRIGGER_FALLING |
78 .irq_flags = IRQF_TRIGGER_RISING | IRQF_TRIGGER_FALLING |
96 .irq_flags = IRQF_TRIGGER_RISING | IRQF_TRIGGER_FALLING |
/kernel/linux/linux-5.10/drivers/crypto/nx/
Dnx-sha512.c64 unsigned long irq_flags; in nx_sha512_update() local
70 spin_lock_irqsave(&nx_ctx->lock, irq_flags); in nx_sha512_update()
175 spin_unlock_irqrestore(&nx_ctx->lock, irq_flags); in nx_sha512_update()
187 unsigned long irq_flags; in nx_sha512_final() local
191 spin_lock_irqsave(&nx_ctx->lock, irq_flags); in nx_sha512_final()
248 spin_unlock_irqrestore(&nx_ctx->lock, irq_flags); in nx_sha512_final()
Dnx-sha256.c64 unsigned long irq_flags; in nx_sha256_update() local
70 spin_lock_irqsave(&nx_ctx->lock, irq_flags); in nx_sha256_update()
172 spin_unlock_irqrestore(&nx_ctx->lock, irq_flags); in nx_sha256_update()
182 unsigned long irq_flags; in nx_sha256_final() local
187 spin_lock_irqsave(&nx_ctx->lock, irq_flags); in nx_sha256_final()
242 spin_unlock_irqrestore(&nx_ctx->lock, irq_flags); in nx_sha256_final()
Dnx-aes-ecb.c59 unsigned long irq_flags; in ecb_aes_nx_crypt() local
63 spin_lock_irqsave(&nx_ctx->lock, irq_flags); in ecb_aes_nx_crypt()
96 spin_unlock_irqrestore(&nx_ctx->lock, irq_flags); in ecb_aes_nx_crypt()

12345678910