/linux-6.12.1/drivers/clk/analogbits/ |
D | wrpll-cln28hpc.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (C) 2018-2019 SiFive, Inc. 16 * pre-determined set of performance points. 19 * - Analog Bits "Wide Range PLL Datasheet", version 2015.10.01 20 * - SiFive FU540-C000 Manual v1p0, Chapter 7 "Clocking and Reset" 21 * https://static.dev.sifive.com/FU540-C000-v1.0.pdf 33 #include <linux/clk/analogbits-wrpll-cln28hpc.h> 35 /* MIN_INPUT_FREQ: minimum input clock frequency, in Hz (Fref_min) */ 38 /* MAX_INPUT_FREQ: maximum input clock frequency, in Hz (Fref_max) */ 41 /* MIN_POST_DIVIDE_REF_FREQ: minimum post-divider reference frequency, in Hz */ [all …]
|
/linux-6.12.1/drivers/video/fbdev/kyro/ |
D | STG4000InitDevice.c | 69 #define STG4K3_PLL_MIN_VCO_SC (100000000 >> STG4K3_PLL_SCALER) /* Min VCO rate */ 70 #define STG4K3_PLL_MAX_VCO_SC (500000000 >> STG4K3_PLL_SCALER) /* Max VCO rate */ 71 #define STG4K3_PLL_MINR_VCO_SC (100000000 >> STG4K3_PLL_SCALER) /* Min VCO rate (restricted) */ 72 #define STG4K3_PLL_MAXR_VCO_SC (500000000 >> STG4K3_PLL_SCALER) /* Max VCO rate (restricted) */ 73 #define STG4K3_PLL_MINR_VCO 100000000 /* Min VCO rate (restricted) */ 74 #define STG4K3_PLL_MAX_VCO 500000000 /* Max VCO rate */ 75 #define STG4K3_PLL_MAXR_VCO 500000000 /* Max VCO rate (restricted) */ 101 /* Program SD-RAM interface */ in InitSDRAMRegisters() 129 /* Translate clock in Hz */ in ProgramClock() 130 coreClock *= 100; /* in Hz */ in ProgramClock() [all …]
|
/linux-6.12.1/Documentation/devicetree/bindings/clock/ |
D | fsl,plldig.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Wen He <wen.he_1@nxp.com> 19 const: fsl,ls1028a-plldig 27 '#clock-cells': 30 fsl,vco-hz: 31 description: Optional for VCO frequency of the PLL in Hertz. The VCO frequency 35 its own desired VCO frequency for the PLL. 41 - compatible [all …]
|
D | ti,lmk04832.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Liam Beguin <liambeguin@gmail.com> 21 - ti,lmk04832 26 '#address-cells': 29 '#size-cells': 32 '#clock-cells': 35 spi-max-frequency: 40 - description: PLL2 reference clock. [all …]
|
/linux-6.12.1/drivers/clk/ |
D | clk-si544.c | 1 // SPDX-License-Identifier: GPL-2.0 8 #include <linux/clk-provider.h> 45 /* VCO range is 10.8 .. 12.1 GHz, max depends on speed grade */ 68 * struct clk_si544_muldiv - Multiplier/divider settings 73 * If ls_div_bits is non-zero, hs_div must be even 74 * @delta_m: Frequency shift for small -950..+950 ppm changes, 24 bit 87 return regmap_update_bits(data->regmap, SI544_REG_OE_STATE, in si544_enable_output() 111 err = regmap_read(data->regmap, SI544_REG_OE_STATE, &val); in si544_is_prepared() 125 err = regmap_bulk_read(data->regmap, SI544_REG_HS_DIV, reg, 2); in si544_get_muldiv() 129 settings->ls_div_bits = (reg[1] >> 4) & 0x07; in si544_get_muldiv() [all …]
|
D | clk-plldig.c | 1 // SPDX-License-Identifier: GPL-2.0 8 #include <linux/clk-provider.h> 33 /* Range of the VCO frequencies, in Hz */ 37 /* Range of the output frequencies, in Hz */ 70 val = readl(data->regs + PLLDIG_REG_PLLFM); in plldig_enable() 76 writel(val, data->regs + PLLDIG_REG_PLLFM); in plldig_enable() 86 val = readl(data->regs + PLLDIG_REG_PLLFM); in plldig_disable() 91 writel(val, data->regs + PLLDIG_REG_PLLFM); in plldig_disable() 98 return readl(data->regs + PLLDIG_REG_PLLFM) & in plldig_is_enabled() 108 val = readl(data->regs + PLLDIG_REG_PLLDV); in plldig_recalc_rate() [all …]
|
D | clk-lmk04832.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * LMK04832 Ultra Low-Noise JESD204B Compliant Clock Jitter Cleaner 14 #include <linux/clk-provider.h> 22 /* 0x000 - 0x00d System Functions */ 34 /* 0x100 - 0x137 Device Clock and SYSREF Clock Output Control */ 75 /* 0x138 - 0x145 SYSREF, SYNC, and Device Config */ 124 /* 0x146 - 0x14a CLKin Control */ 134 /* 0x14b - 0x152 Holdover */ 136 /* 0x153 - 0x15f PLL1 Configuration */ 143 /* 0x160 - 0x16e PLL2 Configuration */ [all …]
|
D | clk-gemini.c | 1 // SPDX-License-Identifier: GPL-2.0 7 #define pr_fmt(fmt) "clk-gemini: " fmt 15 #include <linux/clk-provider.h> 21 #include <linux/reset-controller.h> 22 #include <dt-bindings/reset/cortina,gemini-reset.h> 23 #include <dt-bindings/clock/cortina,gemini-clock.h> 53 * struct gemini_gate_data - Gemini gated clocks 67 * struct clk_gemini_pci - Gemini PCI clock 77 * struct gemini_reset - gemini reset controller 90 { 1, "security-gate", "secdiv", 0 }, [all …]
|
/linux-6.12.1/drivers/media/dvb-frontends/ |
D | stb6100.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 74 [STB6100_VCO] = "VCO", 125 .addr = state->config->tuner_address, in stb6100_read_regs() 131 rc = i2c_transfer(state->i2c, &msg, 1); in stb6100_read_regs() 134 state->config->tuner_address, rc); in stb6100_read_regs() 136 return -EREMOTEIO; in stb6100_read_regs() 141 dprintk(verbose, FE_DEBUG, 1, " Read from 0x%02x", state->config->tuner_address); in stb6100_read_regs() 153 .addr = state->config->tuner_address + reg, in stb6100_read_reg() 159 i2c_transfer(state->i2c, &msg, 1); in stb6100_read_reg() 163 return -EINVAL; in stb6100_read_reg() [all …]
|
D | stv6110.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 43 return a - b; in abssub() 45 return b - a; in abssub() 50 kfree(fe->tuner_priv); in stv6110_release() 51 fe->tuner_priv = NULL; in stv6110_release() 57 struct stv6110_priv *priv = fe->tuner_priv; in stv6110_write_regs() 61 .addr = priv->i2c_address, in stv6110_write_regs() 73 return -EINVAL; in stv6110_write_regs() 77 return -EINVAL; in stv6110_write_regs() 82 if (fe->ops.i2c_gate_ctrl) in stv6110_write_regs() [all …]
|
/linux-6.12.1/arch/powerpc/boot/ |
D | redboot.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 6 // include/asm-ppc/redboot.h 26 unsigned int bi_intfreq; /* Internal Freq, in Hz */ 27 unsigned int bi_busfreq; /* Bus Freq, in Hz */ 28 unsigned int bi_cpmfreq; /* CPM Freq, in Hz */ 29 unsigned int bi_brgfreq; /* BRG Freq, in Hz */ 30 unsigned int bi_vco; /* VCO Out from PLL */ 31 unsigned int bi_pci_freq; /* PCI Freq, in Hz */
|
D | ppcboot.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * This interface is used for compatibility with old U-boots *ONLY*. 18 * include/asm-ppc/ppcboot.h 48 unsigned long bi_vco; /* VCO Out from PLL, in MHz */ 58 unsigned int bi_procfreq; /* CPU (Internal) Freq, in Hz */ 59 unsigned int bi_plb_busfreq; /* PLB Bus speed, in Hz */ 60 unsigned int bi_pci_busfreq; /* PCI Bus speed, in Hz */ 84 unsigned int bi_opbfreq; /* OB clock in Hz */
|
/linux-6.12.1/drivers/media/tuners/ |
D | max2165.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 20 #include "tuner-i2c.h" 38 msg.addr = priv->config->i2c_address; in max2165_write_reg() 43 ret = i2c_transfer(priv->i2c, &msg, 1); in max2165_write_reg() 49 return (ret != 1) ? -EIO : 0; in max2165_write_reg() 55 u8 dev_addr = priv->config->i2c_address; in max2165_read_reg() 64 ret = i2c_transfer(priv->i2c, msg, 2); in max2165_read_reg() 67 return -EIO; in max2165_read_reg() 104 priv->tf_ntch_low_cfg = dat[0] >> 4; in max2165_read_rom_table() 105 priv->tf_ntch_hi_cfg = dat[0] & 0x0F; in max2165_read_rom_table() [all …]
|
/linux-6.12.1/drivers/iio/frequency/ |
D | adf4371.c | 1 // SPDX-License-Identifier: GPL-2.0 63 #define ADF4371_MAX_OUT_RF8_FREQ ADF4371_MAX_VCO_FREQ /* Hz */ 64 #define ADF4371_MIN_OUT_RF8_FREQ (ADF4371_MIN_VCO_FREQ / 64) /* Hz */ 65 #define ADF4371_MAX_OUT_RF16_FREQ (ADF4371_MAX_VCO_FREQ * 2) /* Hz */ 66 #define ADF4371_MIN_OUT_RF16_FREQ (ADF4371_MIN_VCO_FREQ * 2) /* Hz */ 67 #define ADF4371_MAX_OUT_RF32_FREQ (ADF4371_MAX_VCO_FREQ * 4) /* Hz */ 68 #define ADF4371_MIN_OUT_RF32_FREQ (ADF4371_MIN_VCO_FREQ * 4) /* Hz */ 70 #define ADF4371_MAX_FREQ_PFD 250000000UL /* Hz */ 71 #define ADF4371_MAX_FREQ_REFIN 600000000UL /* Hz */ 73 /* MOD1 is a 24-bit primary modulus with fixed value of 2^25 */ [all …]
|
/linux-6.12.1/Documentation/devicetree/bindings/iio/frequency/ |
D | adi,adf4350.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Michael Hennerich <michael.hennerich@analog.com> 15 - adi,adf4350 16 - adi,adf4351 21 spi-max-frequency: 28 clock-names: 31 '#clock-cells': 34 clock-output-names: [all …]
|
/linux-6.12.1/drivers/gpu/drm/bridge/analogix/ |
D | anx7625.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 12 /* Loading OCM re-trying times */ 32 /* Clock frequency in Hz */ 149 #define HFP_HBP_DEF ((HBLANKING_MIN - SYNC_LEN_DEF) / 2) 251 #define DPCD_CMD(len, cmd) ((((len) - 1) << LENGTH_SHIFT) | (cmd)) 254 /* 0x01: frame packing, 0x02:Line alternative, 0x03:Side-by-side(full) */ 299 /* Bit[7:6]: VCO band control, only effective */ 304 /* Bit[1:0]: test point output select - */ 305 /* 00: VCO power, 01: dvdd_pdt, 10: dvdd, 11: vcox */ 312 /* Bit[5:4]: VCO metal capacitance - */ [all …]
|
/linux-6.12.1/drivers/media/i2c/ |
D | ar0521.c | 1 // SPDX-License-Identifier: GPL-2.0 4 * - Przemysłowy Instytut Automatyki i Pomiarów PIAP 12 #include <media/v4l2-ctrls.h> 13 #include <media/v4l2-fwnode.h> 14 #include <media/v4l2-subdev.h> 145 return &container_of(ctrl->handler, struct ar0521_dev, in ctrl_to_sd() 146 ctrls.handler)->sd; in ctrl_to_sd() 156 return div_u64(v + d - 1, d); in div64_round_up() 161 switch (sensor->fmt.code) { in ar0521_code_to_bpp() 166 return -EINVAL; in ar0521_code_to_bpp() [all …]
|
/linux-6.12.1/drivers/gpu/drm/gma500/ |
D | gma_display.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright © 2006-2011 Intel Corporation 32 struct drm_device *dev = crtc->dev; in gma_pipe_has_type() 38 if (connector->encoder && connector->encoder->crtc == crtc) { in gma_pipe_has_type() 41 if (gma_encoder->type == type) { in gma_pipe_has_type() 54 /* Wait for 20ms, i.e. one cycle at 50hz. */ in gma_wait_for_vblank() 61 struct drm_device *dev = crtc->dev; in gma_pipe_set_base() 64 struct drm_framebuffer *fb = crtc->primary->fb; in gma_pipe_set_base() 66 int pipe = gma_crtc->pipe; in gma_pipe_set_base() 67 const struct psb_offset *map = &dev_priv->regmap[pipe]; in gma_pipe_set_base() [all …]
|
/linux-6.12.1/sound/soc/codecs/ |
D | sma1303.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 // sma1303.c -- sma1303 ALSA SoC Audio driver 30 #define CHECK_PERIOD_TIME 1 /* sec per HZ */ 41 .vco = _vco,\ 55 unsigned int vco; member 236 static const DECLARE_TLV_DB_SCALE(sma1303_spk_tlv, -6000, 50, 0); 242 int cnt = sma1303->retry_cnt; in sma1303_regmap_write() 244 while (cnt--) { in sma1303_regmap_write() 245 ret = regmap_write(sma1303->regmap, reg, val); in sma1303_regmap_write() 247 dev_err(sma1303->dev, in sma1303_regmap_write() [all …]
|
D | nau8825.c | 1 // SPDX-License-Identifier: GPL-2.0-only 8 * Co-author: Meng-Huang Kuo <mhkuo@nuvoton.com> 35 #define NUVOTON_CODEC_DAI "nau8825-hifi" 223 * nau8825_sema_acquire - acquire the semaphore of nau88l25 233 * this function returns -ETIME. If the sleep is interrupted by a signal, 234 * this function will return -EINTR. It returns 0 if the semaphore was 246 ret = down_timeout(&nau8825->xtalk_sem, timeout); in nau8825_sema_acquire() 248 dev_warn(nau8825->dev, "Acquire semaphore timeout\n"); in nau8825_sema_acquire() 250 ret = down_trylock(&nau8825->xtalk_sem); in nau8825_sema_acquire() 252 dev_warn(nau8825->dev, "Acquire semaphore fail\n"); in nau8825_sema_acquire() [all …]
|
/linux-6.12.1/drivers/phy/ |
D | phy-xgene.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * AppliedMicro X-Gene Multi-purpose PHY driver 10 * The APM X-Gene PHY consists of two PLL clock macro's (CMU) and lanes. 19 * ----------------- 20 * | Internal | |------| 21 * | Ref PLL CMU |----| | ------------- --------- 22 * ------------ ---- | MUX |-----|PHY PLL CMU|----| Serdes| 23 * | | | | --------- 24 * External Clock ------| | ------------- 25 * |------| [all …]
|
/linux-6.12.1/drivers/gpu/drm/amd/display/include/ |
D | grph_object_ctrl_defs.h | 2 * Copyright 2012-15 Advanced Micro Devices, Inc. 179 uint32_t dp_phy_ref_clk; /* in KHz - DCE12 only */ 180 uint32_t i2c_engine_ref_clk; /* in KHz - DCE12 only */ 208 uint32_t spread_spectrum_range; /* modulation freq (HZ)*/ 212 /* For mem/engine/uvd, Clock Out frequence (VCO ), 263 /* Secondary transmitter configuration for Dual-link DVI */ 425 * DFS-bypass flag 433 INVALID_BACKLIGHT = -1
|
/linux-6.12.1/drivers/clk/bcm/ |
D | clk-cygnus.c | 1 // SPDX-License-Identifier: GPL-2.0-only 6 #include <linux/clk-provider.h> 13 #include <dt-bindings/clock/bcm-cygnus.h> 14 #include "clk-iproc.h" 45 CLK_OF_DECLARE(cygnus_armpll, "brcm,cygnus-armpll", cygnus_armpll_init); 105 CLK_OF_DECLARE(cygnus_genpll, "brcm,cygnus-genpll", cygnus_genpll_clk_init); 163 CLK_OF_DECLARE(cygnus_lcpll0, "brcm,cygnus-lcpll0", cygnus_lcpll0_clk_init); 166 * MIPI PLL VCO frequency parameter table 169 /* rate (Hz) ndiv_int ndiv_frac pdiv */ 242 CLK_OF_DECLARE(cygnus_mipipll, "brcm,cygnus-mipipll", cygnus_mipipll_clk_init); [all …]
|
/linux-6.12.1/drivers/gpu/drm/i915/display/ |
D | intel_dpll_mgr.c | 2 * Copyright © 2006-2016 Intel Corporation 45 * per-pipe or per-encoder dedicated PLLs, others allow the use of any PLL 127 shared_dpll[pll->index] = pll->state; in intel_atomic_duplicate_dpll_state() 135 drm_WARN_ON(s->dev, !drm_modeset_is_locked(&s->dev->mode_config.connection_mutex)); in intel_atomic_get_shared_dpll_state() 137 if (!state->dpll_set) { in intel_atomic_get_shared_dpll_state() 138 state->dpll_set = true; in intel_atomic_get_shared_dpll_state() 140 intel_atomic_duplicate_dpll_state(to_i915(s->dev), in intel_atomic_get_shared_dpll_state() 141 state->shared_dpll); in intel_atomic_get_shared_dpll_state() 144 return state->shared_dpll; in intel_atomic_get_shared_dpll_state() 148 * intel_get_shared_dpll_by_id - get a DPLL given its id [all …]
|
/linux-6.12.1/Documentation/fb/ |
D | matroxfb.rst | 16 * Most important: boot logo :-) 34 box) and matroxfb (for graphics mode). You should not compile-in vesafb 35 unless you have primary display on non-Matrox VBE2.0 device (see 43 ------------- 58 ------------------------- 73 ---------- 86 Non-listed number can be achieved by more complicated command-line, for 93 XF{68,86}_FBDev should work just fine, but it is non-accelerated. On non-intel 97 Running another (accelerated) X-Server like XF86_SVGA works too. But (at least) 100 driver is possible, but you must not enable DRI - if you do, resolution and [all …]
|