Home
last modified time | relevance | path

Searched full:factor (Results 1 – 25 of 1902) sorted by relevance

12345678910>>...77

/OK3568_Linux_fs/kernel/drivers/clk/mmp/
H A Dclk-frac.c2 * mmp factor clock operation source file
22 * numerator/denominator = Fin / (Fout * factor)
30 struct mmp_clk_factor *factor = to_clk_factor(hw); in clk_factor_round_rate() local
34 for (i = 0; i < factor->ftbl_cnt; i++) { in clk_factor_round_rate()
37 rate *= factor->ftbl[i].den; in clk_factor_round_rate()
38 do_div(rate, factor->ftbl[i].num * factor->masks->factor); in clk_factor_round_rate()
43 if ((i == 0) || (i == factor->ftbl_cnt)) { in clk_factor_round_rate()
56 struct mmp_clk_factor *factor = to_clk_factor(hw); in clk_factor_recalc_rate() local
57 struct mmp_clk_factor_masks *masks = factor->masks; in clk_factor_recalc_rate()
61 val = readl_relaxed(factor->base); in clk_factor_recalc_rate()
[all …]
/OK3568_Linux_fs/kernel/drivers/clk/mediatek/
H A Dclk-mt8135.c20 FACTOR(CLK_TOP_DSI0_LNTC_DSICLK, "dsi0_lntc_dsiclk", "clk_null", 1, 1),
21 FACTOR(CLK_TOP_HDMITX_CLKDIG_CTS, "hdmitx_clkdig_cts", "clk_null", 1, 1),
22 FACTOR(CLK_TOP_CLKPH_MCK, "clkph_mck", "clk_null", 1, 1),
23 FACTOR(CLK_TOP_CPUM_TCK_IN, "cpum_tck_in", "clk_null", 1, 1),
27 FACTOR(CLK_TOP_MAINPLL_806M, "mainpll_806m", "mainpll", 1, 2),
28 FACTOR(CLK_TOP_MAINPLL_537P3M, "mainpll_537p3m", "mainpll", 1, 3),
29 FACTOR(CLK_TOP_MAINPLL_322P4M, "mainpll_322p4m", "mainpll", 1, 5),
30 FACTOR(CLK_TOP_MAINPLL_230P3M, "mainpll_230p3m", "mainpll", 1, 7),
32 FACTOR(CLK_TOP_UNIVPLL_624M, "univpll_624m", "univpll", 1, 2),
33 FACTOR(CLK_TOP_UNIVPLL_416M, "univpll_416m", "univpll", 1, 3),
[all …]
H A Dclk-mt7629.c388 FACTOR(CLK_TOP_TO_USB3_SYS, "to_usb3_sys", "eth1pll", 1, 4),
389 FACTOR(CLK_TOP_P1_1MHZ, "p1_1mhz", "eth1pll", 1, 500),
390 FACTOR(CLK_TOP_4MHZ, "free_run_4mhz", "eth1pll", 1, 125),
391 FACTOR(CLK_TOP_P0_1MHZ, "p0_1mhz", "eth1pll", 1, 500),
392 FACTOR(CLK_TOP_ETH_500M, "eth_500m", "eth1pll", 1, 1),
393 FACTOR(CLK_TOP_TXCLK_SRC_PRE, "txclk_src_pre", "sgmiipll_d2", 1, 1),
394 FACTOR(CLK_TOP_RTC, "rtc", "clkxtal", 1, 1024),
395 FACTOR(CLK_TOP_PWM_QTR_26M, "pwm_qtr_26m", "clkxtal", 1, 1),
396 FACTOR(CLK_TOP_CPUM_TCK_IN, "cpum_tck_in", "cpum_tck", 1, 1),
397 FACTOR(CLK_TOP_TO_USB3_DA_TOP, "to_usb3_da_top", "clkxtal", 1, 1),
[all …]
H A Dclk-mt6765.c82 FACTOR(CLK_TOP_SYSPLL, "syspll_ck", "mainpll", 1, 1),
83 FACTOR(CLK_TOP_SYSPLL_D2, "syspll_d2", "mainpll", 1, 2),
84 FACTOR(CLK_TOP_SYSPLL1_D2, "syspll1_d2", "syspll_d2", 1, 2),
85 FACTOR(CLK_TOP_SYSPLL1_D4, "syspll1_d4", "syspll_d2", 1, 4),
86 FACTOR(CLK_TOP_SYSPLL1_D8, "syspll1_d8", "syspll_d2", 1, 8),
87 FACTOR(CLK_TOP_SYSPLL1_D16, "syspll1_d16", "syspll_d2", 1, 16),
88 FACTOR(CLK_TOP_SYSPLL_D3, "syspll_d3", "mainpll", 1, 3),
89 FACTOR(CLK_TOP_SYSPLL2_D2, "syspll2_d2", "syspll_d3", 1, 2),
90 FACTOR(CLK_TOP_SYSPLL2_D4, "syspll2_d4", "syspll_d3", 1, 4),
91 FACTOR(CLK_TOP_SYSPLL2_D8, "syspll2_d8", "syspll_d3", 1, 8),
[all …]
H A Dclk-mt2701.c58 FACTOR(CLK_TOP_SYSPLL, "syspll_ck", "mainpll", 1, 1),
59 FACTOR(CLK_TOP_SYSPLL_D2, "syspll_d2", "mainpll", 1, 2),
60 FACTOR(CLK_TOP_SYSPLL_D3, "syspll_d3", "mainpll", 1, 3),
61 FACTOR(CLK_TOP_SYSPLL_D5, "syspll_d5", "mainpll", 1, 5),
62 FACTOR(CLK_TOP_SYSPLL_D7, "syspll_d7", "mainpll", 1, 7),
63 FACTOR(CLK_TOP_SYSPLL1_D2, "syspll1_d2", "syspll_d2", 1, 2),
64 FACTOR(CLK_TOP_SYSPLL1_D4, "syspll1_d4", "syspll_d2", 1, 4),
65 FACTOR(CLK_TOP_SYSPLL1_D8, "syspll1_d8", "syspll_d2", 1, 8),
66 FACTOR(CLK_TOP_SYSPLL1_D16, "syspll1_d16", "syspll_d2", 1, 16),
67 FACTOR(CLK_TOP_SYSPLL2_D2, "syspll2_d2", "syspll_d3", 1, 2),
[all …]
H A Dclk-mt6797.c26 FACTOR(CLK_TOP_SYSPLL_CK, "syspll_ck", "mainpll", 1, 1),
27 FACTOR(CLK_TOP_SYSPLL_D2, "syspll_d2", "mainpll", 1, 2),
28 FACTOR(CLK_TOP_SYSPLL1_D2, "syspll1_d2", "syspll_d2", 1, 2),
29 FACTOR(CLK_TOP_SYSPLL1_D4, "syspll1_d4", "syspll_d2", 1, 4),
30 FACTOR(CLK_TOP_SYSPLL1_D8, "syspll1_d8", "syspll_d2", 1, 8),
31 FACTOR(CLK_TOP_SYSPLL1_D16, "syspll1_d16", "syspll_d2", 1, 16),
32 FACTOR(CLK_TOP_SYSPLL_D3, "syspll_d3", "mainpll", 1, 3),
33 FACTOR(CLK_TOP_SYSPLL_D3_D3, "syspll_d3_d3", "syspll_d3", 1, 3),
34 FACTOR(CLK_TOP_SYSPLL2_D2, "syspll2_d2", "syspll_d3", 1, 2),
35 FACTOR(CLK_TOP_SYSPLL2_D4, "syspll2_d4", "syspll_d3", 1, 4),
[all …]
H A Dclk-mt2712.c39 FACTOR(CLK_TOP_SYS_26M, "sys_26m", "clk26m", 1,
41 FACTOR(CLK_TOP_CLK26M_D2, "clk26m_d2", "sys_26m", 1,
46 FACTOR(CLK_TOP_ARMCA35PLL, "armca35pll_ck", "armca35pll", 1,
48 FACTOR(CLK_TOP_ARMCA35PLL_600M, "armca35pll_600m", "armca35pll_ck", 1,
50 FACTOR(CLK_TOP_ARMCA35PLL_400M, "armca35pll_400m", "armca35pll_ck", 1,
52 FACTOR(CLK_TOP_ARMCA72PLL, "armca72pll_ck", "armca72pll", 1,
54 FACTOR(CLK_TOP_SYSPLL, "syspll_ck", "mainpll", 1,
56 FACTOR(CLK_TOP_SYSPLL_D2, "syspll_d2", "syspll_ck", 1,
58 FACTOR(CLK_TOP_SYSPLL1_D2, "syspll1_d2", "syspll_d2", 1,
60 FACTOR(CLK_TOP_SYSPLL1_D4, "syspll1_d4", "syspll_d2", 1,
[all …]
H A Dclk-mt8173.c36 FACTOR(CLK_TOP_ARMCA7PLL_754M, "armca7pll_754m", "armca7pll", 1, 2),
37 FACTOR(CLK_TOP_ARMCA7PLL_502M, "armca7pll_502m", "armca7pll", 1, 3),
39 FACTOR(CLK_TOP_MAIN_H546M, "main_h546m", "mainpll", 1, 2),
40 FACTOR(CLK_TOP_MAIN_H364M, "main_h364m", "mainpll", 1, 3),
41 FACTOR(CLK_TOP_MAIN_H218P4M, "main_h218p4m", "mainpll", 1, 5),
42 FACTOR(CLK_TOP_MAIN_H156M, "main_h156m", "mainpll", 1, 7),
44 FACTOR(CLK_TOP_TVDPLL_445P5M, "tvdpll_445p5m", "tvdpll", 1, 4),
45 FACTOR(CLK_TOP_TVDPLL_594M, "tvdpll_594m", "tvdpll", 1, 3),
47 FACTOR(CLK_TOP_UNIV_624M, "univ_624m", "univpll", 1, 2),
48 FACTOR(CLK_TOP_UNIV_416M, "univ_416m", "univpll", 1, 3),
[all …]
H A Dclk-mt6779.c25 FACTOR(CLK_TOP_CLK13M, "clk13m", "clk26m", 1, 2),
26 FACTOR(CLK_TOP_F26M_CK_D2, "csw_f26m_ck_d2", "clk26m", 1, 2),
27 FACTOR(CLK_TOP_MAINPLL_CK, "mainpll_ck", "mainpll", 1, 1),
28 FACTOR(CLK_TOP_MAINPLL_D2, "mainpll_d2", "mainpll_ck", 1, 2),
29 FACTOR(CLK_TOP_MAINPLL_D2_D2, "mainpll_d2_d2", "mainpll_d2", 1, 2),
30 FACTOR(CLK_TOP_MAINPLL_D2_D4, "mainpll_d2_d4", "mainpll_d2", 1, 4),
31 FACTOR(CLK_TOP_MAINPLL_D2_D8, "mainpll_d2_d8", "mainpll_d2", 1, 8),
32 FACTOR(CLK_TOP_MAINPLL_D2_D16, "mainpll_d2_d16", "mainpll_d2", 1, 16),
33 FACTOR(CLK_TOP_MAINPLL_D3, "mainpll_d3", "mainpll", 1, 3),
34 FACTOR(CLK_TOP_MAINPLL_D3_D2, "mainpll_d3_d2", "mainpll_d3", 1, 2),
[all …]
H A Dclk-mt8183.c32 FACTOR(CLK_TOP_CLK13M, "clk13m", "clk26m", 1, 2),
36 FACTOR(CLK_TOP_F26M_CK_D2, "csw_f26m_ck_d2", "clk26m", 1,
38 FACTOR(CLK_TOP_SYSPLL_CK, "syspll_ck", "mainpll", 1,
40 FACTOR(CLK_TOP_SYSPLL_D2, "syspll_d2", "syspll_ck", 1,
42 FACTOR(CLK_TOP_SYSPLL_D2_D2, "syspll_d2_d2", "syspll_d2", 1,
44 FACTOR(CLK_TOP_SYSPLL_D2_D4, "syspll_d2_d4", "syspll_d2", 1,
46 FACTOR(CLK_TOP_SYSPLL_D2_D8, "syspll_d2_d8", "syspll_d2", 1,
48 FACTOR(CLK_TOP_SYSPLL_D2_D16, "syspll_d2_d16", "syspll_d2", 1,
50 FACTOR(CLK_TOP_SYSPLL_D3, "syspll_d3", "mainpll", 1,
52 FACTOR(CLK_TOP_SYSPLL_D3_D2, "syspll_d3_d2", "syspll_d3", 1,
[all …]
H A Dclk-mt7622.c388 FACTOR(CLK_TOP_TO_USB3_SYS, "to_usb3_sys", "eth1pll", 1, 4),
389 FACTOR(CLK_TOP_P1_1MHZ, "p1_1mhz", "eth1pll", 1, 500),
390 FACTOR(CLK_TOP_4MHZ, "free_run_4mhz", "eth1pll", 1, 125),
391 FACTOR(CLK_TOP_P0_1MHZ, "p0_1mhz", "eth1pll", 1, 500),
392 FACTOR(CLK_TOP_TXCLK_SRC_PRE, "txclk_src_pre", "sgmiipll_d2", 1, 1),
393 FACTOR(CLK_TOP_RTC, "rtc", "clkxtal", 1, 1024),
394 FACTOR(CLK_TOP_MEMPLL, "mempll", "clkxtal", 32, 1),
395 FACTOR(CLK_TOP_DMPLL, "dmpll_ck", "mempll", 1, 1),
396 FACTOR(CLK_TOP_SYSPLL_D2, "syspll_d2", "mainpll", 1, 2),
397 FACTOR(CLK_TOP_SYSPLL1_D2, "syspll1_d2", "mainpll", 1, 4),
[all …]
H A Dclk-mt8167.c32 FACTOR(CLK_TOP_DMPLL, "dmpll_ck", "mempll", 1, 1),
33 FACTOR(CLK_TOP_MAINPLL_D2, "mainpll_d2", "mainpll", 1, 2),
34 FACTOR(CLK_TOP_MAINPLL_D4, "mainpll_d4", "mainpll", 1, 4),
35 FACTOR(CLK_TOP_MAINPLL_D8, "mainpll_d8", "mainpll", 1, 8),
36 FACTOR(CLK_TOP_MAINPLL_D16, "mainpll_d16", "mainpll", 1, 16),
37 FACTOR(CLK_TOP_MAINPLL_D11, "mainpll_d11", "mainpll", 1, 11),
38 FACTOR(CLK_TOP_MAINPLL_D22, "mainpll_d22", "mainpll", 1, 22),
39 FACTOR(CLK_TOP_MAINPLL_D3, "mainpll_d3", "mainpll", 1, 3),
40 FACTOR(CLK_TOP_MAINPLL_D6, "mainpll_d6", "mainpll", 1, 6),
41 FACTOR(CLK_TOP_MAINPLL_D12, "mainpll_d12", "mainpll", 1, 12),
[all …]
H A Dclk-mt8516.c28 FACTOR(CLK_TOP_DMPLL, "dmpll_ck", "mempll", 1, 1),
29 FACTOR(CLK_TOP_MAINPLL_D2, "mainpll_d2", "mainpll", 1, 2),
30 FACTOR(CLK_TOP_MAINPLL_D4, "mainpll_d4", "mainpll", 1, 4),
31 FACTOR(CLK_TOP_MAINPLL_D8, "mainpll_d8", "mainpll", 1, 8),
32 FACTOR(CLK_TOP_MAINPLL_D16, "mainpll_d16", "mainpll", 1, 16),
33 FACTOR(CLK_TOP_MAINPLL_D11, "mainpll_d11", "mainpll", 1, 11),
34 FACTOR(CLK_TOP_MAINPLL_D22, "mainpll_d22", "mainpll", 1, 22),
35 FACTOR(CLK_TOP_MAINPLL_D3, "mainpll_d3", "mainpll", 1, 3),
36 FACTOR(CLK_TOP_MAINPLL_D6, "mainpll_d6", "mainpll", 1, 6),
37 FACTOR(CLK_TOP_MAINPLL_D12, "mainpll_d12", "mainpll", 1, 12),
[all …]
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/geometry/policies/robustness/
H A Dget_rescale_policy.hpp57 typename Factor
62 Factor& factor) in scale_box_to_integer_range() argument
76 factor = 1; in scale_box_to_integer_range()
80 factor = boost::numeric_cast<num_type>( in scale_box_to_integer_range()
82 BOOST_GEOMETRY_ASSERT(factor >= 1); in scale_box_to_integer_range()
93 template <typename Point, typename RobustPoint, typename Geometry, typename Factor>
97 Factor& factor) in init_rescale_policy() argument
107 scale_box_to_integer_range(env, min_point, min_robust_point, factor); in init_rescale_policy()
110 …ate <typename Point, typename RobustPoint, typename Geometry1, typename Geometry2, typename Factor>
115 Factor& factor) in init_rescale_policy() argument
[all …]
/OK3568_Linux_fs/kernel/drivers/iio/afe/
H A Diio-rescale.c154 u32 factor; in rescale_current_sense_amplifier_props() local
168 * Calculate the scaling factor, 1 / (gain * sense), or in rescale_current_sense_amplifier_props()
172 factor = gcd(sense, 1000000); in rescale_current_sense_amplifier_props()
173 rescale->numerator = 1000000 / factor; in rescale_current_sense_amplifier_props()
174 rescale->denominator = sense / factor; in rescale_current_sense_amplifier_props()
176 factor = gcd(rescale->numerator, gain_mult); in rescale_current_sense_amplifier_props()
177 rescale->numerator /= factor; in rescale_current_sense_amplifier_props()
178 rescale->denominator *= gain_mult / factor; in rescale_current_sense_amplifier_props()
180 factor = gcd(rescale->denominator, gain_div); in rescale_current_sense_amplifier_props()
181 rescale->numerator *= gain_div / factor; in rescale_current_sense_amplifier_props()
[all …]
/OK3568_Linux_fs/buildroot/dl/sox/git/src/
H A Ddownsample.c25 unsigned int factor; member
33 p->factor = 2; in create()
36 NUMERIC_PARAMETER(factor, 1, 16384) in create()
44 effp->out_signal.rate = effp->in_signal.rate / p->factor; in start()
45 return p->factor == 1 ? SOX_EFF_NULL : SOX_SUCCESS; in start()
63 while (ilen >= p->factor && olen) { in flow()
65 ibuf += p->factor; in flow()
66 olen--; ilen -= p->factor; in flow()
71 p->carry = p->factor - ilen; in flow()
81 static sox_effect_handler_t handler = {"downsample", "[factor (2)]", in lsx_downsample_effect_fn()
H A Dspeed.c28 double factor; member
39 int scanned = sscanf(*argv, "%lf%c %c", &p->factor, &c, &dummy); in getopts()
42 if (is_cents || p->factor > 0) { in getopts()
43 p->factor = is_cents? pow(2., p->factor / 1200) : p->factor; in getopts()
55 if (p->factor == 1) in start()
58 effp->out_signal.rate = effp->in_signal.rate * p->factor; in start()
69 "speed", "factor[c]", in lsx_speed_effect_fn()
H A Dstretch.c7 * - stretch factor f
32 * FIXME: maybe shift could be allowed > 1.0 with factor < 1.0 ???
34 double factor; /* strech factor. 1.0 means copy. */ member
65 p->factor = 1.0; /* default is no change */ in getopts()
68 if (argc > 0 && !sscanf(argv[0], "%lf", &p->factor)) { in getopts()
69 lsx_fail("error while parsing factor"); in getopts()
90 p->shift = (p->factor <= 1.0) ? in getopts()
104 it makes sense for factor >= 0.5 */ in getopts()
105 if (p->factor < 1.0) in getopts()
106 p->fading = 1.0 - (p->factor * p->shift); in getopts()
[all …]
/OK3568_Linux_fs/u-boot/arch/arm/dts/
H A Dam33xx-clocks.dtsi21 compatible = "fixed-factor-clock";
29 compatible = "fixed-factor-clock";
37 compatible = "fixed-factor-clock";
45 compatible = "fixed-factor-clock";
53 compatible = "fixed-factor-clock";
61 compatible = "fixed-factor-clock";
69 compatible = "fixed-factor-clock";
77 compatible = "fixed-factor-clock";
85 compatible = "fixed-factor-clock";
93 compatible = "fixed-factor-clock";
[all …]
H A Dam43xx-clocks.dtsi37 compatible = "fixed-factor-clock";
45 compatible = "fixed-factor-clock";
53 compatible = "fixed-factor-clock";
61 compatible = "fixed-factor-clock";
69 compatible = "fixed-factor-clock";
77 compatible = "fixed-factor-clock";
85 compatible = "fixed-factor-clock";
93 compatible = "fixed-factor-clock";
101 compatible = "fixed-factor-clock";
319 compatible = "fixed-factor-clock";
[all …]
H A Domap36xx-omap3430es2plus-clocks.dtsi36 compatible = "fixed-factor-clock";
52 compatible = "fixed-factor-clock";
76 compatible = "fixed-factor-clock";
84 compatible = "fixed-factor-clock";
92 compatible = "fixed-factor-clock";
100 compatible = "fixed-factor-clock";
108 compatible = "fixed-factor-clock";
116 compatible = "fixed-factor-clock";
124 compatible = "fixed-factor-clock";
132 compatible = "fixed-factor-clock";
[all …]
/OK3568_Linux_fs/kernel/drivers/s390/block/
H A Ddasd_proc.c184 static void dasd_statistics_array(struct seq_file *m, unsigned int *array, int factor) in dasd_statistics_array() argument
189 seq_printf(m, "%7d ", array[i] / factor); in dasd_statistics_array()
201 int factor; in dasd_stats_proc_show() local
214 for (factor = 1; (prof->dasd_io_reqs / factor) > 9999999; in dasd_stats_proc_show()
215 factor *= 10); in dasd_stats_proc_show()
220 seq_printf(m, "Scale Factor is %d\n", factor); in dasd_stats_proc_show()
231 dasd_statistics_array(m, prof->dasd_io_secs, factor); in dasd_stats_proc_show()
233 dasd_statistics_array(m, prof->dasd_io_times, factor); in dasd_stats_proc_show()
235 dasd_statistics_array(m, prof->dasd_io_timps, factor); in dasd_stats_proc_show()
237 dasd_statistics_array(m, prof->dasd_io_time1, factor); in dasd_stats_proc_show()
[all …]
/OK3568_Linux_fs/kernel/arch/arm/boot/dts/
H A Dam33xx-clocks.dtsi18 compatible = "fixed-factor-clock";
26 compatible = "fixed-factor-clock";
34 compatible = "fixed-factor-clock";
42 compatible = "fixed-factor-clock";
50 compatible = "fixed-factor-clock";
58 compatible = "fixed-factor-clock";
66 compatible = "fixed-factor-clock";
74 compatible = "fixed-factor-clock";
82 compatible = "fixed-factor-clock";
90 compatible = "fixed-factor-clock";
[all …]
H A Domap36xx-omap3430es2plus-clocks.dtsi33 compatible = "fixed-factor-clock";
49 compatible = "fixed-factor-clock";
73 compatible = "fixed-factor-clock";
81 compatible = "fixed-factor-clock";
89 compatible = "fixed-factor-clock";
97 compatible = "fixed-factor-clock";
105 compatible = "fixed-factor-clock";
113 compatible = "fixed-factor-clock";
121 compatible = "fixed-factor-clock";
129 compatible = "fixed-factor-clock";
[all …]
/OK3568_Linux_fs/kernel/drivers/clk/actions/
H A Dowl-factor.c3 // OWL factor clock driver
15 #include "owl-factor.h"
137 struct owl_factor *factor = hw_to_owl_factor(hw); in owl_factor_round_rate() local
138 struct owl_factor_hw *factor_hw = &factor->factor_hw; in owl_factor_round_rate()
140 return owl_factor_helper_round_rate(&factor->common, factor_hw, in owl_factor_round_rate()
177 struct owl_factor *factor = hw_to_owl_factor(hw); in owl_factor_recalc_rate() local
178 struct owl_factor_hw *factor_hw = &factor->factor_hw; in owl_factor_recalc_rate()
179 struct owl_clk_common *common = &factor->common; in owl_factor_recalc_rate()
209 struct owl_factor *factor = hw_to_owl_factor(hw); in owl_factor_set_rate() local
210 struct owl_factor_hw *factor_hw = &factor->factor_hw; in owl_factor_set_rate()
[all …]

12345678910>>...77