Lines Matching refs:irq_ctx

3751 	struct megasas_irq_context *irq_ctx;  in megasas_enable_irq_poll()  local
3756 irq_ctx = &instance->irq_context[i]; in megasas_enable_irq_poll()
3757 irq_poll_enable(&irq_ctx->irqpoll); in megasas_enable_irq_poll()
3770 struct megasas_irq_context *irq_ctx; in megasas_sync_irqs() local
3776 irq_ctx = &instance->irq_context[i]; in megasas_sync_irqs()
3777 irq_poll_disable(&irq_ctx->irqpoll); in megasas_sync_irqs()
3778 if (irq_ctx->irq_poll_scheduled) { in megasas_sync_irqs()
3779 irq_ctx->irq_poll_scheduled = false; in megasas_sync_irqs()
3780 enable_irq(irq_ctx->os_irq); in megasas_sync_irqs()
3781 complete_cmd_fusion(instance, irq_ctx->MSIxIndex, irq_ctx); in megasas_sync_irqs()
3796 struct megasas_irq_context *irq_ctx; in megasas_irqpoll() local
3800 irq_ctx = container_of(irqpoll, struct megasas_irq_context, irqpoll); in megasas_irqpoll()
3801 instance = irq_ctx->instance; in megasas_irqpoll()
3803 if (irq_ctx->irq_line_enable) { in megasas_irqpoll()
3804 disable_irq_nosync(irq_ctx->os_irq); in megasas_irqpoll()
3805 irq_ctx->irq_line_enable = false; in megasas_irqpoll()
3808 num_entries = complete_cmd_fusion(instance, irq_ctx->MSIxIndex, irq_ctx); in megasas_irqpoll()
3811 irq_ctx->irq_poll_scheduled = false; in megasas_irqpoll()
3812 enable_irq(irq_ctx->os_irq); in megasas_irqpoll()
3813 complete_cmd_fusion(instance, irq_ctx->MSIxIndex, irq_ctx); in megasas_irqpoll()
3830 struct megasas_irq_context *irq_ctx = NULL; in megasas_complete_cmd_dpc_fusion() local
3840 irq_ctx = &instance->irq_context[MSIxIndex]; in megasas_complete_cmd_dpc_fusion()
3841 complete_cmd_fusion(instance, MSIxIndex, irq_ctx); in megasas_complete_cmd_dpc_fusion()