/Linux-v6.1/drivers/clk/samsung/ |
D | clk-exynos-clkout.c | 107 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() 138 snprintf(name, sizeof(name), "clkout%d", i); in exynos_clkout_probe() [all …]
|
D | clk-s3c2410-dclk.c | 59 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 101 /* allocate the clkout */ in s3c24xx_register_clkout() 102 clkout = kzalloc(sizeof(*clkout), GFP_KERNEL); in s3c24xx_register_clkout() [all …]
|
/Linux-v6.1/include/linux/platform_data/ |
D | si5351.h | 36 * @SI5351_CLKOUT_SRC_MSYNTH_N: clkout N source clock is multisynth N 37 * @SI5351_CLKOUT_SRC_MSYNTH_0_4: clkout N source clock is multisynth 0 (N<4) 39 * @SI5351_CLKOUT_SRC_XTAL: clkout N source clock is XTAL 40 * @SI5351_CLKOUT_SRC_CLKIN: clkout N source clock is CLKIN (Si5351C only) 85 * @clkout: clkout number 87 * @clkout_src: clkout source clock 88 * @pll_master: if true, clkout can also change pll rate 89 * @pll_reset: if true, clkout can reset its pll 91 * @rate: initial clkout rate, or default if 0 108 * @clkout: array of clkout configuration [all …]
|
/Linux-v6.1/drivers/clk/ |
D | clk-lmk04832.c | 185 * num_channels: Number of available output channels (clkout count) 243 * Each pair of clkout clocks share a single device clock (DCLKX_Y) 244 * @clkout: list of output clock references 245 * @clk_data: holds clkout related data like clk_hw* and number of clocks 264 struct lmk_clkout *clkout; member 699 dev_dbg(lmk->dev, "clkout%02u: sysref_ddly=%u, dclkx_y_ddly=%u, " in lmk04832_clkout_set_ddly() 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() [all …]
|
D | clk-si5351.c | 63 struct si5351_hw_data *clkout; member 797 * Si5351 clkout divider 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() 1046 /* clkout freqency is 8kHz - 160MHz */ in si5351_clkout_round_rate() 1127 /* powerup clkout */ in si5351_clkout_set_rate() 1218 /* per clkout properties */ in si5351_dt_parse() 1228 dev_err(&client->dev, "invalid clkout %d\n", num); in si5351_dt_parse() 1236 pdata->clkout[num].multisynth_src = in si5351_dt_parse() 1240 pdata->clkout[num].multisynth_src = in si5351_dt_parse() [all …]
|
D | clk-rk808.c | 3 * Clkout driver for Rockchip RK808 202 .name = "rk808-clkout", 208 MODULE_DESCRIPTION("Clkout driver for the rk808 series PMICs"); 211 MODULE_ALIAS("platform:rk808-clkout");
|
D | clk-lochnagar.c | 53 LN_PARENT("ln-cdc-clkout"), 54 LN_PARENT("ln-dsp-clkout"), 64 LN_PARENT("ln-cdc-clkout"), 65 LN_PARENT("ln-dsp-clkout"), 79 LN_PARENT("ln-spdif-clkout"),
|
D | clk-cdce706.c | 85 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-v6.1/arch/arm/boot/dts/ |
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 …]
|
/Linux-v6.1/Documentation/devicetree/bindings/net/ |
D | realtek,rtl82xx.yaml | 21 realtek,clkout-disable: 24 Disable CLKOUT clock, CLKOUT clock default is enabled after hardware reset. 42 realtek,clkout-disable;
|
/Linux-v6.1/Documentation/devicetree/bindings/iio/adc/ |
D | st,stm32-dfsdm-adc.yaml | 38 dfsdm clock can also feed CLKOUT, when CLKOUT is used. 39 - description: audio clock can be used as an alternate to feed CLKOUT. 59 If not, SPI CLKOUT frequency will not be accurate. 132 - "CLKOUT": internal SPI clock (CLKOUT) (default) 136 enum: [ CLKIN, CLKOUT, CLKOUT_F, CLKOUT_R ] 303 st,adc-channel-clk-src = "CLKOUT";
|
/Linux-v6.1/sound/soc/sh/rcar/ |
D | adg.c | 16 #define CLKOUT 0 macro 30 struct clk *clkout[CLKOUTMAX]; member 55 ((pos) = adg->clkout[i]); \ 356 dev_dbg(dev, "CLKOUT is based on BRG%c (= %dHz)\n", in rsnd_adg_ssi_clk_try_start() 477 [CLKOUT] = "audio_clkout", in rsnd_adg_get_clkout() 520 if (of_get_property(np, "clkout-lr-asynchronous", NULL)) in rsnd_adg_get_clkout() 580 * for clkout in rsnd_adg_get_clkout() 583 clk = clk_register_fixed_rate(dev, clkout_name[CLKOUT], in rsnd_adg_get_clkout() 588 adg->clkout[CLKOUT] = clk; in rsnd_adg_get_clkout() 602 adg->clkout[i] = clk; in rsnd_adg_get_clkout() [all …]
|
/Linux-v6.1/drivers/video/fbdev/omap2/omapfb/dss/ |
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()
|
/Linux-v6.1/drivers/clk/renesas/ |
D | r9a06g032-clocks.c | 135 D_ROOT(CLKOUT, "clkout", 25, 1), 137 D_FFC(CLKOUT_D10, "clkout_d10", CLKOUT, 10), 138 D_FFC(CLKOUT_D16, "clkout_d16", CLKOUT, 16), 139 D_FFC(CLKOUT_D160, "clkout_d160", CLKOUT, 160), 140 D_DIV(CLKOUT_D1OR2, "clkout_d1or2", CLKOUT, 0, 1, 2), 141 D_FFC(CLKOUT_D20, "clkout_d20", CLKOUT, 20), 142 D_FFC(CLKOUT_D40, "clkout_d40", CLKOUT, 40), 143 D_FFC(CLKOUT_D5, "clkout_d5", CLKOUT, 5), 144 D_FFC(CLKOUT_D8, "clkout_d8", CLKOUT, 8), 145 D_DIV(DIV_ADC, "div_adc", CLKOUT, 77, 50, 250), [all …]
|
/Linux-v6.1/Documentation/devicetree/bindings/clock/ |
D | ti,lmk04832.yaml | 108 ti,clkout-fmt: 132 ti,clkout-sysref: 200 ti,clkout-fmt = <0x01>; // LVDS 205 ti,clkout-fmt = <0x01>; // LVDS 206 ti,clkout-sysref;
|
D | cirrus,lochnagar.yaml | 48 - 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.
|
D | stericsson,u8500-clks.yaml | 112 clkout-clock: 144 #include <dt-bindings/clock/ste-db8500-clkout.h> 175 clkout_clk: clkout-clock {
|
D | baikal,bt1-ccu-pll.yaml | 60 +---+ +->+---+ +---+ /->+---+ | |--->CLKOUT 71 divider, NF - PLL clock multiplier, OD - VCO output clock divider, CLKOUT - 77 The PLLs CLKOUT is then either directly connected with the corresponding
|
/Linux-v6.1/drivers/gpu/drm/omapdrm/dss/ |
D | pll.c | 266 * for clkout. Additionally clkdco rate will be the same as clkout rate 267 * when clkout rate is >= min_clkdco. 270 * clkout = clkdco / m2 275 unsigned long fint, clkdco, clkout; in dss_pll_calc_b() local 281 DSSDBG("clkin %lu, target clkout %lu\n", clkin, target_clkout); in dss_pll_calc_b() 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-v6.1/Documentation/devicetree/bindings/net/can/ |
D | cc770.txt | 24 - bosch,clock-out-frequency : slock frequency in Hz on the CLKOUT pin. 25 If not specified or if the specified value is 0, the CLKOUT pin 28 - bosch,slew-rate : slew rate of the CLKOUT signal. If not specified,
|
/Linux-v6.1/drivers/clk/xilinx/ |
D | clk-xlnx-clock-wizard.c | 74 * @clkout: Output clocks 85 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-v6.1/drivers/clk/ux500/ |
D | u8500_of_clk.c | 78 struct clk_hw *clkout; in ux500_clkout_get() local 88 pr_err("%s: invalid clkout ID %d\n", __func__, id); in ux500_clkout_get() 93 pr_info("%s: clkout%d already registered, not reconfiguring\n", in ux500_clkout_get() 108 pr_debug("registering clkout%d with source %d and divider %d\n", in ux500_clkout_get() 111 clkout = clk_reg_prcmu_clkout(id ? "clkout2" : "clkout1", in ux500_clkout_get() 115 if (IS_ERR(clkout)) { in ux500_clkout_get() 116 pr_err("failed to register clkout%d\n", id + 1); 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() [all …]
|
/Linux-v6.1/drivers/net/can/cc770/ |
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() 207 "bus_config=0x%02x clkout=0x%02x\n", in cc770_platform_probe() 209 priv->cpu_interface, priv->bus_config, priv->clkout); in cc770_platform_probe()
|
/Linux-v6.1/Documentation/devicetree/bindings/clock/ti/ |
D | adpll.txt | 27 "481c5040.adpll.clkout", 39 "481c5080.adpll.clkout",
|
/Linux-v6.1/drivers/rtc/ |
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() 820 init.name = "rv3028-clkout"; in rv3028_clkout_register_clk()
|