Home
last modified time | relevance | path

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

/linux-6.3-rc2/lib/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 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 Dmpi-internal.h146 static inline mpi_limb_t mpihelp_add_1(mpi_ptr_t res_ptr, mpi_ptr_t s1_ptr,
148 mpi_limb_t mpihelp_add_n(mpi_ptr_t res_ptr, mpi_ptr_t s1_ptr,
150 static inline mpi_limb_t mpihelp_add(mpi_ptr_t res_ptr, mpi_ptr_t s1_ptr, mpi_size_t s1_size,
153 static inline mpi_limb_t mpihelp_sub_1(mpi_ptr_t res_ptr, mpi_ptr_t s1_ptr,
155 mpi_limb_t mpihelp_sub_n(mpi_ptr_t res_ptr, mpi_ptr_t s1_ptr,
157 static inline mpi_limb_t mpihelp_sub(mpi_ptr_t res_ptr, mpi_ptr_t s1_ptr, mpi_size_t s1_size,
175 mpi_limb_t mpihelp_addmul_1(mpi_ptr_t res_ptr, mpi_ptr_t s1_ptr,
177 mpi_limb_t mpihelp_submul_1(mpi_ptr_t res_ptr, mpi_ptr_t s1_ptr,
193 mpi_limb_t mpihelp_mul_1(mpi_ptr_t res_ptr, mpi_ptr_t s1_ptr,
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-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()
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-6.3-rc2/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-6.3-rc2/arch/ia64/hp/common/
A Dsba_iommu.c478 unsigned long *res_ptr; in sba_search_bitmap() local
513 for(; res_ptr < res_end ; res_ptr++) { in sba_search_bitmap()
541 for(; res_ptr < res_end ; res_ptr++) in sba_search_bitmap()
543 DBG_RES(" %p %lx %lx\n", res_ptr, mask, *res_ptr); in sba_search_bitmap()
572 for (; res_ptr < end; res_ptr++) { in sba_search_bitmap()
582 if (bits && res_ptr[i] && (__ffs(res_ptr[i]) < bits)) in sba_search_bitmap()
587 res_ptr[i] = ~0UL; in sba_search_bitmap()
591 res_ptr += qwords; in sba_search_bitmap()
736 *res_ptr = 0UL; in sba_free_range()
747 bits_not_wanted, m, pide, res_ptr, *res_ptr); in sba_free_range()
[all …]
/linux-6.3-rc2/drivers/nubus/
A Dproc.c89 unsigned char *res_ptr; member
102 pded->res_ptr = ptr; in nubus_proc_alloc_pde_data()
127 ent.base = pded->res_ptr; in nubus_proc_rsrc_show()
131 unsigned int data = (unsigned int)pded->res_ptr; in nubus_proc_rsrc_show()
/linux-6.3-rc2/drivers/parisc/
A Dsba_iommu.c363 for(; res_ptr < res_end; ++res_ptr) { in sba_search_bitmap()
368 if ((*res_ptr == 0) && !ret) { in sba_search_bitmap()
375 res_ptr++; in sba_search_bitmap()
390 res_ptr++; in sba_search_bitmap()
395 while(res_ptr < res_end) in sba_search_bitmap()
397 DBG_RES(" %p %lx %lx\n", res_ptr, mask, *res_ptr); in sba_search_bitmap()
413 res_ptr++; in sba_search_bitmap()
421 if (res_end <= res_ptr) { in sba_search_bitmap()
425 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.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; \
313 res_ptr = (u##size *)&(ioc)->res_map[0]; \
417 u##size *res_ptr = (u##size *)&((ioc)->res_map[res_idx]); \
418 BUG_ON((*res_ptr & mask) != mask); \
419 *res_ptr &= ~(mask);
1166 u8 *res_ptr; in ccio_cujo20_fixup() local
1169 res_ptr = ioc->res_map; in ccio_cujo20_fixup()
[all …]
/linux-6.3-rc2/drivers/gpu/drm/ttm/
A Dttm_resource.c225 struct ttm_resource **res_ptr) in ttm_resource_alloc() argument
231 ret = man->func->alloc(man, bo, place, res_ptr); in ttm_resource_alloc()
236 ttm_resource_add_bulk_move(*res_ptr, bo); in ttm_resource_alloc()

Completed in 42 milliseconds