Home
last modified time | relevance | path

Searched refs:clkout (Results 1 – 25 of 74) sorted by relevance

123

/linux-6.1.9/drivers/clk/samsung/
Dclk-exynos-clkout.c107 struct exynos_clkout *clkout; in exynos_clkout_probe() local
111 clkout = devm_kzalloc(&pdev->dev, in exynos_clkout_probe()
112 struct_size(clkout, data.hws, EXYNOS_CLKOUT_NR_CLKS), in exynos_clkout_probe()
114 if (!clkout) in exynos_clkout_probe()
121 clkout->np = pdev->dev.of_node; in exynos_clkout_probe()
122 if (!clkout->np) { in exynos_clkout_probe()
127 clkout->np = pdev->dev.parent->of_node; in exynos_clkout_probe()
130 platform_set_drvdata(pdev, clkout); in exynos_clkout_probe()
132 spin_lock_init(&clkout->slock); in exynos_clkout_probe()
139 parents[i] = of_clk_get_by_name(clkout->np, name); in exynos_clkout_probe()
[all …]
Dclk-s3c2410-dclk.c59 struct s3c24xx_clkout *clkout = to_s3c24xx_clkout(hw); in s3c24xx_clkout_get_parent() local
63 val = clkout->modify_misccr(0, 0) >> clkout->shift; in s3c24xx_clkout_get_parent()
64 val >>= clkout->shift; in s3c24xx_clkout_get_parent()
65 val &= clkout->mask; in s3c24xx_clkout_get_parent()
75 struct s3c24xx_clkout *clkout = to_s3c24xx_clkout(hw); in s3c24xx_clkout_set_parent() local
77 clkout->modify_misccr((clkout->mask << clkout->shift), in s3c24xx_clkout_set_parent()
78 (index << clkout->shift)); in s3c24xx_clkout_set_parent()
94 struct s3c24xx_clkout *clkout; in s3c24xx_register_clkout() local
102 clkout = kzalloc(sizeof(*clkout), GFP_KERNEL); in s3c24xx_register_clkout()
103 if (!clkout) in s3c24xx_register_clkout()
[all …]
/linux-6.1.9/drivers/clk/
Dclk-lmk04832.c264 struct lmk_clkout *clkout; member
1163 struct lmk_clkout *clkout = container_of(hw, struct lmk_clkout, hw); in lmk04832_clkout_is_enabled() local
1164 struct lmk04832 *lmk = clkout->lmk; in lmk04832_clkout_is_enabled()
1172 ret = regmap_read(lmk->regmap, LMK04832_REG_CLKOUT_CTRL2(clkout->id), in lmk04832_clkout_is_enabled()
1179 ret = regmap_read(lmk->regmap, LMK04832_REG_CLKOUT_SRC_MUX(clkout->id), in lmk04832_clkout_is_enabled()
1186 LMK04832_REG_CLKOUT_CTRL4(clkout->id), in lmk04832_clkout_is_enabled()
1194 ret = regmap_read(lmk->regmap, LMK04832_REG_CLKOUT_FMT(clkout->id), in lmk04832_clkout_is_enabled()
1199 if (clkout->id % 2) in lmk04832_clkout_is_enabled()
1209 struct lmk_clkout *clkout = container_of(hw, struct lmk_clkout, hw); in lmk04832_clkout_prepare() local
1210 struct lmk04832 *lmk = clkout->lmk; in lmk04832_clkout_prepare()
[all …]
Dclk-si5351.c63 struct si5351_hw_data *clkout; member
924 __func__, clk_hw_get_name(&drvdata->clkout[num].hw), in _si5351_clkout_reset_pll()
942 if (pdata->clkout[hwdata->num].pll_reset) in si5351_clkout_prepare()
1236 pdata->clkout[num].multisynth_src = in si5351_dt_parse()
1240 pdata->clkout[num].multisynth_src = in si5351_dt_parse()
1254 pdata->clkout[num].clkout_src = in si5351_dt_parse()
1258 pdata->clkout[num].clkout_src = in si5351_dt_parse()
1262 pdata->clkout[num].clkout_src = in si5351_dt_parse()
1272 pdata->clkout[num].clkout_src = in si5351_dt_parse()
1290 pdata->clkout[num].drive = val; in si5351_dt_parse()
[all …]
Dclk-cdce706.c85 struct cdce706_hw_data clkout[6]; member
599 for (i = 0; i < ARRAY_SIZE(cdce->clkout); ++i) { in cdce706_register_clkouts()
605 cdce->clkout[i].parent = val & CDCE706_CLKOUT_DIVIDER_MASK; in cdce706_register_clkouts()
608 cdce->clkout[i].parent); in cdce706_register_clkouts()
611 return cdce706_register_hw(cdce, cdce->clkout, in cdce706_register_clkouts()
612 ARRAY_SIZE(cdce->clkout), in cdce706_register_clkouts()
622 if (idx >= ARRAY_SIZE(cdce->clkout)) { in of_clk_cdce_get()
627 return &cdce->clkout[idx].hw; in of_clk_cdce_get()
/linux-6.1.9/arch/arm/boot/dts/
Ddm814x-clocks.dtsi6 * "2.6.11 Connected Outputs of DPLLJ". Only clkout is
16 "481c5040.adpll.clkout",
28 "481c5080.adpll.clkout",
39 "481c50b0.adpll.clkout",
50 "481c50e0.adpll.clkout",
61 "481c5110.adpll.clkout",
72 "481c5140.adpll.clkout",
83 "481c5170.adpll.clkout",
94 "481c51a0.adpll.clkout",
105 "481c51d0.adpll.clkout",
[all …]
/linux-6.1.9/drivers/video/fbdev/omap2/omapfb/dss/
Dhdmi_pll.c42 unsigned long fint, clkdco, clkout; in hdmi_pll_compute() local
79 clkout = clkdco / m2; in hdmi_pll_compute()
86 DSSDBG("Fint %lu, clkdco %lu, clkout %lu\n", fint, clkdco, clkout); in hdmi_pll_compute()
96 pi->clkout[0] = clkout; in hdmi_pll_compute()
/linux-6.1.9/Documentation/devicetree/bindings/clock/
Dti,lmk04832.yaml108 ti,clkout-fmt:
132 ti,clkout-sysref:
200 ti,clkout-fmt = <0x01>; // LVDS
205 ti,clkout-fmt = <0x01>; // LVDS
206 ti,clkout-sysref;
Dcirrus,lochnagar.yaml48 - ln-cdc-clkout # Output clock from CODEC card.
49 - ln-dsp-clkout # Output clock from DSP card.
57 - ln-spdif-clkout # Optional input clock from SPDIF.
Dstericsson,u8500-clks.yaml112 clkout-clock:
144 #include <dt-bindings/clock/ste-db8500-clkout.h>
175 clkout_clk: clkout-clock {
/linux-6.1.9/drivers/clk/xilinx/
Dclk-xlnx-clock-wizard.c85 struct clk *clkout[WZRD_NUM_OUTPUTS]; member
533 clk_wzrd->clkout[i] = clk_wzrd_register_divf in clk_wzrd_probe()
542 clk_wzrd->clkout[i] = clk_wzrd_register_divider in clk_wzrd_probe()
550 if (IS_ERR(clk_wzrd->clkout[i])) { in clk_wzrd_probe()
554 clk_unregister(clk_wzrd->clkout[j]); in clk_wzrd_probe()
557 ret = PTR_ERR(clk_wzrd->clkout[i]); in clk_wzrd_probe()
564 clk_wzrd->clk_data.clks = clk_wzrd->clkout; in clk_wzrd_probe()
565 clk_wzrd->clk_data.clk_num = ARRAY_SIZE(clk_wzrd->clkout); in clk_wzrd_probe()
604 clk_unregister(clk_wzrd->clkout[i]); in clk_wzrd_remove()
/linux-6.1.9/drivers/net/can/cc770/
Dcc770_platform.c119 priv->clkout |= (cdv - 1) & CLKOUT_CD_MASK; in cc770_get_of_node_data()
133 priv->clkout |= (slew << CLKOUT_SL_SHIFT) & in cc770_get_of_node_data()
152 priv->clkout = pdata->cor; in cc770_get_platform_data()
209 priv->cpu_interface, priv->bus_config, priv->clkout); in cc770_platform_probe()
Dcc770.h35 u8 clkout; /* Clock Out Register */ member
186 u8 clkout; /* Clock out register */ member
Dcc770_isa.c254 priv->clkout = cor[idx]; in cc770_isa_probe()
256 priv->clkout = cor[0]; in cc770_isa_probe()
258 priv->clkout = COR_DEFAULT; in cc770_isa_probe()
/linux-6.1.9/Documentation/devicetree/bindings/net/
Drealtek,rtl82xx.yaml21 realtek,clkout-disable:
42 realtek,clkout-disable;
/linux-6.1.9/drivers/clk/ux500/
Du8500_of_clk.c78 struct clk_hw *clkout; in ux500_clkout_get() local
111 clkout = clk_reg_prcmu_clkout(id ? "clkout2" : "clkout1", in ux500_clkout_get()
115 if (IS_ERR(clkout)) { in ux500_clkout_get()
117 return ERR_CAST(clkout); in ux500_clkout_get()
120 clkout_clk[id] = clkout; in ux500_clkout_get()
122 return clkout; in ux500_clkout_get()
/linux-6.1.9/Documentation/devicetree/bindings/clock/ti/
Dadpll.txt27 "481c5040.adpll.clkout",
39 "481c5080.adpll.clkout",
/linux-6.1.9/drivers/gpu/drm/omapdrm/dss/
Dpll.c275 unsigned long fint, clkdco, clkout; in dss_pll_calc_b() local
307 clkout = clkdco / m2; in dss_pll_calc_b()
314 DSSDBG("Fint %lu, clkdco %lu, clkout %lu\n", fint, clkdco, clkout); in dss_pll_calc_b()
324 cinfo->clkout[0] = clkout; in dss_pll_calc_b()
/linux-6.1.9/sound/soc/sh/rcar/
Dadg.c30 struct clk *clkout[CLKOUTMAX]; member
55 ((pos) = adg->clkout[i]); \
588 adg->clkout[CLKOUT] = clk; in rsnd_adg_get_clkout()
602 adg->clkout[i] = clk; in rsnd_adg_get_clkout()
604 adg->onecell.clks = adg->clkout; in rsnd_adg_get_clkout()
/linux-6.1.9/drivers/rtc/
Drtc-rv3028.c721 int clkout, ret; in rv3028_clkout_recalc_rate() local
724 ret = regmap_read(rv3028->regmap, RV3028_CLKOUT, &clkout); in rv3028_clkout_recalc_rate()
728 clkout &= RV3028_CLKOUT_FD_MASK; in rv3028_clkout_recalc_rate()
729 return clkout_rates[clkout]; in rv3028_clkout_recalc_rate()
788 int clkout, ret; in rv3028_clkout_is_prepared() local
791 ret = regmap_read(rv3028->regmap, RV3028_CLKOUT, &clkout); in rv3028_clkout_is_prepared()
795 return !!(clkout & RV3028_CLKOUT_CLKOE); in rv3028_clkout_is_prepared()
Drtc-rv3032.c628 int clkout, ret; in rv3032_clkout_recalc_rate() local
631 ret = regmap_read(rv3032->regmap, RV3032_CLKOUT2, &clkout); in rv3032_clkout_recalc_rate()
635 if (clkout & RV3032_CLKOUT2_OS) { in rv3032_clkout_recalc_rate()
636 unsigned long rate = FIELD_GET(RV3032_CLKOUT2_HFD_MSK, clkout) << 8; in rv3032_clkout_recalc_rate()
638 ret = regmap_read(rv3032->regmap, RV3032_CLKOUT1, &clkout); in rv3032_clkout_recalc_rate()
642 rate += clkout + 1; in rv3032_clkout_recalc_rate()
647 return clkout_xtal_rates[FIELD_GET(RV3032_CLKOUT2_FD_MSK, clkout)]; in rv3032_clkout_recalc_rate()
/linux-6.1.9/include/linux/platform_data/
Dsi5351.h112 struct si5351_clkout_config clkout[8]; member
/linux-6.1.9/Documentation/ABI/testing/
Dsysfs-bus-iio-dfsdm-adc-stm3216 Reading SPI clkout frequency,
/linux-6.1.9/include/linux/mfd/
Ddb8500-prcmu.h503 int prcmu_config_clkout(u8 clkout, u8 source, u8 div);
608 static inline int prcmu_config_clkout(u8 clkout, u8 source, u8 div) in prcmu_config_clkout() argument
Ddbx500-prcmu.h262 int prcmu_config_clkout(u8 clkout, u8 source, u8 div);
424 static inline int prcmu_config_clkout(u8 clkout, u8 source, u8 div) in prcmu_config_clkout() argument

123