Searched refs:irq_ctx (Results 1 – 9 of 9) sorted by relevance
/Linux-v5.10/kernel/irq/ |
D | irq_sim.c | 33 struct irq_sim_irq_ctx *irq_ctx = irq_data_get_irq_chip_data(data); in irq_sim_irqmask() local 35 irq_ctx->enabled = false; in irq_sim_irqmask() 40 struct irq_sim_irq_ctx *irq_ctx = irq_data_get_irq_chip_data(data); in irq_sim_irqunmask() local 42 irq_ctx->enabled = true; in irq_sim_irqunmask() 59 struct irq_sim_irq_ctx *irq_ctx = irq_data_get_irq_chip_data(data); in irq_sim_get_irqchip_state() local 64 if (irq_ctx->enabled) in irq_sim_get_irqchip_state() 65 *state = test_bit(hwirq, irq_ctx->work_ctx->pending); in irq_sim_get_irqchip_state() 77 struct irq_sim_irq_ctx *irq_ctx = irq_data_get_irq_chip_data(data); in irq_sim_set_irqchip_state() local 82 if (irq_ctx->enabled) { in irq_sim_set_irqchip_state() 83 assign_bit(hwirq, irq_ctx->work_ctx->pending, state); in irq_sim_set_irqchip_state() [all …]
|
/Linux-v5.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-v5.10/arch/sh/kernel/ |
D | irq.c | 60 union irq_ctx { union 65 static union irq_ctx *hardirq_ctx[NR_CPUS] __read_mostly; 66 static union irq_ctx *softirq_ctx[NR_CPUS] __read_mostly; 73 union irq_ctx *curctx, *irqctx; in handle_one_irq() 75 curctx = (union irq_ctx *)current_thread_info(); in handle_one_irq() 121 union irq_ctx *irqctx; in irq_ctx_init() 126 irqctx = (union irq_ctx *)&hardirq_stack[cpu * THREAD_SIZE]; in irq_ctx_init() 134 irqctx = (union irq_ctx *)&softirq_stack[cpu * THREAD_SIZE]; in irq_ctx_init() 154 union irq_ctx *irqctx; in do_softirq_own_stack()
|
/Linux-v5.10/drivers/fpga/ |
D | dfl.c | 409 ddev->irqs[i] = feature->irq_ctx[i].irq; in dfl_dev_add() 829 feature->irq_ctx = ctx; in build_info_commit_dev() 1734 irq = feature->irq_ctx[idx].irq; in do_set_irq_trigger() 1736 if (feature->irq_ctx[idx].trigger) { in do_set_irq_trigger() 1737 free_irq(irq, feature->irq_ctx[idx].trigger); in do_set_irq_trigger() 1738 kfree(feature->irq_ctx[idx].name); in do_set_irq_trigger() 1739 eventfd_ctx_put(feature->irq_ctx[idx].trigger); in do_set_irq_trigger() 1740 feature->irq_ctx[idx].trigger = NULL; in do_set_irq_trigger() 1746 feature->irq_ctx[idx].name = in do_set_irq_trigger() 1749 if (!feature->irq_ctx[idx].name) in do_set_irq_trigger() [all …]
|
D | dfl.h | 247 struct dfl_feature_irq_ctx *irq_ctx; member
|
/Linux-v5.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() 780 mdev->irq_ctx = devm_kcalloc(&pdev->dev, num_users, sizeof(u32), in omap_mbox_probe() 782 if (!mdev->irq_ctx) in omap_mbox_probe()
|
/Linux-v5.10/drivers/scsi/megaraid/ |
D | megaraid_sas_fusion.c | 3640 struct megasas_irq_context *irq_ctx; in megasas_enable_irq_poll() local 3645 irq_ctx = &instance->irq_context[i]; in megasas_enable_irq_poll() 3646 irq_poll_enable(&irq_ctx->irqpoll); in megasas_enable_irq_poll() 3659 struct megasas_irq_context *irq_ctx; in megasas_sync_irqs() local 3665 irq_ctx = &instance->irq_context[i]; in megasas_sync_irqs() 3666 irq_poll_disable(&irq_ctx->irqpoll); in megasas_sync_irqs() 3667 if (irq_ctx->irq_poll_scheduled) { in megasas_sync_irqs() 3668 irq_ctx->irq_poll_scheduled = false; in megasas_sync_irqs() 3669 enable_irq(irq_ctx->os_irq); in megasas_sync_irqs() 3684 struct megasas_irq_context *irq_ctx; in megasas_irqpoll() local [all …]
|
D | megaraid_sas_base.c | 5538 struct megasas_irq_context *irq_ctx; in megasas_setup_irq_poll() local 5545 irq_ctx = &instance->irq_context[i]; in megasas_setup_irq_poll() 5546 irq_ctx->os_irq = pci_irq_vector(instance->pdev, i); in megasas_setup_irq_poll() 5547 irq_ctx->irq_poll_scheduled = false; in megasas_setup_irq_poll() 5548 irq_poll_init(&irq_ctx->irqpoll, in megasas_setup_irq_poll() 5645 struct megasas_irq_context *irq_ctx; in megasas_destroy_irqs() local 5650 irq_ctx = &instance->irq_context[i]; in megasas_destroy_irqs() 5651 irq_poll_disable(&irq_ctx->irqpoll); in megasas_destroy_irqs()
|
/Linux-v5.10/drivers/ide/ |
D | ide-probe.c | 252 int ide_dev_read_id(ide_drive_t *drive, u8 cmd, u16 *id, int irq_ctx) in ide_dev_read_id() argument 269 if (irq_ctx) in ide_dev_read_id() 305 if (irq_ctx) { in ide_dev_read_id()
|