/linux-4.4.14/drivers/iio/common/ssp_sensors/ |
H A D | ssp_iio_sensor.h | 47 int *fractional) ssp_convert_to_freq() 50 *fractional = 0; ssp_convert_to_freq() 56 *fractional = *integer_part % SSP_INVERTED_SCALING_FACTOR; ssp_convert_to_freq() 61 static inline int ssp_convert_to_time(int integer_part, int fractional) ssp_convert_to_time() argument 65 value = (u64)integer_part * SSP_INVERTED_SCALING_FACTOR + fractional; ssp_convert_to_time() 46 ssp_convert_to_freq(u32 time, int *integer_part, int *fractional) ssp_convert_to_freq() argument
|
/linux-4.4.14/drivers/clk/mxs/ |
H A D | clk-frac.c | 19 * struct clk_frac - mxs fractional divider clock 20 * @hw: clk_hw for the fractional divider clock 26 * The clock is an adjustable fractional divider with a busy bit to wait
|
H A D | clk-ref.c | 26 * clock has a gate control and a fractional * divider. The rate is calculated
|
/linux-4.4.14/lib/ |
H A D | rational.c | 24 * with the fractional part size described in given_denominator.
|
/linux-4.4.14/include/linux/ |
H A D | timecounter.h | 62 * @frac: accumulated fractional nanoseconds 77 * @frac: pointer to storage for the fractional nanoseconds.
|
H A D | timekeeper_internal.h | 21 * @xtime_nsec: Shifted (fractional) nano seconds offset for readout
|
H A D | clk-provider.h | 492 * struct clk_fractional_divider - adjustable fractional divider clock 502 * Clock with adjustable fractional divider affecting its output frequency.
|
H A D | sched.h | 146 * a load-average precision of 10 bits integer + 11 bits fractional
|
/linux-4.4.14/arch/powerpc/include/asm/ |
H A D | vdso_datapage.h | 88 __u32 stamp_sec_fraction; /* fractional seconds of stamp_xtime */ 109 __u32 stamp_sec_fraction; /* fractional seconds of stamp_xtime */
|
/linux-4.4.14/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_pll.c | 32 * amdgpu_pll_reduce_ratio - fractional number reduction 106 * frac_fb_div_p: fractional part of the feedback divider 184 /* represent the searched ratio as fractional number */ amdgpu_pll_compute() 222 /* avoid high jitter with small fractional dividers */ amdgpu_pll_compute()
|
/linux-4.4.14/drivers/clk/ |
H A D | clk-fractional-divider.c | 8 * Adjustable fractional divider clock implementation.
|
H A D | clk-si570.c | 187 * @out_rfreq: RFREG fractional multiplier (output)
|
/linux-4.4.14/drivers/clk/spear/ |
H A D | clk-frac-synth.c | 29 * 0-13 (fractional part)
|
/linux-4.4.14/include/video/ |
H A D | w100fb.h | 99 uint8_t N_fac; /* VCO multiplier fractional part */
|
/linux-4.4.14/arch/m68k/math-emu/ |
H A D | fp_log.c | 56 * Since only the fractional part of the mantissa is stored and fp_fsqrt()
|
H A D | fp_arith.c | 449 This one rounds off the fractional part using the rounding mode
|
/linux-4.4.14/drivers/staging/clocking-wizard/ |
H A D | clk-xlnx-clock-wizard.c | 196 /* we don't support fractional div/mul yet */ clk_wzrd_probe() 202 dev_warn(&pdev->dev, "fractional div/mul not supported\n"); clk_wzrd_probe()
|
/linux-4.4.14/drivers/clk/mediatek/ |
H A D | clk-pll.c | 40 * part and the remaining bits (if present) for the fractional part. Also they 74 /* The fractional part of the PLL divider. */ __mtk_pll_recalc_rate()
|
/linux-4.4.14/drivers/hwmon/ |
H A D | emc2103.c | 77 s8 temp_min[4]; /* no fractional part */ 78 s8 temp_max[4]; /* no fractional part */ 101 u8 degrees, fractional; read_temp_from_i2c() local 106 if (read_u8_from_i2c(client, i2c_reg + 1, &fractional) < 0) read_temp_from_i2c() 110 temp->fraction = (fractional & 0xe0) >> 5; read_temp_from_i2c()
|
H A D | w83791d.c | 248 * are the fractional amount. Since we only have 0.5 degree resolution, 307 * fractional part. We only use the top
|
H A D | vt8231.c | 133 * LSBs as fractional precision.
|
H A D | asc7621.c | 393 * indicating fractional degrees.
|
H A D | adt7462.c | 696 * Reading the fractional register locks the integral adt7462_update_device()
|
/linux-4.4.14/drivers/clk/bcm/ |
H A D | clk-kona.h | 242 * of its bits represent a "fractional" part of the divider. Such 246 * fractional bits. Variable dividers with non-zero fraction width 249 * affects the bits above the fractional part only. (Often in this 255 * been left-shifted by the fractional width of a divider. Dividing 308 /* A divider whose divisor has an integer and fractional part */
|
H A D | clk-iproc.h | 35 /* PLL that has fractional part of the NDIV */
|
H A D | clk-iproc-pll.c | 315 /* program fractional part of NDIV */ pll_set_rate()
|
H A D | clk-bcm2835.c | 633 /* Number of fractional bits in the divider */ 1186 /* clamp to the highest possible fractional divider */ bcm2835_clock_choose_div()
|
H A D | clk-kona-setup.c | 363 * If a clock has two dividers, the combined number of fractional
|
H A D | clk-kona.c | 64 * given whole part (div_value) and fractional part (expressed
|
/linux-4.4.14/arch/powerpc/platforms/512x/ |
H A D | clock-commonclk.c | 51 /* intermediates in div+gate combos or fractional dividers */ 314 * divide ratio is fractional 335 * multiplier ratio is fractional 431 *sys_mul *= 2; /* compensate for the fractional divider */ mpc512x_clk_setup_ref_clock() 716 * - fractional dividers appear to not map well to composites mpc512x_clk_setup_clock_tree() 754 * implementation detail, the "fractional divider with quarters" mpc512x_clk_setup_clock_tree() 780 div = 2; /* compensate for the fractional factor */ mpc512x_clk_setup_clock_tree()
|
/linux-4.4.14/drivers/clk/ti/ |
H A D | fapll.c | 334 * Synth frequency integer and fractional divider. ti_fapll_synth_recalc_rate() 418 /* Only post divider m available with no fractional divider? */ ti_fapll_synth_round_rate() 466 /* Need to recalculate the fractional divider? */ ti_fapll_synth_set_rate()
|
/linux-4.4.14/drivers/video/fbdev/omap2/dss/ |
H A D | hdmi_pll.c | 72 /* adjust clkdco with fractional mf */ hdmi_pll_compute()
|
H A D | dispc.c | 2654 * registers will only hold the fractional part of the offset dispc_ovl_setup_common()
|
/linux-4.4.14/drivers/iio/pressure/ |
H A D | mpl115.c | 74 /* compensated pressure with 4 fractional bits */ mpl115_comp_pressure()
|
H A D | bmp280.c | 182 * integer bits and 8 fractional bits). Output value of "24674867"
|
/linux-4.4.14/drivers/clk/tegra/ |
H A D | clk-divider.c | 160 pr_err("%s: could not allocate fractional divider clk\n", tegra_clk_register_divider()
|
H A D | clk.h | 46 * struct tegra_clk_frac_div - fractional divider clock 53 * @frac_width: width of the fractional bit field
|
/linux-4.4.14/include/drm/ |
H A D | drm_fixed.h | 161 /* determine fractional part */ drm_fixp_from_fraction()
|
/linux-4.4.14/sound/pci/cs46xx/ |
H A D | cs46xx_dsp_scb_types.h | 158 fractional phase accumulation 163 On wavetable/3D voices: this 32-bit word specifies the integer.fractional 284 insure that the fractional error is always 689 /* accumPhi: accumulated fractional phase increment (6.26) */
|
/linux-4.4.14/drivers/gpu/drm/radeon/ |
H A D | r600_blit.c | 34 /* 23 bits of float fractional data */ 41 * as the fractional bits will not fit in a float. (It would be better to
|
H A D | radeon_display.c | 900 * avivo_reduce_ratio - fractional number reduction 974 * frac_fb_div_p: fractional part of the feedback divider 1055 /* represent the searched ratio as fractional number */ radeon_compute_pll_avivo() 1093 /* avoid high jitter with small fractional dividers */ radeon_compute_pll_avivo()
|
H A D | atombios.h | 1549 UCHAR ucFracFbDiv; // fractional feedback divider 1569 UCHAR ucFracFbDiv; // fractional feedback divider 1616 UCHAR ucFracFbDiv; // fractional feedback divider
|
/linux-4.4.14/drivers/net/wireless/zd1211rw/ |
H A D | zd_rf_uw2453.c | 37 * fractional divide ratio) and 3 (VCO config). 70 /* This table stores the synthesizer fractional divide ratio for *all* VCO
|
/linux-4.4.14/drivers/net/wireless/ath/ath9k/ |
H A D | ar9002_phy.c | 79 if (freq < 4800) { /* 2 GHz, fractional mode */ ar9002_hw_set_channel() 126 * Enable 2G (fractional) mode for channels ar9002_hw_set_channel()
|
H A D | ar9003_phy.c | 158 if (freq < 4800) { /* 2 GHz, fractional mode */ ar9003_hw_set_channel() 217 /* Enable fractional mode for all channels */ ar9003_hw_set_channel()
|
/linux-4.4.14/drivers/gpu/drm/nouveau/dispnv04/ |
H A D | overlay.c | 111 /* Source parameters given in 16.16 fixed point, ignore fractional. */ nv10_update_plane() 359 /* Source parameters given in 16.16 fixed point, ignore fractional. */ nv04_update_plane()
|
/linux-4.4.14/drivers/ptp/ |
H A D | ptp_clock.c | 82 * million, but with a 16 bit binary fractional field. scaled_ppm_to_ppb()
|
/linux-4.4.14/net/dccp/ccids/lib/ |
H A D | tfrc_equation.c | 57 integer arithmetic. This means that nearly all fractional parameters are
|
/linux-4.4.14/sound/firewire/ |
H A D | amdtp-stream.h | 15 * for clock skew and left-over fractional samples. This should
|
H A D | amdtp-am824.c | 328 * fractional values, the values in midi_fifo_used[] are measured in bytes
|
/linux-4.4.14/sound/soc/codecs/ |
H A D | tlv320aic26.c | 109 /* compute fractional DDDD component of multiplier */ aic26_hw_params()
|
H A D | nau8825.c | 916 /* Calculate the FLL 10-bit integer input and the FLL 16-bit fractional nau8825_calc_fll_param() 932 /* FLL 16-bit fractional input */ nau8825_fll_apply()
|
H A D | wm8400.c | 899 /* Ensure we have a fractional part */ fll_factors() 916 /* Calculate fractional part - scale up so we can round. */ fll_factors()
|
H A D | wm8955.c | 177 /* Calculate fractional part - scale up so we can round. */ wm8995_pll_factors()
|
H A D | wm8900.c | 734 /* Calculate fractional part - scale up so we can round. */ fll_factors()
|
H A D | wm8990.c | 951 /* set up N , fractional mode and pre-divisor if necessary */ wm8990_set_dai_pll()
|
H A D | wm8991.c | 935 /* set up N , fractional mode and pre-divisor if necessary */ wm8991_set_dai_pll()
|
H A D | wm8993.c | 448 /* Calculate fractional part - scale up so we can round. */ fll_factors()
|
H A D | wm9081.c | 528 /* Calculate fractional part - scale up so we can round. */ fll_factors()
|
H A D | wm9713.c | 811 /* write the fractional k to the reg 0x46 pages */ wm9713_set_pll()
|
H A D | wm8995.c | 1778 /* Calculate fractional part - scale up so we can round. */ wm8995_get_fll_config()
|
H A D | wm8904.c | 1657 /* Calculate fractional part - scale up so we can round. */ fll_factors()
|
H A D | wm8994.c | 2104 /* Calculate fractional part - scale up so we can round. */ wm8994_get_fll_config() 2261 /* Enable (with fractional mode if required) */ _wm8994_set_fll()
|
/linux-4.4.14/drivers/video/fbdev/ |
H A D | pxa168fb.c | 235 * The hardware clock divider has an integer and a fractional 241 * Calculate integer and fractional divider for given clk_in
|
H A D | mx3fb.c | 565 * Calculate divider: fractional part is 4 bits so simply multiple by sdc_init_panel() 566 * 2^4 to get fractional part, as long as we stay under ~250MHz and on sdc_init_panel()
|
/linux-4.4.14/kernel/ |
H A D | acct.c | 310 #define MAXFRACT ((1 << MANTSIZE) - 1) /* Maximum fractional value. */ 351 #define MAXFRACT2 ((1ul << MANTSIZE2) - 1) /* Maximum fractional value. */
|
/linux-4.4.14/drivers/media/tuners/ |
H A D | fc0012.c | 239 /* From VCO frequency determines the XIN ( fractional part of Delta fc0012_set_params()
|
H A D | msi001.c | 218 /* Calculate PLL integer and fractional control word. */ msi001_set_tuner()
|
H A D | fc0013.c | 393 /* From VCO frequency determines the XIN ( fractional part of Delta fc0013_set_params()
|
H A D | fc2580.c | 102 /* calculate PLL integer and fractional control word */ fc2580_set_params()
|
H A D | e4000.c | 155 /* calculate PLL integer and fractional control word */ e4000_set_params()
|
/linux-4.4.14/drivers/media/usb/dvb-usb-v2/ |
H A D | mxl111sf-tuner.c | 84 {0x1e, 0xff, 0x00}, /* channel frequency (lo and fractional) */
|
/linux-4.4.14/drivers/clk/berlin/ |
H A D | berlin2-avpll.c | 333 * AV2/AV3 form a fractional divider, where only specfic values for AV3 berlin2_avpll_channel_recalc_rate()
|
/linux-4.4.14/fs/isofs/ |
H A D | compress.c | 89 * First block is special since it may be fractional. We also wait for zisofs_uncompress_block()
|
/linux-4.4.14/kernel/sched/ |
H A D | loadavg.c | 234 * @frac_bits: fractional bits of @x
|
/linux-4.4.14/Documentation/ptp/ |
H A D | testptp.c | 96 * million, but with a 16 bit binary fractional field. ppb_to_scaled_ppm()
|
/linux-4.4.14/drivers/staging/media/lirc/ |
H A D | lirc_serial.c | 39 * - fine tuned transmitter latency, taking advantage of fractional 424 * fractional bits. that gets us within 0.1% or so of the right average 430 /* To match 8 fractional bits used for pulse/space length */
|
/linux-4.4.14/drivers/rtc/ |
H A D | rtc-imxdi.c | 564 * fractional part. 588 /* zero the fractional part first */ dryice_rtc_set_mmss() 615 * the fractional part of the alarm register is always zero.
|
/linux-4.4.14/drivers/tty/serial/ |
H A D | digicolor-usart.c | 304 /* Limit baud rates so that we don't need the fractional divider */ digicolor_uart_set_termios()
|
H A D | lantiq.c | 463 /* make sure the fractional divider is off */ lqasc_set_termios()
|
H A D | samsung.c | 1211 * This table takes the fractional value of the baud divisor and gives
|
/linux-4.4.14/drivers/media/dvb-frontends/ |
H A D | sp8870.c | 276 // fractional carrier offset sp8870_set_frontend_parameters()
|
/linux-4.4.14/drivers/net/wireless/ti/wl1251/ |
H A D | boot.c | 160 /* set fractional divider according to Appendix C-BB PLL wl1251_boot_init_seq()
|
/linux-4.4.14/drivers/net/ethernet/intel/e1000e/ |
H A D | e1000.h | 378 * bits to count nanoseconds leaving the rest for fractional nonseconds.
|
/linux-4.4.14/arch/mips/ralink/ |
H A D | mt7620.c | 446 * fractional divider to fix this ralink_clk_init()
|
/linux-4.4.14/include/linux/mfd/ |
H A D | sta2x11-mfd.h | 267 #define SCTL_SCRESFRACT 0x10 /* PLL fractional input register */
|
/linux-4.4.14/drivers/media/usb/msi2500/ |
H A D | msi2500.c | 759 * [15] fractional MSB, bit 20 msi2500_set_usb_adc() 801 /* Calculate PLL integer and fractional control word. */ msi2500_set_usb_adc()
|
/linux-4.4.14/drivers/net/ethernet/intel/igb/ |
H A D | igb_ptp.c | 34 * frequency is adjusted by changing the 32 bit fractional nanoseconds 40 * leaving 19 bits for fractional nanoseconds.
|
/linux-4.4.14/drivers/gpu/ipu-v3/ |
H A D | ipu-di.c | 430 * cope with a fractional divider or not. For the ipu_di_config_clock()
|
/linux-4.4.14/drivers/misc/echo/ |
H A D | echo.c | 635 implemented with extended fractional precision, which noise shapes things,
|
/linux-4.4.14/drivers/net/ethernet/cavium/liquidio/ |
H A D | cn66xx_device.c | 153 /* core clock per us / oq ticks will be fractional. TO avoid that lio_cn6xxx_get_oq_ticks()
|
/linux-4.4.14/include/math-emu/ |
H A D | op-4.h | 665 /* move an integer of size rsize into X's fractional part. We rely on
|
/linux-4.4.14/drivers/tty/serial/8250/ |
H A D | 8250_port.c | 2114 * XR17V35x UARTs have an extra fractional divisor register (DLD) 2115 * Calculate divisor with extra 4-bit fractional portion 2225 /* XR17V35x UARTs have an extra fractional divisor register (DLD) */ serial8250_set_divisor()
|
/linux-4.4.14/drivers/staging/lustre/include/linux/libcfs/ |
H A D | libcfs_hash.h | 790 /* Return a fractional value between 0 and 999 */ __cfs_hash_theta_frac()
|
/linux-4.4.14/drivers/staging/lustre/lustre/obdclass/ |
H A D | lprocfs_status.c | 208 pbuf[5] = '\0'; /*only allow 5bits fractional*/ lprocfs_write_frac_helper()
|
/linux-4.4.14/drivers/isdn/i4l/ |
H A D | isdn_bsdcomp.c | 190 * with 8 fractional bits.
|
/linux-4.4.14/drivers/mtd/nand/ |
H A D | s3c2410.c | 670 /* cleanup any fractional write */ s3c2440_nand_write_buf()
|
H A D | denali.c | 69 * This macro divides two integers and rounds fractional values up
|
/linux-4.4.14/drivers/iio/ |
H A D | industrialio-core.c | 504 * @fract: The fractional part of the number
|
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/engine/disp/ |
H A D | nv50.c | 567 /* no remainder, but the hw doesn't like the fractional nv50_disp_intr_unk20_2_dp()
|
/linux-4.4.14/drivers/net/ethernet/intel/ixgbe/ |
H A D | ixgbe_ptp.c | 51 * round(): discard the fractional portion of the calculation
|
/linux-4.4.14/drivers/net/ppp/ |
H A D | bsd_comp.c | 237 * with 8 fractional bits.
|
/linux-4.4.14/arch/x86/include/asm/ |
H A D | kvm_host.h | 979 /* number of bits of the fractional part of the TSC scaling ratio */
|
/linux-4.4.14/sound/drivers/ |
H A D | aloop.c | 118 unsigned int irq_pos; /* fractional IRQ position */
|
H A D | dummy.c | 241 unsigned int frac_pos; /* fractional sample position (based HZ) */
|
/linux-4.4.14/sound/soc/fsl/ |
H A D | fsl_asrc.c | 191 * The ratio is a 32-bit fixed point value with 26 fractional bits.
|
/linux-4.4.14/drivers/atm/ |
H A D | lanai.c | 2052 * CBR ICG is stored as a fixed-point number with 4 fractional bits. 2070 * bits of a fractional part, so we keep everything in the numerator
|
H A D | iphase.c | 522 sp_mod2 = ((sp_mod + sp_mod2) % entries); // calc new fractional part ia_cbr_setup()
|
/linux-4.4.14/include/sound/ |
H A D | emu10k1.h | 377 #define CPF_FRACADDRESS_MASK 0x00003fff /* Linear fractional address of the current channel */ 522 /* 4 bits of octave, 12 bits of fractional octave */
|
/linux-4.4.14/drivers/platform/x86/ |
H A D | intel_ips.c | 881 val = (val) >> 6; /* discard fractional component */ read_ctv()
|
/linux-4.4.14/arch/metag/include/asm/ |
H A D | metag_regs.h | 507 * Data unit product shift for fractional arithmetic (default off)
|
/linux-4.4.14/drivers/net/ethernet/sfc/ |
H A D | ptp.c | 155 /* Number of extra bits allowed when calculating fractional ns.
|
H A D | mcdi_pcol.h | 1242 /* enum: Number of fractional bits in frequency adjustment */ 1333 /* enum: Number of fractional bits in frequency adjustment */
|
/linux-4.4.14/drivers/char/ |
H A D | random.c | 290 * To allow fractional bits to be tracked, the entropy_count field is
|
/linux-4.4.14/fs/ |
H A D | binfmt_elf.c | 108 /* We need to explicitly zero any fractional pages
|
/linux-4.4.14/drivers/gpu/drm/i915/ |
H A D | i915_reg.h | 4073 * This should be the fractional part of the horizontal scaling factor divided 4090 * Sets the fractional part of the 3.15 fixed-point vertical scaling factor. 4108 * Sets the fractional part of the 3.15 fixed-point vertical scaling factor.
|
H A D | intel_dp.c | 82 * CHV requires to program fractional division for m2.
|
/linux-4.4.14/drivers/usb/serial/ |
H A D | ftdi_sio.c | 1382 /* Probably the BM type needs the MSB of the encoded fractional change_speed()
|
/linux-4.4.14/net/mac80211/ |
H A D | util.c | 69 * integer if it includes a fractional microsecond) to send frame of ieee80211_frame_duration()
|
/linux-4.4.14/sound/oss/ |
H A D | swarm_cs4297a.c | 57 * 12/21/00 trw - added fractional "defaultorder" inputs. if >100 then use
|
/linux-4.4.14/drivers/gpu/drm/amd/include/ |
H A D | atombios.h | 1589 UCHAR ucFracFbDiv; // fractional feedback divider 1609 UCHAR ucFracFbDiv; // fractional feedback divider 1656 UCHAR ucFracFbDiv; // fractional feedback divider
|
/linux-4.4.14/drivers/md/ |
H A D | md.c | 3336 * This function takes a decimal number with a possible fractional
|
/linux-4.4.14/arch/x86/kvm/ |
H A D | x86.c | 1373 * (frac) represent the fractional part, ie. ratio represents a fixed
|
/linux-4.4.14/drivers/media/dvb-frontends/drx39xyj/ |
H A D | drxj.c | 1059 * The 4 bits integer part and the 28 bits fractional part are calculated.
|