Home
last modified time | relevance | path

Searched refs:ideal (Results 1 - 25 of 25) sorted by relevance

/kernel/linux/linux-5.10/drivers/iio/adc/
H A Dtwl6030-gpadc.c74 * @gain: slope coefficient for ideal curve
90 * @code1: ideal code for the input at the beginning
91 * @code2: ideal code for at the end of the range
109 * @ideal: pointer to calibration parameters
118 const struct twl6030_ideal_code *ideal; member
424 static int twl6030_gpadc_lookup(const struct twl6030_ideal_code *ideal, in twl6030_gpadc_lookup() argument
430 if (ideal[i].channel == channel) in twl6030_gpadc_lookup()
439 const struct twl6030_ideal_code *ideal = pdata->ideal; in twl6030_channel_calibrated() local
442 i = twl6030_gpadc_lookup(ideal, channe in twl6030_channel_calibrated()
450 const struct twl6030_ideal_code *ideal = gpadc->pdata->ideal; twl6030_gpadc_make_correction() local
490 const struct twl6030_ideal_code *ideal = gpadc->pdata->ideal; twl6030_gpadc_get_processed() local
576 const struct twl6030_ideal_code *ideal = gpadc->pdata->ideal; twl6030_calibrate_channel() local
[all...]
/kernel/linux/linux-6.6/drivers/iio/adc/
H A Dtwl6030-gpadc.c74 * @gain: slope coefficient for ideal curve
90 * @code1: ideal code for the input at the beginning
91 * @code2: ideal code for at the end of the range
109 * @ideal: pointer to calibration parameters
118 const struct twl6030_ideal_code *ideal; member
424 static int twl6030_gpadc_lookup(const struct twl6030_ideal_code *ideal, in twl6030_gpadc_lookup() argument
430 if (ideal[i].channel == channel) in twl6030_gpadc_lookup()
439 const struct twl6030_ideal_code *ideal = pdata->ideal; in twl6030_channel_calibrated() local
442 i = twl6030_gpadc_lookup(ideal, channe in twl6030_channel_calibrated()
450 const struct twl6030_ideal_code *ideal = gpadc->pdata->ideal; twl6030_gpadc_make_correction() local
490 const struct twl6030_ideal_code *ideal = gpadc->pdata->ideal; twl6030_gpadc_get_processed() local
576 const struct twl6030_ideal_code *ideal = gpadc->pdata->ideal; twl6030_calibrate_channel() local
[all...]
/third_party/ffmpeg/libavdevice/tests/
H A Dtimefilter.c33 double ideal[SAMPLES]; in main() local
46 ideal[i] = samplet[i] + n1 * i / (1000); in main()
47 samples[i] = ideal[i] + n0 * (av_lfg_get(&prng) - LFG_MAX / 2) / (LFG_MAX * 10LL); in main()
68 error += (filtered - ideal[i]) * (filtered - ideal[i]); in main()
/third_party/node/deps/npm/lib/utils/
H A Dreify-output.js82 diffTable?.push(['add', d.ideal.name, d.ideal.package.version])
83 actualTree.inventory.has(d.ideal) && summary.added++
88 d.actual.package.version + ' -> ' + d.ideal.package.version,
95 const node = d.actual || d.ideal
/kernel/linux/linux-5.10/drivers/gpu/drm/sun4i/
H A Dsun4i_dotclock.c80 u64 ideal = (u64)rate * i; in sun4i_dclk_round_rate() local
84 * ideal has overflowed the max value that can be stored in an in sun4i_dclk_round_rate()
90 if (ideal > ULONG_MAX) in sun4i_dclk_round_rate()
94 ideal); in sun4i_dclk_round_rate()
96 if (rounded == ideal) { in sun4i_dclk_round_rate()
H A Dsun8i_hdmi_phy_clk.c36 unsigned long ideal = rate * i; in sun8i_phy_clk_determine_rate() local
39 rounded = clk_hw_round_rate(parent, ideal); in sun8i_phy_clk_determine_rate()
41 if (rounded == ideal) { in sun8i_phy_clk_determine_rate()
H A Dsun4i_hdmi_tmds_clk.c90 unsigned long ideal = rate * i * j; in sun4i_tmds_determine_rate() local
93 rounded = clk_hw_round_rate(parent, ideal); in sun4i_tmds_determine_rate()
95 if (rounded == ideal) { in sun4i_tmds_determine_rate()
/kernel/linux/linux-6.6/drivers/gpu/drm/sun4i/
H A Dsun4i_tcon_dclk.c80 u64 ideal = (u64)rate * i; in sun4i_dclk_round_rate() local
84 * ideal has overflowed the max value that can be stored in an in sun4i_dclk_round_rate()
90 if (ideal > ULONG_MAX) in sun4i_dclk_round_rate()
94 ideal); in sun4i_dclk_round_rate()
96 if (rounded == ideal) { in sun4i_dclk_round_rate()
H A Dsun8i_hdmi_phy_clk.c36 unsigned long ideal = rate * i; in sun8i_phy_clk_determine_rate() local
39 rounded = clk_hw_round_rate(parent, ideal); in sun8i_phy_clk_determine_rate()
41 if (rounded == ideal) { in sun8i_phy_clk_determine_rate()
H A Dsun4i_hdmi_tmds_clk.c90 unsigned long ideal = rate * i * j; in sun4i_tmds_determine_rate() local
93 rounded = clk_hw_round_rate(parent, ideal); in sun4i_tmds_determine_rate()
95 if (rounded == ideal) { in sun4i_tmds_determine_rate()
/third_party/lzma/CPP/Windows/Control/
H A DReBar.h20 void MaximizeBand(unsigned index, bool ideal) in MaximizeBand() argument
21 { SendMsg(RB_MAXIMIZEBAND, index, BoolToBOOL(ideal)); } in MaximizeBand()
/third_party/skia/tests/
H A DBlendTest.cpp45 ideal = (x*y+127)/255; in test() local
46 if (p != ideal) { in test()
50 if (SkTAbs(ideal - p) == 1) { r.diffs_by_1++; } in test()
/kernel/linux/linux-5.10/sound/soc/fsl/
H A Dfsl_asrc.c367 * The ideal ratio configuration can work with a flexible clock rate setting.
388 bool ideal, div_avail; in fsl_asrc_config_pair() local
432 ideal = config->inclk == INCLK_NONE; in fsl_asrc_config_pair()
464 /* We only have output clock for ideal ratio mode */ in fsl_asrc_config_pair()
465 clk = asrc_priv->asrck_clk[clk_index[ideal ? OUT : IN]]; in fsl_asrc_config_pair()
472 * ideal ratio configuration, clock rate has to be strictly aligned in fsl_asrc_config_pair()
473 * with the sample rate. For ideal ratio configuration, clock rates in fsl_asrc_config_pair()
477 if (div[IN] == 0 || (!ideal && !div_avail)) { in fsl_asrc_config_pair()
479 inrate, clk_index[ideal ? OUT : IN]); in fsl_asrc_config_pair()
487 if (ideal in fsl_asrc_config_pair()
[all...]
/kernel/linux/linux-6.6/sound/soc/fsl/
H A Dfsl_asrc.c371 * The ideal ratio configuration can work with a flexible clock rate setting.
392 bool ideal, div_avail; in fsl_asrc_config_pair() local
436 ideal = config->inclk == INCLK_NONE; in fsl_asrc_config_pair()
468 /* We only have output clock for ideal ratio mode */ in fsl_asrc_config_pair()
469 clk = asrc_priv->asrck_clk[clk_index[ideal ? OUT : IN]]; in fsl_asrc_config_pair()
476 * ideal ratio configuration, clock rate has to be strictly aligned in fsl_asrc_config_pair()
477 * with the sample rate. For ideal ratio configuration, clock rates in fsl_asrc_config_pair()
481 if (div[IN] == 0 || (!ideal && !div_avail)) { in fsl_asrc_config_pair()
483 inrate, clk_index[ideal ? OUT : IN]); in fsl_asrc_config_pair()
491 if (ideal in fsl_asrc_config_pair()
[all...]
/third_party/curl/lib/
H A Dtransfer.c591 ULONG ideal; in win_update_buffer_size() local
594 &ideal, sizeof(ideal), &ideallen, 0, 0); in win_update_buffer_size()
597 (const char *)&ideal, sizeof(ideal)); in win_update_buffer_size()
/third_party/vk-gl-cts/modules/gles31/functional/
H A Des31fTextureGatherTests.cpp602 tcu::TextureLevel ideal (result.getFormat(), width, height); in verifyGatherOffsets()
603 const PixelBufferAccess idealAccess = ideal.getAccess(); in verifyGatherOffsets()
639 log << TestLog::Image("Reference", "Ideal reference image", ideal) in verifyGatherOffsets()
680 tcu::Surface ideal (width, height); in verifyGatherOffsetsCompare()
681 const PixelBufferAccess idealAccess = ideal.getAccess(); in verifyGatherOffsetsCompare()
716 log << TestLog::Image("Reference", "Ideal reference image", ideal) in verifyGatherOffsetsCompare()
729 tcu::Surface ideal (width, height); in verifySingleColored()
730 const PixelBufferAccess idealAccess = ideal.getAccess(); in verifySingleColored()
752 log << TestLog::Image("Reference", "Ideal reference image", ideal) in verifySingleColored()
/third_party/ffmpeg/libavcodec/
H A Dflashsv2enc.c789 double ideal = ((double)(s->avctx->bit_rate * s->avctx->time_base.den * s->avctx->ticks_per_frame)) / in optimum_use15_7() local
791 if (ideal + use15_7_threshold < s->total_bits) { in optimum_use15_7()
804 double ideal = in optimum_dist() local
807 int dist = pow((s->total_bits / ideal) * color15_7_factor, 3); in optimum_dist()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shaderrender/
H A DvktShaderRenderTextureGatherTests.cpp633 tcu::TextureLevel ideal (result.getFormat(), width, height); in verifyGatherOffsets()
634 const PixelBufferAccess idealAccess = ideal.getAccess(); in verifyGatherOffsets()
670 log << TestLog::Image("Reference", "Ideal reference image", ideal) in verifyGatherOffsets()
711 tcu::Surface ideal (width, height); in verifyGatherOffsetsCompare()
712 const PixelBufferAccess idealAccess = ideal.getAccess(); in verifyGatherOffsetsCompare()
747 log << TestLog::Image("Reference", "Ideal reference image", ideal) in verifyGatherOffsetsCompare()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/shaderrender/
H A DvktShaderRenderTextureGatherTests.cpp633 tcu::TextureLevel ideal (result.getFormat(), width, height); in verifyGatherOffsets()
634 const PixelBufferAccess idealAccess = ideal.getAccess(); in verifyGatherOffsets()
670 log << TestLog::Image("Reference", "Ideal reference image", ideal) in verifyGatherOffsets()
711 tcu::Surface ideal (width, height); in verifyGatherOffsetsCompare()
712 const PixelBufferAccess idealAccess = ideal.getAccess(); in verifyGatherOffsetsCompare()
747 log << TestLog::Image("Reference", "Ideal reference image", ideal) in verifyGatherOffsetsCompare()
/third_party/skia/third_party/externals/libpng/
H A Dpngpriv.h781 * ideal-delta..ideal+delta. Each argument is evaluated twice.
782 * "ideal" and "delta" should be constants, normally simple
785 #define PNG_OUT_OF_RANGE(value, ideal, delta) \
786 ( (value) < (ideal)-(delta) || (value) > (ideal)+(delta) )
/third_party/backends/backend/
H A Dplustek-usbshading.c730 * @param ideal -
736 u_long ideal, u_short l_on, u_short *l_off ) in adjLampSetting()
742 if( max > ideal ) { in adjLampSetting()
1211 /* Over ideal value */ in usb_GetNewOffset()
1222 /* Below than ideal value */ in usb_GetNewOffset()
735 adjLampSetting( Plustek_Device *dev, int channel, u_long max, u_long ideal, u_short l_on, u_short *l_off ) adjLampSetting() argument
/third_party/icu/icu4c/source/i18n/
H A DdecNumber.cpp2843 Int ideal; /* ideal (preferred) exponent */ in uprv_decNumberSquareRoot() local
2895 /* calculate the ideal (preferred) exponent [floor(exp/2)] */ in uprv_decNumberSquareRoot()
2896 /* [It would be nicer to write: ideal=rhs->exponent>>1, but this */ in uprv_decNumberSquareRoot()
2898 ideal=(rhs->exponent&~1)/2; /* target */ in uprv_decNumberSquareRoot()
2903 res->exponent=ideal; /* use the ideal [safe] */ in uprv_decNumberSquareRoot()
3108 /* use closest exponent to ideal... */ in uprv_decNumberSquareRoot()
3109 Int todrop=ideal-a->exponent; /* most that can be dropped */ in uprv_decNumberSquareRoot()
4383 exponent=lhs->exponent-rhs->exponent; /* ideal exponen in decDivideOp()
[all...]
/third_party/node/deps/icu-small/source/i18n/
H A DdecNumber.cpp2843 Int ideal; /* ideal (preferred) exponent */ in uprv_decNumberSquareRoot() local
2895 /* calculate the ideal (preferred) exponent [floor(exp/2)] */ in uprv_decNumberSquareRoot()
2896 /* [It would be nicer to write: ideal=rhs->exponent>>1, but this */ in uprv_decNumberSquareRoot()
2898 ideal=(rhs->exponent&~1)/2; /* target */ in uprv_decNumberSquareRoot()
2903 res->exponent=ideal; /* use the ideal [safe] */ in uprv_decNumberSquareRoot()
3108 /* use closest exponent to ideal... */ in uprv_decNumberSquareRoot()
3109 Int todrop=ideal-a->exponent; /* most that can be dropped */ in uprv_decNumberSquareRoot()
4383 exponent=lhs->exponent-rhs->exponent; /* ideal exponen in decDivideOp()
[all...]
/third_party/skia/third_party/externals/icu/source/i18n/
H A DdecNumber.cpp2843 Int ideal; /* ideal (preferred) exponent */ in uprv_decNumberSquareRoot() local
2895 /* calculate the ideal (preferred) exponent [floor(exp/2)] */ in uprv_decNumberSquareRoot()
2896 /* [It would be nicer to write: ideal=rhs->exponent>>1, but this */ in uprv_decNumberSquareRoot()
2898 ideal=(rhs->exponent&~1)/2; /* target */ in uprv_decNumberSquareRoot()
2903 res->exponent=ideal; /* use the ideal [safe] */ in uprv_decNumberSquareRoot()
3108 /* use closest exponent to ideal... */ in uprv_decNumberSquareRoot()
3109 Int todrop=ideal-a->exponent; /* most that can be dropped */ in uprv_decNumberSquareRoot()
4383 exponent=lhs->exponent-rhs->exponent; /* ideal exponen in decDivideOp()
[all...]
/third_party/skia/third_party/externals/microhttpd/doc/
H A Dtexinfo.tex572 % The general wording of \badenverr may not be ideal.

Completed in 62 milliseconds