Home
last modified time | relevance | path

Searched full:codec_clk (Results 1 – 10 of 10) sorted by relevance

/linux/sound/soc/fsl/
H A Dimx-sgtl5000.c23 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()
/linux/sound/soc/codecs/
H A Dtlv320aic3x.c1044 int codec_clk = 0, bypass_pll = 0, fsref, last_clk = 0; in aic3x_hw_params() local
1074 * generate CODEC_CLK directly. */ in aic3x_hw_params()
1121 codec_clk = (2048 * fsref) / (aic3x->sysclk / 1000); in aic3x_hw_params()
1135 if (abs(codec_clk - tmp_clk) < in aic3x_hw_params()
1136 abs(codec_clk - last_clk)) { in aic3x_hw_params()
1143 if (tmp_clk == codec_clk) in aic3x_hw_params()
1150 j = codec_clk * p / 1000; in aic3x_hw_params()
1155 /* do not use codec_clk here since we'd loose precision */ in aic3x_hw_params()
1163 if (abs(codec_clk - clk) < abs(codec_clk - last_clk)) { in aic3x_hw_params()
1169 if (clk == codec_clk) in aic3x_hw_params()
/linux/Documentation/devicetree/bindings/sound/
H A Dmaxim,max9867.yaml57 clocks = <&codec_clk>;
/linux/arch/arm64/boot/dts/amlogic/
H A Dmeson-g12b-odroid-go-ultra.dts74 codec_clk: codec-clk { label
77 clock-output-names = "codec_clk";
539 clocks = <&codec_clk>;
/linux/drivers/clk/sunxi-ng/
H A Dccu-suniv-f1c100s.c316 static SUNXI_CCU_GATE(codec_clk, "codec", "pll-audio", 0x140, BIT(31), 0);
382 &codec_clk.common,
474 [CLK_CODEC] = &codec_clk.common.hw,
H A Dccu-sun5i.c483 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,
H A Dccu-sun4i-a10.c769 static SUNXI_CCU_GATE(codec_clk, "codec", "pll-audio",
1020 &codec_clk.common,
1202 [CLK_CODEC] = &codec_clk.common.hw,
1371 [CLK_CODEC] = &codec_clk.common.hw,
H A Dccu-sun6i-a31.c606 static SUNXI_CCU_GATE(codec_clk, "codec", "pll-audio",
934 &codec_clk.common,
1122 [CLK_CODEC] = &codec_clk.common.hw,
H A Dccu-sun8i-r40.c704 static SUNXI_CCU_GATE(codec_clk, "codec", "pll-audio",
943 &codec_clk.common,
1146 [CLK_CODEC] = &codec_clk.common.hw,
/linux/arch/arm64/boot/dts/hisilicon/
H A Dhikey-pinctrl.dtsi112 0x6c MUX_M0 /* CODEC_CLK (IOMG027) */
427 0x70 0x0 /* CODEC_CLK (IOCFG028) */
435 0x70 0x0 /* CODEC_CLK (IOCFG028) */