Home
last modified time | relevance | path

Searched refs:factors (Results 1 – 25 of 51) sorted by relevance

123

/linux/drivers/clk/sunxi/
H A Dclk-factors.c46 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
112 factors->get_factors(&factors_req); in clk_factors_determine_rate()
[all …]
H A Dclk-sunxi.c863 const struct factors_data *factors; /* data for the factor clock */ member
891 .factors = &sun4i_pll5_data,
902 .factors = &sun4i_pll5_data,
913 .factors = &sun6i_a31_pll6_data,
944 struct factors_data factors = *data->factors; in sunxi_divs_clk_setup() local
958 i, &factors.name); in sunxi_divs_clk_setup()
963 if (factors.name == NULL) { in sunxi_divs_clk_setup()
974 factors.name = derived_name; in sunxi_divs_clk_setup()
976 factors.name = clk_name; in sunxi_divs_clk_setup()
981 pclk = sunxi_factors_clk_setup(node, &factors); in sunxi_divs_clk_setup()
H A DMakefile6 obj-$(CONFIG_CLK_SUNXI) += clk-factors.o
/linux/drivers/clk/
H A Dclk-milbeaut.c504 static void m10v_reg_div_pre(const struct m10v_clk_div_factors *factors, in m10v_reg_div_pre() argument
515 if ((factors->offset == CLKSEL(9)) || (factors->offset == CLKSEL(10))) in m10v_reg_div_pre()
520 hw = m10v_clk_hw_register_divider(NULL, factors->name, in m10v_reg_div_pre()
521 factors->parent_name, in m10v_reg_div_pre()
523 base + factors->offset, in m10v_reg_div_pre()
524 factors->shift, in m10v_reg_div_pre()
525 factors->width, factors->div_flags, in m10v_reg_div_pre()
526 factors->table, in m10v_reg_div_pre()
529 if (factors->onecell_idx >= 0) in m10v_reg_div_pre()
530 clk_data->hws[factors->onecell_idx] = hw; in m10v_reg_div_pre()
[all …]
/linux/drivers/staging/media/sunxi/cedrus/
H A Dcedrus_h264.c296 const struct v4l2_h264_weight_factors *factors = in cedrus_write_pred_weight_table() local
299 for (j = 0; j < ARRAY_SIZE(factors->luma_weight); j++) { in cedrus_write_pred_weight_table()
302 val = (((u32)factors->luma_offset[j] & 0x1ff) << 16) | in cedrus_write_pred_weight_table()
303 (factors->luma_weight[j] & 0x1ff); in cedrus_write_pred_weight_table()
307 for (j = 0; j < ARRAY_SIZE(factors->chroma_weight); j++) { in cedrus_write_pred_weight_table()
308 for (k = 0; k < ARRAY_SIZE(factors->chroma_weight[0]); k++) { in cedrus_write_pred_weight_table()
311 val = (((u32)factors->chroma_offset[j][k] & 0x1ff) << 16) | in cedrus_write_pred_weight_table()
312 (factors->chroma_weight[j][k] & 0x1ff); in cedrus_write_pred_weight_table()
/linux/Documentation/driver-api/thermal/
H A 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
H A Dpower_allocator.rst69 variations such as environmental conditions, and some factors related
242 depend on external factors that may change so this function should the
/linux/drivers/clk/sprd/
H A Dpll.h54 const struct clk_bit_field *factors; member
71 .factors = _factors, \
H A 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/Documentation/userspace-api/media/v4l/
H A Dselection-api-examples.rst61 Example: Querying for scaling factors
83 /* computing scaling factors */
H A Dyuv-formats.rst29 While many combinations of subsampling factors in the horizontal and vertical
30 direction are possible, common factors are 1 (no subsampling), 2 and 4, with
H A Dext-ctrls-jpeg.rst27 The chroma subsampling factors describe how each component of an
H A Dvidioc-cropcap.rst35 aspect of images and to calculate scale factors. They set the ``type``
H A Dcrop.rst114 factors, or have different scaling abilities in horizontal and vertical
147 rectangle of 608 × 456 pixels. The present scaling factors limit
H A Dselection-api-configuration.rst14 factors, or have different scaling abilities in the horizontal and
/linux/drivers/net/can/esd/
H A DKconfig8 available in several form factors: PCI, PCIe, PCIe Mini,
/linux/sound/soc/codecs/
H A Dwm5100.c1762 struct _fll_div factors; in wm5100_set_fll() local
1806 ret = fll_factors(&factors, Fref, Fout); in wm5100_set_fll()
1815 (factors.fll_outdiv << WM5100_FLL1_OUTDIV_SHIFT) | in wm5100_set_fll()
1816 factors.fll_fratio); in wm5100_set_fll()
1818 factors.theta); in wm5100_set_fll()
1819 snd_soc_component_update_bits(component, base + 5, WM5100_FLL1_N_MASK, factors.n); in wm5100_set_fll()
1823 (factors.fll_refclk_div in wm5100_set_fll()
1826 factors.lambda); in wm5100_set_fll()
/linux/Documentation/driver-api/serial/
H A Dserial-iso7816.rst72 /* Set transmission factors: */
/linux/drivers/net/wireless/microchip/wilc1000/
H A Dwlan.c269 u8 factors[NQUEUES] = {1, 1, 1, 1}; in is_ac_q_limit() local
283 q->cnt[i] = AC_BUFFER_SIZE * factors[i] / NQUEUES; in is_ac_q_limit()
291 q->cnt[q->buffer[end_index]] -= factors[q->buffer[end_index]]; in is_ac_q_limit()
292 q->cnt[q_num] += factors[q_num]; in is_ac_q_limit()
293 q->sum += (factors[q_num] - factors[q->buffer[end_index]]); in is_ac_q_limit()
/linux/Documentation/arch/x86/
H A Dintel-hfi.rst29 operating conditions of the system or the action of external factors. The rate
H A Damd-hfi.rst81 operating conditions of the system or the action of external factors.
/linux/Documentation/userspace-api/media/drivers/
H A Dccs.rst97 The ``linear`` and ``exponent`` factors can be set using the
/linux/Documentation/dev-tools/kunit/api/
H A Dfunctionredirection.rst12 (it won't be affected by external factors), reduces dependencies on specific
/linux/Documentation/mm/
H A 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/drivers/s390/block/
H A Ddasd_eckd.h303 } __attribute__ ((packed)) factors; member

123