]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blob - arch/powerpc/lib/xor_vmx.h
License cleanup: add SPDX GPL-2.0 license identifier to files with no license
[mirror_ubuntu-bionic-kernel.git] / arch / powerpc / lib / xor_vmx.h
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3 * Simple interface to link xor_vmx.c and xor_vmx_glue.c
4 *
5 * Separating these file ensures that no altivec instructions are run
6 * outside of the enable/disable altivec block.
7 */
8
9 void __xor_altivec_2(unsigned long bytes, unsigned long *v1_in,
10 unsigned long *v2_in);
11
12 void __xor_altivec_3(unsigned long bytes, unsigned long *v1_in,
13 unsigned long *v2_in, unsigned long *v3_in);
14
15 void __xor_altivec_4(unsigned long bytes, unsigned long *v1_in,
16 unsigned long *v2_in, unsigned long *v3_in,
17 unsigned long *v4_in);
18
19 void __xor_altivec_5(unsigned long bytes, unsigned long *v1_in,
20 unsigned long *v2_in, unsigned long *v3_in,
21 unsigned long *v4_in, unsigned long *v5_in);