Home
last modified time | relevance | path

Searched refs:exp (Results 76 – 100 of 393) sorted by relevance

12345678910>>...16

/openbmc/linux/drivers/net/phy/
H A Dmeson-gxl.c153 int ret, wol, lpa, exp; in meson_gxl_read_status() local
171 exp = phy_read(phydev, MII_EXPANSION); in meson_gxl_read_status()
172 if (exp < 0) in meson_gxl_read_status()
173 return exp; in meson_gxl_read_status()
176 ((exp & EXPANSION_NWAY) && !(lpa & LPA_LPACK))) { in meson_gxl_read_status()
/openbmc/linux/arch/x86/math-emu/
H A Dpoly.h88 static inline void add_two_Xsig(Xsig *dest, const Xsig *x2, long int *exp) in add_two_Xsig() argument
98 "0: xorl %%eax,%%eax;\n" "1:\n":"=g" (*exp), "=g"(*dest) in add_two_Xsig()
99 :"g"(dest), "g"(x2), "g"(exp) in add_two_Xsig()
H A Dfpu_tags.c64 int exp = exponent(ptr); in FPU_Special() local
66 if (exp == EXP_BIAS + EXP_UNDER) in FPU_Special()
68 else if (exp != EXP_BIAS + EXP_OVER) in FPU_Special()
/openbmc/linux/fs/nfsd/
H A Dvfs.c172 exp2 = exp; in nfsd_cross_mnt()
207 exp_put(*exp); in nfsd_lookup_parent()
208 *exp = exp2; in nfsd_lookup_parent()
244 struct svc_export *exp; in nfsd_lookup_dentry() local
282 *exp_ret = exp; in nfsd_lookup_dentry()
286 exp_put(exp); in nfsd_lookup_dentry()
314 struct svc_export *exp; in nfsd_lookup() local
336 exp_put(exp); in nfsd_lookup()
1119 struct svc_export *exp; in nfsd_vfs_write() local
1149 exp = fhp->fh_export; in nfsd_vfs_write()
[all …]
/openbmc/u-boot/include/
H A Defi_loader.h57 #define EFI_CALL(exp) ({ \ argument
58 debug("%sEFI: Call: %s\n", __efi_nesting_inc(), #exp); \
60 typeof(exp) _r = exp; \
63 (unsigned long)((uintptr_t)_r & ~EFI_ERROR_MASK), #exp); \
70 #define EFI_CALL_VOID(exp) do { \ argument
71 debug("%sEFI: Call: %s\n", __efi_nesting_inc(), #exp); \
73 exp; \
75 debug("%sEFI: Return From: %s\n", __efi_nesting_dec(), #exp); \
/openbmc/qemu/target/alpha/
H A Dfpu_helper.c113 uint32_t exp = (uint32_t)(val >> 52) & 0x7ff; in helper_ieee_input() local
116 if (exp == 0) { in helper_ieee_input()
121 } else if (exp == 0x7ff) { in helper_ieee_input()
131 uint32_t exp = (uint32_t)(val >> 52) & 0x7ff; in helper_ieee_input_cmp() local
134 if (exp == 0) { in helper_ieee_input_cmp()
139 } else if (exp == 0x7ff && frac) { in helper_ieee_input_cmp()
169 uint32_t exp; in float32_to_s_int() local
171 exp = (exp_msb << 10) | exp_low; in float32_to_s_int()
174 exp = 0x7ff; in float32_to_s_int()
178 exp |= 0x380; in float32_to_s_int()
[all …]
/openbmc/linux/drivers/staging/media/atomisp/include/hmm/
H A Dhmm_bo.h33 #define check_bodev_null_return(bdev, exp) \ argument
34 check_null_return(bdev, exp, \
62 #define check_bo_null_return(bo, exp) \ argument
63 check_null_return(bo, exp, "NULL hmm buffer object.\n")
/openbmc/linux/arch/m68k/fpsp040/
H A Dsint.S27 | 1. If exp(X) >= 63, return X.
28 | If exp(X) < 0, return +/- 0 or +/- 1, according to
31 | 2. (X is in range) set rsc = 63 - exp(X). Unnormalize the
144 cmpw #0x403e,LOCAL_EX(%a0) |check if (unbiased) exp > 63
145 bgts out_rnge |branch if exp < 63
146 cmpw #0x3ffd,LOCAL_EX(%a0) |check if (unbiased) exp < 0
147 bgt in_rnge |if 63 >= exp > 0, do calc
201 fmovex LOCAL_EX(%a0),%fp0 |if exp > 63
H A Ddecbin.S50 | A4. Calculate the factor 10^exp in FP1 using a table of
454 movel %d1,%d0 |copy exp to d0;use d0
455 bpls no_neg |if exp is negative,
471 | Check the sign of the adjusted exp and make the value in fp0 the
472 | same sign. If the exp was pos then multiply fp1*fp0;
479 | ( ) fp1: scaling factor - 10**(abs(exp))
485 fdivx %fp1,%fp0 |exp is negative, so divide mant by exp
488 fmulx %fp1,%fp0 |exp is positive, so multiply by exp
/openbmc/linux/drivers/iio/light/
H A Dopt4001.c148 static u8 opt4001_calculate_crc(u8 exp, u32 mantissa, u8 count) in opt4001_calculate_crc() argument
152 crc = (hweight32(mantissa) + hweight32(exp) + hweight32(count)) % 2; in opt4001_calculate_crc()
153 crc |= ((hweight32(mantissa & 0xAAAAA) + hweight32(exp & 0xA) in opt4001_calculate_crc()
155 crc |= ((hweight32(mantissa & 0x88888) + hweight32(exp & 0x8) in opt4001_calculate_crc()
171 u8 exp; in opt4001_read_lux_value() local
191 exp = FIELD_GET(OPT4001_EXPONENT_MASK, light1); in opt4001_read_lux_value()
196 calc_crc = opt4001_calculate_crc(exp, lux_raw, count); in opt4001_read_lux_value()
200 lux_raw = lux_raw << exp; in opt4001_read_lux_value()
/openbmc/linux/drivers/iio/chemical/
H A Dsps30.c44 int exp = val >> 23; in sps30_float_to_int_clamped() local
48 if (!exp && !mantissa) in sps30_float_to_int_clamped()
51 exp -= 127; in sps30_float_to_int_clamped()
52 if (exp < 0) { in sps30_float_to_int_clamped()
54 return ((((1 << 23) + mantissa) * 100) >> 23) >> (-exp); in sps30_float_to_int_clamped()
58 shift = 23 - exp; in sps30_float_to_int_clamped()
59 val = (1 << exp) + (mantissa >> shift); in sps30_float_to_int_clamped()
/openbmc/qemu/tests/tcg/hexagon/
H A Dhvx_histogram.c41 int exp = expect[i]; in check() local
42 if (res != exp) { in check()
44 i, res, exp); in check()
/openbmc/qemu/tests/tcg/s390x/
H A Dpack.c6 char exp[] = {0xaa, 0xaa, 0x00, 0x01, 0x23, 0x4c, 0xaa, 0xaa}; in main() local
15 if (data[i] != exp[i]) { in main()
H A Dvcksm.c22 S390Vector exp = {.d[0] = 0xdedd7f8eULL, .d[1] = 0ULL}; in main() local
28 assert(memcmp(&v1, &exp, sizeof(v1)) == 0); in main()
H A Dicm.S10 cg %r0,exp
25 exp: label
/openbmc/openbmc/meta-openembedded/meta-webserver/recipes-webadmin/webmin/files/
H A Dnfs-export.patch21 $exp{'host'} = $in{'network'}."/".$in{'netmask'};
23 - elsif ($in{'mode'} == 3) { $exp{'host'} = ""; }
24 + elsif ($in{'mode'} == 3) { $exp{'host'} = "*"; }
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/
H A Dvarlen.c8 #define CHECK_VAL(got, exp) \ argument
9 CHECK((got) != (exp), "check", "got %ld != exp %ld\n", \
10 (long)(got), (long)(exp))
H A Dtcp_hdr_options.c150 static int check_hdr_opt(const struct bpf_test_option *exp, in check_hdr_opt() argument
154 if (!ASSERT_EQ(memcmp(exp, act, sizeof(*exp)), 0, hdr_desc)) { in check_hdr_opt()
155 print_option(exp, "expected: "); in check_hdr_opt()
163 static int check_hdr_stg(const struct hdr_stg *exp, int fd, in check_hdr_stg() argument
172 if (!ASSERT_EQ(memcmp(exp, &act, sizeof(*exp)), 0, stg_desc)) { in check_hdr_stg()
173 print_hdr_stg(exp, "expected: "); in check_hdr_stg()
H A Dtest_strncmp.c25 int exp) in strncmp_full_str_cmp() argument
29 int delta = exp; in strncmp_full_str_cmp()
38 ASSERT_EQ(got, exp, name); in strncmp_full_str_cmp()
/openbmc/linux/drivers/media/usb/gspca/
H A Dsn9c20x.c1444 exp[7] = 0x1e; in set_exposure()
1455 exp[0] |= (2 << 4); in set_exposure()
1458 exp[7] = 0x10; in set_exposure()
1462 exp[7] = 0x10; in set_exposure()
1465 exp[7] = 0x1e; in set_exposure()
1466 exp[0] |= (3 << 4); in set_exposure()
1468 exp[3] = expo; in set_exposure()
1475 exp[2] = 0x09; in set_exposure()
1477 exp[4] = expo; in set_exposure()
1481 exp[2] = 0x25; in set_exposure()
[all …]
/openbmc/linux/tools/testing/selftests/powerpc/math/
H A Dmma.c21 uint32_t exp[4*4] = {1, 2, 3, 4, in mma() local
34 if (z[i] == exp[i]) { in mma()
/openbmc/qemu/target/arm/
H A Dvfp_helper.c618 if (*exp == 0) { in call_recip_estimate()
620 *exp = -1; in call_recip_estimate()
640 *exp = result_exp; in call_recip_estimate()
841 if (*exp == 0) { in recip_sqrt_estimate()
844 *exp -= 1; in recip_sqrt_estimate()
849 if (*exp & 1) { in recip_sqrt_estimate()
858 *exp = (exp_off - *exp) / 2; in recip_sqrt_estimate()
1171 exp = extract32(f, 23, 8); in frint_s()
1174 if (exp < 126 + intsize) { in frint_s()
1178 if (exp == 126 + intsize) { in frint_s()
[all …]
/openbmc/linux/arch/arm64/boot/dts/ti/
H A DMakefile58 k3-j7200-evm-dtbs := k3-j7200-common-proc-board.dtb k3-j7200-evm-quad-port-eth-exp.dtbo
62 k3-j721e-evm-dtbs := k3-j721e-common-proc-board.dtb k3-j721e-evm-quad-port-eth-exp.dtbo
65 dtb-$(CONFIG_ARCH_K3) += k3-j721e-evm-gesi-exp-board.dtbo
71 dtb-$(CONFIG_ARCH_K3) += k3-j721s2-evm-gesi-exp-board.dtbo
72 k3-j721s2-evm-dtbs := k3-j721s2-common-proc-board.dtb k3-j721s2-evm-gesi-exp-board.dtbo
/openbmc/linux/drivers/hwmon/
H A Dlochnagar-hwmon.c73 int exp = ((data & 0x7F800000) >> 23) - 127 - 23; in float_to_long() local
79 if (fls64(man) + exp > (int)sizeof(long) * 8 - 1) in float_to_long()
81 else if (exp < 0) in float_to_long()
82 result = (man + (1ull << (-exp - 1))) >> -exp; in float_to_long()
84 result = man << exp; in float_to_long()
/openbmc/qemu/include/hw/block/
H A Dblock.h41 unsigned int exp = 0, size; in get_physical_block_exp() local
46 exp++; in get_physical_block_exp()
49 return exp; in get_physical_block_exp()

12345678910>>...16