Home
last modified time | relevance | path

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

/linux-6.12.1/sound/soc/codecs/
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 …]
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()
Dnau8540.h246 int mclk_src; member
Dnau8821.c50 int mclk_src; member
1317 fll_param->mclk_src = mclk_src_scaling[fvco_sel].val; in nau8821_calc_fll_param()
1336 NAU8821_CLK_SRC_MCLK | fll_param->mclk_src); in nau8821_fll_apply()
1408 "mclk_src=%x ratio=%x fll_frac=%x fll_int=%x clk_ref_div=%x\n", in nau8821_set_fll()
1409 fll_param->mclk_src, fll_param->ratio, fll_param->fll_frac, in nau8821_set_fll()
Dnau8325.h383 unsigned int mclk_src[NAU8325_MCLK_FS_RATIO_NUM]; member
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()
Dnau8824.h455 int mclk_src; member
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()
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 */
Dwm8991.h221 #define WM8991_MCLK_SRC 0x8000 /* MCLK_SRC */
Dwm8990.h222 #define WM8990_MCLK_SRC 0x8000 /* MCLK_SRC */
/linux-6.12.1/include/linux/platform_data/media/
Dmmp-camera.h16 int mclk_src; /* which clock source the MCLK derives from */ member
/linux-6.12.1/drivers/media/platform/marvell/
Dmmp-driver.c199 mcam->mclk_src = pdata->mclk_src; in mmpcam_probe()
211 mcam->mclk_src = 3; in mmpcam_probe()
Dmcam-core.c919 int mclk_src; in mclk_enable() local
928 mclk_src = cam->mclk_src; in mclk_enable()
931 mclk_src = 3; in mclk_enable()
939 mcam_reg_write(cam, REG_CLKCTRL, (mclk_src << 29) | mclk_div); in mclk_enable()
Dmcam-core.h114 int mclk_src; /* which clock source the mclk derives from */ member
/linux-6.12.1/Documentation/devicetree/bindings/sound/
Dnuvoton,nau8325.yaml49 MCLK_SRC/LRCK of 256, 400 or 500, and needs to detect the BCLK
/linux-6.12.1/include/linux/mfd/
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 */