Home
last modified time | relevance | path

Searched refs:fraction (Results 1 – 25 of 140) sorted by relevance

123456

/OK3568_Linux_fs/external/recovery/
H A Drkupdate.c58 float fraction = strtof(fraction_s, NULL); in start_main() local
61 ui_show_progress(fraction * (1 - VERIFICATION_PROGRESS_FRACTION), seconds); in start_main()
64 float fraction = strtof(fraction_s, NULL); in start_main() local
66 ui_set_progress(fraction); in start_main()
195 float fraction = strtof(fraction_s, NULL); in do_rk_update()
198 ui_show_progress(fraction * (1 - VERIFICATION_PROGRESS_FRACTION), seconds); in do_rk_update()
201 float fraction = strtof(fraction_s, NULL); in do_rk_update()
202 ui_set_progress(fraction); in do_rk_update()
H A Dui.c399 void ui_set_progress(float fraction) in ui_set_progress() argument
405 if (fraction < 0.0) fraction = 0.0; in ui_set_progress()
406 if (fraction > 1.0) fraction = 1.0; in ui_set_progress()
407 if (gProgressBarType == PROGRESSBAR_TYPE_NORMAL && fraction > gProgress) { in ui_set_progress()
411 if ((int) (gProgress * scale) != (int) (fraction * scale)) { in ui_set_progress()
412 gProgress = fraction; in ui_set_progress()
/OK3568_Linux_fs/buildroot/dl/sox/git/src/
H A Drate_poly_fir.h48 hi_prec_clock_t fraction = at - (int)at; in FUNCTION() local
49 int phase = fraction * (1 << PHASE_BITS); in FUNCTION()
51 sample_t x = fraction * (1 << PHASE_BITS) - phase; in FUNCTION()
65 uint32_t fraction = p->at.parts.fraction; in FUNCTION() local
66 int phase = fraction >> (32 - PHASE_BITS); /* high-order bits */ in FUNCTION()
68 sample_t x = (sample_t) (fraction << PHASE_BITS) * (1 / MULT32); in FUNCTION()
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/geometry/algorithms/detail/overlay/
H A Dhandle_colocations.hpp51 SegmentRatio fraction; member
55 , fraction(fr) in segment_fraction()
64 ? fraction < other.fraction in operator <()
105 if (! (left_op.fraction == right_op.fraction)) in operator ()()
107 return left_op.fraction < right_op.fraction; in operator ()()
153 segment_fraction_type seg_frac(op.seg_id, op.fraction); in get_cluster_id()
170 segment_fraction_type seg_frac(op.seg_id, op.fraction); in add_cluster_id()
247 if (ref_op.fraction == op.fraction) in handle_colocation_cluster()
312 segment_fraction_type seg_frac(op.seg_id, op.fraction); in assign_cluster_to_turns()
668 << " " << turns[toi.turn_index].operations[0].fraction in handle_colocations()
[all …]
H A Dless_by_segment_ratio.hpp156 if (! (left.subject->fraction == right.subject->fraction)) in operator ()()
158 return left.subject->fraction < right.subject->fraction; in operator ()()
H A Dfollow.hpp374 return left.operations[0].fraction == right.operations[0].fraction in use_distance()
376 : left.operations[0].fraction < right.operations[0].fraction in use_distance()
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/src/mbgl/renderer/
H A Dcross_faded_property_evaluator.cpp28 const float fraction = z - std::floor(z); in calculate() local
36 ? Faded<T> { min, mid, 2.0f, 1.0f, fraction + (1.0f - fraction) * t } in calculate()
37 : Faded<T> { max, mid, 0.5f, 1.0f, 1 - (1 - t) * fraction }; in calculate()
/OK3568_Linux_fs/kernel/arch/m68k/fpsp040/
H A Dbinstr.S16 | bit 63. The fraction is multiplied by 10 using a mul by 2
26 | Copy the fraction in d2:d3 to d4:d5.
28 | A3. Multiply the fraction in d2:d3 by 8 using bit-field
32 | A4. Multiply the fraction in d4:d5 by 2 using shifts. The msb
51 | d2: upper 32-bits of fraction for mul by 8
52 | d3: lower 32-bits of fraction for mul by 8
53 | d4: upper 32-bits of fraction for mul by 2
54 | d5: lower 32-bits of fraction for mul by 2
84 movel %d2,%d4 |copy the fraction before muls
/OK3568_Linux_fs/kernel/drivers/media/tuners/
H A Dmax2165.c150 static int fixpt_div32(u32 dividend, u32 divisor, u32 *quotient, u32 *fraction) in fixpt_div32() argument
172 *fraction = f; in fixpt_div32()
182 u32 quotient, fraction; in max2165_set_rf() local
187 &quotient, &fraction); in max2165_set_rf()
192 fraction >>= 12; in max2165_set_rf()
195 max2165_mask_write_reg(priv, REG_NDIV_FRAC2, 0x0F, fraction >> 16); in max2165_set_rf()
196 max2165_write_reg(priv, REG_NDIV_FRAC1, fraction >> 8); in max2165_set_rf()
197 max2165_write_reg(priv, REG_NDIV_FRAC0, fraction); in max2165_set_rf()
/OK3568_Linux_fs/kernel/sound/core/seq/
H A Dseq_timer.h15 unsigned long fraction; /* current time per tick in nsec */ member
57 tick->fraction += resolution; in snd_seq_timer_update_tick()
58 tick->cur_tick += (unsigned int)(tick->fraction / tick->resolution); in snd_seq_timer_update_tick()
59 tick->fraction %= tick->resolution; in snd_seq_timer_update_tick()
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/geometry/algorithms/detail/turns/
H A Dcompare_turns.hpp89 geometry::math::equals(left.operations[OpId].fraction, in use_fraction()
90 right.operations[OpId].fraction) in use_fraction()
94 (left.operations[OpId].fraction < right.operations[OpId].fraction) in use_fraction()
/OK3568_Linux_fs/kernel/drivers/net/wireless/ath/
H A Ddfs_pri_detector.c45 static u32 pde_get_multiple(u32 val, u32 fraction, u32 tolerance) in pde_get_multiple() argument
51 if (fraction == 0) in pde_get_multiple()
54 delta = (val < fraction) ? (fraction - val) : (val - fraction); in pde_get_multiple()
60 factor = val / fraction; in pde_get_multiple()
61 remainder = val % fraction; in pde_get_multiple()
64 if ((fraction - remainder) <= tolerance) in pde_get_multiple()
/OK3568_Linux_fs/u-boot/drivers/serial/
H A Dserial_stm32x7.c22 u32 int_div, mantissa, fraction, oversampling; in stm32_serial_setbrg() local
35 fraction = int_div % oversampling; in stm32_serial_setbrg()
37 writel(mantissa | fraction, &usart->brr); in stm32_serial_setbrg()
H A Dserial_pl01x.c152 unsigned int fraction; in pl01x_generic_setbrg() local
165 fraction = (temp >> 1) + (temp & 1); in pl01x_generic_setbrg()
168 writel(fraction, &regs->pl011_fbrd); in pl01x_generic_setbrg()
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/geometry/algorithms/detail/relate/
H A Dturns.hpp283 geometry::math::equals(left.operations[OpId].fraction, in use_fraction()
284 right.operations[OpId].fraction) in use_fraction()
288 (left.operations[OpId].fraction < right.operations[OpId].fraction) in use_fraction()
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/input/touchscreen/
H A Dstmpe.txt31 - st,fraction-z : Length of the fractional part in z (recommended is 7)
32 (fraction-z ([0..7]) = Count of the fractional part)
98 st,fraction-z = <7>;
/OK3568_Linux_fs/kernel/tools/perf/ui/gtk/
H A Dprogress.c12 double fraction = p->total ? 1.0 * p->curr / p->total : 0.0; in gtk_ui_progress__update() local
34 gtk_progress_bar_set_fraction(GTK_PROGRESS_BAR(progress), fraction); in gtk_ui_progress__update()
/OK3568_Linux_fs/external/rk_pcba_test/pcba_minui/
H A Dui.c608 void ui_set_progress(float fraction) in ui_set_progress() argument
611 if (fraction < 0.0) fraction = 0.0; in ui_set_progress()
612 if (fraction > 1.0) fraction = 1.0; in ui_set_progress()
613 if (gProgressBarType == PROGRESSBAR_TYPE_NORMAL && fraction > gProgress) { in ui_set_progress()
617 if ((int) (gProgress * scale) != (int) (fraction * scale)) { in ui_set_progress()
618 gProgress = fraction; in ui_set_progress()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/infineon/bcmdhd/
H A Dlinux_pkt.c595 uint32 fraction; in osl_pkt_orphan_partial() local
618 fraction = skb->truesize * (TSQ_MULTIPLIER - 1) / TSQ_MULTIPLIER; in osl_pkt_orphan_partial()
619 skb->truesize -= fraction; in osl_pkt_orphan_partial()
622 atomic_sub(fraction, &skb->sk->sk_wmem_alloc.refs); in osl_pkt_orphan_partial()
624 atomic_sub(fraction, &skb->sk->sk_wmem_alloc); in osl_pkt_orphan_partial()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/cywdhd/bcmdhd/
H A Dlinux_pkt.c595 uint32 fraction; in osl_pkt_orphan_partial() local
618 fraction = skb->truesize * (TSQ_MULTIPLIER - 1) / TSQ_MULTIPLIER; in osl_pkt_orphan_partial()
619 skb->truesize -= fraction; in osl_pkt_orphan_partial()
622 atomic_sub(fraction, &skb->sk->sk_wmem_alloc.refs); in osl_pkt_orphan_partial()
624 atomic_sub(fraction, &skb->sk->sk_wmem_alloc); in osl_pkt_orphan_partial()
/OK3568_Linux_fs/external/rkwifibt/drivers/infineon/
H A Dlinux_pkt.c595 uint32 fraction; in osl_pkt_orphan_partial() local
618 fraction = skb->truesize * (TSQ_MULTIPLIER - 1) / TSQ_MULTIPLIER; in osl_pkt_orphan_partial()
619 skb->truesize -= fraction; in osl_pkt_orphan_partial()
622 atomic_sub(fraction, &skb->sk->sk_wmem_alloc.refs); in osl_pkt_orphan_partial()
624 atomic_sub(fraction, &skb->sk->sk_wmem_alloc); in osl_pkt_orphan_partial()
/OK3568_Linux_fs/kernel/drivers/tty/serial/8250/
H A D8250_mtk.c303 unsigned int baud, quot, fraction; in mtk8250_set_termios() local
385 fraction = ((port->uartclk * 100) / baud / quot) % 100; in mtk8250_set_termios()
386 fraction = DIV_ROUND_CLOSEST(fraction, 10); in mtk8250_set_termios()
388 fraction_L_mapping[fraction]); in mtk8250_set_termios()
390 fraction_M_mapping[fraction]); in mtk8250_set_termios()
/OK3568_Linux_fs/buildroot/package/olsr/
H A D0003-pud-adapt-to-API-changes-in-gpsd-3-20.patch68 double fraction = modf(fabs(gpsdata->fix.time), &seconds);
71 + unsigned int hsec = (unsigned int) lrint(fraction * 100);
80 - info->utc.hsec = (unsigned int) lrint(fraction * 100);
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/phl/hal_g6/
H A Dhal_ld_file.c68 u8 integer = 0, fraction = 0; in phypg_combvalue_fromstring() local
71 if (hal_get_fractionvalue_fromstring(sz_line, &integer, &fraction, &u4bmove)) in phypg_combvalue_fromstring()
76 combvalue |= ((integer * txgi_pdbm) + (fraction * txgi_pdbm / 100)); in phypg_combvalue_fromstring()
78 if (hal_get_fractionvalue_fromstring(sz_line, &integer, &fraction, &u4bmove)) in phypg_combvalue_fromstring()
84 combvalue |= ((integer * txgi_pdbm) + (fraction * txgi_pdbm / 100)); in phypg_combvalue_fromstring()
86 if (hal_get_fractionvalue_fromstring(sz_line, &integer, &fraction, &u4bmove)) in phypg_combvalue_fromstring()
92 combvalue |= ((integer * txgi_pdbm) + (fraction * txgi_pdbm / 100)); in phypg_combvalue_fromstring()
94 if (hal_get_fractionvalue_fromstring(sz_line, &integer, &fraction, &u4bmove)) in phypg_combvalue_fromstring()
100 combvalue |= ((integer * txgi_pdbm) + (fraction * txgi_pdbm / 100)); in phypg_combvalue_fromstring()
1010 u8 integer = 0, fraction = 0, negative = 0; in _hal_parse_txpwrlmt() local
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/phl/hal_g6/
H A Dhal_ld_file.c68 u8 integer = 0, fraction = 0; in phypg_combvalue_fromstring() local
71 if (hal_get_fractionvalue_fromstring(sz_line, &integer, &fraction, &u4bmove)) in phypg_combvalue_fromstring()
76 combvalue |= ((integer * txgi_pdbm) + (fraction * txgi_pdbm / 100)); in phypg_combvalue_fromstring()
78 if (hal_get_fractionvalue_fromstring(sz_line, &integer, &fraction, &u4bmove)) in phypg_combvalue_fromstring()
84 combvalue |= ((integer * txgi_pdbm) + (fraction * txgi_pdbm / 100)); in phypg_combvalue_fromstring()
86 if (hal_get_fractionvalue_fromstring(sz_line, &integer, &fraction, &u4bmove)) in phypg_combvalue_fromstring()
92 combvalue |= ((integer * txgi_pdbm) + (fraction * txgi_pdbm / 100)); in phypg_combvalue_fromstring()
94 if (hal_get_fractionvalue_fromstring(sz_line, &integer, &fraction, &u4bmove)) in phypg_combvalue_fromstring()
100 combvalue |= ((integer * txgi_pdbm) + (fraction * txgi_pdbm / 100)); in phypg_combvalue_fromstring()
1010 u8 integer = 0, fraction = 0, negative = 0; in _hal_parse_txpwrlmt() local
[all …]

123456