Home
last modified time | relevance | path

Searched full:afe (Results 1 – 25 of 227) sorted by relevance

12345678910

/Linux-v6.1/sound/soc/mediatek/common/
Dmtk-afe-fe-dai.c3 * mtk-afe-fe-dais.c -- Mediatek afe fe dai operator
14 #include "mtk-afe-platform-driver.h"
16 #include "mtk-afe-fe-dai.h"
17 #include "mtk-base-afe.h"
41 struct mtk_base_afe *afe = snd_soc_dai_get_drvdata(dai); in mtk_afe_fe_startup() local
44 struct mtk_base_afe_memif *memif = &afe->memif[memif_num]; in mtk_afe_fe_startup()
45 const struct snd_pcm_hardware *mtk_afe_hardware = afe->mtk_afe_hardware; in mtk_afe_fe_startup()
53 mtk_regmap_update_bits(afe->regmap, memif->data->agent_disable_reg, in mtk_afe_fe_startup()
60 * smaller than period_size due to AFE's internal buffer. in mtk_afe_fe_startup()
71 dev_err(afe->dev, "hw_constraint_minmax failed\n"); in mtk_afe_fe_startup()
[all …]
Dmtk-afe-platform-driver.c3 * mtk-afe-platform-driver.c -- Mediatek afe platform driver
13 #include "mtk-afe-platform-driver.h"
14 #include "mtk-base-afe.h"
16 int mtk_afe_combine_sub_dai(struct mtk_base_afe *afe) in mtk_afe_combine_sub_dai() argument
22 list_for_each_entry(dai, &afe->sub_dais, list) { in mtk_afe_combine_sub_dai()
26 dev_info(afe->dev, "%s(), num of dai %zd\n", __func__, num_dai_drivers); in mtk_afe_combine_sub_dai()
29 afe->num_dai_drivers = num_dai_drivers; in mtk_afe_combine_sub_dai()
30 afe->dai_drivers = devm_kcalloc(afe->dev, in mtk_afe_combine_sub_dai()
34 if (!afe->dai_drivers) in mtk_afe_combine_sub_dai()
37 list_for_each_entry(dai, &afe->sub_dais, list) { in mtk_afe_combine_sub_dai()
[all …]
/Linux-v6.1/sound/soc/mediatek/mt8195/
Dmt8195-afe-clk.c3 * mt8195-afe-clk.c -- Mediatek 8195 afe clock ctrl
12 #include "mt8195-afe-common.h"
13 #include "mt8195-afe-clk.h"
41 /* afe clock gate */
217 static int mt8195_afe_setup_apll_tuner(struct mtk_base_afe *afe, in mt8195_afe_setup_apll_tuner() argument
225 regmap_update_bits(afe->regmap, cfg->apll_div_reg, in mt8195_afe_setup_apll_tuner()
229 regmap_update_bits(afe->regmap, cfg->ref_ck_sel_reg, in mt8195_afe_setup_apll_tuner()
233 regmap_update_bits(afe->regmap, cfg->upper_bound_reg, in mt8195_afe_setup_apll_tuner()
240 static int mt8195_afe_enable_tuner_clk(struct mtk_base_afe *afe, in mt8195_afe_enable_tuner_clk() argument
243 struct mt8195_afe_private *afe_priv = afe->platform_priv; in mt8195_afe_enable_tuner_clk()
[all …]
Dmt8195-dai-adda.c12 #include "mt8195-afe-clk.h"
13 #include "mt8195-afe-common.h"
66 static unsigned int afe_adda_dl_rate_transform(struct mtk_base_afe *afe, in afe_adda_dl_rate_transform() argument
93 dev_info(afe->dev, "%s(), rate %d invalid, use 48kHz!!!\n", in afe_adda_dl_rate_transform()
99 static unsigned int afe_adda_ul_rate_transform(struct mtk_base_afe *afe, in afe_adda_ul_rate_transform() argument
116 dev_info(afe->dev, "%s(), rate %d invalid, use 48kHz!!!\n", in afe_adda_ul_rate_transform()
122 static int mt8195_adda_mtkaif_init(struct mtk_base_afe *afe) in mt8195_adda_mtkaif_init() argument
124 struct mt8195_afe_private *afe_priv = afe->platform_priv; in mt8195_adda_mtkaif_init()
135 regmap_update_bits(afe->regmap, AFE_ADDA_MTKAIF_CFG0, mask, val); in mt8195_adda_mtkaif_init()
136 regmap_update_bits(afe->regmap, AFE_ADDA6_MTKAIF_CFG0, mask, val); in mt8195_adda_mtkaif_init()
[all …]
Dmt8195-afe-clk.h3 * mt8195-afe-clk.h -- Mediatek 8195 afe clock ctrl definition
101 int mt8195_afe_get_mclk_source_rate(struct mtk_base_afe *afe, int apll);
103 int mt8195_afe_init_clock(struct mtk_base_afe *afe);
104 void mt8195_afe_deinit_clock(struct mtk_base_afe *afe);
105 int mt8195_afe_enable_clk(struct mtk_base_afe *afe, struct clk *clk);
106 void mt8195_afe_disable_clk(struct mtk_base_afe *afe, struct clk *clk);
107 int mt8195_afe_prepare_clk(struct mtk_base_afe *afe, struct clk *clk);
108 void mt8195_afe_unprepare_clk(struct mtk_base_afe *afe, struct clk *clk);
109 int mt8195_afe_enable_clk_atomic(struct mtk_base_afe *afe, struct clk *clk);
110 void mt8195_afe_disable_clk_atomic(struct mtk_base_afe *afe, struct clk *clk);
[all …]
/Linux-v6.1/sound/soc/mediatek/mt8186/
Dmt8186-afe-clk.c3 // mt8186-afe-clk.c -- Mediatek 8186 afe clock ctrl
12 #include "mt8186-afe-common.h"
13 #include "mt8186-afe-clk.h"
75 int mt8186_set_audio_int_bus_parent(struct mtk_base_afe *afe, in mt8186_set_audio_int_bus_parent() argument
78 struct mt8186_afe_private *afe_priv = afe->platform_priv; in mt8186_set_audio_int_bus_parent()
84 dev_err(afe->dev, "%s clk_set_parent %s-%s fail %d\n", in mt8186_set_audio_int_bus_parent()
93 static int apll1_mux_setting(struct mtk_base_afe *afe, bool enable) in apll1_mux_setting() argument
95 struct mt8186_afe_private *afe_priv = afe->platform_priv; in apll1_mux_setting()
101 dev_err(afe->dev, "%s clk_prepare_enable %s fail %d\n", in apll1_mux_setting()
108 dev_err(afe->dev, "%s clk_set_parent %s-%s fail %d\n", in apll1_mux_setting()
[all …]
Dmt8186-dai-adda.c10 #include "mt8186-afe-clk.h"
11 #include "mt8186-afe-common.h"
12 #include "mt8186-afe-gpio.h"
72 static struct mtk_afe_adda_priv *get_adda_priv_by_name(struct mtk_base_afe *afe, in get_adda_priv_by_name() argument
75 struct mt8186_afe_private *afe_priv = afe->platform_priv; in get_adda_priv_by_name()
86 static unsigned int adda_dl_rate_transform(struct mtk_base_afe *afe, in adda_dl_rate_transform() argument
113 dev_info(afe->dev, "%s(), rate %d invalid, use 48kHz!!!\n", in adda_dl_rate_transform()
120 static unsigned int adda_ul_rate_transform(struct mtk_base_afe *afe, in adda_ul_rate_transform() argument
137 dev_info(afe->dev, "%s(), rate %d invalid, use 48kHz!!!\n", in adda_ul_rate_transform()
208 static int mtk_adda_ul_src_dmic(struct mtk_base_afe *afe, int id) in mtk_adda_ul_src_dmic() argument
[all …]
Dmt8186-dai-tdm.c11 #include "mt8186-afe-clk.h"
12 #include "mt8186-afe-common.h"
13 #include "mt8186-afe-gpio.h"
104 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mtk_tdm_en_event() local
105 struct mt8186_afe_private *afe_priv = afe->platform_priv; in mtk_tdm_en_event()
114 mt8186_afe_gpio_request(afe->dev, true, tdm_priv->id, 0); in mtk_tdm_en_event()
117 mt8186_afe_gpio_request(afe->dev, false, tdm_priv->id, 0); in mtk_tdm_en_event()
131 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mtk_tdm_mck_en_event() local
132 struct mt8186_afe_private *afe_priv = afe->platform_priv; in mtk_tdm_mck_en_event()
141 mt8186_mck_enable(afe, tdm_priv->mclk_id, tdm_priv->mclk_rate); in mtk_tdm_mck_en_event()
[all …]
Dmt8186-afe-clk.h3 * mt8186-afe-clk.h -- Mediatek 8186 afe clock ctrl definition
82 int mt8186_set_audio_int_bus_parent(struct mtk_base_afe *afe, int clk_id);
83 int mt8186_init_clock(struct mtk_base_afe *afe);
85 int mt8186_afe_enable_cgs(struct mtk_base_afe *afe);
86 void mt8186_afe_disable_cgs(struct mtk_base_afe *afe);
87 int mt8186_afe_enable_clock(struct mtk_base_afe *afe);
88 void mt8186_afe_disable_clock(struct mtk_base_afe *afe);
89 int mt8186_afe_suspend_clock(struct mtk_base_afe *afe);
90 int mt8186_afe_resume_clock(struct mtk_base_afe *afe);
92 int mt8186_apll1_enable(struct mtk_base_afe *afe);
[all …]
Dmt8186-dai-i2s.c11 #include "mt8186-afe-clk.h"
12 #include "mt8186-afe-common.h"
13 #include "mt8186-afe-gpio.h"
76 static int get_i2s_id_by_name(struct mtk_base_afe *afe, in get_i2s_id_by_name() argument
91 static struct mtk_afe_i2s_priv *get_i2s_priv_by_name(struct mtk_base_afe *afe, in get_i2s_priv_by_name() argument
94 struct mt8186_afe_private *afe_priv = afe->platform_priv; in get_i2s_priv_by_name()
95 int dai_id = get_i2s_id_by_name(afe, name); in get_i2s_priv_by_name()
117 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mt8186_i2s_hd_get() local
120 i2s_priv = get_i2s_priv_by_name(afe, kcontrol->id.name); in mt8186_i2s_hd_get()
130 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mt8186_i2s_hd_set() local
[all …]
/Linux-v6.1/sound/soc/mediatek/mt2701/
Dmt2701-afe-clock-ctrl.c3 * mt2701-afe-clock-ctrl.c -- Mediatek 2701 afe clock ctrl
10 #include "mt2701-afe-common.h"
11 #include "mt2701-afe-clock-ctrl.h"
25 int mt2701_init_clock(struct mtk_base_afe *afe) in mt2701_init_clock() argument
27 struct mt2701_afe_private *afe_priv = afe->platform_priv; in mt2701_init_clock()
31 afe_priv->base_ck[i] = devm_clk_get(afe->dev, base_clks[i]); in mt2701_init_clock()
33 dev_err(afe->dev, "failed to get %s\n", base_clks[i]); in mt2701_init_clock()
45 i2s_path->sel_ck = devm_clk_get(afe->dev, name); in mt2701_init_clock()
47 dev_err(afe->dev, "failed to get %s\n", name); in mt2701_init_clock()
52 i2s_path->div_ck = devm_clk_get(afe->dev, name); in mt2701_init_clock()
[all …]
Dmt2701-afe-pcm.c3 * Mediatek ALSA SoC AFE platform driver for 2701
19 #include "mt2701-afe-common.h"
20 #include "mt2701-afe-clock-ctrl.h"
21 #include "../common/mtk-afe-platform-driver.h"
22 #include "../common/mtk-afe-fe-dai.h"
84 static int mt2701_dai_num_to_i2s(struct mtk_base_afe *afe, int num) in mt2701_dai_num_to_i2s() argument
86 struct mt2701_afe_private *afe_priv = afe->platform_priv; in mt2701_dai_num_to_i2s()
90 dev_err(afe->dev, "%s, num not available, num %d, val %d\n", in mt2701_dai_num_to_i2s()
111 struct mtk_base_afe *afe = snd_soc_dai_get_drvdata(dai); in mt2701_afe_i2s_startup() local
112 struct mt2701_afe_private *afe_priv = afe->platform_priv; in mt2701_afe_i2s_startup()
[all …]
/Linux-v6.1/drivers/media/i2c/adv748x/
Dadv748x-afe.c3 * Driver for Analog Devices ADV748X 8 channel analog front end (AFE) receiver
55 static int adv748x_afe_status(struct adv748x_afe *afe, u32 *signal, in adv748x_afe_status() argument
58 struct adv748x_state *state = adv748x_afe_to_state(afe); in adv748x_afe_status()
112 static void adv748x_afe_fill_format(struct adv748x_afe *afe, in adv748x_afe_fill_format() argument
122 fmt->height = afe->curr_norm & V4L2_STD_525_60 ? 480 : 576; in adv748x_afe_fill_format()
157 int adv748x_afe_s_input(struct adv748x_afe *afe, unsigned int input) in adv748x_afe_s_input() argument
159 struct adv748x_state *state = adv748x_afe_to_state(afe); in adv748x_afe_s_input()
167 struct adv748x_afe *afe = adv748x_sd_to_afe(sd); in adv748x_afe_g_pixelaspect() local
169 if (afe->curr_norm & V4L2_STD_525_60) { in adv748x_afe_g_pixelaspect()
186 struct adv748x_afe *afe = adv748x_sd_to_afe(sd); in adv748x_afe_g_std() local
[all …]
/Linux-v6.1/sound/soc/mediatek/mt8192/
Dmt8192-afe-clk.c3 // mt8192-afe-clk.c -- Mediatek 8192 afe clock ctrl
14 #include "mt8192-afe-clk.h"
15 #include "mt8192-afe-common.h"
63 int mt8192_set_audio_int_bus_parent(struct mtk_base_afe *afe, in mt8192_set_audio_int_bus_parent() argument
66 struct mt8192_afe_private *afe_priv = afe->platform_priv; in mt8192_set_audio_int_bus_parent()
72 dev_err(afe->dev, "%s clk_set_parent %s-%s fail %d\n", in mt8192_set_audio_int_bus_parent()
80 static int apll1_mux_setting(struct mtk_base_afe *afe, bool enable) in apll1_mux_setting() argument
82 struct mt8192_afe_private *afe_priv = afe->platform_priv; in apll1_mux_setting()
88 dev_err(afe->dev, "%s clk_prepare_enable %s fail %d\n", in apll1_mux_setting()
95 dev_err(afe->dev, "%s clk_set_parent %s-%s fail %d\n", in apll1_mux_setting()
[all …]
Dmt8192-dai-adda.c12 #include "mt8192-afe-clk.h"
13 #include "mt8192-afe-common.h"
14 #include "mt8192-afe-gpio.h"
69 static unsigned int adda_dl_rate_transform(struct mtk_base_afe *afe, in adda_dl_rate_transform() argument
96 dev_warn(afe->dev, "%s(), rate %d invalid, use 48kHz!!!\n", in adda_dl_rate_transform()
102 static unsigned int adda_ul_rate_transform(struct mtk_base_afe *afe, in adda_ul_rate_transform() argument
119 dev_warn(afe->dev, "%s(), rate %d invalid, use 48kHz!!!\n", in adda_ul_rate_transform()
259 static int mtk_adda_ul_src_dmic(struct mtk_base_afe *afe, int id) in mtk_adda_ul_src_dmic() argument
277 regmap_update_bits(afe->regmap, reg, in mtk_adda_ul_src_dmic()
280 regmap_update_bits(afe->regmap, reg, in mtk_adda_ul_src_dmic()
[all …]
/Linux-v6.1/drivers/iio/health/
Dafe4403.c141 struct afe4403_data *afe = iio_priv(indio_dev); in afe440x_show_register() local
147 ret = regmap_field_read(afe->fields[afe440x_attr->field], &reg_val); in afe440x_show_register()
165 struct afe4403_data *afe = iio_priv(indio_dev); in afe440x_store_register() local
180 ret = regmap_field_write(afe->fields[afe440x_attr->field], val); in afe440x_store_register()
217 static int afe4403_read(struct afe4403_data *afe, unsigned int reg, u32 *val) in afe4403_read() argument
224 ret = spi_write_then_read(afe->spi, tx, 4, NULL, 0); in afe4403_read()
228 ret = spi_write_then_read(afe->spi, &reg, 1, rx, sizeof(rx)); in afe4403_read()
236 ret = spi_write_then_read(afe->spi, tx, 4, NULL, 0); in afe4403_read()
247 struct afe4403_data *afe = iio_priv(indio_dev); in afe4403_read_raw() local
256 ret = afe4403_read(afe, reg, val); in afe4403_read_raw()
[all …]
Dafe4404.c172 struct afe4404_data *afe = iio_priv(indio_dev); in afe440x_show_register() local
178 ret = regmap_field_read(afe->fields[afe440x_attr->field], &reg_val); in afe440x_show_register()
196 struct afe4404_data *afe = iio_priv(indio_dev); in afe440x_store_register() local
211 ret = regmap_field_write(afe->fields[afe440x_attr->field], val); in afe440x_store_register()
252 struct afe4404_data *afe = iio_priv(indio_dev); in afe4404_read_raw() local
261 ret = regmap_read(afe->regmap, value_reg, val); in afe4404_read_raw()
267 ret = regmap_field_read(afe->fields[offdac_field], val); in afe4404_read_raw()
277 ret = regmap_field_read(afe->fields[led_field], val); in afe4404_read_raw()
298 struct afe4404_data *afe = iio_priv(indio_dev); in afe4404_write_raw() local
306 return regmap_field_write(afe->fields[offdac_field], val); in afe4404_write_raw()
[all …]
/Linux-v6.1/sound/soc/mediatek/mt8173/
Dmt8173-afe-pcm.c3 * Mediatek 8173 ALSA SoC AFE platform driver
19 #include "mt8173-afe-common.h"
20 #include "../common/mtk-base-afe.h"
21 #include "../common/mtk-afe-platform-driver.h"
22 #include "../common/mtk-afe-fe-dai.h"
196 static int mt8173_afe_set_i2s(struct mtk_base_afe *afe, unsigned int rate) in mt8173_afe_set_i2s() argument
205 regmap_update_bits(afe->regmap, AFE_ADDA_TOP_CON0, 0x1, 0x1); in mt8173_afe_set_i2s()
206 regmap_update_bits(afe->regmap, AFE_ADDA2_TOP_CON0, 0x1, 0x1); in mt8173_afe_set_i2s()
213 regmap_update_bits(afe->regmap, AFE_I2S_CON2, ~AFE_I2S_CON2_EN, val); in mt8173_afe_set_i2s()
220 regmap_update_bits(afe->regmap, AFE_I2S_CON1, ~AFE_I2S_CON1_EN, val); in mt8173_afe_set_i2s()
[all …]
/Linux-v6.1/sound/soc/mediatek/mt8183/
Dmt8183-afe-clk.c3 // mt8183-afe-clk.c -- Mediatek 8183 afe clock ctrl
10 #include "mt8183-afe-common.h"
11 #include "mt8183-afe-clk.h"
92 int mt8183_init_clock(struct mtk_base_afe *afe) in mt8183_init_clock() argument
94 struct mt8183_afe_private *afe_priv = afe->platform_priv; in mt8183_init_clock()
97 afe_priv->clk = devm_kcalloc(afe->dev, CLK_NUM, sizeof(*afe_priv->clk), in mt8183_init_clock()
103 afe_priv->clk[i] = devm_clk_get(afe->dev, aud_clks[i]); in mt8183_init_clock()
105 dev_err(afe->dev, "%s(), devm_clk_get %s fail, ret %ld\n", in mt8183_init_clock()
115 int mt8183_afe_enable_clock(struct mtk_base_afe *afe) in mt8183_afe_enable_clock() argument
117 struct mt8183_afe_private *afe_priv = afe->platform_priv; in mt8183_afe_enable_clock()
[all …]
Dmt8183-dai-adda.c10 #include "mt8183-afe-common.h"
50 static unsigned int adda_dl_rate_transform(struct mtk_base_afe *afe, in adda_dl_rate_transform() argument
77 dev_warn(afe->dev, "%s(), rate %d invalid, use 48kHz!!!\n", in adda_dl_rate_transform()
83 static unsigned int adda_ul_rate_transform(struct mtk_base_afe *afe, in adda_ul_rate_transform() argument
100 dev_warn(afe->dev, "%s(), rate %d invalid, use 48kHz!!!\n", in adda_ul_rate_transform()
147 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mtk_adda_ul_event() local
148 struct mt8183_afe_private *afe_priv = afe->platform_priv; in mtk_adda_ul_event()
150 dev_dbg(afe->dev, "%s(), name %s, event 0x%x\n", in mtk_adda_ul_event()
158 regmap_update_bits(afe->regmap, AFE_ADDA_MTKAIF_RX_CFG0, in mtk_adda_ul_event()
162 regmap_update_bits(afe->regmap, AFE_ADDA_MTKAIF_RX_CFG0, in mtk_adda_ul_event()
[all …]
Dmt8183-afe-pcm.c3 // Mediatek ALSA SoC AFE platform driver for 8183
16 #include "mt8183-afe-common.h"
17 #include "mt8183-afe-clk.h"
20 #include "../common/mtk-afe-platform-driver.h"
21 #include "../common/mtk-afe-fe-dai.h"
148 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(component); in mt8183_memif_fs() local
151 return mt8183_rate_transform(afe->dev, rate, id); in mt8183_memif_fs()
159 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(component); in mt8183_irq_fs() local
161 return mt8183_general_rate_transform(afe->dev, rate); in mt8183_irq_fs()
424 .name = "mt8183-afe-pcm-dai",
[all …]
Dmt8183-dai-i2s.c11 #include "mt8183-afe-clk.h"
12 #include "mt8183-afe-common.h"
79 static int get_i2s_id_by_name(struct mtk_base_afe *afe, in get_i2s_id_by_name() argument
96 static struct mtk_afe_i2s_priv *get_i2s_priv_by_name(struct mtk_base_afe *afe, in get_i2s_priv_by_name() argument
99 struct mt8183_afe_private *afe_priv = afe->platform_priv; in get_i2s_priv_by_name()
100 int dai_id = get_i2s_id_by_name(afe, name); in get_i2s_priv_by_name()
122 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mt8183_i2s_hd_get() local
125 i2s_priv = get_i2s_priv_by_name(afe, kcontrol->id.name); in mt8183_i2s_hd_get()
128 dev_warn(afe->dev, "%s(), i2s_priv == NULL", __func__); in mt8183_i2s_hd_get()
141 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mt8183_i2s_hd_set() local
[all …]
Dmt8183-afe-clk.h3 * mt8183-afe-clk.h -- Mediatek 8183 afe clock ctrl definition
22 int mt8183_init_clock(struct mtk_base_afe *afe);
23 int mt8183_afe_enable_clock(struct mtk_base_afe *afe);
24 int mt8183_afe_disable_clock(struct mtk_base_afe *afe);
26 int mt8183_apll1_enable(struct mtk_base_afe *afe);
27 void mt8183_apll1_disable(struct mtk_base_afe *afe);
29 int mt8183_apll2_enable(struct mtk_base_afe *afe);
30 void mt8183_apll2_disable(struct mtk_base_afe *afe);
32 int mt8183_get_apll_rate(struct mtk_base_afe *afe, int apll);
33 int mt8183_get_apll_by_rate(struct mtk_base_afe *afe, int rate);
[all …]
/Linux-v6.1/sound/soc/mediatek/mt6797/
Dmt6797-afe-pcm.c3 // Mediatek ALSA SoC AFE platform driver for 6797
15 #include "mt6797-afe-common.h"
16 #include "mt6797-afe-clk.h"
19 #include "../common/mtk-afe-platform-driver.h"
20 #include "../common/mtk-afe-fe-dai.h"
145 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(component); in mt6797_memif_fs() local
148 return mt6797_rate_transform(afe->dev, rate, id); in mt6797_memif_fs()
156 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(component); in mt6797_irq_fs() local
158 return mt6797_general_rate_transform(afe->dev, rate); in mt6797_irq_fs()
385 .name = "mt6797-afe-pcm-dai",
[all …]
/Linux-v6.1/sound/soc/qcom/qdsp6/
Dq6afe.c26 /* AFE CMDs */
308 /* AFE WSA Codec DMA Rx port 0 */
310 /* AFE WSA Codec DMA Tx port 0 */
312 /* AFE WSA Codec DMA Rx port 1 */
314 /* AFE WSA Codec DMA Tx port 1 */
316 /* AFE WSA Codec DMA Tx port 2 */
318 /* AFE VA Codec DMA Tx port 0 */
320 /* AFE VA Codec DMA Tx port 1 */
322 /* AFE VA Codec DMA Tx port 2 */
324 /* AFE Rx Codec DMA Rx port 0 */
[all …]

12345678910