/openbmc/linux/drivers/clk/samsung/ |
H A D | clk-exynos-clkout.c | 110 struct exynos_clkout *clkout; in exynos_clkout_probe() local 114 clkout = devm_kzalloc(&pdev->dev, in exynos_clkout_probe() 115 struct_size(clkout, data.hws, EXYNOS_CLKOUT_NR_CLKS), in exynos_clkout_probe() 117 if (!clkout) in exynos_clkout_probe() 124 clkout->np = pdev->dev.of_node; in exynos_clkout_probe() 125 if (!clkout->np) { in exynos_clkout_probe() 130 clkout->np = pdev->dev.parent->of_node; in exynos_clkout_probe() 133 platform_set_drvdata(pdev, clkout); in exynos_clkout_probe() 135 spin_lock_init(&clkout->slock); in exynos_clkout_probe() 142 parents[i] = of_clk_get_by_name(clkout->np, name); in exynos_clkout_probe() [all …]
|
H A D | Makefile | 18 obj-$(CONFIG_EXYNOS_CLKOUT) += clk-exynos-clkout.o
|
/openbmc/linux/drivers/clk/ |
H A D | clk-lmk04832.c | 268 struct lmk_clkout *clkout; member 1167 struct lmk_clkout *clkout = container_of(hw, struct lmk_clkout, hw); in lmk04832_clkout_is_enabled() local 1168 struct lmk04832 *lmk = clkout->lmk; in lmk04832_clkout_is_enabled() 1176 ret = regmap_read(lmk->regmap, LMK04832_REG_CLKOUT_CTRL2(clkout->id), in lmk04832_clkout_is_enabled() 1183 ret = regmap_read(lmk->regmap, LMK04832_REG_CLKOUT_SRC_MUX(clkout->id), in lmk04832_clkout_is_enabled() 1190 LMK04832_REG_CLKOUT_CTRL4(clkout->id), in lmk04832_clkout_is_enabled() 1198 ret = regmap_read(lmk->regmap, LMK04832_REG_CLKOUT_FMT(clkout->id), in lmk04832_clkout_is_enabled() 1203 if (clkout->id % 2) in lmk04832_clkout_is_enabled() 1213 struct lmk_clkout *clkout = container_of(hw, struct lmk_clkout, hw); in lmk04832_clkout_prepare() local 1214 struct lmk04832 *lmk = clkout->lmk; in lmk04832_clkout_prepare() [all …]
|
H A D | clk-si5351.c | 63 struct si5351_hw_data *clkout; member 929 __func__, clk_hw_get_name(&drvdata->clkout[num].hw), in _si5351_clkout_reset_pll() 947 if (pdata->clkout[hwdata->num].pll_reset) in si5351_clkout_prepare() 1243 pdata->clkout[num].multisynth_src = in si5351_dt_parse() 1247 pdata->clkout[num].multisynth_src = in si5351_dt_parse() 1261 pdata->clkout[num].clkout_src = in si5351_dt_parse() 1265 pdata->clkout[num].clkout_src = in si5351_dt_parse() 1269 pdata->clkout[num].clkout_src = in si5351_dt_parse() 1279 pdata->clkout[num].clkout_src = in si5351_dt_parse() 1297 pdata->clkout[num].drive = val; in si5351_dt_parse() [all …]
|
H A D | clk-cdce706.c | 85 struct cdce706_hw_data clkout[6]; member 603 for (i = 0; i < ARRAY_SIZE(cdce->clkout); ++i) { in cdce706_register_clkouts() 609 cdce->clkout[i].parent = val & CDCE706_CLKOUT_DIVIDER_MASK; in cdce706_register_clkouts() 612 cdce->clkout[i].parent); in cdce706_register_clkouts() 615 return cdce706_register_hw(cdce, cdce->clkout, in cdce706_register_clkouts() 616 ARRAY_SIZE(cdce->clkout), in cdce706_register_clkouts() 626 if (idx >= ARRAY_SIZE(cdce->clkout)) { in of_clk_cdce_get() 631 return &cdce->clkout[idx].hw; in of_clk_cdce_get()
|
/openbmc/linux/arch/arm/boot/dts/ti/omap/ |
H A D | dm814x-clocks.dtsi | 6 * "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 …]
|
/openbmc/linux/drivers/video/fbdev/omap2/omapfb/dss/ |
H A D | hdmi_pll.c | 42 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()
|
/openbmc/linux/drivers/net/can/cc770/ |
H A D | cc770_platform.c | 119 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()
|
H A D | cc770.h | 35 u8 clkout; /* Clock Out Register */ member 186 u8 clkout; /* Clock out register */ member
|
H A D | cc770_isa.c | 254 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()
|
/openbmc/linux/drivers/clk/xilinx/ |
H A D | clk-xlnx-clock-wizard.c | 104 struct clk *clkout[WZRD_NUM_OUTPUTS]; member 657 clk_wzrd->clkout[0] = clk_wzrd_register_divider in clk_wzrd_probe() 720 clk_wzrd->clkout[i] = clk_wzrd_register_divf in clk_wzrd_probe() 729 clk_wzrd->clkout[i] = clk_wzrd_register_divider in clk_wzrd_probe() 737 if (IS_ERR(clk_wzrd->clkout[i])) { in clk_wzrd_probe() 741 clk_unregister(clk_wzrd->clkout[j]); in clk_wzrd_probe() 744 ret = PTR_ERR(clk_wzrd->clkout[i]); in clk_wzrd_probe() 750 clk_wzrd->clk_data.clks = clk_wzrd->clkout; in clk_wzrd_probe() 751 clk_wzrd->clk_data.clk_num = ARRAY_SIZE(clk_wzrd->clkout); in clk_wzrd_probe() 789 clk_unregister(clk_wzrd->clkout[i]); in clk_wzrd_remove()
|
/openbmc/linux/drivers/clk/ux500/ |
H A D | u8500_of_clk.c | 78 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()
|
/openbmc/linux/Documentation/devicetree/bindings/clock/ti/ |
H A D | adpll.txt | 27 "481c5040.adpll.clkout", 39 "481c5080.adpll.clkout",
|
/openbmc/linux/drivers/gpu/drm/omapdrm/dss/ |
H A D | pll.c | 275 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()
|
H A D | dpi.c | 184 ctx->pll_cinfo.clkout[ctx->clkout_idx] = dispc; in dpi_calc_hsdiv_cb() 247 ctx->dispc_cinfo.lck = ctx->pll_cinfo.clkout[0]; in dpi_pll_clk_calc() 365 fck = ctx.pll_cinfo.clkout[ctx.clkout_idx]; in dpi_clock_update()
|
/openbmc/linux/drivers/rtc/ |
H A D | rtc-rv3028.c | 721 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()
|
H A D | rtc-rv3032.c | 628 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()
|
/openbmc/linux/sound/soc/sh/rcar/ |
H A D | adg.c | 34 struct clk *clkout[CLKOUTMAX]; member 56 ((pos) = adg->clkout[i]); \ 639 adg->clkout[CLKOUT] = clk; in rsnd_adg_get_clkout() 654 adg->clkout[i] = clk; in rsnd_adg_get_clkout() 656 adg->onecell.clks = adg->clkout; in rsnd_adg_get_clkout()
|
/openbmc/u-boot/arch/arm/mach-davinci/include/mach/ |
H A D | syscfg_defs.h | 17 unsigned int clkout; /* 0x24 */ member
|
/openbmc/linux/include/linux/platform_data/ |
H A D | si5351.h | 112 struct si5351_clkout_config clkout[8]; member
|
/openbmc/linux/Documentation/ABI/testing/ |
H A D | sysfs-bus-iio-dfsdm-adc-stm32 | 16 Reading SPI clkout frequency,
|
/openbmc/linux/include/linux/mfd/ |
H A D | dbx500-prcmu.h | 262 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
|
H A D | db8500-prcmu.h | 503 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
|
/openbmc/linux/Documentation/devicetree/bindings/pinctrl/ |
H A D | marvell,armada-xp-pinctrl.txt | 75 ref(clkout), spi1(cs7) 76 mpp48 48 gpio, dev(clkout), dev(burst/last), nand(rb)
|
/openbmc/linux/Documentation/devicetree/bindings/clock/ |
H A D | maxim,max9485.txt | 25 If not explicitly set, the output names are "mclkout", "clkout", "clkout1"
|