/linux/drivers/misc/sgi-xp/ |
H A 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 …]
|
H A D | xpc_uv.c | 71 unsigned long irq_flags; in xpc_teardown_partitions_uv() local 78 spin_lock_irqsave(&part_uv->flags_lock, irq_flags); in xpc_teardown_partitions_uv() 80 spin_unlock_irqrestore(&part_uv->flags_lock, irq_flags); in xpc_teardown_partitions_uv() 303 unsigned long irq_flags; in xpc_process_activate_IRQ_rcvd_uv() local 310 spin_lock_irqsave(&xpc_activate_IRQ_rcvd_lock, irq_flags); in xpc_process_activate_IRQ_rcvd_uv() 322 spin_unlock_irqrestore(&xpc_activate_IRQ_rcvd_lock, irq_flags); in xpc_process_activate_IRQ_rcvd_uv() 343 spin_lock_irqsave(&xpc_activate_IRQ_rcvd_lock, irq_flags); in xpc_process_activate_IRQ_rcvd_uv() 347 spin_unlock_irqrestore(&xpc_activate_IRQ_rcvd_lock, irq_flags); in xpc_process_activate_IRQ_rcvd_uv() 357 unsigned long irq_flags; in xpc_handle_activate_mq_msg_uv() local 379 spin_lock_irqsave(&xpc_activate_IRQ_rcvd_lock, irq_flags); in xpc_handle_activate_mq_msg_uv() [all …]
|
H A D | xpc_main.c | 525 unsigned long irq_flags; in xpc_activating() local 529 spin_lock_irqsave(&part->act_lock, irq_flags); in xpc_activating() 533 spin_unlock_irqrestore(&part->act_lock, irq_flags); in xpc_activating() 543 spin_unlock_irqrestore(&part->act_lock, irq_flags); in xpc_activating() 577 unsigned long irq_flags; in xpc_activate_partition() local 580 spin_lock_irqsave(&part->act_lock, irq_flags); in xpc_activate_partition() 587 spin_unlock_irqrestore(&part->act_lock, irq_flags); in xpc_activate_partition() 592 spin_lock_irqsave(&part->act_lock, irq_flags); in xpc_activate_partition() 595 spin_unlock_irqrestore(&part->act_lock, irq_flags); in xpc_activate_partition() 678 unsigned long irq_flags; in xpc_kthread_start() local [all …]
|
H A 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 …]
|
/linux/drivers/comedi/drivers/ |
H A 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 …]
|
/linux/drivers/irqchip/ |
H A 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()
|
/linux/drivers/gpu/drm/virtio/ |
H A 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()
|
/linux/drivers/gpio/ |
H A D | gpiolib-sysfs.c | 43 unsigned char irq_flags; member 166 unsigned long irq_flags; in gpio_sysfs_request_irq() local 181 irq_flags = IRQF_SHARED; in gpio_sysfs_request_irq() 183 irq_flags |= test_bit(FLAG_ACTIVE_LOW, &desc->flags) ? in gpio_sysfs_request_irq() 188 irq_flags |= test_bit(FLAG_ACTIVE_LOW, &desc->flags) ? in gpio_sysfs_request_irq() 205 ret = request_any_context_irq(data->irq, gpio_sysfs_irq, irq_flags, in gpio_sysfs_request_irq() 210 data->irq_flags = flags; in gpio_sysfs_request_irq() 237 data->irq_flags = 0; in gpio_sysfs_free_irq() 259 flags = data->irq_flags; in edge_show() 280 if (flags == data->irq_flags) in edge_store() [all …]
|
/linux/arch/sh/boards/mach-landisk/ |
H A D | psw.c | 64 .irq_flags = IRQF_SHARED, 71 .irq_flags = IRQF_SHARED, 78 .irq_flags = IRQF_SHARED, 85 .irq_flags = IRQF_SHARED,
|
/linux/drivers/mfd/ |
H A 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()
|
H A 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()
|
H A D | intel_soc_pmic_crc.c | 146 unsigned long irq_flags; member 154 .irq_flags = IRQF_TRIGGER_RISING, 162 .irq_flags = IRQF_TRIGGER_RISING, 194 config->irq_flags | IRQF_ONESHOT, in crystal_cove_i2c_probe()
|
/linux/drivers/extcon/ |
H A 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()
|
/linux/arch/x86/hyperv/ |
H A D | hv_vtl.c | 73 unsigned long irq_flags; in hv_vtl_bringup_vcpu() local 94 local_irq_save(irq_flags); in hv_vtl_bringup_vcpu() 172 local_irq_restore(irq_flags); in hv_vtl_bringup_vcpu() 181 unsigned long irq_flags; in hv_vtl_apicid_to_vp_id() local 185 local_irq_save(irq_flags); in hv_vtl_apicid_to_vp_id() 198 local_irq_restore(irq_flags); in hv_vtl_apicid_to_vp_id()
|
H A D | hv_proc.c | 161 unsigned long irq_flags; in hv_call_create_vp() local 173 local_irq_save(irq_flags); in hv_call_create_vp() 183 local_irq_restore(irq_flags); in hv_call_create_vp()
|
/linux/sound/soc/intel/atom/sst/ |
H A D | sst_ipc.c | 122 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/drivers/crypto/nx/ |
H A 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()
|
H A 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()
|
H A 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()
|
H A 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()
|
H A 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()
|
H A 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()
|
/linux/arch/sh/boards/mach-highlander/ |
H A D | psw.c | 60 .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/drivers/video/fbdev/ |
H A 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()
|
/linux/kernel/bpf/ |
H A D | queue_stack_maps.c | 193 unsigned long irq_flags; in queue_stack_map_push_elem() local 207 if (!raw_spin_trylock_irqsave(&qs->lock, irq_flags)) in queue_stack_map_push_elem() 210 raw_spin_lock_irqsave(&qs->lock, irq_flags); in queue_stack_map_push_elem() 230 raw_spin_unlock_irqrestore(&qs->lock, irq_flags); in queue_stack_map_push_elem()
|