Home
last modified time | relevance | path

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

/linux/lib/crypto/mpi/
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()
58 cy = mpihelp_add_n(res_ptr, s1_ptr, s2_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()
78 *res_ptr++ = x - 1; in mpihelp_sub_1()
86 if (res_ptr != s1_ptr) { in mpihelp_sub_1()
[all …]
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,
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()
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()
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()
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()
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()
/linux/arch/parisc/kernel/
A Dpci-dma.c63 u_long *res_ptr = (unsigned long *)pcxl_res_map; in dump_resmap() local
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); \
244 res_ptr = (u##size *)&pcxl_res_map[0]; \
299 *res_ptr &= ~m;
342 unsigned long *res_ptr = (u_long *)pcxl_res_map; in proc_pcxl_dma_show()
363 for(; i < (pcxl_res_size / sizeof(u_long)); ++i, ++res_ptr) { in proc_pcxl_dma_show()
[all …]
/linux/drivers/parisc/
A Dsba_iommu.c362 for(; res_ptr < res_end; ++res_ptr) { in sba_search_bitmap()
367 if ((*res_ptr == 0) && !ret) { in sba_search_bitmap()
374 res_ptr++; in sba_search_bitmap()
389 res_ptr++; in sba_search_bitmap()
394 while(res_ptr < res_end) in sba_search_bitmap()
396 DBG_RES(" %p %lx %lx\n", res_ptr, mask, *res_ptr); in sba_search_bitmap()
412 res_ptr++; in sba_search_bitmap()
420 if (res_end <= res_ptr) { in sba_search_bitmap()
424 ioc->res_hint = res_ptr; in sba_search_bitmap()
508 bits_not_wanted, m, pide, res_ptr, *res_ptr); in sba_free_range()
[all …]
A Dccio-dma.c285 for (; res_ptr < res_end; ++res_ptr) { \
288 idx = (unsigned int)((unsigned long)res_ptr - (unsigned long)ioc->res_map); \
290 if ((0 == (*res_ptr & mask)) && !ret) { \
291 *res_ptr |= mask; \
302 res_ptr = (u##size *)&(ioc)->res_map[0]; \
407 u##size *res_ptr = (u##size *)&((ioc)->res_map[res_idx]); \
408 BUG_ON((*res_ptr & mask) != mask); \
409 *res_ptr &= ~(mask);
1162 u8 *res_ptr; in ccio_cujo20_fixup() local
1165 res_ptr = ioc->res_map; in ccio_cujo20_fixup()
[all …]
/linux/drivers/nubus/
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/
A Dttm_resource.c337 struct ttm_resource **res_ptr) in ttm_resource_alloc() argument
343 ret = man->func->alloc(man, bo, place, res_ptr); in ttm_resource_alloc()
348 ttm_resource_add_bulk_move(*res_ptr, bo); in ttm_resource_alloc()

Completed in 26 milliseconds