Home
last modified time | relevance | path

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

12

/openbmc/linux/drivers/crypto/nx/
H A DMakefile2 obj-$(CONFIG_CRYPTO_DEV_NX_ENCRYPT) += nx-crypto.o
3 nx-crypto-objs := nx.o \
4 nx-aes-cbc.o \
5 nx-aes-ecb.o \
6 nx-aes-gcm.o \
7 nx-aes-ccm.o \
8 nx-aes-ctr.o \
9 nx-aes-xcbc.o \
10 nx-sha256.o \
11 nx-sha512.o
[all …]
/openbmc/linux/tools/testing/selftests/powerpc/nx-gzip/
H A DREADME1 Test the nx-gzip function:
5 /dev/crypto/nx-gzip
7 sudo chmod go+rw /dev/crypto/nx-gzip
10 /etc/udev/rules.d/99-nx-gzip.rules
18 Compress any file using Fixed Huffman mode. Output will have a .nx.gz suffix:
24 Uncompress the previous output. Output will have a .nx.gunzip suffix:
25 ./gunz_test gzip_vas.c.nx.gz
35 $ sha1sum gzip_vas.c.nx.gz.nx.gunzip gzip_vas.c
36 bf43e3c0c3651f5f22b6f9784cd9b1eeab4120b6 gzip_vas.c.nx.gz.nx.gunzip
40 Note that the code here are intended for testing the nx-gzip hardware function.
H A Dnx-gzip-test.sh4 if [[ ! -w /dev/crypto/nx-gzip ]]; then
14 rm -f nx-tempfile*
29 ./gunz_test ${fname}.nx.gz
H A D99-nx-gzip.rules1 SUBSYSTEM=="nxgzip", KERNEL=="nx-gzip", MODE="0666"
H A DMakefile4 TEST_PROGS := nx-gzip-test.sh
/openbmc/linux/tools/testing/selftests/arm64/fp/
H A Dsme-inst.h11 .macro rdsvl nx, imm
14 | (\nx)
56 .macro _ldr_zt nx
58 | (((\nx) & 0x1f) << 5)
66 .macro _str_zt nx
68 | (((\nx) & 0x1f) << 5)
/openbmc/linux/drivers/input/mouse/
H A Damimouse.c38 int nx, ny, dx, dy; in amimouse_interrupt() local
42 nx = joy0dat & 0xff; in amimouse_interrupt()
45 dx = nx - amimouse_lastx; in amimouse_interrupt()
48 if (dx < -127) dx = (256 + nx) - amimouse_lastx; in amimouse_interrupt()
49 if (dx > 127) dx = (nx - 256) - amimouse_lastx; in amimouse_interrupt()
53 amimouse_lastx = nx; in amimouse_interrupt()
/openbmc/linux/arch/arm64/include/asm/
H A Dfpsimdmacros.h154 .macro _sve_rdvl nx, imm
155 _check_general_reg \nx
158 | (\nx) \
187 .macro _sme_rdsvl nx, imm
188 _check_general_reg \nx
191 | (\nx) \
228 .macro _ldr_zt nx
229 _check_general_reg \nx
231 | (\nx << 5)
239 .macro _str_zt nx
[all …]
/openbmc/linux/tools/testing/selftests/powerpc/nx-gzip/include/
H A Dcrb.h136 #define crb_nx_fault_addr(c) __be64_to_cpu(c->stamp.nx.fault_storage_addr)
137 #define crb_nx_flags(c) c->stamp.nx.flags
138 #define crb_nx_fault_status(c) c->stamp.nx.fault_status
139 #define crb_nx_pswid(c) c->stamp.nx.pswid
/openbmc/u-boot/drivers/usb/gadget/
H A Dcore.c460 urb_link *nx; in first_urb_link() local
461 if (NULL != hd && NULL != (nx = hd->next) && nx != hd) { in first_urb_link()
464 return (nx); in first_urb_link()
476 urb_link *nx; in first_urb() local
477 if (NULL == (nx = first_urb_link (hd))) { in first_urb()
481 return (p2surround (struct urb, link, nx)); in first_urb()
/openbmc/linux/arch/powerpc/platforms/powernv/
H A Dvas-fault.c107 if ((entry->stamp.nx.pswid == cpu_to_be32(FIFO_INVALID_ENTRY)) in vas_fault_thread_fn()
120 entry->stamp.nx.pswid = cpu_to_be32(FIFO_INVALID_ENTRY); in vas_fault_thread_fn()
133 be32_to_cpu(crb->stamp.nx.pswid)); in vas_fault_thread_fn()
147 be32_to_cpu(crb->stamp.nx.pswid), in vas_fault_thread_fn()
/openbmc/linux/arch/powerpc/platforms/book3s/
H A Dvas-api.c178 csb.address = crb->stamp.nx.fault_storage_addr; in vas_update_csb()
246 struct nx_fault_stamp *nx; in vas_dump_crb() local
258 nx = &crb->stamp.nx; in vas_dump_crb()
260 be32_to_cpu(nx->pswid), in vas_dump_crb()
261 be64_to_cpu(crb->stamp.nx.fault_storage_addr), in vas_dump_crb()
262 nx->flags, nx->fault_status); in vas_dump_crb()
/openbmc/linux/Documentation/ABI/testing/
H A Ddebugfs-pfo-nx-crypto1 What: /sys/kernel/debug/nx-crypto/*
7 These debugfs interfaces are built by the nx-crypto driver, built in
8 arch/powerpc/crypto/nx.
/openbmc/linux/arch/x86/mm/pat/
H A Dset_memory.c623 bool nx, bool rw) in verify_rwx() argument
646 if (!rw || nx) in verify_rwx()
669 unsigned int *level, bool *nx, bool *rw) in lookup_address_in_pgd_attr() argument
676 *nx = false; in lookup_address_in_pgd_attr()
682 *nx |= pgd_flags(*pgd) & _PAGE_NX; in lookup_address_in_pgd_attr()
693 *nx |= p4d_flags(*p4d) & _PAGE_NX; in lookup_address_in_pgd_attr()
704 *nx |= pud_flags(*pud) & _PAGE_NX; in lookup_address_in_pgd_attr()
715 *nx |= pmd_flags(*pmd) & _PAGE_NX; in lookup_address_in_pgd_attr()
730 bool nx, rw; in lookup_address_in_pgd() local
732 return lookup_address_in_pgd_attr(pgd, address, level, &nx, &rw); in lookup_address_in_pgd()
[all …]
/openbmc/qemu/roms/
H A Dedk2-build.config26 [pcds.nx.strict]
30 [pcds.nx.broken.shim.grub]
99 pcds = nx.broken.shim.grub
116 pcds = nx.broken.shim.grub
/openbmc/linux/arch/s390/mm/
H A Dpageattr.c127 int i, ro, nx; in split_pmd_page() local
134 nx = !!(pmd_val(*pmdp) & _SEGMENT_ENTRY_NOEXEC); in split_pmd_page()
136 if (!nx) in split_pmd_page()
216 int i, ro, nx; in split_pud_page() local
223 nx = !!(pud_val(*pudp) & _REGION_ENTRY_NOEXEC); in split_pud_page()
225 if (!nx) in split_pud_page()
/openbmc/linux/Documentation/powerpc/
H A Dvas-api.rst38 /dev/crypto/nx-gzip device node implemented by the VAS/NX device driver.
39 An application must open the /dev/crypto/nx-gzip device to obtain a file
61 There is one /dev/crypto/nx-gzip node in the system and it provides
63 /dev/crypto/nx-gzip are:
80 /dev/crypto/nx-gzip device node in the system. When the nx-gzip device
96 Open /dev/crypto/nx-gzip
99 The nx-gzip device should be opened for read and write. No special
270 fd = open("/dev/crypto/nx-gzip", O_RDWR);
272 fprintf(stderr, "open nx-gzip failed\n");
/openbmc/linux/drivers/block/aoe/
H A Daoedev.c200 struct list_head *head, *pos, *nx; in aoedev_downdev() local
208 list_for_each_safe(pos, nx, head) in aoedev_downdev()
212 list_for_each_safe(pos, nx, head) in aoedev_downdev()
501 struct list_head *pos, *nx, *head; in freetgt() local
511 list_for_each_safe(pos, nx, head) { in freetgt()
H A Daoecmd.c80 struct list_head *head, *pos, *nx; in getframe_deferred() local
84 list_for_each_safe(pos, nx, head) { in getframe_deferred()
98 struct list_head *head, *pos, *nx; in getframe() local
103 list_for_each_safe(pos, nx, head) { in getframe()
650 struct list_head *pos, *nx, *head; in rexmit_deferred() local
657 list_for_each_safe(pos, nx, head) { in rexmit_deferred()
740 struct list_head *head, *pos, *nx; in rexmit_timer() local
765 list_for_each_safe(pos, nx, head) { in rexmit_timer()
/openbmc/qemu/target/ppc/
H A Dmmu-hash32.h114 static inline int ppc_hash32_prot(bool key, int pp, bool nx) in ppc_hash32_prot() argument
147 return nx ? prot : prot | PAGE_EXEC; in ppc_hash32_prot()
H A Dmmu_common.c90 target_ulong ptem, bool key, bool nx) in ppc6xx_tlb_check() argument
135 *prot = ppc_hash32_prot(key, tlb->pte1 & HPTE32_R_PP, nx); in ppc6xx_tlb_check()
269 bool key, ds, nx; in mmu6xx_get_physical_address() local
283 nx = sr & SR32_NX; in mmu6xx_get_physical_address()
298 TARGET_FMT_lx "\n", key, ds, nx, vsid); in mmu6xx_get_physical_address()
301 if (type == ACCESS_CODE && nx) { in mmu6xx_get_physical_address()
313 access_type, ptem, key, nx); in mmu6xx_get_physical_address()
/openbmc/linux/tools/testing/selftests/arm64/abi/
H A Dsyscall-abi-asm.S56 .macro _ldr_zt nx argument
58 | (((\nx) & 0x1f) << 5)
66 .macro _str_zt nx argument
68 | (((\nx) & 0x1f) << 5)
/openbmc/linux/tools/testing/selftests/powerpc/
H A DMakefile23 nx-gzip \
/openbmc/linux/arch/powerpc/include/asm/
H A Dicswx.h152 struct nx_fault_stamp nx; member
/openbmc/linux/net/can/
H A Dgw.c598 struct hlist_node *nx; in cgw_notifier() local
602 hlist_for_each_entry_safe(gwj, nx, &net->can.cgw_list, list) { in cgw_notifier()
1164 struct hlist_node *nx; in cgw_remove_all_jobs() local
1168 hlist_for_each_entry_safe(gwj, nx, &net->can.cgw_list, list) { in cgw_remove_all_jobs()
1180 struct hlist_node *nx; in cgw_remove_job() local
1216 hlist_for_each_entry_safe(gwj, nx, &net->can.cgw_list, list) { in cgw_remove_job()

12