| /Linux-v5.4/drivers/clk/sunxi/ |
| D | clk-factors.c | 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 112 factors->get_factors(&factors_req); in clk_factors_determine_rate() [all …]
|
| D | clk-sunxi.c | 874 const struct factors_data *factors; /* data for the factor clock */ member 902 .factors = &sun4i_pll5_data, 913 .factors = &sun4i_pll5_data, 924 .factors = &sun6i_a31_pll6_data, 955 struct factors_data factors = *data->factors; in sunxi_divs_clk_setup() local 969 i, &factors.name); in sunxi_divs_clk_setup() 974 if (factors.name == NULL) { in sunxi_divs_clk_setup() 985 factors.name = derived_name; in sunxi_divs_clk_setup() 987 factors.name = clk_name; in sunxi_divs_clk_setup() 992 pclk = sunxi_factors_clk_setup(node, &factors); in sunxi_divs_clk_setup()
|
| D | Makefile | 6 obj-$(CONFIG_CLK_SUNXI) += clk-factors.o
|
| /Linux-v5.4/drivers/clk/ |
| D | clk-milbeaut.c | 498 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-v5.4/sound/soc/codecs/ |
| D | wm8400.c | 864 static int fll_factors(struct wm8400_priv *wm8400, struct fll_factors *factors, in fll_factors() argument 870 factors->outdiv = 2; in fll_factors() 871 while (Fout * factors->outdiv < 90000000 || in fll_factors() 872 Fout * factors->outdiv > 100000000) { in fll_factors() 873 factors->outdiv *= 2; in fll_factors() 874 if (factors->outdiv > 32) { in fll_factors() 881 target = Fout * factors->outdiv; in fll_factors() 882 factors->outdiv = factors->outdiv >> 2; in fll_factors() 885 factors->freq_ref = 1; in fll_factors() 887 factors->freq_ref = 0; in fll_factors() [all …]
|
| D | wm2200.c | 1939 struct _fll_div factors; in wm2200_set_fll() local 1965 ret = fll_factors(&factors, Fref, Fout); in wm2200_set_fll() 1974 (factors.fll_outdiv << WM2200_FLL_OUTDIV_SHIFT) | in wm2200_set_fll() 1975 factors.fll_fratio); in wm2200_set_fll() 1976 if (factors.theta) { in wm2200_set_fll() 1991 factors.theta); in wm2200_set_fll() 1993 factors.n); in wm2200_set_fll() 1997 (factors.fll_refclk_div in wm2200_set_fll() 2000 WM2200_FLL_LAMBDA_MASK, factors.lambda); in wm2200_set_fll()
|
| D | wm5100.c | 1759 struct _fll_div factors; in wm5100_set_fll() local 1803 ret = fll_factors(&factors, Fref, Fout); in wm5100_set_fll() 1812 (factors.fll_outdiv << WM5100_FLL1_OUTDIV_SHIFT) | in wm5100_set_fll() 1813 factors.fll_fratio); in wm5100_set_fll() 1815 factors.theta); in wm5100_set_fll() 1816 snd_soc_component_update_bits(component, base + 5, WM5100_FLL1_N_MASK, factors.n); in wm5100_set_fll() 1820 (factors.fll_refclk_div in wm5100_set_fll() 1823 factors.lambda); in wm5100_set_fll()
|
| /Linux-v5.4/drivers/staging/media/sunxi/cedrus/ |
| D | cedrus_h264.c | 269 const struct v4l2_h264_weight_factors *factors = in cedrus_write_pred_weight_table() local 272 for (j = 0; j < ARRAY_SIZE(factors->luma_weight); j++) { in cedrus_write_pred_weight_table() 275 val = (((u32)factors->luma_offset[j] & 0x1ff) << 16) | in cedrus_write_pred_weight_table() 276 (factors->luma_weight[j] & 0x1ff); in cedrus_write_pred_weight_table() 280 for (j = 0; j < ARRAY_SIZE(factors->chroma_weight); j++) { in cedrus_write_pred_weight_table() 281 for (k = 0; k < ARRAY_SIZE(factors->chroma_weight[0]); k++) { in cedrus_write_pred_weight_table() 284 val = (((u32)factors->chroma_offset[j][k] & 0x1ff) << 16) | in cedrus_write_pred_weight_table() 285 (factors->chroma_weight[j][k] & 0x1ff); in cedrus_write_pred_weight_table()
|
| /Linux-v5.4/drivers/power/avs/ |
| D | Kconfig | 9 static factors (chip manufacturing process) and dynamic factors
|
| /Linux-v5.4/drivers/clk/sprd/ |
| D | pll.h | 54 const struct clk_bit_field *factors; member 70 .factors = _factors, \
|
| D | pll.c | 19 (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-v5.4/Documentation/driver-api/thermal/ |
| D | cpu-cooling-api.rst | 70 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
|
| D | power_allocator.rst | 69 variations such as environmental conditions, and some factors related 240 depend on external factors that may change so this function should the
|
| /Linux-v5.4/Documentation/media/uapi/v4l/ |
| D | selection-api-examples.rst | 67 Example: Querying for scaling factors 89 /* computing scaling factors */
|
| D | ext-ctrls-jpeg.rst | 33 The chroma subsampling factors describe how each component of an
|
| D | vidioc-cropcap.rst | 43 aspect of images and to calculate scale factors. They set the ``type``
|
| D | crop.rst | 120 factors, or have different scaling abilities in horizontal and vertical 153 rectangle of 608 × 456 pixels. The present scaling factors limit
|
| D | selection-api-configuration.rst | 20 factors, or have different scaling abilities in the horizontal and
|
| /Linux-v5.4/Documentation/media/v4l-drivers/ |
| D | soc-camera.rst | 122 pixel. Changing sensor window sizes preserves any scaling factors, therefore 126 much as possible by modifying scaling factors. If the sensor window cannot be 143 factors have to be maintained by camera drivers internally. According to the
|
| /Linux-v5.4/Documentation/devicetree/bindings/iio/light/ |
| D | us5182d.txt | 28 If the optional properties are not specified these factors will default to the
|
| /Linux-v5.4/Documentation/driver-api/serial/ |
| D | serial-iso7816.rst | 72 /* Set transmission factors: */
|
| /Linux-v5.4/Documentation/ABI/testing/ |
| D | sysfs-bus-event_source-devices-events | 82 Description: Perf event scaling factors
|
| /Linux-v5.4/drivers/net/can/usb/ |
| D | Kconfig | 112 adapters from Theobroma Systems. There are two form-factors
|
| /Linux-v5.4/Documentation/devicetree/bindings/mtd/ |
| D | gpmc-nand.txt | 109 on various other factors also like;
|
| /Linux-v5.4/drivers/s390/block/ |
| D | dasd_eckd.h | 296 } __attribute__ ((packed)) factors; member
|