Searched refs:irq_ctx (Results 1 – 8 of 8) sorted by relevance
/linux-5.19.10/kernel/irq/ |
D | irq_sim.c | 29 struct irq_sim_irq_ctx *irq_ctx = irq_data_get_irq_chip_data(data); in irq_sim_irqmask() local 31 irq_ctx->enabled = false; in irq_sim_irqmask() 36 struct irq_sim_irq_ctx *irq_ctx = irq_data_get_irq_chip_data(data); in irq_sim_irqunmask() local 38 irq_ctx->enabled = true; in irq_sim_irqunmask() 55 struct irq_sim_irq_ctx *irq_ctx = irq_data_get_irq_chip_data(data); in irq_sim_get_irqchip_state() local 60 if (irq_ctx->enabled) in irq_sim_get_irqchip_state() 61 *state = test_bit(hwirq, irq_ctx->work_ctx->pending); in irq_sim_get_irqchip_state() 73 struct irq_sim_irq_ctx *irq_ctx = irq_data_get_irq_chip_data(data); in irq_sim_set_irqchip_state() local 78 if (irq_ctx->enabled) { in irq_sim_set_irqchip_state() 79 assign_bit(hwirq, irq_ctx->work_ctx->pending, state); in irq_sim_set_irqchip_state() [all …]
|
/linux-5.19.10/drivers/vfio/platform/ |
D | vfio_platform_irq.c | 18 static void vfio_platform_mask(struct vfio_platform_irq *irq_ctx) in vfio_platform_mask() argument 22 spin_lock_irqsave(&irq_ctx->lock, flags); in vfio_platform_mask() 24 if (!irq_ctx->masked) { in vfio_platform_mask() 25 disable_irq_nosync(irq_ctx->hwirq); in vfio_platform_mask() 26 irq_ctx->masked = true; in vfio_platform_mask() 29 spin_unlock_irqrestore(&irq_ctx->lock, flags); in vfio_platform_mask() 34 struct vfio_platform_irq *irq_ctx = opaque; in vfio_platform_mask_handler() local 36 vfio_platform_mask(irq_ctx); in vfio_platform_mask_handler() 78 static void vfio_platform_unmask(struct vfio_platform_irq *irq_ctx) in vfio_platform_unmask() argument 82 spin_lock_irqsave(&irq_ctx->lock, flags); in vfio_platform_unmask() [all …]
|
/linux-5.19.10/arch/sh/kernel/ |
D | irq.c | 61 union irq_ctx { union 66 static union irq_ctx *hardirq_ctx[NR_CPUS] __read_mostly; 67 static union irq_ctx *softirq_ctx[NR_CPUS] __read_mostly; 74 union irq_ctx *curctx, *irqctx; in handle_one_irq() 76 curctx = (union irq_ctx *)current_thread_info(); in handle_one_irq() 122 union irq_ctx *irqctx; in irq_ctx_init() 127 irqctx = (union irq_ctx *)&hardirq_stack[cpu * THREAD_SIZE]; in irq_ctx_init() 135 irqctx = (union irq_ctx *)&softirq_stack[cpu * THREAD_SIZE]; in irq_ctx_init() 155 union irq_ctx *irqctx; in do_softirq_own_stack()
|
/linux-5.19.10/drivers/fpga/ |
D | dfl.c | 408 ddev->irqs[i] = feature->irq_ctx[i].irq; in dfl_dev_add() 830 feature->irq_ctx = ctx; in build_info_commit_dev() 1743 irq = feature->irq_ctx[idx].irq; in do_set_irq_trigger() 1745 if (feature->irq_ctx[idx].trigger) { in do_set_irq_trigger() 1746 free_irq(irq, feature->irq_ctx[idx].trigger); in do_set_irq_trigger() 1747 kfree(feature->irq_ctx[idx].name); in do_set_irq_trigger() 1748 eventfd_ctx_put(feature->irq_ctx[idx].trigger); in do_set_irq_trigger() 1749 feature->irq_ctx[idx].trigger = NULL; in do_set_irq_trigger() 1755 feature->irq_ctx[idx].name = in do_set_irq_trigger() 1758 if (!feature->irq_ctx[idx].name) in do_set_irq_trigger() [all …]
|
D | dfl.h | 250 struct dfl_feature_irq_ctx *irq_ctx; member
|
/linux-5.19.10/drivers/scsi/megaraid/ |
D | megaraid_sas_fusion.c | 3752 struct megasas_irq_context *irq_ctx; in megasas_enable_irq_poll() local 3757 irq_ctx = &instance->irq_context[i]; in megasas_enable_irq_poll() 3758 irq_poll_enable(&irq_ctx->irqpoll); in megasas_enable_irq_poll() 3771 struct megasas_irq_context *irq_ctx; in megasas_sync_irqs() local 3777 irq_ctx = &instance->irq_context[i]; in megasas_sync_irqs() 3778 irq_poll_disable(&irq_ctx->irqpoll); in megasas_sync_irqs() 3779 if (irq_ctx->irq_poll_scheduled) { in megasas_sync_irqs() 3780 irq_ctx->irq_poll_scheduled = false; in megasas_sync_irqs() 3781 enable_irq(irq_ctx->os_irq); in megasas_sync_irqs() 3782 complete_cmd_fusion(instance, irq_ctx->MSIxIndex, irq_ctx); in megasas_sync_irqs() [all …]
|
D | megaraid_sas_base.c | 5654 struct megasas_irq_context *irq_ctx; in megasas_setup_irq_poll() local 5661 irq_ctx = &instance->irq_context[i]; in megasas_setup_irq_poll() 5662 irq_ctx->os_irq = pci_irq_vector(instance->pdev, i); in megasas_setup_irq_poll() 5663 irq_ctx->irq_poll_scheduled = false; in megasas_setup_irq_poll() 5664 irq_poll_init(&irq_ctx->irqpoll, in megasas_setup_irq_poll() 5761 struct megasas_irq_context *irq_ctx; in megasas_destroy_irqs() local 5766 irq_ctx = &instance->irq_context[i]; in megasas_destroy_irqs() 5767 irq_poll_disable(&irq_ctx->irqpoll); in megasas_destroy_irqs()
|
/linux-5.19.10/drivers/mailbox/ |
D | omap-mailbox.c | 80 u32 *irq_ctx; member 619 mdev->irq_ctx[usr] = mbox_read_reg(mdev, reg); in omap_mbox_suspend() 635 mbox_write_reg(mdev, mdev->irq_ctx[usr], reg); in omap_mbox_resume() 782 mdev->irq_ctx = devm_kcalloc(&pdev->dev, num_users, sizeof(u32), in omap_mbox_probe() 784 if (!mdev->irq_ctx) in omap_mbox_probe()
|