Lines Matching refs:irq_ctx
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()
3797 struct megasas_irq_context *irq_ctx; in megasas_irqpoll() local
3801 irq_ctx = container_of(irqpoll, struct megasas_irq_context, irqpoll); in megasas_irqpoll()
3802 instance = irq_ctx->instance; in megasas_irqpoll()
3804 if (irq_ctx->irq_line_enable) { in megasas_irqpoll()
3805 disable_irq_nosync(irq_ctx->os_irq); in megasas_irqpoll()
3806 irq_ctx->irq_line_enable = false; in megasas_irqpoll()
3809 num_entries = complete_cmd_fusion(instance, irq_ctx->MSIxIndex, irq_ctx); in megasas_irqpoll()
3812 irq_ctx->irq_poll_scheduled = false; in megasas_irqpoll()
3813 enable_irq(irq_ctx->os_irq); in megasas_irqpoll()
3814 complete_cmd_fusion(instance, irq_ctx->MSIxIndex, irq_ctx); in megasas_irqpoll()
3831 struct megasas_irq_context *irq_ctx = NULL; in megasas_complete_cmd_dpc_fusion() local
3841 irq_ctx = &instance->irq_context[MSIxIndex]; in megasas_complete_cmd_dpc_fusion()
3842 complete_cmd_fusion(instance, MSIxIndex, irq_ctx); in megasas_complete_cmd_dpc_fusion()