Home
last modified time | relevance | path

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

/arch/parisc/kernel/
Dpci-dma.c63 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()
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 …]
/arch/ia64/hp/common/
Dsba_iommu.c464 static unsigned long ptr_to_pide(struct ioc *ioc, unsigned long *res_ptr, in ptr_to_pide() argument
467 return (((unsigned long)res_ptr - (unsigned long)ioc->res_map) << 3) in ptr_to_pide()
485 unsigned long *res_ptr; in sba_search_bitmap() local
493 ASSERT(res_ptr < res_end); in sba_search_bitmap()
505 res_ptr = ioc->res_hint; in sba_search_bitmap()
507 res_ptr = (ulong *)ioc->res_map; in sba_search_bitmap()
521 for(; res_ptr < res_end ; res_ptr++) { in sba_search_bitmap()
522 if (likely(*res_ptr != ~0UL)) { in sba_search_bitmap()
523 bitshiftcnt = ffz(*res_ptr); in sba_search_bitmap()
524 *res_ptr |= (1UL << bitshiftcnt); in sba_search_bitmap()
[all …]