Home
last modified time | relevance | path

Searched refs:res_ptr (Results 1 – 10 of 10) sorted by relevance

/linux/lib/crypto/mpi/
H A Dmpi-inline.h24 mpihelp_add_1(mpi_ptr_t res_ptr, mpi_ptr_t s1_ptr, in mpihelp_add_1() argument
31 *res_ptr++ = s2_limb; in mpihelp_add_1()
35 *res_ptr++ = x; /* and store */ in mpihelp_add_1()
43 if (res_ptr != s1_ptr) { /* not the same variable */ in mpihelp_add_1()
46 res_ptr[i] = s1_ptr[i]; in mpihelp_add_1()
52 mpihelp_add(mpi_ptr_t res_ptr, mpi_ptr_t s1_ptr, mpi_size_t s1_size, in mpihelp_add() argument
58 cy = mpihelp_add_n(res_ptr, s1_ptr, s2_ptr, s2_size); in mpihelp_add()
61 cy = mpihelp_add_1(res_ptr + s2_size, s1_ptr + s2_size, in mpihelp_add()
67 mpihelp_sub_1(mpi_ptr_t res_ptr, mpi_ptr_t s1_ptr, in mpihelp_sub_1() argument
74 *res_ptr++ = s2_limb; in mpihelp_sub_1()
[all …]
H A Dmpi-internal.h139 static inline mpi_limb_t mpihelp_add_1(mpi_ptr_t res_ptr, mpi_ptr_t s1_ptr,
141 mpi_limb_t mpihelp_add_n(mpi_ptr_t res_ptr, mpi_ptr_t s1_ptr,
143 static inline mpi_limb_t mpihelp_add(mpi_ptr_t res_ptr, mpi_ptr_t s1_ptr, mpi_size_t s1_size,
146 static inline mpi_limb_t mpihelp_sub_1(mpi_ptr_t res_ptr, mpi_ptr_t s1_ptr,
148 mpi_limb_t mpihelp_sub_n(mpi_ptr_t res_ptr, mpi_ptr_t s1_ptr,
150 static inline mpi_limb_t mpihelp_sub(mpi_ptr_t res_ptr, mpi_ptr_t s1_ptr, mpi_size_t s1_size,
168 mpi_limb_t mpihelp_addmul_1(mpi_ptr_t res_ptr, mpi_ptr_t s1_ptr,
170 mpi_limb_t mpihelp_submul_1(mpi_ptr_t res_ptr, mpi_ptr_t s1_ptr,
184 mpi_limb_t mpihelp_mul_1(mpi_ptr_t res_ptr, mpi_ptr_t s1_ptr,
H A Dgeneric_mpih-mul3.c20 mpihelp_submul_1(mpi_ptr_t res_ptr, mpi_ptr_t s1_ptr, in mpihelp_submul_1() argument
31 res_ptr -= j; in mpihelp_submul_1()
41 x = res_ptr[j]; in mpihelp_submul_1()
44 res_ptr[j] = prod_low; in mpihelp_submul_1()
H A Dgeneric_mpih-mul2.c20 mpihelp_addmul_1(mpi_ptr_t res_ptr, mpi_ptr_t s1_ptr, in mpihelp_addmul_1() argument
31 res_ptr -= j; in mpihelp_addmul_1()
41 x = res_ptr[j]; in mpihelp_addmul_1()
44 res_ptr[j] = prod_low; in mpihelp_addmul_1()
H A Dgeneric_mpih-mul1.c20 mpihelp_mul_1(mpi_ptr_t res_ptr, mpi_ptr_t s1_ptr, mpi_size_t s1_size, in mpihelp_mul_1() argument
33 res_ptr -= j; in mpihelp_mul_1()
40 res_ptr[j] = prod_low; in mpihelp_mul_1()
H A Dgeneric_mpih-sub1.c20 mpihelp_sub_n(mpi_ptr_t res_ptr, mpi_ptr_t s1_ptr, in mpihelp_sub_n() argument
33 res_ptr -= j; in mpihelp_sub_n()
43 res_ptr[j] = y; in mpihelp_sub_n()
H A Dgeneric_mpih-add1.c21 mpihelp_add_n(mpi_ptr_t res_ptr, mpi_ptr_t s1_ptr, in mpihelp_add_n() argument
34 res_ptr -= j; in mpihelp_add_n()
44 res_ptr[j] = y; in mpihelp_add_n()
/linux/arch/parisc/kernel/
H A Dpci-dma.c63 u_long *res_ptr = (unsigned long *)pcxl_res_map; in dump_resmap() local
67 for(; i < (pcxl_res_size / sizeof(unsigned long)); ++i, ++res_ptr) in dump_resmap()
68 printk("%08lx ", *res_ptr); in dump_resmap()
230 for(; res_ptr < res_end; ++res_ptr) \
232 if(0 == ((*res_ptr) & mask)) { \
233 *res_ptr |= mask; \
234 idx = (int)((u_long)res_ptr - (u_long)pcxl_res_map); \
241 u##size *res_ptr = (u##size *)&(pcxl_res_map[pcxl_res_hint & ~((size >> 3) - 1)]); \
244 res_ptr = (u##size *)&pcxl_res_map[0]; \
297 …u##size *res_ptr = (u##size *)&(pcxl_res_map[(idx) + (((size >> 3) - 1) & (~((size >> 3) - 1)))]);…
[all …]
/linux/drivers/nubus/
H A Dproc.c90 unsigned char *res_ptr; member
103 pded->res_ptr = ptr; in nubus_proc_alloc_pde_data()
128 ent.base = pded->res_ptr; in nubus_proc_rsrc_show()
132 unsigned int data = (unsigned int)pded->res_ptr; in nubus_proc_rsrc_show()
/linux/drivers/gpu/drm/ttm/
H A Dttm_resource.c353 struct ttm_resource **res_ptr) in ttm_resource_alloc() argument
359 ret = man->func->alloc(man, bo, place, res_ptr); in ttm_resource_alloc()
364 ttm_resource_add_bulk_move(*res_ptr, bo); in ttm_resource_alloc()