/drivers/misc/sgi-xp/ |
D | xpc_channel.c | 27 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 …]
|
D | xpc_uv.c | 90 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 …]
|
D | xpc_main.c | 542 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 …]
|
D | xpc_sn2.c | 175 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 …]
|
D | xpc_partition.c | 316 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 …]
|
/drivers/staging/comedi/drivers/ |
D | das800.c | 245 unsigned long irq_flags; in das800_enable() local 247 spin_lock_irqsave(&dev->spinlock, irq_flags); in das800_enable() 255 spin_unlock_irqrestore(&dev->spinlock, irq_flags); in das800_enable() 260 unsigned long irq_flags; in das800_disable() local 262 spin_lock_irqsave(&dev->spinlock, irq_flags); in das800_disable() 265 spin_unlock_irqrestore(&dev->spinlock, irq_flags); in das800_disable() 386 unsigned long irq_flags; in das800_ai_do_cmd() local 390 spin_lock_irqsave(&dev->spinlock, irq_flags); in das800_ai_do_cmd() 393 spin_unlock_irqrestore(&dev->spinlock, irq_flags); in das800_ai_do_cmd() 414 spin_lock_irqsave(&dev->spinlock, irq_flags); in das800_ai_do_cmd() [all …]
|
/drivers/media/usb/pvrusb2/ |
D | pvrusb2-io.c | 167 unsigned long irq_flags; in pvr2_buffer_set_none() local 176 spin_lock_irqsave(&sp->list_lock,irq_flags); in pvr2_buffer_set_none() 178 spin_unlock_irqrestore(&sp->list_lock,irq_flags); in pvr2_buffer_set_none() 184 unsigned long irq_flags; in pvr2_buffer_set_ready() local 193 spin_lock_irqsave(&sp->list_lock,irq_flags); in pvr2_buffer_set_ready() 205 spin_unlock_irqrestore(&sp->list_lock,irq_flags); in pvr2_buffer_set_ready() 211 unsigned long irq_flags; in pvr2_buffer_set_idle() local 220 spin_lock_irqsave(&sp->list_lock,irq_flags); in pvr2_buffer_set_idle() 231 spin_unlock_irqrestore(&sp->list_lock,irq_flags); in pvr2_buffer_set_idle() 236 unsigned long irq_flags; in pvr2_buffer_set_queued() local [all …]
|
/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_fence.c | 117 unsigned long irq_flags; in vmw_fence_obj_destroy() local 119 spin_lock_irqsave(&fman->lock, irq_flags); in vmw_fence_obj_destroy() 122 spin_unlock_irqrestore(&fman->lock, irq_flags); in vmw_fence_obj_destroy() 179 unsigned long irq_flags; in vmw_fence_wait() local 187 spin_lock_irqsave(f->lock, irq_flags); in vmw_fence_wait() 207 spin_unlock_irqrestore(f->lock, irq_flags); in vmw_fence_wait() 211 spin_lock_irqsave(f->lock, irq_flags); in vmw_fence_wait() 221 spin_unlock_irqrestore(f->lock, irq_flags); in vmw_fence_wait() 308 unsigned long irq_flags; in vmw_fence_manager_takedown() local 313 spin_lock_irqsave(&fman->lock, irq_flags); in vmw_fence_manager_takedown() [all …]
|
/drivers/gpu/drm/gma500/ |
D | psb_lid.c | 31 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() 87 spin_unlock_irqrestore(&dev_priv->lid_lock, irq_flags); in psb_lid_timer_init()
|
/drivers/gpu/drm/virtio/ |
D | virtgpu_fence.c | 82 unsigned long irq_flags; in virtio_gpu_fence_emit() local 88 spin_lock_irqsave(&drv->lock, irq_flags); in virtio_gpu_fence_emit() 95 spin_unlock_irqrestore(&drv->lock, irq_flags); in virtio_gpu_fence_emit() 107 unsigned long irq_flags; in virtio_gpu_fence_event_process() local 109 spin_lock_irqsave(&drv->lock, irq_flags); in virtio_gpu_fence_event_process() 118 spin_unlock_irqrestore(&drv->lock, irq_flags); in virtio_gpu_fence_event_process()
|
/drivers/rtc/ |
D | rtc-pm8xxx.c | 84 unsigned long secs, irq_flags; in pm8xxx_rtc_set_time() local 102 spin_lock_irqsave(&rtc_dd->ctrl_reg_lock, irq_flags); in pm8xxx_rtc_set_time() 150 spin_unlock_irqrestore(&rtc_dd->ctrl_reg_lock, irq_flags); in pm8xxx_rtc_set_time() 211 unsigned long secs, irq_flags; in pm8xxx_rtc_set_alarm() local 222 spin_lock_irqsave(&rtc_dd->ctrl_reg_lock, irq_flags); in pm8xxx_rtc_set_alarm() 251 spin_unlock_irqrestore(&rtc_dd->ctrl_reg_lock, irq_flags); in pm8xxx_rtc_set_alarm() 291 unsigned long irq_flags; in pm8xxx_rtc_alarm_irq_enable() local 296 spin_lock_irqsave(&rtc_dd->ctrl_reg_lock, irq_flags); in pm8xxx_rtc_alarm_irq_enable() 314 spin_unlock_irqrestore(&rtc_dd->ctrl_reg_lock, irq_flags); in pm8xxx_rtc_alarm_irq_enable() 332 unsigned long irq_flags; in pm8xxx_alarm_trigger() local [all …]
|
/drivers/staging/goldfish/ |
D | goldfish_audio.c | 120 unsigned long irq_flags; in goldfish_audio_read() local 134 spin_lock_irqsave(&data->lock, irq_flags); in goldfish_audio_read() 136 spin_unlock_irqrestore(&data->lock, irq_flags); in goldfish_audio_read() 155 unsigned long irq_flags; in goldfish_audio_write() local 179 spin_lock_irqsave(&data->lock, irq_flags); in goldfish_audio_write() 191 spin_unlock_irqrestore(&data->lock, irq_flags); in goldfish_audio_write() 237 unsigned long irq_flags; in goldfish_audio_interrupt() local 241 spin_lock_irqsave(&data->lock, irq_flags); in goldfish_audio_interrupt() 255 spin_unlock_irqrestore(&data->lock, irq_flags); in goldfish_audio_interrupt()
|
D | goldfish_sync_timeline.c | 395 unsigned long irq_flags; in goldfish_sync_hostcmd_reply() local 401 spin_lock_irqsave(&sync_state->lock, irq_flags); in goldfish_sync_hostcmd_reply() 409 spin_unlock_irqrestore(&sync_state->lock, irq_flags); in goldfish_sync_hostcmd_reply() 419 unsigned long irq_flags; in goldfish_sync_send_guestcmd() local 425 spin_lock_irqsave(&sync_state->lock, irq_flags); in goldfish_sync_send_guestcmd() 433 spin_unlock_irqrestore(&sync_state->lock, irq_flags); in goldfish_sync_send_guestcmd() 522 unsigned long irq_flags; in goldfish_sync_work_item_fn() local 531 spin_lock_irqsave(&sync_state->lock, irq_flags); { in goldfish_sync_work_item_fn() 562 } spin_unlock_irqrestore(&sync_state->lock, irq_flags); in goldfish_sync_work_item_fn()
|
/drivers/gpio/ |
D | gpiolib-sysfs.c | 24 unsigned char irq_flags; member 156 unsigned long irq_flags; in gpio_sysfs_request_irq() local 167 irq_flags = IRQF_SHARED; in gpio_sysfs_request_irq() 169 irq_flags |= test_bit(FLAG_ACTIVE_LOW, &desc->flags) ? in gpio_sysfs_request_irq() 172 irq_flags |= test_bit(FLAG_ACTIVE_LOW, &desc->flags) ? in gpio_sysfs_request_irq() 187 ret = request_any_context_irq(data->irq, gpio_sysfs_irq, irq_flags, in gpio_sysfs_request_irq() 192 data->irq_flags = flags; in gpio_sysfs_request_irq() 213 data->irq_flags = 0; in gpio_sysfs_free_irq() 239 if (data->irq_flags == trigger_types[i].flags) { in edge_show() 270 if (flags == data->irq_flags) { in edge_store() [all …]
|
/drivers/mfd/ |
D | arizona-irq.c | 146 } 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() 274 if (!arizona->pdata.irq_flags) { in arizona_irq_init() 282 arizona->pdata.irq_flags = irqd_get_trigger_type(irq_data); in arizona_irq_init() 283 switch (arizona->pdata.irq_flags) { in arizona_irq_init() 293 arizona->pdata.irq_flags = IRQF_TRIGGER_LOW; in arizona_irq_init() 298 if (arizona->pdata.irq_flags & (IRQF_TRIGGER_HIGH | in arizona_irq_init() 309 flags |= arizona->pdata.irq_flags; in arizona_irq_init()
|
D | as3722.c | 352 as3722->irq_flags = irqd_get_trigger_type(irq_data); in as3722_i2c_of_probe() 353 dev_dbg(&i2c->dev, "IRQ flags are 0x%08lx\n", as3722->irq_flags); in as3722_i2c_of_probe() 361 unsigned long irq_flags; in as3722_i2c_probe() local 387 irq_flags = as3722->irq_flags | IRQF_ONESHOT; in as3722_i2c_probe() 390 irq_flags, -1, &as3722_irq_chip, in as3722_i2c_probe()
|
/drivers/gpu/drm/ttm/ |
D | ttm_page_alloc.c | 306 unsigned long irq_flags; in ttm_page_pool_free() local 326 spin_lock_irqsave(&pool->lock, irq_flags); in ttm_page_pool_free() 343 spin_unlock_irqrestore(&pool->lock, irq_flags); in ttm_page_pool_free() 377 spin_unlock_irqrestore(&pool->lock, irq_flags); in ttm_page_pool_free() 575 unsigned long *irq_flags) in ttm_page_pool_fill_locked() argument 601 spin_unlock_irqrestore(&pool->lock, *irq_flags); in ttm_page_pool_fill_locked() 606 spin_lock_irqsave(&pool->lock, *irq_flags); in ttm_page_pool_fill_locked() 637 unsigned long irq_flags; in ttm_page_pool_get_pages() local 641 spin_lock_irqsave(&pool->lock, irq_flags); in ttm_page_pool_get_pages() 642 ttm_page_pool_fill_locked(pool, ttm_flags, cstate, count, &irq_flags); in ttm_page_pool_get_pages() [all …]
|
D | ttm_page_alloc_dma.c | 423 unsigned long irq_flags; in ttm_dma_page_pool_free() local 452 spin_lock_irqsave(&pool->lock, irq_flags); in ttm_dma_page_pool_free() 472 spin_unlock_irqrestore(&pool->lock, irq_flags); in ttm_dma_page_pool_free() 508 spin_unlock_irqrestore(&pool->lock, irq_flags); in ttm_dma_page_pool_free() 801 unsigned long *irq_flags) in ttm_dma_page_pool_fill_locked() argument 811 spin_unlock_irqrestore(&pool->lock, *irq_flags); in ttm_dma_page_pool_fill_locked() 817 spin_lock_irqsave(&pool->lock, *irq_flags); in ttm_dma_page_pool_fill_locked() 853 unsigned long irq_flags; in ttm_dma_pool_get_pages() local 856 spin_lock_irqsave(&pool->lock, irq_flags); in ttm_dma_pool_get_pages() 857 count = ttm_dma_page_pool_fill_locked(pool, &irq_flags); in ttm_dma_pool_get_pages() [all …]
|
/drivers/crypto/nx/ |
D | nx-sha256.c | 76 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()
|
D | nx-sha512.c | 76 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()
|
D | nx-aes-xcbc.c | 190 unsigned long irq_flags; in nx_xcbc_update() local 194 spin_lock_irqsave(&nx_ctx->lock, irq_flags); in nx_xcbc_update() 303 spin_unlock_irqrestore(&nx_ctx->lock, irq_flags); in nx_xcbc_update() 313 unsigned long irq_flags; in nx_xcbc_final() local 317 spin_lock_irqsave(&nx_ctx->lock, irq_flags); in nx_xcbc_final() 373 spin_unlock_irqrestore(&nx_ctx->lock, irq_flags); in nx_xcbc_final()
|
D | nx-aes-ecb.c | 73 unsigned long irq_flags; in ecb_aes_nx_crypt() local 77 spin_lock_irqsave(&nx_ctx->lock, irq_flags); in ecb_aes_nx_crypt() 110 spin_unlock_irqrestore(&nx_ctx->lock, irq_flags); in ecb_aes_nx_crypt()
|
D | nx-aes-cbc.c | 73 unsigned long irq_flags; in cbc_aes_nx_crypt() local 77 spin_lock_irqsave(&nx_ctx->lock, irq_flags); in cbc_aes_nx_crypt() 110 spin_unlock_irqrestore(&nx_ctx->lock, irq_flags); in cbc_aes_nx_crypt()
|
/drivers/tty/ |
D | goldfish.c | 58 unsigned long irq_flags; in goldfish_tty_do_write() local 61 spin_lock_irqsave(&qtty->lock, irq_flags); in goldfish_tty_do_write() 66 spin_unlock_irqrestore(&qtty->lock, irq_flags); in goldfish_tty_do_write() 73 unsigned long irq_flags; in goldfish_tty_interrupt() local 82 spin_lock_irqsave(&qtty->lock, irq_flags); in goldfish_tty_interrupt() 87 spin_unlock_irqrestore(&qtty->lock, irq_flags); in goldfish_tty_interrupt()
|
/drivers/video/fbdev/ |
D | goldfishfb.c | 59 unsigned long irq_flags; in goldfish_fb_interrupt() local 63 spin_lock_irqsave(&fb->lock, irq_flags); in goldfish_fb_interrupt() 69 spin_unlock_irqrestore(&fb->lock, irq_flags); in goldfish_fb_interrupt() 140 unsigned long irq_flags; in goldfish_fb_pan_display() local 144 spin_lock_irqsave(&fb->lock, irq_flags); in goldfish_fb_pan_display() 148 spin_unlock_irqrestore(&fb->lock, irq_flags); in goldfish_fb_pan_display()
|