Home
last modified time | relevance | path

Searched refs:v0 (Results 1 – 25 of 219) sorted by relevance

123456789

/Linux-v4.19/drivers/gpu/drm/nouveau/nvkm/core/
Dioctl.c36 struct nvif_ioctl_nop_v0 v0; in nvkm_ioctl_nop() member
41 if (!(ret = nvif_unpack(ret, &data, &size, args->v0, 0, 0, false))) { in nvkm_ioctl_nop()
42 nvif_ioctl(object, "nop vers %lld\n", args->v0.version); in nvkm_ioctl_nop()
43 args->v0.version = NVIF_VERSION_LATEST; in nvkm_ioctl_nop()
54 struct nvif_ioctl_sclass_v0 v0; in nvkm_ioctl_sclass() member
60 if (!(ret = nvif_unpack(ret, &data, &size, args->v0, 0, 0, true))) { in nvkm_ioctl_sclass()
62 args->v0.version, args->v0.count); in nvkm_ioctl_sclass()
63 if (size != args->v0.count * sizeof(args->v0.oclass[0])) in nvkm_ioctl_sclass()
68 if (i < args->v0.count) { in nvkm_ioctl_sclass()
69 args->v0.oclass[i].oclass = oclass.base.oclass; in nvkm_ioctl_sclass()
[all …]
Dclient.c39 struct nvif_client_v0 v0; in nvkm_uclient_new() member
44 if (!(ret = nvif_unpack(ret, &argv, &argc, args->v0, 0, 0, false))){ in nvkm_uclient_new()
45 args->v0.name[sizeof(args->v0.name) - 1] = 0; in nvkm_uclient_new()
46 ret = nvkm_client_new(args->v0.name, args->v0.device, NULL, in nvkm_uclient_new()
77 struct nvif_notify_rep_v0 v0; member
134 struct nvif_notify_req_v0 v0; in nvkm_client_notify_new() member
152 if (!(ret = nvif_unpack(ret, &data, &size, req->v0, 0, 0, true))) { in nvkm_client_notify_new()
154 "token %llx\n", req->v0.version, in nvkm_client_notify_new()
155 req->v0.reply, req->v0.route, req->v0.token); in nvkm_client_notify_new()
156 notify->version = req->v0.version; in nvkm_client_notify_new()
[all …]
/Linux-v4.19/arch/arm64/crypto/
Daes-ce-core.S16 ld1 {v0.16b}, [x2]
25 1: aese v0.16b, v2.16b
26 aesmc v0.16b, v0.16b
28 aese v0.16b, v3.16b
29 aesmc v0.16b, v0.16b
32 aese v0.16b, v1.16b
33 aesmc v0.16b, v0.16b
36 aese v0.16b, v2.16b
37 eor v0.16b, v0.16b, v3.16b
38 st1 {v0.16b}, [x1]
[all …]
Daes-ce-ccm-core.S23 ld1 {v0.16b}, [x0] /* load mac */
34 eor v0.16b, v0.16b, v1.16b
46 3: aese v0.16b, v4.16b
47 aesmc v0.16b, v0.16b
49 aese v0.16b, v5.16b
50 aesmc v0.16b, v0.16b
53 aese v0.16b, v3.16b
54 aesmc v0.16b, v0.16b
57 aese v0.16b, v4.16b
59 eor v0.16b, v0.16b, v5.16b /* final round */
[all …]
Dcrct10dif-ce-core.S116 CPU_LE( rev64 v0.16b, v0.16b )
125 CPU_LE( ext v0.16b, v0.16b, v0.16b, #8 )
135 eor v0.16b, v0.16b, v10.16b
176 fold64 v0, v1
222 fold16 v0, rk11
246 CPU_LE( rev64 v0.16b, v0.16b )
247 CPU_LE( ext v0.16b, v0.16b, v0.16b, #8 )
248 eor v7.16b, v7.16b, v0.16b
279 ld1 {v0.16b}, [x4]
282 tbl v2.16b, {v7.16b}, v0.16b
[all …]
Daes-modes.S17 encrypt_block4x v0, v1, v2, v3, w22, x21, x8, w7
22 decrypt_block4x v0, v1, v2, v3, w22, x21, x8, w7
48 ld1 {v0.16b-v3.16b}, [x20], #64 /* get 4 pt blocks */
50 st1 {v0.16b-v3.16b}, [x19], #64
57 ld1 {v0.16b}, [x20], #16 /* get next pt block */
58 encrypt_block v0, w22, x21, x5, w6
59 st1 {v0.16b}, [x19], #16
83 ld1 {v0.16b-v3.16b}, [x20], #64 /* get 4 ct blocks */
85 st1 {v0.16b-v3.16b}, [x19], #64
92 ld1 {v0.16b}, [x20], #16 /* get next ct block */
[all …]
/Linux-v4.19/drivers/gpu/drm/nouveau/nvkm/engine/device/
Dctrl.c38 struct nvif_control_pstate_info_v0 v0; in nvkm_control_mthd_pstate_info() member
44 if (!(ret = nvif_unpack(ret, &data, &size, args->v0, 0, 0, false))) { in nvkm_control_mthd_pstate_info()
46 args->v0.version); in nvkm_control_mthd_pstate_info()
51 args->v0.count = clk->state_nr; in nvkm_control_mthd_pstate_info()
52 args->v0.ustate_ac = clk->ustate_ac; in nvkm_control_mthd_pstate_info()
53 args->v0.ustate_dc = clk->ustate_dc; in nvkm_control_mthd_pstate_info()
54 args->v0.pwrsrc = clk->pwrsrc; in nvkm_control_mthd_pstate_info()
55 args->v0.pstate = clk->pstate; in nvkm_control_mthd_pstate_info()
57 args->v0.count = 0; in nvkm_control_mthd_pstate_info()
58 args->v0.ustate_ac = NVIF_CONTROL_PSTATE_INFO_V0_USTATE_DISABLE; in nvkm_control_mthd_pstate_info()
[all …]
Duser.c110 struct nv_device_info_v0 v0; in nvkm_udevice_info() member
126 if (!(ret = nvif_unpack(ret, &data, &size, args->v0, 0, 0, false))) { in nvkm_udevice_info()
127 nvif_ioctl(object, "device info vers %d\n", args->v0.version); in nvkm_udevice_info()
142 args->v0.platform = NV_DEVICE_INFO_V0_IGP; in nvkm_udevice_info()
147 args->v0.platform = NV_DEVICE_INFO_V0_PCI; in nvkm_udevice_info()
150 args->v0.platform = NV_DEVICE_INFO_V0_AGP; in nvkm_udevice_info()
153 args->v0.platform = NV_DEVICE_INFO_V0_PCIE; in nvkm_udevice_info()
156 args->v0.platform = NV_DEVICE_INFO_V0_SOC; in nvkm_udevice_info()
166 case NV_04: args->v0.family = NV_DEVICE_INFO_V0_TNT; break; in nvkm_udevice_info()
168 case NV_11: args->v0.family = NV_DEVICE_INFO_V0_CELSIUS; break; in nvkm_udevice_info()
[all …]
/Linux-v4.19/drivers/gpu/drm/nouveau/nvkm/engine/disp/
Drootnv50.c40 struct nv50_disp_mthd_v0 v0; in nv50_disp_root_mthd_() member
54 if (!(ret = nvif_unpack(ret, &data, &size, args->v0, 0, 0, true))) { in nv50_disp_root_mthd_()
56 args->v0.version, args->v0.method, args->v0.head); in nv50_disp_root_mthd_()
57 mthd = args->v0.method; in nv50_disp_root_mthd_()
58 hidx = args->v0.head; in nv50_disp_root_mthd_()
98 struct nv50_disp_acquire_v0 v0; in nv50_disp_root_mthd_() member
101 if (!(ret = nvif_unpack(ret, &data, &size, args->v0, 0, 0, false))) { in nv50_disp_root_mthd_()
104 args->v0.or = outp->ior->id; in nv50_disp_root_mthd_()
105 args->v0.link = outp->ior->asy.link; in nv50_disp_root_mthd_()
116 struct nv50_disp_dac_load_v0 v0; in nv50_disp_root_mthd_() member
[all …]
Dhead.c47 struct nv04_disp_scanoutpos_v0 v0; in nvkm_head_mthd_scanoutpos() member
52 if (!(ret = nvif_unpack(ret, &data, &size, args->v0, 0, 0, false))) { in nvkm_head_mthd_scanoutpos()
54 args->v0.version); in nvkm_head_mthd_scanoutpos()
57 args->v0.vtotal = head->arm.vtotal; in nvkm_head_mthd_scanoutpos()
58 args->v0.vblanks = head->arm.vblanks; in nvkm_head_mthd_scanoutpos()
59 args->v0.vblanke = head->arm.vblanke; in nvkm_head_mthd_scanoutpos()
60 args->v0.htotal = head->arm.htotal; in nvkm_head_mthd_scanoutpos()
61 args->v0.hblanks = head->arm.hblanks; in nvkm_head_mthd_scanoutpos()
62 args->v0.hblanke = head->arm.hblanke; in nvkm_head_mthd_scanoutpos()
68 if (!args->v0.vtotal || !args->v0.htotal) in nvkm_head_mthd_scanoutpos()
[all …]
/Linux-v4.19/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/
Dummu.c61 struct nvif_mmu_heap_v0 v0; in nvkm_ummu_heap() member
66 if (!(ret = nvif_unpack(ret, &argv, &argc, args->v0, 0, 0, false))) { in nvkm_ummu_heap()
67 if ((index = args->v0.index) >= mmu->heap_nr) in nvkm_ummu_heap()
69 args->v0.size = mmu->heap[index].size; in nvkm_ummu_heap()
81 struct nvif_mmu_type_v0 v0; in nvkm_ummu_type() member
86 if (!(ret = nvif_unpack(ret, &argv, &argc, args->v0, 0, 0, false))) { in nvkm_ummu_type()
87 if ((index = args->v0.index) >= mmu->type_nr) in nvkm_ummu_type()
90 args->v0.heap = mmu->type[index].heap; in nvkm_ummu_type()
91 args->v0.vram = !!(type & NVKM_MEM_VRAM); in nvkm_ummu_type()
92 args->v0.host = !!(type & NVKM_MEM_HOST); in nvkm_ummu_type()
[all …]
Duvmm.c50 struct nvif_vmm_unmap_v0 v0; in nvkm_uvmm_mthd_unmap() member
57 if (!(ret = nvif_unpack(ret, &argv, &argc, args->v0, 0, 0, false))) { in nvkm_uvmm_mthd_unmap()
58 addr = args->v0.addr; in nvkm_uvmm_mthd_unmap()
93 struct nvif_vmm_map_v0 v0; in nvkm_uvmm_mthd_map() member
101 if (!(ret = nvif_unpack(ret, &argv, &argc, args->v0, 0, 0, true))) { in nvkm_uvmm_mthd_map()
102 addr = args->v0.addr; in nvkm_uvmm_mthd_map()
103 size = args->v0.size; in nvkm_uvmm_mthd_map()
104 handle = args->v0.memory; in nvkm_uvmm_mthd_map()
105 offset = args->v0.offset; in nvkm_uvmm_mthd_map()
180 struct nvif_vmm_put_v0 v0; in nvkm_uvmm_mthd_put() member
[all …]
/Linux-v4.19/drivers/gpu/drm/nouveau/
Dnouveau_usif.c77 struct nvif_notify_rep_v0 v0; in usif_notify() member
83 if (length == sizeof(rep->v0) && rep->v0.version == 0) { in usif_notify()
84 if (WARN_ON(!(ntfy = (void *)(unsigned long)rep->v0.token))) in usif_notify()
86 BUG_ON(rep->v0.route != NVDRM_NOTIFY_USIF); in usif_notify()
98 switch (rep->v0.version) { in usif_notify()
127 struct nvif_ioctl_ntfy_new_v0 v0; in usif_notify_new() member
130 struct nvif_notify_req_v0 v0; in usif_notify_new() member
135 if (!(ret = nvif_unpack(ret, &data, &size, args->v0, 0, 0, true))) { in usif_notify_new()
136 if (usif_notify_find(f, args->v0.index)) in usif_notify_new()
147 if (!(ret = nvif_unpack(ret, &data, &size, req->v0, 0, 0, true))) { in usif_notify_new()
[all …]
/Linux-v4.19/lib/
Dsiphash.c23 v0 += v1; v1 = rol64(v1, 13); v1 ^= v0; v0 = rol64(v0, 32); \
25 v0 += v3; v3 = rol64(v3, 21); v3 ^= v0; \
30 u64 v0 = 0x736f6d6570736575ULL; \
38 v0 ^= key->key[0];
44 v0 ^= b; \
50 return (v0 ^ v1) ^ (v2 ^ v3);
63 v0 ^= m; in __siphash_aligned()
96 v0 ^= m; in __siphash_unaligned()
129 v0 ^= first; in siphash_1u64()
146 v0 ^= first; in siphash_2u64()
[all …]
/Linux-v4.19/arch/mips/include/asm/mach-cavium-octeon/
Dkernel-entry-init.h30 dmfc0 v0, CP0_CVMMEMCTL_REG
32 dins v0, $0, 0, 6
33 ori v0, CONFIG_CAVIUM_OCTEON_CVMSEG_SIZE
34 dmtc0 v0, CP0_CVMMEMCTL_REG # Write the cavium mem control register
35 dmfc0 v0, CP0_CVMCTL_REG # Read the cavium control register
38 or v0, v0, 0x5001
39 xor v0, v0, 0x1001
43 and v0, v0, v1
44 ori v0, v0, (6 << 7)
64 or v0, v0, 0x2000 # Set IPREF bit.
[all …]
/Linux-v4.19/arch/ia64/include/asm/sn/
Dsn_sal.h185 ret_stuff.v0 = 0; in ia64_sn_get_console_nasid()
194 return ret_stuff.v0; in ia64_sn_get_console_nasid()
207 ret_stuff.v0 = 0; in ia64_sn_get_master_baseio_nasid()
216 return ret_stuff.v0; in ia64_sn_get_master_baseio_nasid()
225 ret_stuff.v0 = 0; in ia64_sn_get_klconfig_addr()
229 return ret_stuff.v0 ? __va(ret_stuff.v0) : NULL; in ia64_sn_get_klconfig_addr()
241 ret_stuff.v0 = 0; in ia64_sn_console_getc()
247 *ch = (int)ret_stuff.v0; in ia64_sn_console_getc()
263 ret_stuff.v0 = 0; in ia64_sn_console_readc()
269 return ret_stuff.v0; in ia64_sn_console_readc()
[all …]
/Linux-v4.19/tools/testing/selftests/powerpc/math/
Dvmx_asm.S13 # Should be safe from C, only touches r4, r5 and v0,v1,v2
19 lvx v0,r5,r4
20 vcmpequd. v1,v0,v20
24 lvx v0,r5,r4
25 vcmpequd. v1,v0,v21
29 lvx v0,r5,r4
30 vcmpequd. v1,v0,v22
34 lvx v0,r5,r4
35 vcmpequd. v1,v0,v23
39 lvx v0,r5,r4
[all …]
/Linux-v4.19/drivers/gpu/drm/nouveau/nvkm/engine/fifo/
Ddmanv50.c39 struct nv50_channel_dma_v0 v0; in nv50_fifo_dma_new() member
46 if (!(ret = nvif_unpack(ret, &data, &size, args->v0, 0, 0, false))) { in nv50_fifo_dma_new()
49 args->v0.version, args->v0.vmm, args->v0.pushbuf, in nv50_fifo_dma_new()
50 args->v0.offset); in nv50_fifo_dma_new()
51 if (!args->v0.pushbuf) in nv50_fifo_dma_new()
60 ret = nv50_fifo_chan_ctor(fifo, args->v0.vmm, args->v0.pushbuf, in nv50_fifo_dma_new()
65 args->v0.chid = chan->base.chid; in nv50_fifo_dma_new()
68 nvkm_wo32(chan->ramfc, 0x08, lower_32_bits(args->v0.offset)); in nv50_fifo_dma_new()
69 nvkm_wo32(chan->ramfc, 0x0c, upper_32_bits(args->v0.offset)); in nv50_fifo_dma_new()
70 nvkm_wo32(chan->ramfc, 0x10, lower_32_bits(args->v0.offset)); in nv50_fifo_dma_new()
[all …]
Ddmag84.c39 struct g82_channel_dma_v0 v0; in g84_fifo_dma_new() member
46 if (!(ret = nvif_unpack(ret, &data, &size, args->v0, 0, 0, false))) { in g84_fifo_dma_new()
49 args->v0.version, args->v0.vmm, args->v0.pushbuf, in g84_fifo_dma_new()
50 args->v0.offset); in g84_fifo_dma_new()
51 if (!args->v0.pushbuf) in g84_fifo_dma_new()
60 ret = g84_fifo_chan_ctor(fifo, args->v0.vmm, args->v0.pushbuf, in g84_fifo_dma_new()
65 args->v0.chid = chan->base.chid; in g84_fifo_dma_new()
68 nvkm_wo32(chan->ramfc, 0x08, lower_32_bits(args->v0.offset)); in g84_fifo_dma_new()
69 nvkm_wo32(chan->ramfc, 0x0c, upper_32_bits(args->v0.offset)); in g84_fifo_dma_new()
70 nvkm_wo32(chan->ramfc, 0x10, lower_32_bits(args->v0.offset)); in g84_fifo_dma_new()
[all …]
Dgpfifonv50.c39 struct nv50_channel_gpfifo_v0 v0; in nv50_fifo_gpfifo_new() member
47 if (!(ret = nvif_unpack(ret, &data, &size, args->v0, 0, 0, false))) { in nv50_fifo_gpfifo_new()
51 args->v0.version, args->v0.vmm, args->v0.pushbuf, in nv50_fifo_gpfifo_new()
52 args->v0.ioffset, args->v0.ilength); in nv50_fifo_gpfifo_new()
53 if (!args->v0.pushbuf) in nv50_fifo_gpfifo_new()
62 ret = nv50_fifo_chan_ctor(fifo, args->v0.vmm, args->v0.pushbuf, in nv50_fifo_gpfifo_new()
67 args->v0.chid = chan->base.chid; in nv50_fifo_gpfifo_new()
68 ioffset = args->v0.ioffset; in nv50_fifo_gpfifo_new()
69 ilength = order_base_2(args->v0.ilength / 8); in nv50_fifo_gpfifo_new()
Dgpfifog84.c39 struct g82_channel_gpfifo_v0 v0; in g84_fifo_gpfifo_new() member
47 if (!(ret = nvif_unpack(ret, &data, &size, args->v0, 0, 0, false))) { in g84_fifo_gpfifo_new()
51 args->v0.version, args->v0.vmm, args->v0.pushbuf, in g84_fifo_gpfifo_new()
52 args->v0.ioffset, args->v0.ilength); in g84_fifo_gpfifo_new()
53 if (!args->v0.pushbuf) in g84_fifo_gpfifo_new()
62 ret = g84_fifo_chan_ctor(fifo, args->v0.vmm, args->v0.pushbuf, in g84_fifo_gpfifo_new()
67 args->v0.chid = chan->base.chid; in g84_fifo_gpfifo_new()
68 ioffset = args->v0.ioffset; in g84_fifo_gpfifo_new()
69 ilength = order_base_2(args->v0.ilength / 8); in g84_fifo_gpfifo_new()
/Linux-v4.19/arch/mips/lib/
Dstrncpy_user.S34 LONG_L v0, TI_ADDR_LIMIT($28) # pointer ok?
35 and v0, a1
36 bnez v0, .Lfault\@
41 1: EX(lbu, v0, (v1), .Lfault\@)
43 1: EX(lbue, v0, (v1), .Lfault\@)
47 sb v0, (a0)
48 beqz v0, 2f
52 2: PTR_ADDU v0, a1, t0
53 xor v0, a1
54 bltz v0, .Lfault\@
[all …]
Dstrnlen_user.S31 LONG_L v0, TI_ADDR_LIMIT($28) # pointer ok?
32 and v0, a0
33 bnez v0, .Lfault\@
35 move v0, a0
42 beq v0, a1, 1f # limit reached?
44 EX(lb, t0, (v0), .Lfault\@)
46 EX(lbe, t0, (v0), .Lfault\@)
52 PTR_ADDIU v0, 1
54 PTR_ADDU v0, AT
58 PTR_SUBU v0, a0
[all …]
/Linux-v4.19/drivers/gpu/drm/nouveau/nvkm/engine/pm/
Dbase.c265 struct nvif_perfdom_read_v0 v0; in nvkm_perfdom_read() member
272 if (!(ret = nvif_unpack(ret, &data, &size, args->v0, 0, 0, false))) { in nvkm_perfdom_read()
273 nvif_ioctl(object, "perfdom read vers %d\n", args->v0.version); in nvkm_perfdom_read()
287 args->v0.ctr[i] = dom->ctr[i]->ctr; in nvkm_perfdom_read()
288 args->v0.clk = dom->clk; in nvkm_perfdom_read()
371 struct nvif_perfdom_v0 v0; in nvkm_perfdom_new_() member
382 if (!(ret = nvif_unpack(ret, &data, &size, args->v0, 0, 0, false))) { in nvkm_perfdom_new_()
384 args->v0.version, args->v0.domain, args->v0.mode); in nvkm_perfdom_new_()
388 for (c = 0; c < ARRAY_SIZE(args->v0.ctr); c++) { in nvkm_perfdom_new_()
392 for (s = 0; s < ARRAY_SIZE(args->v0.ctr[c].signal); s++) { in nvkm_perfdom_new_()
[all …]
/Linux-v4.19/arch/powerpc/crypto/
Dcrc32-vpmsum_core.S105 vspltisw v0,-1
107 vsldoi mask_32bit,zeroes,v0,4
108 vsldoi mask_64bit,zeroes,v0,8
164 vxor v0,v0,v0
263 vxor v0,v0,v8
320 vxor v0,v0,v8
354 vxor v0,v0,v8
370 vsldoi v0,v0,zeroes,4
400 vxor v16,v0,v8
429 lvx v0,0,r3
[all …]

123456789