/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ /* * This file is subject to the terms and conditions of the GNU General Public * License. See the file "COPYING" in the main directory of this archive * for more details. * * Copyright (C) 1996, 99, 2003 by Ralf Baechle */ #ifndef _ASM_SWAB_H #define _ASM_SWAB_H #include <linux/compiler.h> #include <linux/types.h> #define __SWAB_64_THRU_32__ #if !defined(__mips16) && \ ((defined(__mips_isa_rev) && (__mips_isa_rev >= 2)) || \ defined(_MIPS_ARCH_LOONGSON3A))
static inline __attribute_const__ __u16 __arch_swab16(__u16 x) { __asm__( " .set push \n" " .set arch=mips32r2 \n" " wsbh %0, %1 \n" " .set pop \n" : "=r" (x) : "r" (x)); return x; }Contributors
Person | Tokens | Prop | Commits | CommitProp |
Harvey Harrison | 9 | 60.00% | 1 | 33.33% |
Yousong Zhou | 6 | 40.00% | 2 | 66.67% |
Total | 15 | 100.00% | 3 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Harvey Harrison | 9 | 60.00% | 1 | 33.33% |
Yousong Zhou | 6 | 40.00% | 2 | 66.67% |
Total | 15 | 100.00% | 3 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Harvey Harrison | 9 | 60.00% | 1 | 33.33% |
Yousong Zhou | 6 | 40.00% | 2 | 66.67% |
Total | 15 | 100.00% | 3 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Harvey Harrison | 63 | 54.31% | 1 | 12.50% |
Yousong Zhou | 28 | 24.14% | 3 | 37.50% |
Ralf Bächle | 15 | 12.93% | 1 | 12.50% |
Chen Jie | 8 | 6.90% | 1 | 12.50% |
Greg Kroah-Hartman | 1 | 0.86% | 1 | 12.50% |
Jaswinder Singh Rajput | 1 | 0.86% | 1 | 12.50% |
Total | 116 | 100.00% | 8 | 100.00% |