Orange Pi5 kernel

Deprecated Linux kernel 5.10.110 for OrangePi 5/5B/5+ boards

3 Commits   0 Branches   0 Tags
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  1) /* SPDX-License-Identifier: GPL-2.0-or-later */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  2) /*
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  3)  * Linux/PA-RISC Project (http://www.parisc-linux.org/)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  4)  *
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  5)  * Floating-point emulation code
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  6)  *  Copyright (C) 2001 Hewlett-Packard (Paul Bame) <bame@debian.org>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  7)  */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  8) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  9) #ifdef __NO_PA_HDRS
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10)     PA header file -- do not include this header file for non-PA builds.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) #endif
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) /* amount is assumed to be a constant between 0 and 32 (non-inclusive) */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) #define Shiftdouble(left,right,amount,dest)			\
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16)     /* int left, right, amount, dest; */			\
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17)     dest = ((left) << (32-(amount))) | ((unsigned int)(right) >> (amount))
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) /* amount must be less than 32 */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) #define Variableshiftdouble(left,right,amount,dest)		\
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21)     /* unsigned int left, right;  int amount, dest; */		\
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22)     if (amount == 0) dest = right;				\
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23)     else dest = ((((unsigned) left)&0x7fffffff) << (32-(amount))) |	\
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24)           ((unsigned) right >> (amount))
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) /* amount must be between 0 and 32 (non-inclusive) */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) #define Variable_shift_double(left,right,amount,dest)		\
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28)     /* unsigned int left, right;  int amount, dest; */		\
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29)     dest = (left << (32-(amount))) | ((unsigned) right >> (amount))