Searched refs:sign (Results 51 - 75 of 445) sorted by relevance

1234567891011>>

/linux-master/arch/sh/kernel/cpu/sh2a/
H A Dfpu.c255 int sign; local
258 sign = hx & 0x80000000;
265 sign ^= 0x80000000;
269 sign ^= 0x80000000;
272 sign = hx & 0x80000000;
281 return sign | ix;
340 long long sign; local
343 sign = hx & 0x8000000000000000LL;
350 sign ^= 0x8000000000000000LL;
354 sign
[all...]
/linux-master/crypto/
H A Drsa.c127 int sign; local
146 ret = mpi_write_to_sgl(c, req->dst, req->dst_len, &sign);
150 if (sign < 0)
166 int sign; local
185 ret = mpi_write_to_sgl(m, req->dst, req->dst_len, &sign);
189 if (sign < 0)
/linux-master/arch/m68k/fpsp040/
H A Dkernel_ex.S50 | store properly signed inf (use sign of etemp) into fp0
79 btstb #sign_bit,ETEMP_EX(%a6) |check sign for neg or pos
80 beqs p_inf |branch if pos sign
95 btstb #sign_bit,ETEMP_EX(%a6) |check sign for neg or pos
134 | operand is built in FP_SCR1 and only the sign from the original operand
141 tstb (%a0) |extract sign from caller's exop
172 bsetb #sign_bit,FP_SCR1(%a6) |set sign bit of exc operand
239 | format, rounding mode and sign.
244 bfclr ETEMP_SGN(%a6){#0:#8} |fix sign
247 bsetb #sign_bit,FP_SCR1(%a6) |set exceptional operand sign
[all...]
H A Dscale.S53 smi L_SCR1(%a6) |use L_SCR1 to hold sign
54 andil #0x7fff,%d1 |strip sign
56 andiw #0x7fff,%d0 |clr sign bit
90 tstw ETEMP(%a6) |check src sign
193 tstb L_SCR1(%a6) |test for sign
195 orw #0x8000,FPTEMP_EX(%a6) |set sign bit
215 tstb L_SCR1(%a6) |check sign
220 tstb L_SCR1(%a6) |check sign
246 tstb L_SCR1(%a6) |check for sign
264 tstb L_SCR1(%a6) |check sign
[all...]
H A Dx_ovfl.S20 | RN Infinity with the sign of the intermediate result.
21 | RZ Largest magnitude number, with the sign of the
/linux-master/arch/s390/purgatory/
H A DMakefile25 KBUILD_CFLAGS += -Wno-pointer-sign -Wno-sign-compare
/linux-master/drivers/gpu/drm/amd/display/dc/basics/
H A Dcustom_float.c51 *negative = format->sign;
150 if (negative && format->sign)
/linux-master/kernel/trace/
H A Dtrace_probe.h188 #define __ASSIGN_FETCH_TYPE(_name, ptype, ftype, _size, sign, str, _fmttype) \
191 .is_signed = (bool)sign, \
199 #define _ASSIGN_FETCH_TYPE(_name, ptype, ftype, _size, sign, _fmttype) \
200 __ASSIGN_FETCH_TYPE(_name, ptype, ftype, _size, sign, 0, #_fmttype)
201 #define ASSIGN_FETCH_TYPE(ptype, ftype, sign) \
202 _ASSIGN_FETCH_TYPE(#ptype, ptype, ftype, sizeof(ftype), sign, ptype)
205 #define ASSIGN_FETCH_TYPE_ALIAS(ptype, atype, ftype, sign) \
206 _ASSIGN_FETCH_TYPE(#ptype, ptype, ftype, sizeof(ftype), sign, atype)
/linux-master/include/math-emu/
H A Ddouble.h60 unsigned sign : 1; member in struct:_FP_UNION_D::__anon13274
68 unsigned sign : 1;
134 unsigned sign : 1; member in struct:_FP_UNION_D::__anon13275
140 unsigned sign : 1;
H A Dquad.h61 unsigned sign : 1; member in struct:_FP_UNION_Q::__anon13276
73 unsigned sign : 1;
139 unsigned sign : 1; member in struct:_FP_UNION_Q::__anon13277
147 unsigned sign : 1;
H A Dsingle.h51 unsigned sign : 1; member in struct:_FP_UNION_S::__anon13278
57 unsigned sign : 1;
/linux-master/drivers/iio/adc/
H A Dsd_adc_modulator.c21 .sign = 'u',
/linux-master/drivers/iio/accel/
H A Dcros_ec_accel_legacy.c67 st->sign[i];
192 .sign = 's', \
234 state->sign[CROS_EC_SENSOR_X] = -1;
235 state->sign[CROS_EC_SENSOR_Z] = -1;
/linux-master/drivers/input/joystick/
H A Dadc-joystick.c52 bool sign; local
60 sign = tolower(joy->chans[i].channel->scan_type.sign) == 's';
85 if (sign)
/linux-master/tools/testing/vsock/
H A DMakefile11 CFLAGS += -g -O2 -Werror -Wall -I. -I../../include -I../../../usr/include -Wno-pointer-sign -fno-strict-overflow -fno-strict-aliasing -fno-common -MMD -U_FORTIFY_SOURCE -D_GNU_SOURCE
/linux-master/arch/arm64/include/asm/
H A Dcpufeature.h63 bool sign; /* Value is signed ? */ member in struct:arm64_ftr_bits
369 bool sign; member in struct:arm64_cpu_capabilities::__anon1::__anon3
561 cpuid_feature_extract_field_width(u64 features, int field, int width, bool sign) argument
565 return (sign) ?
571 cpuid_feature_extract_field(u64 features, int field, bool sign) argument
573 return cpuid_feature_extract_field_width(features, field, 4, sign);
578 return (s64)cpuid_feature_extract_field_width(val, ftrp->shift, ftrp->width, ftrp->sign);
/linux-master/drivers/hid/amd-sfh-hid/sfh1_1/
H A Damd_sfh_desc.c137 int fraction, shift, mantissa, sign, exp, zeropre; local
140 sign = (flt32_val & BIT(31)) ? -1 : 1;
156 return zeropre >= 50 ? sign : 0;
173 return (((fraction * 100) >> shift) >= 50) ? sign * (flt32_val + 1) : sign * flt32_val;
/linux-master/fs/bcachefs/
H A Dbset.h466 int sign)
468 n->live_u64s += k->u64s * sign;
469 n->bset_u64s[bset] += k->u64s * sign;
472 n->packed_keys += sign;
474 n->unpacked_keys += sign;
/linux-master/arch/x86/math-emu/
H A Dreg_ld_str.c39 static u_char normalize_no_excep(FPU_REG *r, int exp, int sign) argument
47 if (sign)
204 setexponent16(loaded_data, exp | negative); /* Set the sign. */
213 int sign; local
228 sign = SIGN_Positive;
231 sign = SIGN_Negative;
236 return normalize_no_excep(st0_ptr, 63, sign);
275 /* Cast as short to get the sign extended. */
304 int sign; local
320 FPU_get_user(sign,
901 u_char sign = (getsign(st0_ptr) == SIGN_NEG) ? 0x80 : 0; local
[all...]
/linux-master/drivers/iio/pressure/
H A Dst_pressure_core.c130 .sign = 's',
144 .sign = 's',
164 .sign = 's',
178 .sign = 's',
196 .sign = 's',
211 .sign = 's',
/linux-master/drivers/net/ethernet/chelsio/cxgb4/
H A Dcxgb4_ptp.c221 c.u.ts.sign = (ppb < 0) ? 1 : 0;
253 c.u.ts.sign = (delta < 0) ? 1 : 0;
278 s64 sign = 1; local
282 sign = -1;
284 if (delta * sign > PTP_CLOCK_MAX_ADJTIME) {
292 c.u.ts.sign = (delta < 0) ? 1 : 0;
/linux-master/arch/parisc/math-emu/
H A Dsgl_float.h26 /* sgl_and_signs ANDs the sign bits of each argument and puts the result
27 * into the first argument. sgl_or_signs ors those same sign bits */
58 /* Sign extend the sign bit with an integer destination */
162 #define Sgl_setinfinity(sgl_value,sign) \
164 ((unsigned int)sign << 31)
167 #define Sgl_set_sign(sgl_value,sign) Deposit_ssign(sgl_value,sign)
196 #define Sgl_setlargest(sgl_value,sign) \
197 Sall(sgl_value) = (unsigned int)sign << 31 | \
414 #define Sglext_set_sign(dbl_value,sign) Sgl_set_sig
[all...]
/linux-master/drivers/iio/common/hid-sensors/
H A Dhid-sensor-attributes.c112 int sign = 1; local
116 sign = -1;
120 *val1 = sign * value * int_pow(10, exp);
125 *val1 = sign * (*val1);
127 *val2 = sign * (*val2);
135 int sign = 1; local
138 sign = -1;
148 if (sign < 0)
/linux-master/drivers/net/wireless/mediatek/mt76/
H A Dmt76x02_eeprom.h139 bool sign = val & BIT(size - 1); local
143 return sign ? val : -val;
/linux-master/drivers/iio/chemical/
H A Datlas-ezo-sensor.c55 .sign = 'u', \
77 .sign = 'u',

Completed in 288 milliseconds

1234567891011>>