Home
last modified time | relevance | path

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

1234567

/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.c535 unsigned long irq_flags; in xpc_activating() local
539 spin_lock_irqsave(&part->act_lock, irq_flags); in xpc_activating()
543 spin_unlock_irqrestore(&part->act_lock, irq_flags); in xpc_activating()
553 spin_unlock_irqrestore(&part->act_lock, irq_flags); in xpc_activating()
587 unsigned long irq_flags; in xpc_activate_partition() local
590 spin_lock_irqsave(&part->act_lock, irq_flags); in xpc_activate_partition()
597 spin_unlock_irqrestore(&part->act_lock, irq_flags); in xpc_activate_partition()
602 spin_lock_irqsave(&part->act_lock, irq_flags); in xpc_activate_partition()
605 spin_unlock_irqrestore(&part->act_lock, irq_flags); in xpc_activate_partition()
688 unsigned long irq_flags; in xpc_kthread_start() local
[all …]
Dxpc_partition.c311 unsigned long irq_flags; in xpc_mark_partition_active() local
316 spin_lock_irqsave(&part->act_lock, irq_flags); in xpc_mark_partition_active()
324 spin_unlock_irqrestore(&part->act_lock, irq_flags); in xpc_mark_partition_active()
336 unsigned long irq_flags; in xpc_deactivate_partition() local
338 spin_lock_irqsave(&part->act_lock, irq_flags); in xpc_deactivate_partition()
342 spin_unlock_irqrestore(&part->act_lock, irq_flags); in xpc_deactivate_partition()
354 spin_unlock_irqrestore(&part->act_lock, irq_flags); in xpc_deactivate_partition()
361 spin_unlock_irqrestore(&part->act_lock, irq_flags); in xpc_deactivate_partition()
383 unsigned long irq_flags; in xpc_mark_partition_inactive() local
388 spin_lock_irqsave(&part->act_lock, irq_flags); in xpc_mark_partition_inactive()
[all …]
/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 …]
/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 …]
/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()
/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()
73 unsigned long irq_flags; in _dpu_core_irq_enable() local
102 spin_lock_irqsave(&dpu_kms->irq_obj.cb_lock, irq_flags); in _dpu_core_irq_enable()
107 spin_unlock_irqrestore(&dpu_kms->irq_obj.cb_lock, irq_flags); in _dpu_core_irq_enable()
206 unsigned long irq_flags; in dpu_core_irq_register_callback() local
228 spin_lock_irqsave(&dpu_kms->irq_obj.cb_lock, irq_flags); in dpu_core_irq_register_callback()
233 spin_unlock_irqrestore(&dpu_kms->irq_obj.cb_lock, irq_flags); in dpu_core_irq_register_callback()
241 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()
987 unsigned long irq_flags; in dpu_hw_intr_get_interrupt_statuses() local
[all …]
/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()
/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()
300 unsigned long irq_flags; in pm8xxx_rtc_alarm_irq_enable() local
305 spin_lock_irqsave(&rtc_dd->ctrl_reg_lock, irq_flags); in pm8xxx_rtc_alarm_irq_enable()
323 spin_unlock_irqrestore(&rtc_dd->ctrl_reg_lock, irq_flags); in pm8xxx_rtc_alarm_irq_enable()
341 unsigned long irq_flags; in pm8xxx_alarm_trigger() local
[all …]
/drivers/gpu/drm/virtio/
Dvirtgpu_fence.c93 unsigned long irq_flags; in virtio_gpu_fence_emit() local
95 spin_lock_irqsave(&drv->lock, irq_flags); in virtio_gpu_fence_emit()
99 spin_unlock_irqrestore(&drv->lock, irq_flags); in virtio_gpu_fence_emit()
112 unsigned long irq_flags; in virtio_gpu_fence_event_process() local
114 spin_lock_irqsave(&drv->lock, irq_flags); in virtio_gpu_fence_event_process()
123 spin_unlock_irqrestore(&drv->lock, irq_flags); in virtio_gpu_fence_event_process()
/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()
/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 …]
/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()
/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()
/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.c408 unsigned long irq_flags; in ttm_dma_page_pool_free() local
432 spin_lock_irqsave(&pool->lock, irq_flags); in ttm_dma_page_pool_free()
452 spin_unlock_irqrestore(&pool->lock, irq_flags); in ttm_dma_page_pool_free()
488 spin_unlock_irqrestore(&pool->lock, irq_flags); in ttm_dma_page_pool_free()
788 unsigned long *irq_flags) in ttm_dma_page_pool_fill_locked() argument
798 spin_unlock_irqrestore(&pool->lock, *irq_flags); in ttm_dma_page_pool_fill_locked()
804 spin_lock_irqsave(&pool->lock, *irq_flags); in ttm_dma_page_pool_fill_locked()
840 unsigned long irq_flags; in ttm_dma_pool_get_pages() local
843 spin_lock_irqsave(&pool->lock, irq_flags); in ttm_dma_pool_get_pages()
844 count = ttm_dma_page_pool_fill_locked(pool, &irq_flags); in ttm_dma_pool_get_pages()
[all …]
/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-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()
Dnx-aes-cbc.c61 unsigned long irq_flags; in cbc_aes_nx_crypt() local
65 spin_lock_irqsave(&nx_ctx->lock, irq_flags); in cbc_aes_nx_crypt()
98 spin_unlock_irqrestore(&nx_ctx->lock, irq_flags); in cbc_aes_nx_crypt()
Dnx-aes-ecb.c61 unsigned long irq_flags; in ecb_aes_nx_crypt() local
65 spin_lock_irqsave(&nx_ctx->lock, irq_flags); in ecb_aes_nx_crypt()
98 spin_unlock_irqrestore(&nx_ctx->lock, irq_flags); in ecb_aes_nx_crypt()
/drivers/video/fbdev/
Dgoldfishfb.c50 unsigned long irq_flags; in goldfish_fb_interrupt() local
54 spin_lock_irqsave(&fb->lock, irq_flags); in goldfish_fb_interrupt()
60 spin_unlock_irqrestore(&fb->lock, irq_flags); in goldfish_fb_interrupt()
132 unsigned long irq_flags; in goldfish_fb_pan_display() local
136 spin_lock_irqsave(&fb->lock, irq_flags); in goldfish_fb_pan_display()
140 spin_unlock_irqrestore(&fb->lock, irq_flags); in goldfish_fb_pan_display()

1234567