Searched refs:irq_ctx (Results 1 – 5 of 5) sorted by relevance
/Linux-v4.19/drivers/vfio/platform/ |
D | vfio_platform_irq.c | 26 static void vfio_platform_mask(struct vfio_platform_irq *irq_ctx) in vfio_platform_mask() argument 30 spin_lock_irqsave(&irq_ctx->lock, flags); in vfio_platform_mask() 32 if (!irq_ctx->masked) { in vfio_platform_mask() 33 disable_irq_nosync(irq_ctx->hwirq); in vfio_platform_mask() 34 irq_ctx->masked = true; in vfio_platform_mask() 37 spin_unlock_irqrestore(&irq_ctx->lock, flags); in vfio_platform_mask() 42 struct vfio_platform_irq *irq_ctx = opaque; in vfio_platform_mask_handler() local 44 vfio_platform_mask(irq_ctx); in vfio_platform_mask_handler() 86 static void vfio_platform_unmask(struct vfio_platform_irq *irq_ctx) in vfio_platform_unmask() argument 90 spin_lock_irqsave(&irq_ctx->lock, flags); in vfio_platform_unmask() [all …]
|
/Linux-v4.19/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-v4.19/kernel/irq/ |
D | irq_sim.c | 16 struct irq_sim_irq_ctx *irq_ctx = irq_data_get_irq_chip_data(data); in irq_sim_irqmask() local 18 irq_ctx->enabled = false; in irq_sim_irqmask() 23 struct irq_sim_irq_ctx *irq_ctx = irq_data_get_irq_chip_data(data); in irq_sim_irqunmask() local 25 irq_ctx->enabled = true; in irq_sim_irqunmask()
|
/Linux-v4.19/drivers/mailbox/ |
D | omap-mailbox.c | 80 u32 *irq_ctx; member 618 mdev->irq_ctx[usr] = mbox_read_reg(mdev, reg); in omap_mbox_suspend() 634 mbox_write_reg(mdev, mdev->irq_ctx[usr], reg); in omap_mbox_resume() 775 mdev->irq_ctx = devm_kcalloc(&pdev->dev, num_users, sizeof(u32), in omap_mbox_probe() 777 if (!mdev->irq_ctx) in omap_mbox_probe()
|
/Linux-v4.19/drivers/ide/ |
D | ide-probe.c | 251 int ide_dev_read_id(ide_drive_t *drive, u8 cmd, u16 *id, int irq_ctx) in ide_dev_read_id() argument 268 if (irq_ctx) in ide_dev_read_id() 304 if (irq_ctx) { in ide_dev_read_id()
|