/linux/arch/arm/boot/dts/ti/omap/ |
H A D | am33xx-clocks.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 8 sys_clkin_ck: clock-sys-clkin-22@40 { 9 #clock-cells = <0>; 10 compatible = "ti,mux-clock"; 11 clock-output-names = "sys_clkin_ck"; 13 ti,bit-shift = <22>; 17 adc_tsc_fck: clock-adc-tsc-fck { 18 #clock-cells = <0>; 19 compatible = "fixed-factor-clock"; 20 clock-output-names = "adc_tsc_fck"; [all …]
|
H A D | omap36xx-omap3430es2plus-clocks.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 11 #clock-cells = <2>; 12 #address-cells = <1>; 13 #size-cells = <0>; 15 ssi_ssr_gate_fck_3430es2: clock-ssi-ssr-gate-fck-3430es2@0 { 17 #clock-cells = <0>; 18 compatible = "ti,composite-no-wait-gate-clock"; 19 clock-output-names = "ssi_ssr_gate_fck_3430es2"; 27 #clock-cells = <2>; 28 #address-cells = <1>; [all …]
|
H A D | am43xx-clocks.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 8 sys_clkin_ck: clock-sys-clkin-31@40 { 9 #clock-cells = <0>; 10 compatible = "ti,mux-clock"; 11 clock-output-names = "sys_clkin_ck"; 13 ti,bit-shift = <31>; 17 crystal_freq_sel_ck: clock-crystal-freq-sel-29@40 { 18 #clock-cells = <0>; 19 compatible = "ti,mux-clock"; 20 clock-output-names = "crystal_freq_sel_ck"; [all …]
|
H A D | omap3xxx-clocks.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 9 #clock-cells = <0>; 10 compatible = "fixed-clock"; 11 clock-frequency = <16800000>; 15 #clock-cells = <0>; 16 compatible = "ti,mux-clock"; 22 #clock-cells = <0>; 23 compatible = "ti,divider-clock"; 25 ti,bit-shift = <6>; 26 ti,max-div = <3>; [all …]
|
H A D | omap54xx-clocks.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 9 #clock-cells = <0>; 10 compatible = "fixed-clock"; 11 clock-output-names = "pad_clks_src_ck"; 12 clock-frequency = <12000000>; 16 #clock-cells = <0>; 17 compatible = "ti,gate-clock"; 18 clock-output-names = "pad_clks_ck"; 20 ti,bit-shift = <8>; 25 #clock-cells = <0>; [all …]
|
H A D | omap36xx-am35xx-omap3430es2plus-clocks.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 9 #clock-cells = <0>; 10 compatible = "fixed-factor-clock"; 12 clock-mult = <1>; 13 clock-div = <3>; 17 #clock-cells = <0>; 18 compatible = "fixed-factor-clock"; 20 clock-mult = <1>; 21 clock-div = <5>; 26 #clock-cells = <0>; [all …]
|
H A D | dm814x-clocks.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 10 #clock-cells = <1>; 11 compatible = "ti,dm814-adpll-s-clock"; 14 clock-names = "clkinp", "clkinpulow", "clkinphif"; 15 clock-output-names = "481c5040.adpll.dcoclkldo", 22 #clock-cells = <1>; 23 compatible = "ti,dm814-adpll-lj-clock"; 26 clock-names = "clkinp", "clkinpulow"; 27 clock-output-names = "481c5080.adpll.dcoclkldo", 33 #clock-cells = <1>; [all …]
|
H A D | omap24xx-clocks.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 9 #clock-cells = <0>; 10 compatible = "ti,composite-mux-clock"; 12 ti,bit-shift = <2>; 17 #clock-cells = <0>; 18 compatible = "ti,composite-clock"; 23 #clock-cells = <0>; 24 compatible = "ti,composite-mux-clock"; 26 ti,bit-shift = <6>; 31 #clock-cells = <0>; [all …]
|
H A D | omap44xx-clocks.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 9 #clock-cells = <0>; 10 compatible = "fixed-clock"; 11 clock-output-names = "extalt_clkin_ck"; 12 clock-frequency = <59000000>; 16 #clock-cells = <0>; 17 compatible = "fixed-clock"; 18 clock-output-names = "pad_clks_src_ck"; 19 clock-frequency = <12000000>; 23 #clock-cells = <0>; [all …]
|
/linux/arch/arm64/boot/dts/broadcom/stingray/ |
H A D | stingray-clock.dtsi | 4 * Copyright(c) 2016-2017 Broadcom. All rights reserved. 33 #include <dt-bindings/clock/bcm-sr.h> 36 #clock-cells = <0>; 37 compatible = "fixed-clock"; 38 clock-frequency = <50000000>; 42 #clock-cells = <0>; 43 compatible = "fixed-factor-clock"; 45 clock-div = <2>; 46 clock-mult = <1>; 50 #clock-cells = <1>; [all …]
|
/linux/arch/arm/boot/dts/ti/keystone/ |
H A D | keystone-clocks.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (C) 2013-2017 Texas Instruments Incorporated - https://www.ti.com/ 9 #address-cells = <1>; 10 #size-cells = <1>; 14 #clock-cells = <0>; 15 compatible = "ti,keystone,pll-mux-clock"; 18 bit-shift = <23>; 19 bit-mask = <1>; 20 clock-output-names = "mainmuxclk"; 24 #clock-cells = <0>; [all …]
|
/linux/Documentation/devicetree/bindings/clock/ |
H A D | fixed-factor-clock.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/clock/fixed-factor-clock.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Simple fixed factor rate clock sources 10 - Michael Turquette <mturquette@baylibre.com> 11 - Stephen Boyd <sboyd@kernel.org> 16 - description: 17 If the frequency is fixed, the preferred name is 'clock-<freq>' with 19 pattern: "^clock-([0-9]+|[0-9a-z-]+)$" [all …]
|
/linux/drivers/clk/ |
H A D | clk-fixed-factor.c | 1 // SPDX-License-Identifier: GPL-2.0 6 #include <linux/clk-provider.h> 13 * DOC: basic fixed multiplier and divider clock that cannot gate 16 * prepare - clk_prepare only ensures that parents are prepared 17 * enable - clk_enable only ensures that parents are enabled 18 * rate - rate is fixed. clk->rate = parent->rate / div * mult 19 * parent - fixed parent. No clk_set_parent support 28 rate = (unsigned long long int)parent_rate * fix->mult; in clk_factor_recalc_rate() 29 do_div(rate, fix->div); in clk_factor_recalc_rate() 41 best_parent = (rate / fix->mult) * fix->div; in clk_factor_round_rate() [all …]
|
/linux/drivers/media/platform/st/sti/bdisp/ |
H A D | bdisp-filter.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 11 * struct bdisp_filter_h_spec - Horizontal filter specification 13 * @min: min scale factor for this filter (6.10 fixed point) 14 * @max: max scale factor for this filter (6.10 fixed point) 23 * struct bdisp_filter_v_spec - Vertical filter specification 25 * @min: min scale factor for this filter (6.10 fixed point) 26 * @max: max scale factor for this filter (6.10 fixed point)
|
/linux/Documentation/devicetree/bindings/mfd/ |
H A D | allwinner,sun8i-a23-prcm.yaml | 1 # SPDX-License-Identifier: GPL-2.0+ 3 --- 4 $id: http://devicetree.org/schemas/mfd/allwinner,sun8i-a23-prcm.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Chen-Yu Tsai <wens@csie.org> 11 - Maxime Ripard <mripard@kernel.org> 17 const: allwinner,sun8i-a23-prcm 30 - fixed-factor-clock 31 - allwinner,sun8i-a23-apb0-clk 32 - allwinner,sun8i-a23-apb0-gates-clk [all …]
|
/linux/drivers/clk/ti/ |
H A D | fixed-factor.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * TI Fixed Factor Clock 7 * Tero Kristo <t-kristo@ti.com> 10 #include <linux/clk-provider.h> 23 * of_ti_fixed_factor_clk_setup - Setup function for TI fixed factor clock 26 * Sets up a simple fixed factor clock based on device tree info. 36 if (of_property_read_u32(node, "ti,clock-div", &div)) { in of_ti_fixed_factor_clk_setup() 37 pr_err("%pOFn must have a clock-div property\n", node); in of_ti_fixed_factor_clk_setup() 41 if (of_property_read_u32(node, "ti,clock-mult", &mult)) { in of_ti_fixed_factor_clk_setup() 42 pr_err("%pOFn must have a clock-mult property\n", node); in of_ti_fixed_factor_clk_setup() [all …]
|
/linux/arch/arm/boot/dts/broadcom/ |
H A D | bcm-cygnus-clock.dtsi | 34 #address-cells = <1>; 35 #size-cells = <1>; 39 #clock-cells = <0>; 40 compatible = "fixed-clock"; 41 clock-frequency = <25000000>; 46 #clock-cells = <0>; 47 compatible = "brcm,cygnus-armpll"; 54 #clock-cells = <0>; 55 compatible = "fixed-factor-clock"; 57 clock-div = <2>; [all …]
|
H A D | bcm5301x.dtsi | 9 #include "bcm-ns.dtsi" 12 mpcore-bus@19000000 { 14 #clock-cells = <0>; 15 compatible = "brcm,nsp-armpll"; 21 compatible = "arm,cortex-a9-twd-wdt"; 30 #address-cells = <1>; 31 #size-cells = <1>; 35 #clock-cells = <0>; 36 compatible = "fixed-clock"; 37 clock-frequency = <25000000>; [all …]
|
/linux/arch/arm/boot/dts/arm/ |
H A D | mps2.dtsi | 6 * This file is dual-licensed: you can use it either under the terms 45 #include "../armv7-m.dtsi" 48 #address-cells = <1>; 49 #size-cells = <1>; 51 oscclk0: clock-50000000 { 52 compatible = "fixed-clock"; 53 #clock-cells = <0>; 54 clock-frequency = <50000000>; 57 oscclk1: clock-24576000 { 58 compatible = "fixed-clock"; [all …]
|
H A D | integratorcp.dts | 1 // SPDX-License-Identifier: GPL-2.0 6 /dts-v1/; 11 compatible = "arm,integrator-cp"; 18 #address-cells = <1>; 19 #size-cells = <0>; 35 operating-points = <50000 0 38 clock-names = "cpu"; 39 clock-latency = <1000000>; /* 1 ms */ 45 * ARM DUI 0184B page 7-28 "Integrator/CP922T system clocks" which 50 xtal_codec: clock-24576000 { [all …]
|
/linux/drivers/staging/media/atomisp/pci/isp/kernels/xnr/xnr_3.0/ |
H A D | ia_css_xnr3.host.c | 1 // SPDX-License-Identifier: GPL-2.0 17 #define XNR_MAX_ALPHA ((1 << (ISP_VEC_ELEMBITS - 1)) - 1) 25 * division look-up table 36 -7213, -5580, -4371, -3421, -2722, -2159, -6950, -5585, 37 -4529, -3697, -3010, -2485, -2070, -1727, -1428, 0 96 s32 offset = host_scale / 2; /* fixed-point 0.5 */ in compute_coring() 98 /* Convert from public host-side scale factor to isp-side scale in compute_coring() 99 * factor. Clip to [0, isp_scale-1). in compute_coring() 102 return clamp(isp_coring, 0, isp_scale - 1); in compute_coring() 115 s32 offset = host_scale / 2; /* fixed-point 0.5 */ in compute_blending() [all …]
|
/linux/drivers/gpu/drm/i915/display/ |
H A D | intel_tv_regs.h | 1 /* SPDX-License-Identifier: MIT */ 41 /* Sets the colorburst to PAL mode. Required for non-M PAL modes. */ 56 /* Read-only state that reports all features enabled */ 58 /* Read-only state that reports that Macrovision is disabled in hardware*/ 60 /* Read-only state that reports that TV-out is disabled in hardware. */ 64 /* Encoder test pattern 1 - combo pattern */ 66 /* Encoder test pattern 2 - full screen vertical 75% color bars */ 68 /* Encoder test pattern 3 - full screen horizontal 75% color bars */ 70 /* Encoder test pattern 4 - random noise */ 72 /* Encoder test pattern 5 - linear color ramps */ [all …]
|
/linux/drivers/clk/sunxi/ |
H A D | clk-sunxi.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 9 #include <linux/clk-provider.h> 14 #include <linux/reset-controller.h> 19 #include "clk-factors.h" 27 * sun4i_get_pll1_factors() - calculates n, k, m, p factors for PLL1 38 div = req->rate / 6000000; in sun4i_get_pll1_factors() 39 req->rate = 6000000 * div; in sun4i_get_pll1_factors() 42 req->m = 0; in sun4i_get_pll1_factors() 45 if (req->rate >= 768000000 || req->rate == 42000000 || in sun4i_get_pll1_factors() 46 req->rate == 54000000) in sun4i_get_pll1_factors() [all …]
|
/linux/net/ipv4/ |
H A D | tcp_htcp.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * H-TCP congestion control. The algorithm is detailed in: 5 * "H-TCP: TCP for high-speed and long-distance networks" 27 u32 alpha; /* Fixed point arith, << 7 */ 28 u8 beta; /* Fixed point arith, << 7 */ 51 return jiffies - ca->last_cong; in htcp_cong_time() 56 return htcp_cong_time(ca) / ca->minRTT; in htcp_ccount() 61 ca->undo_last_cong = ca->last_cong; in htcp_reset() 62 ca->undo_maxRTT = ca->maxRTT; in htcp_reset() 63 ca->undo_old_maxB = ca->old_maxB; in htcp_reset() [all …]
|
/linux/arch/arm64/boot/dts/broadcom/northstar2/ |
H A D | ns2-clock.dtsi | 33 #include <dt-bindings/clock/bcm-ns2.h> 36 #clock-cells = <0>; 37 compatible = "fixed-clock"; 38 clock-frequency = <25000000>; 42 #clock-cells = <1>; 43 compatible = "brcm,ns2-lcpll-ddr"; 48 clock-output-names = "lcpll_ddr", "pcie_sata_usb", 55 #clock-cells = <1>; 56 compatible = "brcm,ns2-lcpll-ports"; 61 clock-output-names = "lcpll_ports", "wan", "rgmii", [all …]
|