Home
last modified time | relevance | path

Searched refs:SIGN (Results 1 – 25 of 25) sorted by relevance

/linux/arch/alpha/boot/
H A Dstdio.c36 #define SIGN 2 /* unsigned/signed long */ macro
57 if (type & SIGN) { in number()
256 flags |= SIGN; in vsprintf()
270 if (flags & SIGN) in vsprintf()
274 if (flags & SIGN) in vsprintf()
280 if (flags & SIGN) in vsprintf()
284 if (flags & SIGN) in vsprintf()
/linux/arch/powerpc/boot/
H A Dstdio.c72 #define SIGN 2 /* unsigned/signed long */ macro
93 if (type & SIGN) { in number()
292 flags |= SIGN; in vsprintf()
306 if (flags & SIGN) in vsprintf()
310 if (flags & SIGN) in vsprintf()
316 if (flags & SIGN) in vsprintf()
320 if (flags & SIGN) in vsprintf()
/linux/arch/hexagon/lib/
H A Dchecksum.c21 #define SIGN(x, y) ((0x8000ULL*x)<<y) macro
25 #define VR_NEGATE(a, b, c, d) (SIGN(a, 48) + SIGN(b, 32) + SIGN(c, 16) \
26 + SIGN(d, 0))
/linux/tools/testing/selftests/kvm/lib/
H A Dguest_sprintf.c27 #define SIGN 2 /* unsigned/signed long */ macro
64 if (type & SIGN) { in number()
274 flags |= SIGN; in guest_vsnprintf()
290 if (flags & SIGN) in guest_vsnprintf()
292 } else if (flags & SIGN) in guest_vsnprintf()
/linux/arch/m68k/fpsp040/
H A Dstanh.S95 |--Y = 2|X|, Z = EXPM1(Y), TANH(X) = SIGN(X) * Z / (Z+2).
129 |--TANH(X) = 1 - (2/[EXP(2X)+1]). LET Y = 2|X|, SGN = SIGN(X),
149 eorl #0xC0000000,%d0 | ...-SIGN(X)*2
150 fmoves %d0,%fp1 | ...-SIGN(X)*2 IN SGL FMT
151 fdivx %fp0,%fp1 | ...-SIGN(X)2 / [EXP(Y)+1 ]
177 eorl #0x80800000,%d0 | ...-SIGN(X)*EPS
H A Dsasin.S96 andil #0x80000000,%d0 | ...SIGN BIT OF X
98 movel %d0,-(%sp) | ...push SIGN(X) IN SGL-FMT
H A Dsatanh.S76 |--Y = |X|, Z = 2Y/(1-Y), ATANH(X) = SIGN(X) * (1/2) * LOG1P(Z).
86 oril #0x3F000000,%d0 | ...SIGN(X)*HALF
H A Dsatan.S402 |--IF |X| > 2^(100), RETURN SIGN(X)*(PI/2 - TINY). OTHERWISE,
403 |--RETURN SIGN(X)*PI/2 + ATAN(-1/X).
H A Dssin.S307 | ...LEAST SIG. BIT OF D0 IN SIGN POSITION
448 |--(SIGN(INARG)*2**63 + FP2) - SIGN(INARG)*2**63 WILL GIVE
455 oril #0x5F000000,%d2 | ...D2 IS SIGN(INARG)*2**63 IN SGL
H A Dssinh.S86 |--Y = |X|, Z = EXPM1(Y), SINH(X) = SIGN(X)*(1/2)*( Z + Z/(1+Z) )
H A Dstan.S364 |--CREATE 2**(-L) * (2/PI), SIGN(INARG)*2**(63),
H A Dbindec.S338 | FPCR[6:5] LAMBDA SIGN(X) FPCR[6:5]
/linux/drivers/firmware/efi/libstub/
H A Dvsprintf.c144 #define SIGN 2 /* unsigned/signed long */ macro
229 if (!(flags & SIGN)) in get_sign()
427 flags |= SIGN; in vsnprintf()
446 num = get_number(flags & SIGN, qualifier, &args); in vsnprintf()
/linux/lib/
H A Dvsprintf.c410 #define SIGN 1 /* unsigned/signed, must be 1 */ macro
418 static_assert(SIGN == 1);
476 if (spec.flags & SIGN) { in number()
671 spec.flags |= SIGN; in err_ptr()
2690 spec->flags |= SIGN; in format_decode()
2712 BUILD_BUG_ON(FORMAT_TYPE_ULONG + SIGN != FORMAT_TYPE_LONG); in format_decode()
2713 spec->type = FORMAT_TYPE_ULONG + (spec->flags & SIGN); in format_decode()
2719 BUILD_BUG_ON(FORMAT_TYPE_UBYTE + SIGN != FORMAT_TYPE_BYTE); in format_decode()
2720 spec->type = FORMAT_TYPE_UBYTE + (spec->flags & SIGN); in format_decode()
2722 BUILD_BUG_ON(FORMAT_TYPE_USHORT + SIGN != FORMAT_TYPE_SHORT); in format_decode()
[all …]
/linux/drivers/usb/misc/
H A Dcytherm.c114 #define SIGN 0x34 /* RAM location for temperature sign */ macro
138 retval = vendor_command(cytherm->udev, READ_RAM, SIGN, 0, buffer, 8); in temp_show()
/linux/scripts/
H A DMakefile.modinst107 quiet_cmd_sign = SIGN $@
/linux/kernel/bpf/
H A Dcore.c2063 #define COND_JMP(SIGN, OPCODE, CMP_OP) \ in ___bpf_prog_run() argument
2065 if ((SIGN##64) DST CMP_OP (SIGN##64) SRC) { \ in ___bpf_prog_run()
2071 if ((SIGN##32) DST CMP_OP (SIGN##32) SRC) { \ in ___bpf_prog_run()
2077 if ((SIGN##64) DST CMP_OP (SIGN##64) IMM) { \ in ___bpf_prog_run()
2083 if ((SIGN##32) DST CMP_OP (SIGN##32) IMM) { \ in ___bpf_prog_run()
/linux/drivers/usb/renesas_usbhs/
H A Dcommon.h186 #define SIGN (1 << 5) /* Setup Transaction Error Interrupt Status */ macro
H A Dmod.c294 if (irq_state.intsts1 & SIGN) in usbhs_interrupt()
/linux/include/linux/usb/
H A Dr8a66597.h322 #define SIGN 0x0020 /* b5: Setup ignore interrupt */ macro
/linux/arch/m68k/ifpsp060/src/
H A Dfplsp.S5150 # ...LEAST SIG. BIT OF D0 IN SIGN POSITION
5538 #--(SIGN(INARG)*2**63 + FP2) - SIGN(INARG)*2**63 WILL GIVE
5543 or.l &0x5F000000,%d2 # d2 = SIGN(INARG)*2**63 IN SGL
5953 #--CREATE 2**(-L) * (2/PI), SIGN(INARG)*2**(63),
6308 mov.l X(%a6),%d1 # LOAD SIGN AND EXPO. AGAIN
6309 and.l &0x80000000,%d1 # SIGN(F)
6310 or.l %d1,ATANF(%a6) # ATANF IS NOW SIGN(F)*ATAN(|F|)
6465 #--RETURN SIGN(X)*(PIBY2 - TINY) = SIGN(X)*PIBY2 - SIGN(X)*TINY
7737 #--Y = |X|, Z = EXPM1(Y), SINH(X) = SIGN(X)*(1/2)*( Z + Z/(1+Z) )
7865 #--Y = 2|X|, Z = EXPM1(Y), TANH(X) = SIGN(X) * Z / (Z+2).
[all …]
H A Dfpsp.S5202 # ...LEAST SIG. BIT OF D0 IN SIGN POSITION
5628 #--CREATE 2**(-L) * (2/PI), SIGN(INARG)*2**(63),
6075 #--(SIGN(INARG)*2**63 + FP2) - SIGN(INARG)*2**63 WILL GIVE
6080 or.l &0x5F000000,%d2 # d2 = SIGN(INARG)*2**63 IN SGL
6511 #--IF |X| > 2^(100), RETURN SIGN(X)*(PI/2 - TINY). OTHERWISE,
6512 #--RETURN SIGN(X)*PI/2 + ATAN(-1/X).
6674 and.l &0x80000000,%d1 # SIGN BIT OF X
6676 mov.l %d1,-(%sp) # push SIGN(X) IN SGL-FMT
9577 set SIGN, L_SCR1
9584 smi.b SIGN(%a6) # use SIGN to hold dst sign
/linux/drivers/media/i2c/
H A Dov772x.c213 #define SIGN 0xAB /* Sign bit for Hue and contrast */ macro
/linux/tools/testing/selftests/bpf/
H A DMakefile303 $(call msg,SIGN-FILE,,$@)
/linux/Documentation/security/keys/
H A Dcore.rst943 KEYCTL_SUPPORTS_{ENCRYPT,DECRYPT,SIGN,VERIFY}
1777 KEYCTL_SUPPORTS_{ENCRYPT,DECRYPT,SIGN,VERIFY}