Home
last modified time | relevance | path

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

/linux-4.19.296/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-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()
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.19.296/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-4.19.296/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);
1176 u8 *res_ptr; in ccio_cujo20_fixup() local
[all …]