Home
last modified time | relevance | path

Searched full:mclk_src (Results 1 – 14 of 14) sorted by relevance

/linux/sound/soc/codecs/
H A Dnau8325.c36 #define MCLK_SRC 4 macro
68 /* Sample Rate and MCLK_SRC selections */
346 int i, mclk_src, ratio; in nau8325_clksrc_n2() local
350 mclk_src = mclk >> mclk_n2_div[i].param; in nau8325_clksrc_n2()
351 if (srate_table->mclk_src[NAU8325_MCLK_FS_RATIO_256] == mclk_src) { in nau8325_clksrc_n2()
354 } else if (srate_table->mclk_src[NAU8325_MCLK_FS_RATIO_400] == mclk_src) { in nau8325_clksrc_n2()
357 } else if (srate_table->mclk_src[NAU8325_MCLK_FS_RATIO_500] == mclk_src) { in nau8325_clksrc_n2()
394 /* select sampling rate and MCLK_SRC */ in nau8325_clksrc_choose()
399 /* First check clock from MCLK directly, decide N2 for MCLK_SRC. in nau8325_clksrc_choose()
406 *n2_sel = MCLK_SRC; in nau8325_clksrc_choose()
[all …]
H A Dnau8540.c705 fll_param->mclk_src = mclk_src_scaling[fvco_sel].val; in nau8540_calc_fll_param()
721 NAU8540_CLK_SRC_MCLK | fll_param->mclk_src); in nau8540_fll_apply()
798 dev_dbg(nau8540->dev, "mclk_src=%x ratio=%x fll_frac=%x fll_int=%x clk_ref_div=%x\n", in nau8540_set_pll()
799 fll_param.mclk_src, fll_param.ratio, fll_param.fll_frac, in nau8540_set_pll()
H A Dnau8540.h246 int mclk_src; member
H A Dnau8824.c1321 fll_param->mclk_src = mclk_src_scaling[fvco_sel].val; in nau8824_calc_fll_param()
1337 NAU8824_CLK_SRC_MCLK | fll_param->mclk_src); in nau8824_fll_apply()
1386 dev_dbg(nau8824->dev, "mclk_src=%x ratio=%x fll_frac=%x fll_int=%x clk_ref_div=%x\n", in nau8824_set_pll()
1387 fll_param.mclk_src, fll_param.ratio, fll_param.fll_frac, in nau8824_set_pll()
H A Dnau8325.h383 unsigned int mclk_src[NAU8325_MCLK_FS_RATIO_NUM]; member
H A Dnau8824.h455 int mclk_src; member
H A Dnau8825.c53 int mclk_src; member
2299 fll_param->mclk_src = mclk_src_scaling[fvco_sel].val; in nau8825_calc_fll_param()
2318 NAU8825_CLK_SRC_MCLK | fll_param->mclk_src); in nau8825_fll_apply()
2385 dev_dbg(component->dev, "mclk_src=%x ratio=%x fll_frac=%x fll_int=%x clk_ref_div=%x\n", in nau8825_set_pll()
2386 fll_param.mclk_src, fll_param.ratio, fll_param.fll_frac, in nau8825_set_pll()
H A Dwm8993.h385 #define WM8993_MCLK_SRC 0x8000 /* MCLK_SRC */
386 #define WM8993_MCLK_SRC_MASK 0x8000 /* MCLK_SRC */
387 #define WM8993_MCLK_SRC_SHIFT 15 /* MCLK_SRC */
388 #define WM8993_MCLK_SRC_WIDTH 1 /* MCLK_SRC */
H A Dwm8990.h222 #define WM8990_MCLK_SRC 0x8000 /* MCLK_SRC */
H A Dwm8991.h221 #define WM8991_MCLK_SRC 0x8000 /* MCLK_SRC */
/linux/include/linux/platform_data/media/
H A Dmmp-camera.h16 int mclk_src; /* which clock source the MCLK derives from */ member
/linux/Documentation/devicetree/bindings/sound/
H A Dnuvoton,nau8325.yaml49 MCLK_SRC/LRCK of 256, 400 or 500, and needs to detect the BCLK
/linux/include/linux/mfd/
H A Dwm8400-audio.h265 #define WM8400_MCLK_SRC 0x8000 /* MCLK_SRC */
266 #define WM8400_MCLK_SRC_MASK 0x8000 /* MCLK_SRC */
267 #define WM8400_MCLK_SRC_SHIFT 15 /* MCLK_SRC */
268 #define WM8400_MCLK_SRC_WIDTH 1 /* MCLK_SRC */
/linux/drivers/media/platform/marvell/
H A Dmcam-core.h114 int mclk_src; /* which clock source the mclk derives from */ member