Home
last modified time | relevance | path

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

/linux-4.4.14/lib/mpi/
Dmpi-inline.h37 mpihelp_add_1(mpi_ptr_t res_ptr, mpi_ptr_t s1_ptr, in mpihelp_add_1() argument
44 *res_ptr++ = s2_limb; in mpihelp_add_1()
48 *res_ptr++ = x; /* and store */ in mpihelp_add_1()
56 if (res_ptr != s1_ptr) { /* not the same variable */ in mpihelp_add_1()
59 res_ptr[i] = s1_ptr[i]; in mpihelp_add_1()
65 mpihelp_add(mpi_ptr_t res_ptr, mpi_ptr_t s1_ptr, mpi_size_t s1_size, in mpihelp_add() argument
71 cy = mpihelp_add_n(res_ptr, s1_ptr, s2_ptr, s2_size); in mpihelp_add()
74 cy = mpihelp_add_1(res_ptr + s2_size, s1_ptr + s2_size, in mpihelp_add()
80 mpihelp_sub_1(mpi_ptr_t res_ptr, mpi_ptr_t s1_ptr, in mpihelp_sub_1() argument
87 *res_ptr++ = s2_limb; in mpihelp_sub_1()
[all …]
Dgeneric_mpih-mul3.c33 mpihelp_submul_1(mpi_ptr_t res_ptr, mpi_ptr_t s1_ptr, in mpihelp_submul_1() argument
44 res_ptr -= j; in mpihelp_submul_1()
54 x = res_ptr[j]; in mpihelp_submul_1()
57 res_ptr[j] = prod_low; in mpihelp_submul_1()
Dgeneric_mpih-mul2.c33 mpihelp_addmul_1(mpi_ptr_t res_ptr, mpi_ptr_t s1_ptr, in mpihelp_addmul_1() argument
44 res_ptr -= j; in mpihelp_addmul_1()
54 x = res_ptr[j]; in mpihelp_addmul_1()
57 res_ptr[j] = prod_low; in mpihelp_addmul_1()
Dmpi-internal.h171 mpi_limb_t mpihelp_add_1(mpi_ptr_t res_ptr, mpi_ptr_t s1_ptr,
173 mpi_limb_t mpihelp_add_n(mpi_ptr_t res_ptr, mpi_ptr_t s1_ptr,
175 mpi_limb_t mpihelp_add(mpi_ptr_t res_ptr, mpi_ptr_t s1_ptr, mpi_size_t s1_size,
179 mpi_limb_t mpihelp_sub_1(mpi_ptr_t res_ptr, mpi_ptr_t s1_ptr,
181 mpi_limb_t mpihelp_sub_n(mpi_ptr_t res_ptr, mpi_ptr_t s1_ptr,
183 mpi_limb_t mpihelp_sub(mpi_ptr_t res_ptr, mpi_ptr_t s1_ptr, mpi_size_t s1_size,
201 mpi_limb_t mpihelp_addmul_1(mpi_ptr_t res_ptr, mpi_ptr_t s1_ptr,
203 mpi_limb_t mpihelp_submul_1(mpi_ptr_t res_ptr, mpi_ptr_t s1_ptr,
218 mpi_limb_t mpihelp_mul_1(mpi_ptr_t res_ptr, mpi_ptr_t s1_ptr,
Dgeneric_mpih-mul1.c33 mpihelp_mul_1(mpi_ptr_t res_ptr, mpi_ptr_t s1_ptr, mpi_size_t s1_size, in mpihelp_mul_1() argument
46 res_ptr -= j; in mpihelp_mul_1()
53 res_ptr[j] = prod_low; in mpihelp_mul_1()
Dgeneric_mpih-sub1.c33 mpihelp_sub_n(mpi_ptr_t res_ptr, mpi_ptr_t s1_ptr, in mpihelp_sub_n() argument
46 res_ptr -= j; in mpihelp_sub_n()
56 res_ptr[j] = y; in mpihelp_sub_n()
Dgeneric_mpih-add1.c34 mpihelp_add_n(mpi_ptr_t res_ptr, mpi_ptr_t s1_ptr, in mpihelp_add_n() argument
47 res_ptr -= j; in mpihelp_add_n()
57 res_ptr[j] = y; in mpihelp_add_n()
/linux-4.4.14/arch/ia64/hp/common/
Dsba_iommu.c465 static unsigned long ptr_to_pide(struct ioc *ioc, unsigned long *res_ptr, in ptr_to_pide() argument
468 return (((unsigned long)res_ptr - (unsigned long)ioc->res_map) << 3) in ptr_to_pide()
486 unsigned long *res_ptr; in sba_search_bitmap() local
494 ASSERT(res_ptr < res_end); in sba_search_bitmap()
506 res_ptr = ioc->res_hint; in sba_search_bitmap()
508 res_ptr = (ulong *)ioc->res_map; in sba_search_bitmap()
522 for(; res_ptr < res_end ; res_ptr++) { in sba_search_bitmap()
523 if (likely(*res_ptr != ~0UL)) { in sba_search_bitmap()
524 bitshiftcnt = ffz(*res_ptr); in sba_search_bitmap()
525 *res_ptr |= (1UL << bitshiftcnt); in sba_search_bitmap()
[all …]
/linux-4.4.14/arch/parisc/kernel/
Dpci-dma.c64 u_long *res_ptr = (unsigned long *)pcxl_res_map; in dump_resmap() local
68 for(; i < (pcxl_res_size / sizeof(unsigned long)); ++i, ++res_ptr) in dump_resmap()
69 printk("%08lx ", *res_ptr); in dump_resmap()
231 for(; res_ptr < res_end; ++res_ptr) \
233 if(0 == ((*res_ptr) & mask)) { \
234 *res_ptr |= mask; \
235 idx = (int)((u_long)res_ptr - (u_long)pcxl_res_map); \
242 u##size *res_ptr = (u##size *)&(pcxl_res_map[pcxl_res_hint & ~((size >> 3) - 1)]); \
245 res_ptr = (u##size *)&pcxl_res_map[0]; \
298 …u##size *res_ptr = (u##size *)&(pcxl_res_map[(idx) + (((size >> 3) - 1) & (~((size >> 3) - 1)))]);…
[all …]
/linux-4.4.14/drivers/parisc/
Dsba_iommu.c319 static unsigned long ptr_to_pide(struct ioc *ioc, unsigned long *res_ptr, in ptr_to_pide() argument
322 return (((unsigned long)res_ptr - (unsigned long)ioc->res_map) << 3) in ptr_to_pide()
339 unsigned long *res_ptr = ioc->res_hint; in sba_search_bitmap() local
358 for(; res_ptr < res_end; ++res_ptr) { in sba_search_bitmap()
359 tpide = ptr_to_pide(ioc, res_ptr, 0); in sba_search_bitmap()
363 if ((*res_ptr == 0) && !ret) { in sba_search_bitmap()
364 *res_ptr = RESMAP_MASK(bits_wanted); in sba_search_bitmap()
370 res_ptr++; in sba_search_bitmap()
385 res_ptr++; in sba_search_bitmap()
389 DBG_RES("%s() o %ld %p", __func__, o, res_ptr); in sba_search_bitmap()
[all …]
Dccio-dma.c296 for(; res_ptr < res_end; ++res_ptr) { \
299 idx = (unsigned int)((unsigned long)res_ptr - (unsigned long)ioc->res_map); \
301 if ((0 == (*res_ptr & mask)) && !ret) { \
302 *res_ptr |= mask; \
310 u##size *res_ptr = (u##size *)&((ioc)->res_map[ioa->res_hint & ~((size >> 3) - 1)]); \
313 res_ptr = (u##size *)&(ioc)->res_map[0]; \
418 u##size *res_ptr = (u##size *)&((ioc)->res_map[res_idx]); \
419 BUG_ON((*res_ptr & mask) != mask); \
420 *res_ptr &= ~(mask);
1178 u8 *res_ptr; in ccio_cujo20_fixup() local
[all …]