Home
last modified time | relevance | path

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

/Linux-v4.19/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 …]
Dmpi-internal.h113 static inline mpi_limb_t mpihelp_add_1(mpi_ptr_t res_ptr, mpi_ptr_t s1_ptr,
115 mpi_limb_t mpihelp_add_n(mpi_ptr_t res_ptr, mpi_ptr_t s1_ptr,
117 static inline mpi_limb_t mpihelp_add(mpi_ptr_t res_ptr, mpi_ptr_t s1_ptr, mpi_size_t s1_size,
120 static inline mpi_limb_t mpihelp_sub_1(mpi_ptr_t res_ptr, mpi_ptr_t s1_ptr,
122 mpi_limb_t mpihelp_sub_n(mpi_ptr_t res_ptr, mpi_ptr_t s1_ptr,
124 static inline mpi_limb_t mpihelp_sub(mpi_ptr_t res_ptr, mpi_ptr_t s1_ptr, mpi_size_t s1_size,
142 mpi_limb_t mpihelp_addmul_1(mpi_ptr_t res_ptr, mpi_ptr_t s1_ptr,
144 mpi_limb_t mpihelp_submul_1(mpi_ptr_t res_ptr, mpi_ptr_t s1_ptr,
158 mpi_limb_t mpihelp_mul_1(mpi_ptr_t res_ptr, mpi_ptr_t s1_ptr,
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()
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-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-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()
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()
/Linux-v4.19/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()
226 for(; res_ptr < res_end; ++res_ptr) \
228 if(0 == ((*res_ptr) & mask)) { \
229 *res_ptr |= mask; \
230 idx = (int)((u_long)res_ptr - (u_long)pcxl_res_map); \
237 u##size *res_ptr = (u##size *)&(pcxl_res_map[pcxl_res_hint & ~((size >> 3) - 1)]); \
240 res_ptr = (u##size *)&pcxl_res_map[0]; \
293 …u##size *res_ptr = (u##size *)&(pcxl_res_map[(idx) + (((size >> 3) - 1) & (~((size >> 3) - 1)))]);…
[all …]
/Linux-v4.19/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-v4.19/drivers/nubus/
Dproc.c89 unsigned char *res_ptr; member
102 pde_data->res_ptr = ptr; in nubus_proc_alloc_pde_data()
127 ent.base = pde_data->res_ptr; in nubus_proc_rsrc_show()
131 unsigned int data = (unsigned int)pde_data->res_ptr; in nubus_proc_rsrc_show()
/Linux-v4.19/drivers/parisc/
Dsba_iommu.c321 static unsigned long ptr_to_pide(struct ioc *ioc, unsigned long *res_ptr, in ptr_to_pide() argument
324 return (((unsigned long)res_ptr - (unsigned long)ioc->res_map) << 3) in ptr_to_pide()
341 unsigned long *res_ptr = ioc->res_hint; in sba_search_bitmap() local
360 for(; res_ptr < res_end; ++res_ptr) { in sba_search_bitmap()
361 tpide = ptr_to_pide(ioc, res_ptr, 0); in sba_search_bitmap()
365 if ((*res_ptr == 0) && !ret) { in sba_search_bitmap()
366 *res_ptr = RESMAP_MASK(bits_wanted); in sba_search_bitmap()
372 res_ptr++; in sba_search_bitmap()
387 res_ptr++; in sba_search_bitmap()
391 DBG_RES("%s() o %ld %p", __func__, o, res_ptr); in sba_search_bitmap()
[all …]
Dccio-dma.c298 for(; res_ptr < res_end; ++res_ptr) { \
301 idx = (unsigned int)((unsigned long)res_ptr - (unsigned long)ioc->res_map); \
303 if ((0 == (*res_ptr & mask)) && !ret) { \
304 *res_ptr |= mask; \
312 u##size *res_ptr = (u##size *)&((ioc)->res_map[ioa->res_hint & ~((size >> 3) - 1)]); \
315 res_ptr = (u##size *)&(ioc)->res_map[0]; \
420 u##size *res_ptr = (u##size *)&((ioc)->res_map[res_idx]); \
421 BUG_ON((*res_ptr & mask) != mask); \
422 *res_ptr &= ~(mask);
1177 u8 *res_ptr; in ccio_cujo20_fixup() local
[all …]