Home
last modified time | relevance | path

Searched refs:factor (Results 1 – 25 of 439) sorted by relevance

12345678910>>...18

/openbmc/linux/drivers/clk/mmp/
H A Dclk-frac.c35 do_div(rate, factor->ftbl[i].num * factor->masks->factor); in clk_factor_round_rate()
71 do_div(rate, num * factor->masks->factor); in clk_factor_recalc_rate()
90 do_div(rate, factor->ftbl[i].num * factor->masks->factor); in clk_factor_set_rate()
98 if (factor->lock) in clk_factor_set_rate()
111 if (factor->lock) in clk_factor_set_rate()
125 if (factor->lock) in clk_factor_init()
137 if (den == factor->ftbl[i].den && num == factor->ftbl[i].num) in clk_factor_init()
155 if (factor->lock) in clk_factor_init()
183 factor = kzalloc(sizeof(*factor), GFP_KERNEL); in mmp_clk_register_factor()
184 if (!factor) in mmp_clk_register_factor()
[all …]
/openbmc/linux/drivers/media/platform/allegro-dvt/
H A Dnal-hevc.h387 return factor * 10; in nal_hevc_level()
389 return factor * 20; in nal_hevc_level()
391 return factor * 21; in nal_hevc_level()
393 return factor * 30; in nal_hevc_level()
395 return factor * 31; in nal_hevc_level()
397 return factor * 40; in nal_hevc_level()
399 return factor * 41; in nal_hevc_level()
401 return factor * 50; in nal_hevc_level()
403 return factor * 51; in nal_hevc_level()
405 return factor * 52; in nal_hevc_level()
[all …]
/openbmc/phosphor-dbus-interfaces/yaml/xyz/openbmc_project/User/
H A DMultiFactorAuthConfiguration.interface.yaml2 This interface defines multi-factor authentication configuration. This
11 Multi-factor authentication configuration. This interface will be
20 This property is read only for populating allowed multi-factor
21 authentication types. When there are no multi-factor authentication
28 Multi-factor authentication type enumeration, Types of multi-factor
34 two-factor authentication for logging into servers specified in
38 Default value of multi-factor authentication configuration
/openbmc/linux/drivers/s390/block/
H A Ddasd_proc.c189 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()
239 dasd_statistics_array(m, prof->dasd_io_time2, factor); in dasd_stats_proc_show()
[all …]
/openbmc/linux/drivers/iio/afe/
H A Diio-rescale.c328 u32 factor; in rescale_current_sense_amplifier_props() local
346 factor = gcd(sense, 1000000); in rescale_current_sense_amplifier_props()
351 rescale->numerator /= factor; in rescale_current_sense_amplifier_props()
356 rescale->denominator /= factor; in rescale_current_sense_amplifier_props()
365 u32 factor; in rescale_current_sense_shunt_props() local
375 factor = gcd(shunt, 1000000); in rescale_current_sense_shunt_props()
386 u32 factor; in rescale_voltage_divider_props() local
403 rescale->numerator /= factor; in rescale_voltage_divider_props()
404 rescale->denominator /= factor; in rescale_voltage_divider_props()
412 u32 factor; in rescale_temp_sense_rtd_props() local
[all …]
/openbmc/u-boot/arch/arm/dts/
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 …]
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 …]
/openbmc/u-boot/arch/arm/mach-omap2/
H A Dutils.c12 static void do_cancel_out(u32 *num, u32 *den, u32 factor) in do_cancel_out() argument
15 if (((*num)/factor*factor == (*num)) && in do_cancel_out()
16 ((*den)/factor*factor == (*den))) { in do_cancel_out()
17 (*num) /= factor; in do_cancel_out()
18 (*den) /= factor; in do_cancel_out()
/openbmc/linux/drivers/gpu/drm/ci/xfails/
H A Dvirtio_gpu-none-fails.txt14 kms_plane_scaling@downscale-with-modifier-factor-0-25,Fail
15 kms_plane_scaling@downscale-with-rotation-factor-0-25,Fail
17 kms_plane_scaling@planes-upscale-20x20-downscale-factor-0-25,Fail
18 kms_plane_scaling@planes-upscale-20x20-downscale-factor-0-5,Fail
19 kms_plane_scaling@planes-upscale-20x20-downscale-factor-0-75,Fail
21 kms_plane_scaling@upscale-with-modifier-factor-0-25,Fail
23 kms_plane_scaling@upscale-with-pixel-format-factor-0-25,Fail
H A Dmsm-sdm845-fails.txt57 kms_plane_scaling@downscale-with-pixel-format-factor-0-25,Timeout
58 kms_plane_scaling@downscale-with-pixel-format-factor-0-5,Timeout
59 kms_plane_scaling@downscale-with-pixel-format-factor-0-75,Timeout
60 kms_plane_scaling@plane-downscale-with-pixel-format-factor-0-25,Timeout
61 kms_plane_scaling@plane-downscale-with-pixel-format-factor-0-5,Timeout
62 kms_plane_scaling@plane-downscale-with-pixel-format-factor-0-75,Timeout
65 kms_plane_scaling@planes-downscale-factor-0-25,Fail
/openbmc/linux/drivers/clk/actions/
H A Dowl-factor.c136 struct owl_factor *factor = hw_to_owl_factor(hw); in owl_factor_round_rate() local
137 struct owl_factor_hw *factor_hw = &factor->factor_hw; in owl_factor_round_rate()
139 return owl_factor_helper_round_rate(&factor->common, factor_hw, in owl_factor_round_rate()
176 struct owl_factor *factor = hw_to_owl_factor(hw); in owl_factor_recalc_rate() local
177 struct owl_factor_hw *factor_hw = &factor->factor_hw; in owl_factor_recalc_rate()
178 struct owl_clk_common *common = &factor->common; in owl_factor_recalc_rate()
208 struct owl_factor *factor = hw_to_owl_factor(hw); in owl_factor_set_rate() local
209 struct owl_factor_hw *factor_hw = &factor->factor_hw; in owl_factor_set_rate()
210 struct owl_clk_common *common = &factor->common; in owl_factor_set_rate()
/openbmc/linux/arch/arm/boot/dts/ti/omap/
H A Domap36xx-omap3430es2plus-clocks.dtsi47 compatible = "fixed-factor-clock";
78 compatible = "fixed-factor-clock";
101 compatible = "fixed-factor-clock";
109 compatible = "fixed-factor-clock";
117 compatible = "fixed-factor-clock";
125 compatible = "fixed-factor-clock";
133 compatible = "fixed-factor-clock";
141 compatible = "fixed-factor-clock";
149 compatible = "fixed-factor-clock";
157 compatible = "fixed-factor-clock";
[all …]
H A Dam33xx-clocks.dtsi19 compatible = "fixed-factor-clock";
28 compatible = "fixed-factor-clock";
37 compatible = "fixed-factor-clock";
46 compatible = "fixed-factor-clock";
55 compatible = "fixed-factor-clock";
64 compatible = "fixed-factor-clock";
73 compatible = "fixed-factor-clock";
82 compatible = "fixed-factor-clock";
91 compatible = "fixed-factor-clock";
100 compatible = "fixed-factor-clock";
[all …]
H A Dam43xx-clocks.dtsi37 compatible = "fixed-factor-clock";
46 compatible = "fixed-factor-clock";
55 compatible = "fixed-factor-clock";
64 compatible = "fixed-factor-clock";
73 compatible = "fixed-factor-clock";
82 compatible = "fixed-factor-clock";
91 compatible = "fixed-factor-clock";
100 compatible = "fixed-factor-clock";
109 compatible = "fixed-factor-clock";
118 compatible = "fixed-factor-clock";
[all …]
/openbmc/linux/Documentation/devicetree/bindings/clock/
H A Dfixed-factor-clock.yaml4 $id: http://devicetree.org/schemas/clock/fixed-factor-clock.yaml#
7 title: Simple fixed factor rate clock sources
16 - fixed-factor-clock
48 compatible = "fixed-factor-clock";
/openbmc/linux/tools/testing/selftests/syscall_user_dispatch/
H A Dsud_benchmark.c65 int factor; variable
88 factor += CALIBRATE_TO_SECS; in calibrate_set()
91 printf("test iterations = %d\n", CALIBRATION_STEP * factor); in calibrate_set()
99 for (i = 0; i < factor; ++i) in perf_syscall()
100 partial += one_sysinfo_step()/(CALIBRATION_STEP*factor); in perf_syscall()
/openbmc/linux/drivers/media/test-drivers/vivid/
H A Dvivid-vid-out.c360 unsigned factor = 1; in vivid_try_fmt_vid_out() local
381 factor = 2; in vivid_try_fmt_vid_out()
458 unsigned factor = 1; in vivid_s_fmt_vid_out() local
484 factor = 2; in vivid_s_fmt_vid_out()
527 r.height *= factor; in vivid_s_fmt_vid_out()
532 r.height /= factor; in vivid_s_fmt_vid_out()
535 r.height *= factor; in vivid_s_fmt_vid_out()
549 r.height /= factor; in vivid_s_fmt_vid_out()
728 s->r.top *= factor; in vivid_vid_out_s_selection()
751 s->r.top /= factor; in vivid_vid_out_s_selection()
[all …]
/openbmc/linux/drivers/net/wireless/ath/
H A Ddfs_pri_detector.c47 u32 factor; in pde_get_multiple() local
59 factor = val / fraction; in pde_get_multiple()
65 factor++; in pde_get_multiple()
67 factor = 0; in pde_get_multiple()
69 return factor; in pde_get_multiple()
258 u32 factor; in pseq_handler_create_sequences() local
263 factor = pde_get_multiple(ps.last_ts - p2->ts, ps.pri, in pseq_handler_create_sequences()
265 if (factor > 0) { in pseq_handler_create_sequences()
310 u32 factor; in pseq_handler_add_to_existing_seqs() local
320 factor = pde_get_multiple(delta_ts, ps->pri, in pseq_handler_add_to_existing_seqs()
[all …]
/openbmc/linux/drivers/gpu/drm/sprd/
H A Dmegacores_pll.c34 const unsigned long long factor = 100; in dphy_calc_pll_param() local
66 tmp = pll->fvco * factor * mhz; in dphy_calc_pll_param()
68 tmp = tmp - pll->nint * factor * mhz; in dphy_calc_pll_param()
218 const u32 factor = 2; in dphy_timing_config() local
238 val[CLK] = DIV_ROUND_UP(range[L] * (factor << 1), t_byteck) - 2; in dphy_timing_config()
256 val[CLK] = DIV_ROUND_UP(range[L] * factor + (tmp & 0xffff) in dphy_timing_config()
259 val[DATA] = DIV_ROUND_UP(range[L] * factor in dphy_timing_config()
267 val[CLK] = DIV_ROUND_UP(range[L] * factor - constant, t_half_byteck); in dphy_timing_config()
275 val[CLK] = DIV_ROUND_UP(range[L] * factor, t_byteck) - 2; in dphy_timing_config()
282 val[CLK] = DIV_ROUND_UP(range[L] * factor, t_byteck) - 2; in dphy_timing_config()
/openbmc/phosphor-fan-presence/control/
H A Dactions.hpp305 auto set_net_increase_speed(T&& state, T&& factor, uint64_t speedDelta) in set_net_increase_speed() argument
307 return [speedDelta, factor = std::forward<T>(factor), in set_net_increase_speed()
312 [&zone, &state, &factor, &speedDelta, in set_net_increase_speed()
325 auto delta = std::max((value - state), factor); in set_net_increase_speed()
330 (delta / factor) * speedDelta)); in set_net_increase_speed()
358 auto set_net_decrease_speed(T&& state, T&& factor, uint64_t speedDelta) in set_net_decrease_speed() argument
360 return [speedDelta, factor = std::forward<T>(factor), in set_net_decrease_speed()
376 netDelta = ((state - value) / factor) * speedDelta; in set_net_decrease_speed()
385 ((state - value) / factor) * speedDelta)); in set_net_decrease_speed()
/openbmc/openbmc/meta-ibm/meta-romulus/recipes-phosphor/fans/phosphor-fan-monitor-config/
H A Dmonitor.yaml10 factor: 21
21 factor: 21
32 factor: 21
/openbmc/linux/arch/arm64/boot/dts/broadcom/stingray/
H A Dstingray-clock.dtsi43 compatible = "fixed-factor-clock";
129 compatible = "fixed-factor-clock";
137 compatible = "fixed-factor-clock";
146 compatible = "fixed-factor-clock";
154 compatible = "fixed-factor-clock";
162 compatible = "fixed-factor-clock";
170 compatible = "fixed-factor-clock";
178 compatible = "fixed-factor-clock";
/openbmc/u-boot/doc/device-tree-bindings/clock/
H A Dfixed-factor-clock.txt1 Binding for simple fixed factor rate clock sources.
8 - compatible : shall be "fixed-factor-clock".
19 compatible = "fixed-factor-clock";
/openbmc/linux/Documentation/devicetree/bindings/clock/ti/
H A Dfixed-factor-clock.txt1 Binding for TI fixed factor rate clock sources.
12 - compatible : shall be "ti,fixed-factor-clock".
28 compatible = "ti,fixed-factor-clock";
37 compatible = "ti,fixed-factor-clock";

12345678910>>...18