/Linux-v5.10/lib/mpi/ |
D | mpi-inline.h | 24 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() 52 mpihelp_add(mpi_ptr_t res_ptr, mpi_ptr_t s1_ptr, mpi_size_t s1_size, in mpihelp_add() argument 58 cy = mpihelp_add_n(res_ptr, s1_ptr, s2_ptr, s2_size); in mpihelp_add() 61 cy = mpihelp_add_1(res_ptr + s2_size, s1_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() [all …]
|
D | generic_mpih-mul3.c | 20 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()
|
D | generic_mpih-mul2.c | 20 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()
|
D | mpi-internal.h | 146 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,
|
D | generic_mpih-mul1.c | 20 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()
|
D | generic_mpih-add1.c | 21 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()
|
D | generic_mpih-sub1.c | 20 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-v5.10/arch/parisc/kernel/ |
D | pci-dma.c | 63 u_long *res_ptr = (unsigned long *)pcxl_res_map; in dump_resmap() local 67 for(; i < (pcxl_res_size / sizeof(unsigned long)); ++i, ++res_ptr) in dump_resmap() 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); \ 241 u##size *res_ptr = (u##size *)&(pcxl_res_map[pcxl_res_hint & ~((size >> 3) - 1)]); \ 244 res_ptr = (u##size *)&pcxl_res_map[0]; \ 297 …u##size *res_ptr = (u##size *)&(pcxl_res_map[(idx) + (((size >> 3) - 1) & (~((size >> 3) - 1)))]);… [all …]
|
/Linux-v5.10/arch/ia64/hp/common/ |
D | sba_iommu.c | 457 static unsigned long ptr_to_pide(struct ioc *ioc, unsigned long *res_ptr, in ptr_to_pide() argument 460 return (((unsigned long)res_ptr - (unsigned long)ioc->res_map) << 3) in ptr_to_pide() 478 unsigned long *res_ptr; in sba_search_bitmap() local 486 ASSERT(res_ptr < res_end); in sba_search_bitmap() 497 res_ptr = ioc->res_hint; in sba_search_bitmap() 499 res_ptr = (ulong *)ioc->res_map; in sba_search_bitmap() 513 for(; res_ptr < res_end ; res_ptr++) { in sba_search_bitmap() 514 if (likely(*res_ptr != ~0UL)) { in sba_search_bitmap() 515 bitshiftcnt = ffz(*res_ptr); in sba_search_bitmap() 516 *res_ptr |= (1UL << bitshiftcnt); in sba_search_bitmap() [all …]
|
/Linux-v5.10/drivers/nubus/ |
D | proc.c | 89 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-v5.10/drivers/parisc/ |
D | sba_iommu.c | 319 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 357 for(; res_ptr < res_end; ++res_ptr) { in sba_search_bitmap() 358 tpide = ptr_to_pide(ioc, res_ptr, 0); in sba_search_bitmap() 362 if ((*res_ptr == 0) && !ret) { in sba_search_bitmap() 363 *res_ptr = RESMAP_MASK(bits_wanted); in sba_search_bitmap() 369 res_ptr++; in sba_search_bitmap() 384 res_ptr++; in sba_search_bitmap() 388 DBG_RES("%s() o %ld %p", __func__, o, res_ptr); in sba_search_bitmap() [all …]
|
D | ccio-dma.c | 296 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]; \ 417 u##size *res_ptr = (u##size *)&((ioc)->res_map[res_idx]); \ 418 BUG_ON((*res_ptr & mask) != mask); \ 419 *res_ptr &= ~(mask); 1165 u8 *res_ptr; in ccio_cujo20_fixup() local [all …]
|