Searched full:codec_clk (Results 1 – 10 of 10) sorted by relevance
/linux/sound/soc/fsl/ |
H A 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()
|
/linux/sound/soc/codecs/ |
H A D | tlv320aic3x.c | 1044 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 D | maxim,max9867.yaml | 57 clocks = <&codec_clk>;
|
/linux/arch/arm64/boot/dts/amlogic/ |
H A D | meson-g12b-odroid-go-ultra.dts | 74 codec_clk: codec-clk { label 77 clock-output-names = "codec_clk"; 539 clocks = <&codec_clk>;
|
/linux/drivers/clk/sunxi-ng/ |
H A D | ccu-suniv-f1c100s.c | 316 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 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,
|
H A D | ccu-sun4i-a10.c | 769 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 D | ccu-sun6i-a31.c | 606 static SUNXI_CCU_GATE(codec_clk, "codec", "pll-audio", 934 &codec_clk.common, 1122 [CLK_CODEC] = &codec_clk.common.hw,
|
H A D | ccu-sun8i-r40.c | 704 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 D | hikey-pinctrl.dtsi | 112 0x6c MUX_M0 /* CODEC_CLK (IOMG027) */ 427 0x70 0x0 /* CODEC_CLK (IOCFG028) */ 435 0x70 0x0 /* CODEC_CLK (IOCFG028) */
|