/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 | 93 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 …]
|
D | xpc_main.c | 527 unsigned long irq_flags; in xpc_activating() local 531 spin_lock_irqsave(&part->act_lock, irq_flags); in xpc_activating() 535 spin_unlock_irqrestore(&part->act_lock, irq_flags); in xpc_activating() 545 spin_unlock_irqrestore(&part->act_lock, irq_flags); in xpc_activating() 579 unsigned long irq_flags; in xpc_activate_partition() local 582 spin_lock_irqsave(&part->act_lock, irq_flags); in xpc_activate_partition() 589 spin_unlock_irqrestore(&part->act_lock, irq_flags); in xpc_activate_partition() 594 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() 680 unsigned long irq_flags; in xpc_kthread_start() local [all …]
|
D | xpc_partition.c | 322 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 …]
|
/drivers/comedi/drivers/ |
D | das800.c | 234 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 …]
|
/drivers/media/usb/pvrusb2/ |
D | pvrusb2-io.c | 151 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/irqchip/ |
D | irq-madera.c | 165 unsigned int irq_flags = 0; in madera_irq_probe() local 174 irq_flags = madera->pdata.irq_flags; in madera_irq_probe() 175 if (!irq_flags) { in madera_irq_probe() 182 irq_flags = irqd_get_trigger_type(irq_data); in madera_irq_probe() 185 if (irq_flags == IRQ_TYPE_NONE) in madera_irq_probe() 186 irq_flags = IRQF_TRIGGER_LOW; in madera_irq_probe() 189 if (irq_flags & (IRQF_TRIGGER_RISING | IRQF_TRIGGER_FALLING)) { in madera_irq_probe() 198 if (irq_flags & IRQF_TRIGGER_HIGH) { in madera_irq_probe()
|
/drivers/gpu/drm/msm/disp/dpu1/ |
D | dpu_hw_interrupts.c | 247 unsigned long irq_flags; in dpu_core_irq() local 252 spin_lock_irqsave(&intr->irq_lock, irq_flags); in dpu_core_irq() 294 spin_unlock_irqrestore(&intr->irq_lock, irq_flags); in dpu_core_irq() 445 unsigned long irq_flags; in dpu_core_irq_read() local 456 spin_lock_irqsave(&intr->irq_lock, irq_flags); in dpu_core_irq_read() 469 spin_unlock_irqrestore(&intr->irq_lock, irq_flags); in dpu_core_irq_read() 524 unsigned long irq_flags; in dpu_core_irq_register_callback() local 542 spin_lock_irqsave(&dpu_kms->hw_intr->irq_lock, irq_flags); in dpu_core_irq_register_callback() 546 spin_unlock_irqrestore(&dpu_kms->hw_intr->irq_lock, irq_flags); in dpu_core_irq_register_callback() 561 spin_unlock_irqrestore(&dpu_kms->hw_intr->irq_lock, irq_flags); in dpu_core_irq_register_callback() [all …]
|
/drivers/gpu/drm/virtio/ |
D | virtgpu_fence.c | 106 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()
|
/drivers/gpio/ |
D | gpiolib-sysfs.c | 40 unsigned char irq_flags; member 171 unsigned long irq_flags; in gpio_sysfs_request_irq() local 182 irq_flags = IRQF_SHARED; in gpio_sysfs_request_irq() 184 irq_flags |= test_bit(FLAG_ACTIVE_LOW, &desc->flags) ? in gpio_sysfs_request_irq() 187 irq_flags |= test_bit(FLAG_ACTIVE_LOW, &desc->flags) ? in gpio_sysfs_request_irq() 202 ret = request_any_context_irq(data->irq, gpio_sysfs_irq, irq_flags, in gpio_sysfs_request_irq() 207 data->irq_flags = flags; in gpio_sysfs_request_irq() 228 data->irq_flags = 0; in gpio_sysfs_free_irq() 249 flags = data->irq_flags; in edge_show() 272 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() 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()
|
D | as3722.c | 331 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() 339 unsigned long irq_flags; in as3722_i2c_probe() local 366 irq_flags = as3722->irq_flags | IRQF_ONESHOT; in as3722_i2c_probe() 369 irq_flags, -1, &as3722_irq_chip, in as3722_i2c_probe()
|
D | intel_soc_pmic_crc.c | 144 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()
|
/drivers/extcon/ |
D | extcon-gpio.c | 69 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()
|
/drivers/soc/fujitsu/ |
D | a64fx-diag.c | 79 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()
|
/drivers/crypto/nx/ |
D | nx-sha256.c | 69 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()
|
D | nx-sha512.c | 69 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()
|
D | nx-aes-xcbc.c | 176 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()
|
D | nx-aes-ecb.c | 59 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()
|
D | nx-aes-cbc.c | 59 unsigned long irq_flags; in cbc_aes_nx_crypt() local 63 spin_lock_irqsave(&nx_ctx->lock, irq_flags); in cbc_aes_nx_crypt() 97 spin_unlock_irqrestore(&nx_ctx->lock, irq_flags); in cbc_aes_nx_crypt()
|
D | nx-aes-ctr.c | 77 unsigned long irq_flags; in ctr_aes_nx_crypt() local 81 spin_lock_irqsave(&nx_ctx->lock, irq_flags); in ctr_aes_nx_crypt() 111 spin_unlock_irqrestore(&nx_ctx->lock, irq_flags); in ctr_aes_nx_crypt()
|
/drivers/video/fbdev/ |
D | goldfishfb.c | 50 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()
|
/drivers/iio/proximity/ |
D | vl53l0x-i2c.c | 64 int irq_flags = irq_get_trigger_type(client->irq); in vl53l0x_configure_irq() local 68 if (!irq_flags) in vl53l0x_configure_irq() 69 irq_flags = IRQF_TRIGGER_FALLING; in vl53l0x_configure_irq() 72 irq_flags, indio_dev->name, indio_dev); in vl53l0x_configure_irq()
|
/drivers/dma/ |
D | bcm2835-dma.c | 80 unsigned int irq_flags; member 463 if (c->irq_flags & IRQF_SHARED) { in bcm2835_dma_callback() 519 c->irq_flags, "DMA IRQ", c); in bcm2835_dma_alloc_chan_resources() 818 int irq, unsigned int irq_flags) in bcm2835_dma_chan_init() argument 832 c->irq_flags = irq_flags; in bcm2835_dma_chan_init() 885 int irq_flags; in bcm2835_dma_probe() local 983 irq_flags = 0; in bcm2835_dma_probe() 986 irq_flags = IRQF_SHARED; in bcm2835_dma_probe() 991 rc = bcm2835_dma_chan_init(od, i, irq[i], irq_flags); in bcm2835_dma_probe()
|
/drivers/bus/fsl-mc/ |
D | mc-sys.c | 249 unsigned long irq_flags = 0; in mc_send_command() local 255 raw_spin_lock_irqsave(&mc_io->spinlock, irq_flags); in mc_send_command() 291 raw_spin_unlock_irqrestore(&mc_io->spinlock, irq_flags); in mc_send_command()
|