Searched full:codec_clk (Results 1 – 10 of 10) sorted by relevance
/Linux-v5.10/sound/soc/fsl/ |
D | imx-sgtl5000.c | 23 struct clk *codec_clk; member 132 data->codec_clk = clk_get(&codec_dev->dev, NULL); in imx_sgtl5000_probe() 133 if (IS_ERR(data->codec_clk)) { in imx_sgtl5000_probe() 134 ret = PTR_ERR(data->codec_clk); in imx_sgtl5000_probe() 138 data->clk_frequency = clk_get_rate(data->codec_clk); in imx_sgtl5000_probe() 188 if (data && !IS_ERR(data->codec_clk)) in imx_sgtl5000_probe() 189 clk_put(data->codec_clk); in imx_sgtl5000_probe() 201 clk_put(data->codec_clk); in imx_sgtl5000_remove()
|
D | fsl-asoc-card.c | 583 struct clk *codec_clk = clk_get(codec_dev, NULL); in fsl_asoc_card_probe() local 585 if (!IS_ERR(codec_clk)) { in fsl_asoc_card_probe() 586 priv->codec_priv.mclk_freq = clk_get_rate(codec_clk); in fsl_asoc_card_probe() 587 clk_put(codec_clk); in fsl_asoc_card_probe()
|
/Linux-v5.10/sound/soc/codecs/ |
D | tlv320aic3x.c | 1049 int codec_clk = 0, bypass_pll = 0, fsref, last_clk = 0; in aic3x_hw_params() local 1079 * generate CODEC_CLK directly. */ in aic3x_hw_params() 1126 codec_clk = (2048 * fsref) / (aic3x->sysclk / 1000); in aic3x_hw_params() 1140 if (abs(codec_clk - tmp_clk) < in aic3x_hw_params() 1141 abs(codec_clk - last_clk)) { in aic3x_hw_params() 1148 if (tmp_clk == codec_clk) in aic3x_hw_params() 1155 j = codec_clk * p / 1000; in aic3x_hw_params() 1160 /* do not use codec_clk here since we'd loose precision */ in aic3x_hw_params() 1168 if (abs(codec_clk - clk) < abs(codec_clk - last_clk)) { in aic3x_hw_params() 1174 if (clk == codec_clk) in aic3x_hw_params()
|
/Linux-v5.10/drivers/clk/sunxi-ng/ |
D | ccu-suniv-f1c100s.c | 308 static SUNXI_CCU_GATE(codec_clk, "codec", "pll-audio", 0x140, BIT(31), 0); 373 &codec_clk.common, 464 [CLK_CODEC] = &codec_clk.common.hw,
|
D | ccu-sun5i.c | 483 static SUNXI_CCU_GATE(codec_clk, "codec", "pll-audio", 598 &codec_clk.common, 724 [CLK_CODEC] = &codec_clk.common.hw, 853 [CLK_CODEC] = &codec_clk.common.hw, 968 [CLK_CODEC] = &codec_clk.common.hw,
|
D | ccu-sun4i-a10.c | 767 static SUNXI_CCU_GATE(codec_clk, "codec", "pll-audio", 1018 &codec_clk.common, 1200 [CLK_CODEC] = &codec_clk.common.hw, 1369 [CLK_CODEC] = &codec_clk.common.hw,
|
D | ccu-sun6i-a31.c | 605 static SUNXI_CCU_GATE(codec_clk, "codec", "pll-audio", 933 &codec_clk.common, 1121 [CLK_CODEC] = &codec_clk.common.hw,
|
D | ccu-sun8i-r40.c | 703 static SUNXI_CCU_GATE(codec_clk, "codec", "pll-audio", 942 &codec_clk.common, 1145 [CLK_CODEC] = &codec_clk.common.hw,
|
/Linux-v5.10/Documentation/devicetree/bindings/sound/ |
D | allwinner,sun4i-a10-codec.yaml | 239 clocks = <&apb0_gates 0>, <&codec_clk>;
|
/Linux-v5.10/arch/arm64/boot/dts/hisilicon/ |
D | hikey-pinctrl.dtsi | 112 0x6c MUX_M0 /* CODEC_CLK (IOMG027) */ 427 0x70 0x0 /* CODEC_CLK (IOCFG028) */ 435 0x70 0x0 /* CODEC_CLK (IOCFG028) */
|