Home
last modified time | relevance | path

Searched refs:mck_id (Results 1 – 8 of 8) sorted by relevance

/linux/sound/soc/mediatek/mt8189/
H A Dmt8189-afe-clk.c581 int mt8189_mck_enable(struct mtk_base_afe *afe, int mck_id, int rate) in mt8189_mck_enable() argument
591 dev_dbg(afe->dev, "mck_id: %d, rate: %d\n", mck_id, rate); in mt8189_mck_enable()
593 if (mck_id >= MT8189_MCK_NUM || mck_id < 0) in mt8189_mck_enable()
596 m_sel_id = mck_div[mck_id].m_sel_id; in mt8189_mck_enable()
597 div_clk_id = mck_div[mck_id].div_clk_id; in mt8189_mck_enable()
628 int mt8189_mck_disable(struct mtk_base_afe *afe, int mck_id) in mt8189_mck_disable() argument
634 dev_dbg(afe->dev, "mck_id: %d.\n", mck_id); in mt8189_mck_disable()
636 if (mck_id < 0) { in mt8189_mck_disable()
637 dev_err(afe->dev, "mck_id = %d < 0\n", mck_id); in mt8189_mck_disable()
641 m_sel_id = mck_div[mck_id].m_sel_id; in mt8189_mck_disable()
[all …]
H A Dmt8189-afe-clk.h59 int mt8189_mck_enable(struct mtk_base_afe *afe, int mck_id, int rate);
60 int mt8189_mck_disable(struct mtk_base_afe *afe, int mck_id);
/linux/sound/soc/mediatek/mt8183/
H A Dmt8183-afe-clk.h36 int mt8183_mck_enable(struct mtk_base_afe *afe, int mck_id, int rate);
37 void mt8183_mck_disable(struct mtk_base_afe *afe, int mck_id);
H A Dmt8183-afe-clk.c542 int mt8183_mck_enable(struct mtk_base_afe *afe, int mck_id, int rate) in mt8183_mck_enable() argument
548 int m_sel_id = mck_div[mck_id].m_sel_id; in mt8183_mck_enable()
549 int div_clk_id = mck_div[mck_id].div_clk_id; in mt8183_mck_enable()
553 if (mck_id == MT8183_I2S5_MCK) in mt8183_mck_enable()
601 void mt8183_mck_disable(struct mtk_base_afe *afe, int mck_id) in mt8183_mck_disable() argument
604 int m_sel_id = mck_div[mck_id].m_sel_id; in mt8183_mck_disable()
605 int div_clk_id = mck_div[mck_id].div_clk_id; in mt8183_mck_disable()
608 if (mck_id == MT8183_I2S5_MCK) in mt8183_mck_disable()
/linux/sound/soc/mediatek/mt8186/
H A Dmt8186-afe-clk.h100 int mt8186_mck_enable(struct mtk_base_afe *afe, int mck_id, int rate);
101 void mt8186_mck_disable(struct mtk_base_afe *afe, int mck_id);
H A Dmt8186-afe-clk.c485 int mt8186_mck_enable(struct mtk_base_afe *afe, int mck_id, int rate) in mt8186_mck_enable() argument
491 int m_sel_id = mck_div[mck_id].m_sel_id; in mt8186_mck_enable()
492 int div_clk_id = mck_div[mck_id].div_clk_id; in mt8186_mck_enable()
530 void mt8186_mck_disable(struct mtk_base_afe *afe, int mck_id) in mt8186_mck_disable() argument
533 int m_sel_id = mck_div[mck_id].m_sel_id; in mt8186_mck_disable()
534 int div_clk_id = mck_div[mck_id].div_clk_id; in mt8186_mck_disable()
/linux/sound/soc/mediatek/mt8192/
H A Dmt8192-afe-clk.c562 int mt8192_mck_enable(struct mtk_base_afe *afe, int mck_id, int rate) in mt8192_mck_enable() argument
568 int m_sel_id = mck_div[mck_id].m_sel_id; in mt8192_mck_enable()
569 int div_clk_id = mck_div[mck_id].div_clk_id; in mt8192_mck_enable()
608 void mt8192_mck_disable(struct mtk_base_afe *afe, int mck_id) in mt8192_mck_disable() argument
611 int m_sel_id = mck_div[mck_id].m_sel_id; in mt8192_mck_disable()
612 int div_clk_id = mck_div[mck_id].div_clk_id; in mt8192_mck_disable()
H A Dmt8192-afe-clk.h238 int mt8192_mck_enable(struct mtk_base_afe *afe, int mck_id, int rate);
239 void mt8192_mck_disable(struct mtk_base_afe *afe, int mck_id);