/Linux-v6.1/drivers/staging/media/atomisp/pci/ |
D | ia_css_frac.h | 20 * This file contains typedefs used for fractional numbers 29 /* Unsigned fixed point value, 0 integer bits, 16 fractional bits */ 31 /* Unsigned fixed point value, 5 integer bits, 11 fractional bits */ 33 /* Unsigned fixed point value, 8 integer bits, 8 fractional bits */ 35 /* Signed fixed point value, 0 integer bits, 15 fractional bits */
|
/Linux-v6.1/drivers/iio/common/ssp_sensors/ |
D | ssp_iio_sensor.h | 48 int *fractional) in ssp_convert_to_freq() argument 51 *fractional = 0; in ssp_convert_to_freq() 57 *fractional = *integer_part % SSP_INVERTED_SCALING_FACTOR; in ssp_convert_to_freq() 62 static inline int ssp_convert_to_time(int integer_part, int fractional) in ssp_convert_to_time() argument 66 value = (u64)integer_part * SSP_INVERTED_SCALING_FACTOR + fractional; in ssp_convert_to_time()
|
/Linux-v6.1/drivers/net/ethernet/marvell/mvpp2/ |
D | mvpp2_tai.c | 99 /* Read and discard fractional part */ in mvpp22_tai_read_ts() 132 * fractional = abs_scaled_ppm / (2^16 * 10^6) 135 * freq_adjusted = freq_nominal * (1 + fractional) 137 * freq_delta = freq_nominal * (1 + fractional) - freq_nominal 138 * So: freq_delta = freq_nominal * fractional 141 * period_adjusted = period_nominal / (1 + fractional) 143 * period_delta = period_nominal * fractional / (1 + fractional) 319 /* As the fractional nanosecond is a signed offset, if the MSB (sign) in mvpp22_tai_set_step() 407 * size, and a 32-bit fractional nanosecond step size split over two in mvpp22_tai_probe() 408 * registers. The fractional nanosecond step size has units of 2^-32ns. in mvpp22_tai_probe() [all …]
|
/Linux-v6.1/include/media/ |
D | v4l2-vp9.h | 23 * @class0_fr: motion vector class0 fractional bit probabilities. 24 * @fr: motion vector fractional bit probabilities. 25 * @class0_hp: motion vector class0 high precision fractional bit probabilities. 26 * @hp: motion vector high precision fractional bit probabilities. 107 * @class0_fp: motion vector class0 fractional bit counts. 108 * @fp: motion vector fractional bit counts. 109 * @class0_hp: motion vector class0 high precision fractional bit counts. 110 * @hp: motion vector high precision fractional bit counts.
|
/Linux-v6.1/drivers/gpu/drm/amd/display/dc/basics/ |
D | fixpt31_32.c | 90 /* determine fractional part */ in dc_fixpt_from_fraction() 416 * fractional_bits fractional part. For example it is used in 417 * dc_fixpt_u2d19 to receive 2 bits integer part and 19 bits fractional 428 /* 2. mask out fractional part */ in ux_dy() 432 /* 4. make space for fractional part to be filled in after integer */ in ux_dy() 434 /* 5. shrink fixed point fractional part to of fractional_bits width*/ in ux_dy()
|
/Linux-v6.1/drivers/clk/mxs/ |
D | clk-frac.c | 13 * struct clk_frac - mxs fractional divider clock 14 * @hw: clk_hw for the fractional divider clock 20 * The clock is an adjustable fractional divider with a busy bit to wait
|
/Linux-v6.1/Documentation/devicetree/bindings/input/touchscreen/ |
D | stmpe.txt | 31 - st,fraction-z : Length of the fractional part in z (recommended is 7) 32 (fraction-z ([0..7]) = Count of the fractional part) 96 /* 7 length fractional part in z */
|
/Linux-v6.1/drivers/iio/light/ |
D | max44009.c | 55 /* The fixed-point fractional multiplier for de-scaling threshold values */ 299 static int max44009_threshold_byte_from_fraction(int integral, int fractional) in max44009_threshold_byte_from_fraction() argument 303 if ((integral <= 0 && fractional <= 0) || in max44009_threshold_byte_from_fraction() 305 (integral == MAX44009_MAXIMUM_THRESHOLD && fractional != 0)) in max44009_threshold_byte_from_fraction() 312 /* Reverse scaling of fixed-point fractional */ in max44009_threshold_byte_from_fraction() 313 mantissa += fractional / MAX44009_FRACT_MULT * in max44009_threshold_byte_from_fraction()
|
/Linux-v6.1/Documentation/devicetree/bindings/clock/ |
D | apple,nco.yaml | 15 fractional division of a high frequency input clock. 31 are derived through fractional division.
|
/Linux-v6.1/drivers/clk/spear/ |
D | clk-frac-synth.c | 6 * Fractional Synthesizer clock implementation 20 * DOC: Fractional Synthesizer clock 26 * 0-13 (fractional part)
|
/Linux-v6.1/arch/powerpc/include/uapi/asm/ |
D | nvram.h | 45 unsigned int latitude; /* 2+30 bit Fractional number */ 46 unsigned int longitude; /* 2+30 bit Fractional number */
|
/Linux-v6.1/include/linux/ |
D | average.h | 20 * used for the fractional part of the fixed-precision values. 38 * some bits for the non-fractional part... \
|
D | timecounter.h | 53 * @frac: accumulated fractional nanoseconds 68 * @frac: pointer to storage for the fractional nanoseconds.
|
/Linux-v6.1/Documentation/devicetree/bindings/iio/light/ |
D | upisemi,us5182.yaml | 36 8-bit dark gain compensation factor(4 int and 4 fractional bits - Q4.4) 43 8-bit dark gain compensation factor(4 int and 4 fractional bits - Q4.4)
|
/Linux-v6.1/sound/pci/cs46xx/ |
D | cs46xx_dsp_scb_types.h | 143 fractional phase accumulation 145 Fractional increment per output sample in the input sample buffer 148 On wavetable/3D voices: this 32-bit word specifies the integer.fractional 269 insure that the fractional error is always 317 hi: Fractional sample accumulator 0.16b 329 hi: Fractional sample correction factor 0.16b 674 /* accumPhi: accumulated fractional phase increment (6.26) */
|
/Linux-v6.1/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_pll.c | 33 * amdgpu_pll_reduce_ratio - fractional number reduction 115 * @frac_fb_div_p: fractional part of the feedback divider 194 /* represent the searched ratio as fractional number */ in amdgpu_pll_compute() 232 /* avoid high jitter with small fractional dividers */ in amdgpu_pll_compute()
|
/Linux-v6.1/drivers/gpu/drm/amd/display/dc/dce/ |
D | dce_abm.c | 100 // Take MSB of fractional part since backlight is not max in dmcu_set_backlight_level() 183 * 1 bit integer and 16 bit fractional in dce_abm_get_current_backlight() 194 * 1 bit integer and 16 bit fractional in dce_abm_get_target_backlight()
|
/Linux-v6.1/drivers/gpu/drm/display/ |
D | drm_dsc_helper.c | 355 * NflBpgOffset is 16 bit value with 11 fractional bits in drm_dsc_compute_rc_parameters() 357 * fractional part in drm_dsc_compute_rc_parameters() 367 /* slice_bpg_offset is 16 bit value with 11 fractional bits */ in drm_dsc_compute_rc_parameters() 377 * as (NflBpgOffset + SliceBpgOffset) has 11 bit fractional value, in drm_dsc_compute_rc_parameters()
|
/Linux-v6.1/drivers/clk/sunxi-ng/ |
D | ccu_frac.c | 71 pr_debug("%s: Read fractional\n", clk_hw_get_name(&common->hw)); in ccu_frac_helper_read_rate() 76 pr_debug("%s: clock is fractional (rates %lu and %lu)\n", in ccu_frac_helper_read_rate()
|
/Linux-v6.1/Documentation/devicetree/bindings/input/ |
D | azoteq,iqs7222.yaml | 66 description: Specifies the preloaded ATI fine fractional divider. 72 description: Specifies the preloaded ATI coarse fractional divider. 371 3: Fine fractional divider 372 4: Coarse fractional divider 379 description: Specifies the channel's ATI fine fractional divider. 385 description: Specifies the channel's ATI coarse fractional multiplier. 391 description: Specifies the channel's ATI coarse fractional divider.
|
/Linux-v6.1/sound/soc/tegra/ |
D | tegra186_asrc.c | 714 /* Controls for fractional part of ratio */ 715 SOC_SINGLE_EXT_FRAC("Ratio1 Fractional Part", 721 SOC_SINGLE_EXT_FRAC("Ratio2 Fractional Part", 727 SOC_SINGLE_EXT_FRAC("Ratio3 Fractional Part", 733 SOC_SINGLE_EXT_FRAC("Ratio4 Fractional Part", 739 SOC_SINGLE_EXT_FRAC("Ratio5 Fractional Part", 745 SOC_SINGLE_EXT_FRAC("Ratio6 Fractional Part",
|
/Linux-v6.1/drivers/staging/media/atomisp/pci/isp/kernels/ctc/ctc_1.0/ |
D | ia_css_ctc_types.h | 25 /* Fractional bits for CTC gain (used only for ISP1). 27 * IA_CSS_CTC_COEF_SHIFT(=13) includes not only the fractional bits
|
/Linux-v6.1/drivers/clk/meson/ |
D | clk-mpll.c | 118 /* Set the fractional part */ in mpll_set_rate() 141 /* Enable the fractional part */ in mpll_init()
|
/Linux-v6.1/drivers/gpu/drm/amd/display/dc/inc/ |
D | clock_source.h | 133 /* number of decimal point for fractional feedback divider value */ 136 /* number of decimal point to round off for fractional feedback divider value*/
|
/Linux-v6.1/drivers/clk/bcm/ |
D | clk-kona.h | 234 * of its bits represent a "fractional" part of the divider. Such 238 * fractional bits. Variable dividers with non-zero fraction width 241 * affects the bits above the fractional part only. (Often in this 247 * been left-shifted by the fractional width of a divider. Dividing 300 /* A divider whose divisor has an integer and fractional part */
|