/openbmc/linux/drivers/media/i2c/ccs/ |
H A D | ccs-reg-access.c | 22 s32 exp; in float_to_u32_mul_1000000() local 49 exp = ((int32_t)phloat >> 23) - 127; in float_to_u32_mul_1000000() 54 if (exp < 0) in float_to_u32_mul_1000000() 55 man >>= -exp; in float_to_u32_mul_1000000() 57 man <<= exp; in float_to_u32_mul_1000000()
|
/openbmc/linux/drivers/iio/light/ |
H A D | max44009.c | 301 int mantissa, exp; in max44009_threshold_byte_from_fraction() local 316 for (exp = 0; mantissa > 0xff; exp++) in max44009_threshold_byte_from_fraction() 321 exp <<= 4; in max44009_threshold_byte_from_fraction() 323 return exp | mantissa; in max44009_threshold_byte_from_fraction()
|
/openbmc/linux/tools/testing/selftests/x86/ |
H A D | amx.c | 361 static void validate_req_xcomp_perm(enum expected_result exp) in validate_req_xcomp_perm() argument 374 if (exp == FAIL_EXPECTED) { in validate_req_xcomp_perm() 398 static void validate_xcomp_perm(enum expected_result exp) in validate_xcomp_perm() argument 402 if (exp == FAIL_EXPECTED) { in validate_xcomp_perm() 409 } else if (exp == SUCCESS_EXPECTED) { in validate_xcomp_perm() 436 static void setup_altstack(void *addr, unsigned long size, enum expected_result exp) in setup_altstack() argument 447 if (exp == FAIL_EXPECTED) { in setup_altstack()
|
/openbmc/linux/fs/nfsd/ |
H A D | pnfs.h | 71 void nfsd4_setup_layout_type(struct svc_export *exp); 81 static inline void nfsd4_setup_layout_type(struct svc_export *exp) in nfsd4_setup_layout_type() argument
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dml/ |
H A D | dml_inline_defs.h | 100 static inline double dml_pow(double a, int exp) in dml_pow() argument 102 return (double) dcn_bw_pow(a, exp); in dml_pow()
|
/openbmc/linux/include/math-emu/ |
H A D | double.h | 61 unsigned exp : _FP_EXPBITS_D; member 67 unsigned exp : _FP_EXPBITS_D; 135 unsigned exp : _FP_EXPBITS_D; member 139 unsigned exp : _FP_EXPBITS_D;
|
H A D | quad.h | 62 unsigned exp : _FP_EXPBITS_Q; member 72 unsigned exp : _FP_EXPBITS_Q; 140 unsigned exp : _FP_EXPBITS_Q; member 146 unsigned exp : _FP_EXPBITS_Q;
|
H A D | op-1.h | 80 X##_e = _flo.bits.exp; \ 90 X##_e = _flo->bits.exp; \ 103 _flo.bits.exp = X##_e; \ 115 _flo->bits.exp = X##_e; \
|
/openbmc/linux/tools/testing/selftests/powerpc/pmu/sampling_tests/ |
H A D | misc.c | 449 int exp = 0; in get_thresh_cmp_val() local 473 exp++; in get_thresh_cmp_val() 482 if (!(value & 0xC0) && exp) in get_thresh_cmp_val() 485 result = (exp << 8) | value; in get_thresh_cmp_val()
|
/openbmc/openbmc/poky/bitbake/lib/bb/parse/ |
H A D | __init__.py | 158 exp = 3 - len(parts) 160 while exp != 0: 161 exp -= 1
|
/openbmc/linux/drivers/iio/proximity/ |
H A D | isl29501.c | 266 u32 value, gain, coeff, exp; in isl29501_read_ext() local 281 ret = isl29501_register_read(isl29501, REG_PHASE_EXP, &exp); in isl29501_read_ext() 289 value = coeff << exp; in isl29501_read_ext() 355 unsigned int exp = 1; in isl29501_find_corr_exp() local 370 while ((val >> exp) > max_mantissa) { in isl29501_find_corr_exp() 371 exp++; in isl29501_find_corr_exp() 373 if (exp > max_exp) in isl29501_find_corr_exp() 377 return exp; in isl29501_find_corr_exp()
|
/openbmc/linux/drivers/misc/echo/ |
H A D | echo.c | 113 int exp; in lms_adapt_bg() local 126 exp = (ec->fir_state_bg.history[i - offset1] * factor); in lms_adapt_bg() 127 ec->fir_taps16[1][i] += (int16_t) ((exp + (1 << 14)) >> 15); in lms_adapt_bg() 130 exp = (ec->fir_state_bg.history[i + offset2] * factor); in lms_adapt_bg() 131 ec->fir_taps16[1][i] += (int16_t) ((exp + (1 << 14)) >> 15); in lms_adapt_bg()
|
/openbmc/linux/drivers/iio/test/ |
H A D | iio-test-rescale.c | 625 s64 real, exp, err; in iio_test_relative_error_ppm() local 632 ret = iio_str_to_nano(exp_str, &exp); in iio_test_relative_error_ppm() 636 if (!exp) { in iio_test_relative_error_ppm() 641 err = 1000000UL * abs(exp - real); in iio_test_relative_error_ppm() 643 return (int)div64_u64(err, abs(exp)); in iio_test_relative_error_ppm()
|
/openbmc/openpower-proc-control/ |
H A D | targeting.cpp | 68 std::regex exp{"fsi1/slave@([0-9]{2}):00", std::regex::extended}; in Targeting() local 79 if (std::regex_search(path, match, exp)) in Targeting()
|
/openbmc/phosphor-host-ipmid/ |
H A D | sensorhandler.hpp | 580 inline void set_accuracy_exp(uint8_t exp, SensorDataFullRecordBody* body) in set_accuracy_exp() argument 583 body->accuracy_and_sensor_direction |= (exp & 3) << 2; in set_accuracy_exp() 591 inline void set_b_exp(uint8_t exp, SensorDataFullRecordBody* body) in set_b_exp() argument 594 body->r_b_exponents |= exp & 0x0f; in set_b_exp() 596 inline void set_r_exp(uint8_t exp, SensorDataFullRecordBody* body) in set_r_exp() argument 599 body->r_b_exponents |= (exp & 0x0f) << 4; in set_r_exp()
|
/openbmc/openbmc/poky/bitbake/lib/bb/tests/ |
H A D | codeparser.py | 44 def parseExpression(self, exp): argument 45 parsedvar = self.d.expandWithRefs(exp, None) 72 def parseExpression(self, exp): argument 73 parsedvar = self.d.expandWithRefs(exp, None) 200 def parseExpression(self, exp): argument 201 parsedvar = self.d.expandWithRefs(exp, None)
|
/openbmc/qemu/include/libdecnumber/ |
H A D | decNumberLocal.h | 298 #define EXPISSPECIAL(exp) ((exp)>=DECFLOAT_MinSp) argument 299 #define EXPISINF(exp) (exp==DECFLOAT_Inf) argument 300 #define EXPISNAN(exp) (exp==DECFLOAT_qNaN || exp==DECFLOAT_sNaN) argument
|
/openbmc/linux/arch/m68k/fpsp040/ |
H A D | scosh.S | 26 | y = |X|, z = exp(Y), and 33 | cosh(X) = sign(X) * exp(|X|)/2. 34 | However, invoking exp(|X|) may cause premature overflow.
|
H A D | setox.S | 6 | number. setoxm1 computes exp(X)-1, and setoxm1d computes 7 | exp(X)-1 for denormalized X. 16 | exp(X) or exp(X)-1 returned in floating-point register fp0. 127 | Step 4. Approximate exp(R)-1 by a polynomial 133 | |p - (exp(R)-1)| < 2^(-68.8) for all |R| <= 0.0062. 141 | Step 5. Compute 2^(J/64)*exp(R) = 2^(J/64)*(1+p) by 152 | Step 6. Reconstruction of exp(X) 153 | exp(X) = 2^M * 2^(J/64) * exp(R). 185 | Step 8. Handle exp(X) where |X| >= 16380log2. 196 | Step 9. Handle exp(X), |X| > 16480 log2. [all …]
|
H A D | round.S | 220 addw #0x1,LOCAL_EX(%a0) |and inc exp 306 cmpw #64,%d0 |see if exp > 64 308 bsr nrm_set |exp > 64 so exp won't exceed 0 330 lsrl %d5,%d6 |by the number in the exp, then 331 | ;set exp = 0. 333 movel #0,%d0 |same as if decremented exp to 0 346 bsr nrm_set |else exp won't go past 0 390 subw %d7,%d0 |subtract shift count from exp 393 movel %d1,LOCAL_HI(%a0) |store exp 442 subw LOCAL_EX(%a0),%d0 |diff = threshold - exp [all …]
|
/openbmc/openbmc-tools/altitude/ |
H A D | altitude | 9 from math import exp, log 22 return Pb * exp((-g0 * M * (h - hb)) / (Rstar * Tb))
|
/openbmc/openbmc/poky/meta/recipes-devtools/gcc/ |
H A D | gcc-testsuite.inc | 100 with open(os.path.join(dejagnudir, "user.exp"), "w") as f: 104 with open(os.path.join(dejagnudir, "ssh.exp"), "w") as f: 107 # generate site.exp to provide boards 108 with open(os.path.join(dejagnudir, "site.exp"), "w") as f:
|
/openbmc/linux/arch/ia64/include/asm/ |
H A D | bitops.h | 378 long exp; in ia64_fls() local 380 exp = ia64_getf_exp(d); in ia64_fls() 381 return exp - 0xffff; in ia64_fls()
|
/openbmc/linux/scripts/gcc-plugins/ |
H A D | gcc-common.h | 409 #define get_inner_reference(exp, pbitsize, pbitpos, poffset, pmode, punsignedp, preversep, pvolatil… argument 410 get_inner_reference(exp, pbitsize, pbitpos, poffset, pmode, punsignedp, pvolatilep, keep_aligning) 434 #define get_inner_reference(exp, pbitsize, pbitpos, poffset, pmode, punsignedp, preversep, pvolatil… argument 435 get_inner_reference(exp, pbitsize, pbitpos, poffset, pmode, punsignedp, preversep, pvolatilep)
|
/openbmc/linux/drivers/staging/media/atomisp/pci/isp/kernels/macc/macc_1.0/ |
H A D | ia_css_macc_param.h | 23 s32 exp; member
|