Home
last modified time | relevance | path

Searched refs:VMX_ALIGN_MASK (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/arch/powerpc/crypto/
H A Dcrct10dif-vpmsum_glue.c21 #define VMX_ALIGN_MASK (VMX_ALIGN-1) macro
36 if ((unsigned long)p & VMX_ALIGN_MASK) { in crct10dif_vpmsum()
37 prealign = VMX_ALIGN - ((unsigned long)p & VMX_ALIGN_MASK); in crct10dif_vpmsum()
43 if (len & ~VMX_ALIGN_MASK) { in crct10dif_vpmsum()
48 crc = __crct10dif_vpmsum(crc, p, len & ~VMX_ALIGN_MASK); in crct10dif_vpmsum()
55 tail = len & VMX_ALIGN_MASK; in crct10dif_vpmsum()
57 p += len & ~VMX_ALIGN_MASK; in crct10dif_vpmsum()
H A Dcrc32c-vpmsum_glue.c17 #define VMX_ALIGN_MASK (VMX_ALIGN-1) macro
31 if ((unsigned long)p & VMX_ALIGN_MASK) { in crc32c_vpmsum()
32 prealign = VMX_ALIGN - ((unsigned long)p & VMX_ALIGN_MASK); in crc32c_vpmsum()
38 if (len & ~VMX_ALIGN_MASK) { in crc32c_vpmsum()
42 crc = __crc32c_vpmsum(crc, p, len & ~VMX_ALIGN_MASK); in crc32c_vpmsum()
48 tail = len & VMX_ALIGN_MASK; in crc32c_vpmsum()
50 p += len & ~VMX_ALIGN_MASK; in crc32c_vpmsum()