Home
last modified time | relevance | path

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

123456789

/linux-6.1.9/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.c322 unsigned long irq_flags; in xpc_mark_partition_active() local
327 spin_lock_irqsave(&part->act_lock, irq_flags); in xpc_mark_partition_active()
335 spin_unlock_irqrestore(&part->act_lock, irq_flags); in xpc_mark_partition_active()
347 unsigned long irq_flags; in xpc_deactivate_partition() local
349 spin_lock_irqsave(&part->act_lock, irq_flags); in xpc_deactivate_partition()
353 spin_unlock_irqrestore(&part->act_lock, irq_flags); in xpc_deactivate_partition()
365 spin_unlock_irqrestore(&part->act_lock, irq_flags); in xpc_deactivate_partition()
372 spin_unlock_irqrestore(&part->act_lock, irq_flags); in xpc_deactivate_partition()
394 unsigned long irq_flags; in xpc_mark_partition_inactive() local
399 spin_lock_irqsave(&part->act_lock, irq_flags); in xpc_mark_partition_inactive()
[all …]
/linux-6.1.9/drivers/comedi/drivers/
Ddas800.c234 unsigned long irq_flags; in das800_enable() local
236 spin_lock_irqsave(&dev->spinlock, irq_flags); in das800_enable()
244 spin_unlock_irqrestore(&dev->spinlock, irq_flags); in das800_enable()
249 unsigned long irq_flags; in das800_disable() local
251 spin_lock_irqsave(&dev->spinlock, irq_flags); in das800_disable()
254 spin_unlock_irqrestore(&dev->spinlock, irq_flags); in das800_disable()
375 unsigned long irq_flags; in das800_ai_do_cmd() local
379 spin_lock_irqsave(&dev->spinlock, irq_flags); in das800_ai_do_cmd()
382 spin_unlock_irqrestore(&dev->spinlock, irq_flags); in das800_ai_do_cmd()
403 spin_lock_irqsave(&dev->spinlock, irq_flags); in das800_ai_do_cmd()
[all …]
/linux-6.1.9/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 …]
/linux-6.1.9/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()
/linux-6.1.9/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()
/linux-6.1.9/drivers/gpu/drm/msm/disp/dpu1/
Ddpu_hw_interrupts.c176 unsigned long irq_flags; in dpu_core_irq() local
181 spin_lock_irqsave(&intr->irq_lock, irq_flags); in dpu_core_irq()
223 spin_unlock_irqrestore(&intr->irq_lock, irq_flags); in dpu_core_irq()
366 unsigned long irq_flags; in dpu_core_irq_read() local
383 spin_lock_irqsave(&intr->irq_lock, irq_flags); in dpu_core_irq_read()
396 spin_unlock_irqrestore(&intr->irq_lock, irq_flags); in dpu_core_irq_read()
440 unsigned long irq_flags; in dpu_core_irq_register_callback() local
455 spin_lock_irqsave(&dpu_kms->hw_intr->irq_lock, irq_flags); in dpu_core_irq_register_callback()
458 spin_unlock_irqrestore(&dpu_kms->hw_intr->irq_lock, irq_flags); in dpu_core_irq_register_callback()
473 spin_unlock_irqrestore(&dpu_kms->hw_intr->irq_lock, irq_flags); in dpu_core_irq_register_callback()
[all …]
/linux-6.1.9/drivers/gpu/drm/virtio/
Dvirtgpu_fence.c106 unsigned long irq_flags; in virtio_gpu_fence_emit() local
108 spin_lock_irqsave(&drv->lock, irq_flags); in virtio_gpu_fence_emit()
112 spin_unlock_irqrestore(&drv->lock, irq_flags); in virtio_gpu_fence_emit()
132 unsigned long irq_flags; in virtio_gpu_fence_event_process() local
134 spin_lock_irqsave(&drv->lock, irq_flags); in virtio_gpu_fence_event_process()
174 spin_unlock_irqrestore(&drv->lock, irq_flags); in virtio_gpu_fence_event_process()
/linux-6.1.9/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,
/linux-6.1.9/drivers/extcon/
Dextcon-gpio.c69 unsigned long irq_flags; in gpio_extcon_probe() local
101 irq_flags = IRQF_TRIGGER_FALLING; in gpio_extcon_probe()
103 irq_flags = IRQF_TRIGGER_RISING; in gpio_extcon_probe()
125 gpio_irq_handler, irq_flags, in gpio_extcon_probe()
/linux-6.1.9/drivers/gpio/
Dgpiolib-sysfs.c28 unsigned char irq_flags; member
159 unsigned long irq_flags; in gpio_sysfs_request_irq() local
170 irq_flags = IRQF_SHARED; in gpio_sysfs_request_irq()
172 irq_flags |= test_bit(FLAG_ACTIVE_LOW, &desc->flags) ? in gpio_sysfs_request_irq()
175 irq_flags |= test_bit(FLAG_ACTIVE_LOW, &desc->flags) ? in gpio_sysfs_request_irq()
190 ret = request_any_context_irq(data->irq, gpio_sysfs_irq, irq_flags, in gpio_sysfs_request_irq()
195 data->irq_flags = flags; in gpio_sysfs_request_irq()
216 data->irq_flags = 0; in gpio_sysfs_free_irq()
237 flags = data->irq_flags; in edge_show()
260 if (flags == data->irq_flags) { in edge_store()
[all …]
/linux-6.1.9/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.c331 as3722->irq_flags = irqd_get_trigger_type(irq_data); in as3722_i2c_of_probe()
332 dev_dbg(&i2c->dev, "IRQ flags are 0x%08lx\n", as3722->irq_flags); in as3722_i2c_of_probe()
340 unsigned long irq_flags; in as3722_i2c_probe() local
367 irq_flags = as3722->irq_flags | IRQF_ONESHOT; in as3722_i2c_probe()
370 irq_flags, -1, &as3722_irq_chip, in as3722_i2c_probe()
Dintel_soc_pmic_crc.c144 unsigned long irq_flags; member
152 .irq_flags = IRQF_TRIGGER_RISING,
160 .irq_flags = IRQF_TRIGGER_RISING,
192 config->irq_flags | IRQF_ONESHOT, in crystal_cove_i2c_probe()
/linux-6.1.9/drivers/soc/fujitsu/
Da64fx-diag.c79 unsigned long irq_flags; in a64fx_diag_probe() local
96 irq_flags = IRQF_PERCPU | IRQF_NOBALANCING | IRQF_NO_AUTOEN | in a64fx_diag_probe()
98 ret = request_nmi(priv->irq, &a64fx_diag_handler_nmi, irq_flags, in a64fx_diag_probe()
102 irq_flags, "a64fx_diag_irq", NULL); in a64fx_diag_probe()
/linux-6.1.9/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()
/linux-6.1.9/arch/s390/kernel/
Dabs_lowcore.c55 unsigned long irq_flags; in get_abs_lowcore() local
66 local_irq_save(irq_flags); in get_abs_lowcore()
67 if (!irqs_disabled_flags(irq_flags)) in get_abs_lowcore()
/linux-6.1.9/drivers/rtc/
Drtc-pm8xxx.c80 unsigned long secs, irq_flags; in pm8xxx_rtc_set_time() local
98 spin_lock_irqsave(&rtc_dd->ctrl_reg_lock, irq_flags); in pm8xxx_rtc_set_time()
171 spin_unlock_irqrestore(&rtc_dd->ctrl_reg_lock, irq_flags); in pm8xxx_rtc_set_time()
225 unsigned long secs, irq_flags; in pm8xxx_rtc_set_alarm() local
236 spin_lock_irqsave(&rtc_dd->ctrl_reg_lock, irq_flags); in pm8xxx_rtc_set_alarm()
263 spin_unlock_irqrestore(&rtc_dd->ctrl_reg_lock, irq_flags); in pm8xxx_rtc_set_alarm()
304 unsigned long irq_flags; in pm8xxx_rtc_alarm_irq_enable() local
310 spin_lock_irqsave(&rtc_dd->ctrl_reg_lock, irq_flags); in pm8xxx_rtc_alarm_irq_enable()
338 spin_unlock_irqrestore(&rtc_dd->ctrl_reg_lock, irq_flags); in pm8xxx_rtc_alarm_irq_enable()
/linux-6.1.9/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 |
/linux-6.1.9/drivers/crypto/nx/
Dnx-sha256.c69 unsigned long irq_flags; in nx_sha256_update() local
75 spin_lock_irqsave(&nx_ctx->lock, irq_flags); in nx_sha256_update()
177 spin_unlock_irqrestore(&nx_ctx->lock, irq_flags); in nx_sha256_update()
187 unsigned long irq_flags; in nx_sha256_final() local
192 spin_lock_irqsave(&nx_ctx->lock, irq_flags); in nx_sha256_final()
247 spin_unlock_irqrestore(&nx_ctx->lock, irq_flags); in nx_sha256_final()
Dnx-sha512.c69 unsigned long irq_flags; in nx_sha512_update() local
75 spin_lock_irqsave(&nx_ctx->lock, irq_flags); in nx_sha512_update()
180 spin_unlock_irqrestore(&nx_ctx->lock, irq_flags); in nx_sha512_update()
192 unsigned long irq_flags; in nx_sha512_final() local
196 spin_lock_irqsave(&nx_ctx->lock, irq_flags); in nx_sha512_final()
253 spin_unlock_irqrestore(&nx_ctx->lock, irq_flags); in nx_sha512_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()
Dnx-aes-xcbc.c176 unsigned long irq_flags; in nx_xcbc_update() local
180 spin_lock_irqsave(&nx_ctx->lock, irq_flags); in nx_xcbc_update()
288 spin_unlock_irqrestore(&nx_ctx->lock, irq_flags); in nx_xcbc_update()
298 unsigned long irq_flags; in nx_xcbc_final() local
302 spin_lock_irqsave(&nx_ctx->lock, irq_flags); in nx_xcbc_final()
357 spin_unlock_irqrestore(&nx_ctx->lock, irq_flags); in nx_xcbc_final()

123456789