Home
last modified time | relevance | path

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

12

/Linux-v5.10/drivers/crypto/nx/
DMakefile2 obj-$(CONFIG_CRYPTO_DEV_NX_ENCRYPT) += nx-crypto.o
3 nx-crypto-objs := nx.o \
5 nx-aes-cbc.o \
6 nx-aes-ecb.o \
7 nx-aes-gcm.o \
8 nx-aes-ccm.o \
9 nx-aes-ctr.o \
10 nx-aes-xcbc.o \
11 nx-sha256.o \
12 nx-sha512.o
[all …]
/Linux-v5.10/tools/testing/selftests/powerpc/nx-gzip/
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.
Dnx-gzip-test.sh4 if [[ ! -w /dev/crypto/nx-gzip ]]; then
14 rm -f nx-tempfile*
29 ./gunz_test ${fname}.nx.gz
D99-nx-gzip.rules1 SUBSYSTEM=="nxgzip", KERNEL=="nx-gzip", MODE="0666"
DMakefile4 TEST_PROGS := nx-gzip-test.sh
/Linux-v5.10/arch/powerpc/platforms/powernv/
Dvas-fault.c32 struct nx_fault_stamp *nx; in dump_crb() local
44 nx = &crb->stamp.nx; in dump_crb()
46 be32_to_cpu(nx->pswid), in dump_crb()
47 be64_to_cpu(crb->stamp.nx.fault_storage_addr), in dump_crb()
48 nx->flags, nx->fault_status); in dump_crb()
92 csb.address = crb->stamp.nx.fault_storage_addr; in update_csb()
251 if ((entry->stamp.nx.pswid == cpu_to_be32(FIFO_INVALID_ENTRY)) in vas_fault_thread_fn()
264 entry->stamp.nx.pswid = cpu_to_be32(FIFO_INVALID_ENTRY); in vas_fault_thread_fn()
277 be32_to_cpu(crb->stamp.nx.pswid)); in vas_fault_thread_fn()
291 be32_to_cpu(crb->stamp.nx.pswid), in vas_fault_thread_fn()
/Linux-v5.10/drivers/input/mouse/
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()
/Linux-v5.10/tools/testing/selftests/powerpc/nx-gzip/include/
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
Dnxu.h207 struct nx_stamped_fault_crb_t nx; member
/Linux-v5.10/drivers/media/pci/bt8xx/
Dbtcx-risc.c125 s32 nx,nw,dx; in btcx_align() local
129 nx = (win->left + mask) & ~mask; in btcx_align()
131 if (nx + nw > win->left + win->width) in btcx_align()
133 dx = nx - win->left; in btcx_align()
134 win->left = nx; in btcx_align()
141 nx = (clips[i].c.left-dx) & ~mask; in btcx_align()
143 if (nx + nw < clips[i].c.left-dx + clips[i].c.width) in btcx_align()
145 clips[i].c.left = nx; in btcx_align()
/Linux-v5.10/Documentation/ABI/testing/
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.
/Linux-v5.10/arch/s390/mm/
Dpageattr.c114 int i, ro, nx; in split_pmd_page() local
121 nx = !!(pmd_val(*pmdp) & _SEGMENT_ENTRY_NOEXEC); in split_pmd_page()
123 if (!nx) in split_pmd_page()
191 int i, ro, nx; in split_pud_page() local
198 nx = !!(pud_val(*pudp) & _REGION_ENTRY_NOEXEC); in split_pud_page()
200 if (!nx) in split_pud_page()
/Linux-v5.10/Documentation/powerpc/
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");
/Linux-v5.10/drivers/block/aoe/
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()
502 struct list_head *pos, *nx, *head; in freetgt() local
512 list_for_each_safe(pos, nx, head) { in freetgt()
Daoecmd.c81 struct list_head *head, *pos, *nx; in getframe_deferred() local
85 list_for_each_safe(pos, nx, head) { in getframe_deferred()
99 struct list_head *head, *pos, *nx; in getframe() local
104 list_for_each_safe(pos, nx, head) { in getframe()
643 struct list_head *pos, *nx, *head; in rexmit_deferred() local
650 list_for_each_safe(pos, nx, head) { in rexmit_deferred()
733 struct list_head *head, *pos, *nx; in rexmit_timer() local
758 list_for_each_safe(pos, nx, head) { in rexmit_timer()
/Linux-v5.10/arch/arm64/include/asm/
Dfpsimdmacros.h145 .macro _sve_rdvl nx, imm
146 _check_general_reg \nx
149 | (\nx) \
/Linux-v5.10/tools/testing/selftests/powerpc/
DMakefile22 nx-gzip \
/Linux-v5.10/arch/powerpc/include/asm/
Dicswx.h152 struct nx_fault_stamp nx; member
/Linux-v5.10/drivers/crypto/
DMakefile26 obj-$(CONFIG_CRYPTO_DEV_NX) += nx/
/Linux-v5.10/net/can/
Dgw.c529 struct hlist_node *nx; in cgw_notifier() local
533 hlist_for_each_entry_safe(gwj, nx, &net->can.cgw_list, list) { in cgw_notifier()
1088 struct hlist_node *nx; in cgw_remove_all_jobs() local
1092 hlist_for_each_entry_safe(gwj, nx, &net->can.cgw_list, list) { in cgw_remove_all_jobs()
1104 struct hlist_node *nx; in cgw_remove_job() local
1140 hlist_for_each_entry_safe(gwj, nx, &net->can.cgw_list, list) { in cgw_remove_job()
/Linux-v5.10/arch/x86/kvm/mmu/
Dmmu.c3805 context->nx = false; in nonpaging_init_context()
3972 int maxphyaddr, int level, bool nx, bool gbpages, in __reset_rsvds_bits_mask() argument
3981 if (!nx) in __reset_rsvds_bits_mask()
4064 context->nx, in reset_rsvds_bits_mask()
4122 bool uses_nx = context->nx || in reset_shadow_zero_bits_mask()
4247 if (!mmu->nx) in update_permission_bitmask()
4370 context->nx = is_nx(vcpu); in paging64_init_context_common()
4400 context->nx = false; in paging32_init_context()
4502 context->nx = false; in init_kvm_tdp_mmu()
4506 context->nx = is_nx(vcpu); in init_kvm_tdp_mmu()
[all …]
/Linux-v5.10/net/xfrm/
Dxfrm_policy.c2358 int nx; in xfrm_tmpl_resolve_one() local
2364 for (nx = 0, i = 0; i < policy->xfrm_nr; i++) { in xfrm_tmpl_resolve_one()
2388 xfrm[nx++] = x; in xfrm_tmpl_resolve_one()
2404 return nx; in xfrm_tmpl_resolve_one()
2407 for (nx--; nx >= 0; nx--) in xfrm_tmpl_resolve_one()
2408 xfrm_state_put(xfrm[nx]); in xfrm_tmpl_resolve_one()
2528 int nx, in xfrm_bundle_create() argument
2554 for (; i < nx; i++) { in xfrm_bundle_create()
2635 xfrm_init_pmtu(bundle, nx); in xfrm_bundle_create()
2652 for (; i < nx; i++) in xfrm_bundle_create()
/Linux-v5.10/arch/arm64/boot/dts/nvidia/
Dtegra194-p3509-0000+p3668-0000.dts45 nvidia,model = "jetson-xavier-nx-hda";
/Linux-v5.10/Documentation/virt/kvm/
Dmmu.rst397 the kernel may now execute it. We handle this by also setting spte.nx.
399 spte.nx=gpte.nx back. For this to work, KVM forces EFER.NX to 1 when
/Linux-v5.10/arch/powerpc/kvm/
Dbook3s_64_mmu.c388 slbe->nx = (rs & SLB_VSID_N) ? 1 : 0; in kvmppc_mmu_book3s_64_slbmte()

12