| /OK3568_Linux_fs/kernel/drivers/clk/mmp/ |
| H A D | clk-frac.c | 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() 74 do_div(rate, num * factor->masks->factor); in clk_factor_recalc_rate() 83 struct mmp_clk_factor *factor = to_clk_factor(hw); in clk_factor_set_rate() local [all …]
|
| /OK3568_Linux_fs/kernel/drivers/iio/afe/ |
| H A D | iio-rescale.c | 154 u32 factor; in rescale_current_sense_amplifier_props() local 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() 182 rescale->denominator /= factor; in rescale_current_sense_amplifier_props() [all …]
|
| /OK3568_Linux_fs/buildroot/dl/sox/git/src/ |
| H A D | downsample.c | 25 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()
|
| H A D | speed.c | 28 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()
|
| H A D | upsample.c | 23 typedef struct {unsigned factor, pos;} priv_t; member 28 p->factor = 2; in create() 30 do {NUMERIC_PARAMETER(factor, 1, 256)} while (0); in create() 37 effp->out_signal.rate = effp->in_signal.rate * p->factor; in start() 38 return p->factor == 1? SOX_EFF_NULL : SOX_SUCCESS; in start() 47 for (; p->pos && olen; p->pos = (p->pos + 1) % p->factor, --olen) in flow()
|
| H A D | stretch.c | 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() 90 p->shift = (p->factor <= 1.0) ? in getopts() 105 if (p->factor < 1.0) in getopts() 106 p->fading = 1.0 - (p->factor * p->shift); in getopts() 133 if (p->factor == 1) in start() 145 if (p->factor < 1.0) { in start() 147 p->oshift = p->factor * p->ishift; in start() 150 p->ishift = p->oshift / p->factor; in start() [all …]
|
| H A D | tempo.c | 28 double factor; /* 1 for no change, < 1 for slower, > 1 for faster. */ member 129 skip = t->factor * (++t->segments_total * (t->segment - t->overlap)) + 0.5; in tempo_process() 150 uint64_t samples_out = t->samples_in / t->factor + .5; in tempo_flush() 167 double sample_rate, sox_bool quick_search, double factor, in tempo_setup() argument 172 t->factor = factor; in tempo_setup() 180 max_skip = ceil(factor * (t->segment - t->overlap)); in tempo_setup() 207 double factor, segment_ms, search_ms, overlap_ms; member 232 NUMERIC_PARAMETER(factor ,0.1 , 100 ) in getopts() 239 p->segment_ms = max(10, segments_ms[profile] / max(pow(p->factor, segments_pow[profile]), 1)); in getopts() 247 p->quick_search, p->factor, p->segment_ms, p->search_ms, p->overlap_ms); in getopts() [all …]
|
| /OK3568_Linux_fs/buildroot/dl/qt5location/git/src/positioning/ |
| H A D | qdoublematrix4x4_p.h | 98 inline QDoubleMatrix4x4& operator*=(double factor); 115 friend QDoubleMatrix4x4 operator*(double factor, const QDoubleMatrix4x4& matrix); 116 friend QDoubleMatrix4x4 operator*(const QDoubleMatrix4x4& matrix, double factor); 128 void scale(double factor); 425 inline QDoubleMatrix4x4& QDoubleMatrix4x4::operator*=(double factor) 427 m[0][0] *= factor; 428 m[0][1] *= factor; 429 m[0][2] *= factor; 430 m[0][3] *= factor; 431 m[1][0] *= factor; [all …]
|
| H A D | qdoublevector3d_p.h | 93 inline QDoubleVector3D &operator*=(double factor); 117 …friend Q_DECL_CONSTEXPR inline const QDoubleVector3D operator*(double factor, const QDoubleVector3… 118 …ECL_CONSTEXPR inline const QDoubleVector3D operator*(const QDoubleVector3D &vector, double factor); 209 inline QDoubleVector3D &QDoubleVector3D::operator*=(double factor) 211 xp *= factor; 212 yp *= factor; 213 zp *= factor; 253 Q_DECL_CONSTEXPR inline const QDoubleVector3D operator*(double factor, const QDoubleVector3D &vecto… 255 return QDoubleVector3D(vector.xp * factor, vector.yp * factor, vector.zp * factor); 258 …DECL_CONSTEXPR inline const QDoubleVector3D operator*(const QDoubleVector3D &vector, double factor) [all …]
|
| H A D | qdoublevector2d_p.h | 92 inline QDoubleVector2D &operator*=(double factor); 105 …friend Q_DECL_CONSTEXPR inline const QDoubleVector2D operator*(double factor, const QDoubleVector2… 106 …ECL_CONSTEXPR inline const QDoubleVector2D operator*(const QDoubleVector2D &vector, double factor); 168 inline QDoubleVector2D &QDoubleVector2D::operator*=(double factor) 170 xp *= factor; 171 yp *= factor; 216 Q_DECL_CONSTEXPR inline const QDoubleVector2D operator*(double factor, const QDoubleVector2D &vecto… 218 return QDoubleVector2D(vector.xp * factor, vector.yp * factor); 221 …DECL_CONSTEXPR inline const QDoubleVector2D operator*(const QDoubleVector2D &vector, double factor) 223 return QDoubleVector2D(vector.xp * factor, vector.yp * factor);
|
| /OK3568_Linux_fs/kernel/drivers/s390/block/ |
| H A D | dasd_proc.c | 184 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/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/geometry/policies/robustness/ |
| H A D | get_rescale_policy.hpp | 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() 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() 115 Factor& factor) in init_rescale_policy() argument 148 scale_box_to_integer_range(env, min_point, min_robust_point, factor); in init_rescale_policy() 198 factor_type factor; in apply() local 199 init_rescale_policy(geometry, min_point, min_robust_point, factor); in apply() [all …]
|
| /OK3568_Linux_fs/u-boot/arch/arm/dts/ |
| H A D | am33xx-clocks.dtsi | 21 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 D | am43xx-clocks.dtsi | 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"; 101 compatible = "fixed-factor-clock"; 319 compatible = "fixed-factor-clock"; [all …]
|
| H A D | omap36xx-omap3430es2plus-clocks.dtsi | 36 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/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/math/tools/ |
| H A D | series.hpp | 24 inline typename Functor::result_type sum_series(Functor& func, const U& factor, boost::uintmax_t& m… in sum_series() argument 38 while((fabs(factor * result) < fabs(next_term)) && --counter); in sum_series() 47 inline typename Functor::result_type sum_series(Functor& func, const U& factor, boost::uintmax_t& m… in sum_series() argument 50 return sum_series(func, factor, max_terms, init_value); in sum_series() 58 result_type factor = ldexp(result_type(1), 1 - bits); in sum_series() local 59 return sum_series(func, factor, max_terms, init_value); in sum_series() 108 result_type factor = pow(result_type(2), bits); in kahan_sum_series() local 120 while(fabs(result) < fabs(factor * next_term)); in kahan_sum_series() 133 result_type factor = ldexp(result_type(1), bits); in kahan_sum_series() local 145 while((fabs(result) < fabs(factor * next_term)) && --counter); in kahan_sum_series()
|
| /OK3568_Linux_fs/kernel/arch/arm/boot/dts/ |
| H A D | omap36xx-omap3430es2plus-clocks.dtsi | 33 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 …]
|
| H A D | am33xx-clocks.dtsi | 18 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 D | am43xx-clocks.dtsi | 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"; 98 compatible = "fixed-factor-clock"; 106 compatible = "fixed-factor-clock"; [all …]
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/include/c++/10.3.1/ext/pb_ds/detail/binary_heap_/ |
| H A D | resize_policy.hpp | 58 factor = 2 enumerator 157 { return m_grow_size * factor; } in get_new_size_for_grow() 164 const size_type half_size = m_grow_size / factor; in get_new_size_for_shrink() 175 ret *= factor; in get_new_size_for_arbitrary() 186 m_grow_size *= factor; in notify_grow_resize() 197 m_shrink_size /= factor; in notify_shrink_resize() 200 m_grow_size = std::max(m_grow_size / factor, min_size); in notify_shrink_resize()
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/include/c++/10.3.1/ext/pb_ds/detail/binary_heap_/ |
| H A D | resize_policy.hpp | 58 factor = 2 enumerator 157 { return m_grow_size * factor; } in get_new_size_for_grow() 164 const size_type half_size = m_grow_size / factor; in get_new_size_for_shrink() 175 ret *= factor; in get_new_size_for_arbitrary() 186 m_grow_size *= factor; in notify_grow_resize() 197 m_shrink_size /= factor; in notify_shrink_resize() 200 m_grow_size = std::max(m_grow_size / factor, min_size); in notify_shrink_resize()
|
| /OK3568_Linux_fs/kernel/drivers/clk/actions/ |
| H A D | owl-factor.c | 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() 211 struct owl_clk_common *common = &factor->common; in owl_factor_set_rate()
|
| /OK3568_Linux_fs/kernel/fs/btrfs/ |
| H A D | misc.h | 35 static inline u64 div_factor(u64 num, int factor) in div_factor() argument 37 if (factor == 10) in div_factor() 39 num *= factor; in div_factor() 43 static inline u64 div_factor_fine(u64 num, int factor) in div_factor_fine() argument 45 if (factor == 100) in div_factor_fine() 47 num *= factor; in div_factor_fine()
|
| /OK3568_Linux_fs/u-boot/arch/arm/mach-omap2/ |
| H A D | utils.c | 10 static void do_cancel_out(u32 *num, u32 *den, u32 factor) in do_cancel_out() argument 13 if (((*num)/factor*factor == (*num)) && in do_cancel_out() 14 ((*den)/factor*factor == (*den))) { in do_cancel_out() 15 (*num) /= factor; in do_cancel_out() 16 (*den) /= factor; in do_cancel_out()
|
| /OK3568_Linux_fs/kernel/drivers/media/test-drivers/vivid/ |
| H A D | vivid-vid-out.c | 358 unsigned factor = 1; in vivid_try_fmt_vid_out() local 379 factor = 2; in vivid_try_fmt_vid_out() 382 mp->height = h / factor; in vivid_try_fmt_vid_out() 384 struct v4l2_rect r = { 0, 0, mp->width, mp->height * factor }; in vivid_try_fmt_vid_out() 398 mp->height = r.height / factor; in vivid_try_fmt_vid_out() 456 unsigned factor = 1; in vivid_s_fmt_vid_out() local 482 factor = 2; in vivid_s_fmt_vid_out() 496 factor * r.height / MAX_ZOOM in vivid_s_fmt_vid_out() 501 factor * r.height * MAX_ZOOM in vivid_s_fmt_vid_out() 511 factor * crop->height / MAX_ZOOM in vivid_s_fmt_vid_out() [all …]
|