Home
last modified time | relevance | path

Searched refs:irq_data (Results 1 – 17 of 17) sorted by relevance

/sound/soc/mediatek/common/
Dmtk-afe-fe-dai.c205 const struct mtk_base_irq_data *irq_data = irqs->irq_data; in mtk_afe_fe_trigger() local
223 mtk_regmap_update_bits(afe->regmap, irq_data->irq_cnt_reg, in mtk_afe_fe_trigger()
224 irq_data->irq_cnt_maskbit, counter, in mtk_afe_fe_trigger()
225 irq_data->irq_cnt_shift); in mtk_afe_fe_trigger()
233 mtk_regmap_update_bits(afe->regmap, irq_data->irq_fs_reg, in mtk_afe_fe_trigger()
234 irq_data->irq_fs_maskbit, fs, in mtk_afe_fe_trigger()
235 irq_data->irq_fs_shift); in mtk_afe_fe_trigger()
238 mtk_regmap_update_bits(afe->regmap, irq_data->irq_en_reg, in mtk_afe_fe_trigger()
239 1, 1, irq_data->irq_en_shift); in mtk_afe_fe_trigger()
251 mtk_regmap_update_bits(afe->regmap, irq_data->irq_en_reg, in mtk_afe_fe_trigger()
[all …]
Dmtk-base-afe.h134 const struct mtk_base_irq_data *irq_data; member
/sound/soc/mediatek/mt8186/
Dmt8186-afe-pcm.c164 const struct mtk_base_irq_data *irq_data = irqs->irq_data; in mt8186_fe_trigger() local
197 regmap_update_bits(afe->regmap, irq_data->irq_cnt_reg, in mt8186_fe_trigger()
198 irq_data->irq_cnt_maskbit in mt8186_fe_trigger()
199 << irq_data->irq_cnt_shift, in mt8186_fe_trigger()
200 counter << irq_data->irq_cnt_shift); in mt8186_fe_trigger()
207 regmap_update_bits(afe->regmap, irq_data->irq_fs_reg, in mt8186_fe_trigger()
208 irq_data->irq_fs_maskbit in mt8186_fe_trigger()
209 << irq_data->irq_fs_shift, in mt8186_fe_trigger()
210 fs << irq_data->irq_fs_shift); in mt8186_fe_trigger()
215 irq_data->irq_en_reg, in mt8186_fe_trigger()
[all …]
/sound/soc/amd/
Dacp-pcm-dma.c694 struct audio_drv_data *irq_data; in dma_irq_handler() local
699 irq_data = dev_get_drvdata(dev); in dma_irq_handler()
700 acp_mmio = irq_data->acp_mmio; in dma_irq_handler()
709 snd_pcm_period_elapsed(irq_data->play_i2ssp_stream); in dma_irq_handler()
716 snd_pcm_period_elapsed(irq_data->play_i2s_micsp_stream); in dma_irq_handler()
723 snd_pcm_period_elapsed(irq_data->play_i2sbt_stream); in dma_irq_handler()
740 snd_pcm_period_elapsed(irq_data->capture_i2ssp_stream); in dma_irq_handler()
758 snd_pcm_period_elapsed(irq_data->capture_i2sbt_stream); in dma_irq_handler()
/sound/pci/hda/
Dcs35l41_hda.h66 struct regmap_irq_chip_data *irq_data; member
Dcs35l41_hda.c1143 0, &cs35l41_regmap_irq_chip, &cs35l41->irq_data); in cs35l41_hda_apply_properties()
1148 irq = regmap_irq_get_virq(cs35l41->irq_data, cs35l41_irqs[i].irq); in cs35l41_hda_apply_properties()
/sound/soc/mediatek/mt6797/
Dmt6797-afe-pcm.c527 static const struct mtk_base_irq_data irq_data[MT6797_IRQ_NUM] = { variable
635 if (status & (1 << irq->irq_data->irq_en_shift)) in mt6797_afe_irq_handler()
806 afe->irqs[i].irq_data = &irq_data[i]; in mt6797_afe_pcm_dev_probe()
/sound/soc/mediatek/mt8183/
Dmt8183-afe-pcm.c619 static const struct mtk_base_irq_data irq_data[MT8183_IRQ_NUM] = { variable
964 if (status_mcu & (1 << irq->irq_data->irq_en_shift)) in mt8183_afe_irq_handler()
1190 afe->irqs[i].irq_data = &irq_data[i]; in mt8183_afe_pcm_dev_probe()
/sound/soc/mediatek/mt8173/
Dmt8173-afe-pcm.c816 static const struct mtk_base_irq_data irq_data[MT8173_AFE_IRQ_NUM] = { variable
934 if (!(reg_value & (1 << irq_p->irq_data->irq_clr_shift))) in mt8173_afe_irq_handler()
1108 afe->irqs[i].irq_data = &irq_data[i]; in mt8173_afe_pcm_dev_probe()
/sound/soc/mediatek/mt2701/
Dmt2701-afe-pcm.c1214 static const struct mtk_base_irq_data irq_data[MT2701_IRQ_ASYS_END] = { variable
1293 if (status & 1 << irq->irq_data->irq_clr_shift) in mt2701_asys_isr()
1381 afe->irqs[i].irq_data = &irq_data[i]; in mt2701_afe_pcm_dev_probe()
/sound/soc/mediatek/mt8195/
Dmt8195-afe-pcm.c2883 struct mtk_base_irq_data const *irq_data; in mt8195_afe_irq_handler() local
2888 irq_data = afe->irqs[memif->irq_usage].irq_data; in mt8195_afe_irq_handler()
2890 irq_status_bits = BIT(irq_data->irq_status_shift); in mt8195_afe_irq_handler()
2891 irq_clr_bits = BIT(irq_data->irq_clr_shift); in mt8195_afe_irq_handler()
2896 if (irq_data->irq_clr_reg == ASYS_IRQ_CLR) in mt8195_afe_irq_handler()
3123 afe->irqs[i].irq_data = &irq_data_array[i]; in mt8195_afe_pcm_dev_probe()
/sound/soc/codecs/
Dwm8903.c1914 struct irq_data *irq_data = irq_get_irq_data(i2c->irq); in wm8903_set_pdata_irq_trigger() local
1915 if (!irq_data) { in wm8903_set_pdata_irq_trigger()
1921 switch (irqd_get_trigger_type(irq_data)) { in wm8903_set_pdata_irq_trigger()
Dwcd934x.c3019 intr_ids->mbhc_sw_intr = regmap_irq_get_virq(data->irq_data, in wcd934x_mbhc_init()
3021 intr_ids->mbhc_btn_press_intr = regmap_irq_get_virq(data->irq_data, in wcd934x_mbhc_init()
3023 intr_ids->mbhc_btn_release_intr = regmap_irq_get_virq(data->irq_data, in wcd934x_mbhc_init()
3025 intr_ids->mbhc_hs_ins_intr = regmap_irq_get_virq(data->irq_data, in wcd934x_mbhc_init()
3027 intr_ids->mbhc_hs_rem_intr = regmap_irq_get_virq(data->irq_data, in wcd934x_mbhc_init()
3029 intr_ids->hph_left_ocp = regmap_irq_get_virq(data->irq_data, in wcd934x_mbhc_init()
3031 intr_ids->hph_right_ocp = regmap_irq_get_virq(data->irq_data, in wcd934x_mbhc_init()
5941 irq = regmap_irq_get_virq(data->irq_data, WCD934X_IRQ_SLIMBUS); in wcd934x_codec_probe()
Drt5677.c5434 static void rt5677_irq_bus_lock(struct irq_data *data) in rt5677_irq_bus_lock()
5441 static void rt5677_irq_bus_sync_unlock(struct irq_data *data) in rt5677_irq_bus_sync_unlock()
5452 static void rt5677_irq_enable(struct irq_data *data) in rt5677_irq_enable()
5459 static void rt5677_irq_disable(struct irq_data *data) in rt5677_irq_disable()
Dwcd9335.c306 struct regmap_irq_chip_data *irq_data; member
4044 irq = regmap_irq_get_virq(wcd->irq_data, wcd9335_irqs[i].irq); in wcd9335_setup_irqs()
5150 &wcd9335_regmap_irq1_chip, &wcd->irq_data); in wcd9335_irq_init()
Dcs35l36.c1708 struct irq_data *irq_d; in cs35l36_i2c_probe()
/sound/soc/mediatek/mt8192/
Dmt8192-afe-pcm.c1358 static const struct mtk_base_irq_data irq_data[MT8192_IRQ_NUM] = { variable
2038 if (status_mcu & (1 << irq->irq_data->irq_en_shift)) in mt8192_afe_irq_handler()
2284 afe->irqs[i].irq_data = &irq_data[i]; in mt8192_afe_pcm_dev_probe()