| /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 | segment_ratio.hpp | 43 return boost::rational<Type>(lhs.numerator(), lhs.denominator()) in apply() 44 < boost::rational<Type>(rhs.numerator(), rhs.denominator()); in apply() 54 BOOST_GEOMETRY_ASSERT(lhs.denominator() != 0); in apply() 55 BOOST_GEOMETRY_ASSERT(rhs.denominator() != 0); in apply() 56 return lhs.numerator() * rhs.denominator() in apply() 57 < rhs.numerator() * lhs.denominator(); in apply() 74 return boost::rational<Type>(lhs.numerator(), lhs.denominator()) in apply() 75 == boost::rational<Type>(rhs.numerator(), rhs.denominator()); in apply() 85 BOOST_GEOMETRY_ASSERT(lhs.denominator() != 0); in apply() 86 BOOST_GEOMETRY_ASSERT(rhs.denominator() != 0); in apply() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/iio/afe/ |
| H A D | iio-rescale.c | 33 s32 denominator; member 53 *val2 *= rescale->denominator; in rescale_read_raw() 57 if (rescale->denominator == 1) in rescale_read_raw() 59 *val2 = rescale->denominator; in rescale_read_raw() 63 tmp = div_s64(tmp, rescale->denominator); in rescale_read_raw() 170 * numerator/denominator from overflowing. in rescale_current_sense_amplifier_props() 174 rescale->denominator = sense / 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() 182 rescale->denominator /= factor; in rescale_current_sense_amplifier_props() [all …]
|
| /OK3568_Linux_fs/kernel/lib/ |
| H A D | flex_proportions.c | 21 * This formula can be straightforwardly computed by maintaining denominator 141 unsigned long *numerator, unsigned long *denominator) in fprop_fraction_single() argument 154 * Make fraction <= 1 and denominator > 0 even in presence of percpu in fprop_fraction_single() 163 *denominator = den; in fprop_fraction_single() 229 unsigned long *numerator, unsigned long *denominator) in fprop_fraction_percpu() argument 242 * Make fraction <= 1 and denominator > 0 even in presence of percpu in fprop_fraction_percpu() 251 *denominator = den; in fprop_fraction_percpu() 263 unsigned long numerator, denominator; in __fprop_inc_percpu_max() local 265 fprop_fraction_percpu(p, pl, &numerator, &denominator); in __fprop_inc_percpu_max() 267 (((u64)denominator) * max_frac) >> FPROP_FRAC_SHIFT) in __fprop_inc_percpu_max()
|
| /OK3568_Linux_fs/kernel/include/trace/events/ |
| H A D | kyber.h | 18 unsigned int denominator, unsigned int samples), 20 TP_ARGS(q, domain, type, percentile, numerator, denominator, samples), 28 __field( u8, denominator ) 38 __entry->denominator = denominator; 45 __entry->denominator, __entry->samples)
|
| /OK3568_Linux_fs/kernel/drivers/phy/freescale/ |
| H A D | phy-fsl-imx8-mipi-dphy.c | 125 * nominator, denominator. 160 u32 lp_t, numerator, denominator; in mixel_dphy_config_from_opts() local 170 denominator = ref_clk; in mixel_dphy_config_from_opts() 171 get_best_ratio(&numerator, &denominator, 255, 256); in mixel_dphy_config_from_opts() 172 if (!numerator || !denominator) { in mixel_dphy_config_from_opts() 174 numerator, denominator, in mixel_dphy_config_from_opts() 179 while ((numerator < 16) && (denominator <= 128)) { in mixel_dphy_config_from_opts() 181 denominator <<= 1; in mixel_dphy_config_from_opts() 188 i = __ffs(denominator); in mixel_dphy_config_from_opts() 191 cfg->cn = denominator >> i; in mixel_dphy_config_from_opts() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/media/i2c/ |
| H A D | lt6911uxe.c | 240 .denominator = 480000, 251 .denominator = 600000, 262 .denominator = 300000, 273 .denominator = 600000, 284 .denominator = 300000, 295 .denominator = 600000, 306 .denominator = 600000, 317 .denominator = 300000, 328 .denominator = 600000, 339 .denominator = 600000, [all …]
|
| H A D | mt9v011.c | 201 static void calc_fps(struct v4l2_subdev *sd, u32 *numerator, u32 *denominator) in calc_fps() argument 225 if (numerator && denominator) { in calc_fps() 227 *denominator = (u32)frames_per_ms; in calc_fps() 231 static u16 calc_speed(struct v4l2_subdev *sd, u32 numerator, u32 denominator) in calc_speed() argument 239 if (!numerator || !denominator) in calc_speed() 252 t_time += denominator / 2; in calc_speed() 253 do_div(t_time, denominator); in calc_speed() 372 &ival->interval.denominator); in mt9v011_g_frame_interval() 383 speed = calc_speed(sd, tpf->numerator, tpf->denominator); in mt9v011_s_frame_interval() 389 calc_fps(sd, &tpf->numerator, &tpf->denominator); in mt9v011_s_frame_interval()
|
| H A D | vs6624.c | 657 ival->interval.numerator = sensor->frame_rate.denominator; in vs6624_g_frame_interval() 658 ival->interval.denominator = sensor->frame_rate.numerator; in vs6624_g_frame_interval() 669 if (tpf->numerator == 0 || tpf->denominator == 0 in vs6624_s_frame_interval() 670 || (tpf->denominator > tpf->numerator * MAX_FRAME_RATE)) { in vs6624_s_frame_interval() 673 tpf->denominator = MAX_FRAME_RATE; in vs6624_s_frame_interval() 675 sensor->frame_rate.numerator = tpf->denominator; in vs6624_s_frame_interval() 676 sensor->frame_rate.denominator = tpf->numerator; in vs6624_s_frame_interval() 683 sensor->frame_rate.denominator & 0xFF); in vs6624_s_frame_interval() 786 sensor->frame_rate.denominator = 1; in vs6624_probe() 793 sensor->frame_rate.denominator & 0xFF); in vs6624_probe()
|
| H A D | lt7911uxc.c | 202 .denominator = 600000, 212 .denominator = 600000, 222 .denominator = 600000, 232 .denominator = 600000, 242 .denominator = 600000, 252 .denominator = 600000, 262 .denominator = 500000, 272 .denominator = 600000, 286 .denominator = 600000, 296 .denominator = 600000, [all …]
|
| /OK3568_Linux_fs/kernel/drivers/media/test-drivers/vivid/ |
| H A D | vivid-kthread-touch.c | 53 unsigned int denominator; in vivid_thread_touch_cap() local 82 denominator = dev->timeperframe_tch_cap.denominator; in vivid_thread_touch_cap() 88 buffers_since_start = (u64)jiffies_since_start * denominator + in vivid_thread_touch_cap() 124 denominator / 2; in vivid_thread_touch_cap() 125 do_div(next_jiffies_since_start, denominator); in vivid_thread_touch_cap()
|
| H A D | vivid-kthread-out.c | 149 unsigned denominator; in vivid_thread_vid_out() local 182 denominator = dev->timeperframe_vid_out.denominator; in vivid_thread_vid_out() 185 denominator *= 2; in vivid_thread_vid_out() 190 buffers_since_start = (u64)jiffies_since_start * denominator + in vivid_thread_vid_out() 229 denominator / 2; in vivid_thread_vid_out() 230 do_div(next_jiffies_since_start, denominator); in vivid_thread_vid_out()
|
| /OK3568_Linux_fs/kernel/arch/h8300/lib/ |
| H A D | modsi3.S | 5 ; denominator in A2/A3 46 mov.l A1P,A1P ; is the denominator -ve 65 mov.l A1P,A1P ; is the denominator -ve
|
| H A D | moddivsi3.S | 5 ; denominator in A2/A3 46 mov.l A1P,A1P ; is the denominator -ve 65 mov.l A1P,A1P ; is the denominator -ve
|
| /OK3568_Linux_fs/kernel/drivers/media/v4l2-core/ |
| H A D | v4l2-dv-timings.c | 370 bt->picture_aspect.denominator); in v4l2_print_dv_timings() 388 ratio.numerator = t->bt.width * t->bt.picture_aspect.denominator; in v4l2_dv_timings_aspect_ratio() 389 ratio.denominator = t->bt.height * t->bt.picture_aspect.numerator; in v4l2_dv_timings_aspect_ratio() 391 rational_best_approximation(ratio.numerator, ratio.denominator, in v4l2_dv_timings_aspect_ratio() 392 ratio.numerator, ratio.denominator, &n, &d); in v4l2_dv_timings_aspect_ratio() 394 ratio.denominator = d; in v4l2_dv_timings_aspect_ratio() 433 fps_fract.denominator = n; in v4l2_calc_timeperframe() 746 if (aspect.numerator == 0 || aspect.denominator == 0) { in v4l2_detect_gtf() 748 aspect.denominator = 9; in v4l2_detect_gtf() 750 image_width = ((image_height * aspect.numerator) / aspect.denominator); in v4l2_detect_gtf() [all …]
|
| /OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/multiprecision/ |
| H A D | rational_adaptor.hpp | 154 if(data().denominator() != 1) in str() 157 result.append(data().denominator().str(digits, f)); in str() 188 integer_type n(m_value.numerator()), d(m_value.denominator()); in serialize() 251 comp_t denom(backend.data().denominator()); in eval_convert_to() 261 t /= backend.data().denominator(); in eval_convert_to() 286 boost::hash_combine(result, val.data().denominator()); in hash_value() 313 inline number<IntBackend, ET> denominator(const number<rational_adaptor<IntBackend>, ET>& val) in denominator() function 315 return val.backend().data().denominator(); in denominator()
|
| /OK3568_Linux_fs/kernel/drivers/media/i2c/et8ek8/ |
| H A D | et8ek8_mode.c | 50 .denominator = 1207 151 .denominator = 1292 207 .denominator = 3000 263 .denominator = 2988 319 .denominator = 2993 375 .denominator = 399 430 .denominator = 499 486 .denominator = 501 542 .denominator = 2500
|
| /OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/ |
| H A D | rational.hpp | 133 explicit bad_rational() : std::domain_error("bad rational: zero denominator") {} in bad_rational() 170 int_type(r.denominator())) ? r.denominator() : in rational() 177 …int_type(r.denominator())) && is_safe_narrowing_conversion(r.denominator()) && is_safe_narrowing_c… in rational() 258 const IntType& denominator() const { return den; } in denominator() function in boost::rational 381 // Implementation - numerator and denominator (normalized). 485 return rational<IntType>(static_cast<IntType>(-r.numerator()), r.denominator()); in operator -() 748 // is bad for later calculations that assume a positive denominator. in operator <() 761 // Normalize negative moduli by repeatedly adding the (positive) denominator in operator <() 859 // Ensure that the denominator is positive in normalize() 870 BOOST_THROW_EXCEPTION(bad_rational("bad rational: non-zero singular denominator")); in normalize() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/amd/amdgpu/ |
| H A D | amdgpu_pll.c | 36 * @den: denominator 38 * @den_min: minimum value for denominator 41 * denominator, but make nominator and denominator are at least as large 61 /* make sure the denominator is large enough */ in amdgpu_pll_reduce_ratio() 73 * @den: denominator
|
| /OK3568_Linux_fs/kernel/drivers/media/usb/uvc/ |
| H A D | uvc_v4l2.c | 366 u32 numerator, denominator; in uvc_v4l2_get_streamparm() local 375 denominator = 10000000; in uvc_v4l2_get_streamparm() 376 uvc_simplify_fraction(&numerator, &denominator, 8, 333); in uvc_v4l2_get_streamparm() 385 parm->parm.capture.timeperframe.denominator = denominator; in uvc_v4l2_get_streamparm() 392 parm->parm.output.timeperframe.denominator = denominator; in uvc_v4l2_get_streamparm() 418 timeperframe.denominator); in uvc_v4l2_set_streamparm() 420 timeperframe.numerator, timeperframe.denominator, interval); in uvc_v4l2_set_streamparm() 470 timeperframe.denominator = 10000000; in uvc_v4l2_set_streamparm() 472 &timeperframe.denominator, 8, 333); in uvc_v4l2_set_streamparm() 1294 fival->discrete.denominator = 10000000; in uvc_ioctl_enum_frameintervals() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/amd/display/dc/calcs/ |
| H A D | bw_fixed.c | 57 struct bw_fixed bw_frc_to_fixed(int64_t numerator, int64_t denominator) in bw_frc_to_fixed() argument 61 bool arg2_negative = denominator < 0; in bw_frc_to_fixed() 69 ASSERT(denominator != 0); in bw_frc_to_fixed() 72 arg2_value = abs_i64(denominator); in bw_frc_to_fixed()
|
| /OK3568_Linux_fs/u-boot/arch/nios2/lib/ |
| H A D | longlong.h | 46 denominator) divides a UDWtype, composed by the UWtype integers 47 HIGH_NUMERATOR and LOW_NUMERATOR, by DENOMINATOR and places the quotient 49 than DENOMINATOR for correct operation. If, in addition, the most 50 significant bit of DENOMINATOR must be 1, then the pre-processor symbol 54 denominator). Like udiv_qrnnd but the numbers are signed. The quotient
|
| /OK3568_Linux_fs/kernel/include/video/ |
| H A D | cirrus.h | 57 #define CL_SEQR1B 0x1b /* VCLK0 Denominator and Post-Scalar Value */ 58 #define CL_SEQR1C 0x1c /* VCLK1 Denominator and Post-Scalar Value */ 59 #define CL_SEQR1D 0x1d /* VCLK2 Denominator and Post-Scalar Value */ 60 #define CL_SEQR1E 0x1e /* VCLK3 Denominator and Post-Scalar Value */
|
| /OK3568_Linux_fs/kernel/lib/mpi/ |
| H A D | mpi-div.c | 162 /* Normalize the denominator, i.e. make its most significant bit set by in mpi_tdiv_qr() 170 /* Shift up the denominator setting the most significant bit of in mpi_tdiv_qr() 172 * the original contents of the denominator. in mpi_tdiv_qr() 189 /* The denominator is already normalized, as required. Copy it to in mpi_tdiv_qr()
|
| /OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/geometry/algorithms/detail/buffer/ |
| H A D | line_line_intersection.hpp | 41 coordinate_type const denominator in apply() local 57 if (math::equals(denominator, coordinate_type())) in apply() 71 double const multiplier = 1.0 / denominator; in apply()
|
| /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/tr1/ |
| H A D | hypergeometric.tcc | 79 * @param __c The "denominator" parameter. 223 * @param __c The @a denominator parameter. 267 * @param __c The @a denominator parameter. 493 /* Gamma functions in the denominator are ok. in __hyperg_reflect() 519 // Gamma functions in the denominator were not ok. in __hyperg_reflect() 540 // Gamma functions in the denominator are ok. in __hyperg_reflect() 585 // Gamma functions in the denominator not ok. in __hyperg_reflect() 599 // These gamma functions appear in the denominator, so we in __hyperg_reflect() 724 * @param __c The @a denominator parameter.
|