Home
last modified time | relevance | path

Searched full:factors (Results 1 – 25 of 218) sorted by relevance

123456789

/Linux-v6.1/drivers/clk/sunxi/
Dclk-factors.c16 #include "clk-factors.h"
46 struct clk_factors *factors = to_clk_factors(hw); in clk_factors_recalc_rate() local
47 const struct clk_factors_config *config = factors->config; in clk_factors_recalc_rate()
50 reg = readl(factors->reg); in clk_factors_recalc_rate()
62 if (factors->recalc) { in clk_factors_recalc_rate()
72 if (factors->mux) in clk_factors_recalc_rate()
74 (reg >> factors->mux->shift) & in clk_factors_recalc_rate()
75 factors->mux->mask; in clk_factors_recalc_rate()
77 factors->recalc(&factors_req); in clk_factors_recalc_rate()
91 struct clk_factors *factors = to_clk_factors(hw); in clk_factors_determine_rate() local
[all …]
Dclk-sunxi.c19 #include "clk-factors.h"
27 * sun4i_get_pll1_factors() - calculates n, k, m, p factors for PLL1
75 * sun6i_a31_get_pll1_factors() - calculates n, k and m factors for PLL1
136 /* Calculate n thanks to the above factors we already got */ in sun6i_a31_get_pll1_factors()
151 * sun8i_a23_get_pll1_factors() - calculates n, k, m, p factors for PLL1
195 * sun4i_get_pll5_factors() - calculates n, k factors for PLL5
222 * sun6i_a31_get_pll6_factors() - calculates n, k factors for A31 PLL6x2
244 * sun5i_a13_get_ahb_factors() - calculates m, p factors for AHB
280 * sun6i_a31_get_ahb_factors() - calculates m, p factors for AHB
324 * sun6i_ahb1_recalc() - calculates AHB clock rate from m, p factors and
[all …]
Dclk-sun6i-ar100.c17 #include "clk-factors.h"
20 * sun6i_get_ar100_factors - Calculates factors p, m for AR100
Dclk-sun9i-core.c14 #include "clk-factors.h"
18 * sun9i_a80_get_pll4_factors() - calculates n, p, m factors for PLL4
229 * sun9i_a80_get_apb1_factors() - calculates m, p factors for APB1
DMakefile6 obj-$(CONFIG_CLK_SUNXI) += clk-factors.o
/Linux-v6.1/drivers/clk/
Dclk-milbeaut.c498 static void m10v_reg_div_pre(const struct m10v_clk_div_factors *factors, in m10v_reg_div_pre() argument
509 if ((factors->offset == CLKSEL(9)) || (factors->offset == CLKSEL(10))) in m10v_reg_div_pre()
514 hw = m10v_clk_hw_register_divider(NULL, factors->name, in m10v_reg_div_pre()
515 factors->parent_name, in m10v_reg_div_pre()
517 base + factors->offset, in m10v_reg_div_pre()
518 factors->shift, in m10v_reg_div_pre()
519 factors->width, factors->div_flags, in m10v_reg_div_pre()
520 factors->table, in m10v_reg_div_pre()
523 if (factors->onecell_idx >= 0) in m10v_reg_div_pre()
524 clk_data->hws[factors->onecell_idx] = hw; in m10v_reg_div_pre()
[all …]
/Linux-v6.1/sound/soc/codecs/
Dwm8400.c852 static int fll_factors(struct wm8400_priv *wm8400, struct fll_factors *factors, in fll_factors() argument
858 factors->outdiv = 2; in fll_factors()
859 while (Fout * factors->outdiv < 90000000 || in fll_factors()
860 Fout * factors->outdiv > 100000000) { in fll_factors()
861 factors->outdiv *= 2; in fll_factors()
862 if (factors->outdiv > 32) { in fll_factors()
869 target = Fout * factors->outdiv; in fll_factors()
870 factors->outdiv = factors->outdiv >> 2; in fll_factors()
873 factors->freq_ref = 1; in fll_factors()
875 factors->freq_ref = 0; in fll_factors()
[all …]
/Linux-v6.1/drivers/gpu/drm/sun4i/
Dsun8i_csc.c18 * Factors are in two's complement format, 10 bits for fractinal part.
51 * DE3 has a bit different CSC units. Factors are in two's complement format.
52 * First three factors in a row are multiplication factors which have 17 bits
53 * for fractional part. Fourth value in a row is comprised of two factors.
67 * Layout of factors in table:
/Linux-v6.1/Documentation/driver-api/thermal/
Dcpu-cooling-api.rst70 The dynamic power consumption of a processor depends on many factors.
71 For a given processor implementation the primary factors are:
81 but typically it is of a much lesser impact than the factors above.
94 factors. Therefore, in initial implementation that contribution is
/Linux-v6.1/drivers/clk/sprd/
Dpll.h47 * @factors used to calculate the pll clock rate
54 const struct clk_bit_field *factors; member
71 .factors = _factors, \
Dpll.c19 (pll->factors[member].shift / (8 * sizeof(pll->regs_num)))
22 (pll->factors[member].shift % (8 * sizeof(pll->regs_num)))
25 pll->factors[member].width
/Linux-v6.1/drivers/staging/media/sunxi/cedrus/
Dcedrus_h264.c276 const struct v4l2_h264_weight_factors *factors = in cedrus_write_pred_weight_table() local
279 for (j = 0; j < ARRAY_SIZE(factors->luma_weight); j++) { in cedrus_write_pred_weight_table()
282 val = (((u32)factors->luma_offset[j] & 0x1ff) << 16) | in cedrus_write_pred_weight_table()
283 (factors->luma_weight[j] & 0x1ff); in cedrus_write_pred_weight_table()
287 for (j = 0; j < ARRAY_SIZE(factors->chroma_weight); j++) { in cedrus_write_pred_weight_table()
288 for (k = 0; k < ARRAY_SIZE(factors->chroma_weight[0]); k++) { in cedrus_write_pred_weight_table()
291 val = (((u32)factors->chroma_offset[j][k] & 0x1ff) << 16) | in cedrus_write_pred_weight_table()
292 (factors->chroma_weight[j][k] & 0x1ff); in cedrus_write_pred_weight_table()
/Linux-v6.1/Documentation/userspace-api/media/v4l/
Dselection-api-examples.rst60 Example: Querying for scaling factors
82 /* computing scaling factors */
Dyuv-formats.rst28 While many combinations of subsampling factors in the horizontal and vertical
29 direction are possible, common factors are 1 (no subsampling), 2 and 4, with
/Linux-v6.1/drivers/macintosh/
Dwindfarm_pm81.c20 * scaling factors (scale/offsets) expressed as 4.12 fixed point values
27 * the first pair of factors, and is then modified as below
29 * scaled with the second pair of factors, and the max of that and
41 * linear-factors : offset = 0xff38 scale = 0x0ccd
53 * linear-factors : offset = 0xff38 scale = 0x0ccd
65 * linear-factors : offset = 0x0000 scale = 0x1000
77 * linear-factors : offset = 0xfb50 scale = 0x1000
/Linux-v6.1/drivers/crypto/caam/
Dcaampkc.h36 * dP the first factors's CRT exponent
37 * dQ the second factors's CRT exponent
Dpdb.h549 * @p_q_len : length in bytes of first two prime factors of the RSA modulus n
567 * This is the RSA Chinese Reminder Theorem (CRT) form for two prime factors of
581 * @p_q_len : length in bytes of first two prime factors of the RSA modulus n
/Linux-v6.1/drivers/cpuidle/governors/
Dmenu.c32 * For the menu governor, there are 3 decision factors for picking a C
37 * These three factors are treated independently.
55 * set of factors, not just a single factor. This stems from the realization
64 * For these two reasons we keep an array of 12 independent factors, that gets
96 * Two factors are used in determing this multiplier:
/Linux-v6.1/drivers/thermal/
Dk3_j72xx_bandgap.c51 static int compute_value(int index, const s64 *factors, int nr_factors, in compute_value() argument
58 value += factors[i] * int_pow(index, i); in compute_value()
63 static void init_table(int factors_size, int *table, const s64 *factors) in init_table() argument
68 table[i] = compute_value(i, factors, factors_size, in init_table()
/Linux-v6.1/Documentation/mm/
Dmultigen_lru.rst40 additional factors stand out. But obvious choices might not be good
46 categorized based on additional factors, and a feedback loop can
/Linux-v6.1/drivers/staging/media/atomisp/pci/isp/kernels/anr/anr_1.0/
Dia_css_anr_types.h33 s32 factors[3]; member
/Linux-v6.1/drivers/staging/media/atomisp/pci/
Dsh_css_defs.h56 /* enumeration of the bayer downscale factors. When a binary supports multiple
57 * factors, the OR of these defines is used to build the mask of supported
58 * factors. The BDS factor is used in pre-processor expressions so we cannot
/Linux-v6.1/drivers/clk/sunxi-ng/
Dccu_sdm.h24 * M and N factors here should be the values used in
/Linux-v6.1/net/ipv4/
Dtcp_scalable.c12 /* These factors derived from the recommended values in the aer:
/Linux-v6.1/drivers/soc/mediatek/
DKconfig85 chip process corner, temperatures and other factors. Then DVFS

123456789