Home
last modified time | relevance | path

Searched refs:irq_usage (Results 1 – 13 of 13) sorted by relevance

/linux/sound/soc/mediatek/common/
H A Dmtk-afe-fe-dai.c82 if (memif->irq_usage < 0) { in mtk_afe_fe_startup()
87 memif->irq_usage = irq_id; in mtk_afe_fe_startup()
106 irq_id = memif->irq_usage; in mtk_afe_fe_shutdown()
113 memif->irq_usage = -1; in mtk_afe_fe_shutdown()
204 struct mtk_base_afe_irq *irqs = &afe->irqs[memif->irq_usage]; in mtk_afe_fe_trigger()
H A Dmtk-base-afe.h145 int irq_usage; member
/linux/sound/soc/mediatek/mt7986/
H A Dmt7986-afe-pcm.c371 if (memif->irq_usage < 0) in mt7986_afe_irq_handler()
374 irq = &afe->irqs[memif->irq_usage]; in mt7986_afe_irq_handler()
515 afe->memif[i].irq_usage = -1; in mt7986_afe_pcm_dev_probe()
/linux/sound/soc/mediatek/mt8186/
H A Dmt8186-afe-pcm.c66 if (memif->irq_usage < 0) { 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()
98 memif->irq_usage = -1; in mt8186_fe_shutdown()
162 int irq_id = memif->irq_usage; in mt8186_fe_trigger()
298 int irq_id = memif->irq_usage; in mt8186_fe_prepare()
584 int irq_id = memif->irq_usage; in mt8186_irq_cnt1_set()
633 int irq_id = memif->irq_usage; in mt8186_irq_cnt2_set()
2666 if (memif->irq_usage < 0) in mt8186_afe_irq_handler()
2669 irq = &afe->irqs[memif->irq_usage]; in mt8186_afe_irq_handler()
[all …]
/linux/sound/soc/mediatek/mt8183/
H A Dmt8183-afe-pcm.c959 if (memif->irq_usage < 0) in mt8183_afe_irq_handler()
962 irq = &afe->irqs[memif->irq_usage]; in mt8183_afe_irq_handler()
1159 afe->memif[i].irq_usage = -1; in mt8183_afe_pcm_dev_probe()
1162 afe->memif[MT8183_MEMIF_HDMI].irq_usage = MT8183_IRQ_8; in mt8183_afe_pcm_dev_probe()
/linux/drivers/gpio/
H A Dgpio-omap.c67 u32 irq_usage; member
84 #define BANK_USED(bank) (bank->mod_usage || bank->irq_usage)
422 bank->irq_usage |= BIT(offset); in omap_gpio_init_irq()
636 bank->irq_usage |= BIT(offset); in omap_gpio_irq_startup()
651 bank->irq_usage &= ~(BIT(offset)); in omap_gpio_irq_shutdown()
832 if (!LINE_USED(bank->irq_usage, offset)) { in omap_gpio_free()
/linux/sound/soc/mediatek/mt8173/
H A Dmt8173-afe-pcm.c929 if (memif->irq_usage < 0) in mt8173_afe_irq_handler()
932 irq_p = &afe->irqs[memif->irq_usage]; in mt8173_afe_irq_handler()
1110 afe->memif[i].irq_usage = i; in mt8173_afe_pcm_dev_probe()
/linux/sound/soc/mediatek/mt8365/
H A Dmt8365-afe-pcm.c710 mt8365_afe_irq_direction_enable(afe, memif->irq_usage, in mt8365_afe_fe_prepare()
1941 if (memif->irq_usage < 0) in mt8365_afe_irq_handler()
1944 mcu_irq = &afe->irqs[memif->irq_usage]; in mt8365_afe_irq_handler()
2191 afe->memif[i].irq_usage = sel_irq; in mt8365_afe_pcm_dev_probe()
2195 afe->memif[i].irq_usage = -1; in mt8365_afe_pcm_dev_probe()
/linux/sound/soc/mediatek/mt6797/
H A Dmt6797-afe-pcm.c633 irq = &afe->irqs[memif->irq_usage]; in mt6797_afe_irq_handler()
781 afe->memif[i].irq_usage = -1; in mt6797_afe_pcm_dev_probe()
/linux/sound/soc/mediatek/mt2701/
H A Dmt2701-afe-pcm.c1287 if (memif->irq_usage < 0) in mt2701_asys_isr()
1290 irq = &afe->irqs[memif->irq_usage]; in mt2701_asys_isr()
1368 afe->memif[i].irq_usage = -1; in mt2701_afe_pcm_dev_probe()
/linux/sound/soc/mediatek/mt8188/
H A Dmt8188-afe-pcm.c365 struct mtk_base_afe_irq *irqs = &afe->irqs[memif->irq_usage]; in mt8188_afe_fe_trigger()
2963 if (memif->irq_usage < 0) in mt8188_afe_irq_handler()
2966 irq_data = afe->irqs[memif->irq_usage].irq_data; in mt8188_afe_irq_handler()
3268 afe->memif[i].irq_usage = mt8188_afe_memif_const_irqs[i]; in mt8188_afe_pcm_dev_probe()
3270 afe->irqs[afe->memif[i].irq_usage].irq_occupyed = true; in mt8188_afe_pcm_dev_probe()
/linux/sound/soc/mediatek/mt8195/
H A Dmt8195-afe-pcm.c2881 if (memif->irq_usage < 0) in mt8195_afe_irq_handler()
2884 irq_data = afe->irqs[memif->irq_usage].irq_data; in mt8195_afe_irq_handler()
3079 afe->memif[i].irq_usage = mt8195_afe_memif_const_irqs[i]; in mt8195_afe_pcm_dev_probe()
3081 afe->irqs[afe->memif[i].irq_usage].irq_occupyed = true; in mt8195_afe_pcm_dev_probe()
/linux/sound/soc/mediatek/mt8192/
H A Dmt8192-afe-pcm.c2033 if (memif->irq_usage < 0) in mt8192_afe_irq_handler()
2036 irq = &afe->irqs[memif->irq_usage]; in mt8192_afe_irq_handler()
2236 afe->memif[i].irq_usage = memif_irq_usage[i]; in mt8192_afe_pcm_dev_probe()