Lines Matching refs:irq_id

67 		int irq_id = mtk_dynamic_irq_acquire(afe);  in mt8186_fe_startup()  local
69 if (irq_id != afe->irqs_size) { in mt8186_fe_startup()
71 memif->irq_usage = irq_id; in mt8186_fe_startup()
90 int irq_id = memif->irq_usage; in mt8186_fe_shutdown() local
97 mtk_dynamic_irq_release(afe, irq_id); in mt8186_fe_shutdown()
162 int irq_id = memif->irq_usage; in mt8186_fe_trigger() local
163 struct mtk_base_afe_irq *irqs = &afe->irqs[irq_id]; in mt8186_fe_trigger()
171 __func__, memif->data->name, cmd, irq_id); in mt8186_fe_trigger()
298 int irq_id = memif->irq_usage; in mt8186_fe_prepare() local
299 struct mtk_base_afe_irq *irqs = &afe->irqs[irq_id]; in mt8186_fe_prepare()
584 int irq_id = memif->irq_usage; in mt8186_irq_cnt1_set() local
588 __func__, irq_id, irq_cnt, ucontrol->value.integer.value[0]); in mt8186_irq_cnt1_set()
596 if (!pm_runtime_status_suspended(afe->dev) && irq_id >= 0) { in mt8186_irq_cnt1_set()
597 struct mtk_base_afe_irq *irqs = &afe->irqs[irq_id]; in mt8186_irq_cnt1_set()
606 __func__, irq_id); in mt8186_irq_cnt1_set()
633 int irq_id = memif->irq_usage; in mt8186_irq_cnt2_set() local
637 __func__, irq_id, irq_cnt, ucontrol->value.integer.value[0]); in mt8186_irq_cnt2_set()
645 if (!pm_runtime_status_suspended(afe->dev) && irq_id >= 0) { in mt8186_irq_cnt2_set()
646 struct mtk_base_afe_irq *irqs = &afe->irqs[irq_id]; in mt8186_irq_cnt2_set()
655 __func__, irq_id); in mt8186_irq_cnt2_set()
2631 static irqreturn_t mt8186_afe_irq_handler(int irq_id, void *dev) in mt8186_afe_irq_handler() argument
2820 int i, ret, irq_id; in mt8186_afe_pcm_dev_probe() local
2881 irq_id = platform_get_irq(pdev, 0); in mt8186_afe_pcm_dev_probe()
2882 if (irq_id <= 0) in mt8186_afe_pcm_dev_probe()
2883 return dev_err_probe(dev, irq_id < 0 ? irq_id : -ENXIO, in mt8186_afe_pcm_dev_probe()
2886 ret = devm_request_irq(dev, irq_id, mt8186_afe_irq_handler, in mt8186_afe_pcm_dev_probe()
2892 ret = enable_irq_wake(irq_id); in mt8186_afe_pcm_dev_probe()
2894 return dev_err_probe(dev, ret, "enable_irq_wake %d\n", irq_id); in mt8186_afe_pcm_dev_probe()