Home
last modified time | relevance | path

Searched refs:res_map (Results 1 – 4 of 4) sorted by relevance

/Linux-v4.19/drivers/parisc/
Dsba_iommu.c204 unsigned long *rptr = (unsigned long *) &(ioc->res_map[(pide >>3) & ~(sizeof(unsigned long) - 1)]); in sba_dump_pdir_entry()
234 u32 *rptr_end = (u32 *) &(ioc->res_map[ioc->res_size]); in sba_check_pdir()
235 u32 *rptr = (u32 *) ioc->res_map; /* resource map ptr */ in sba_check_pdir()
324 return (((unsigned long)res_ptr - (unsigned long)ioc->res_map) << 3) in ptr_to_pide()
342 unsigned long *res_end = (unsigned long *) &(ioc->res_map[ioc->res_size]); in sba_search_bitmap()
419 ioc->res_hint = (unsigned long *) ioc->res_map; in sba_search_bitmap()
462 (uint) ((unsigned long) ioc->res_hint - (unsigned long) ioc->res_map), in sba_alloc_range()
496 unsigned long *res_ptr = (unsigned long *) &((ioc)->res_map[ridx & ~RESMAP_IDX_MASK]); in sba_free_range()
1728 sba_dev->ioc[i].res_map = (char *) __get_free_pages(GFP_KERNEL, get_order(res_size)); in sba_common_init()
1731 iterate_pages( sba_dev->ioc[i].res_map, res_size, in sba_common_init()
[all …]
Dccio-dma.c229 u8 *res_map; /* resource map, bit == pdir entry */ member
301 idx = (unsigned int)((unsigned long)res_ptr - (unsigned long)ioc->res_map); \
312 u##size *res_ptr = (u##size *)&((ioc)->res_map[ioa->res_hint & ~((size >> 3) - 1)]); \
313 u##size *res_end = (u##size *)&(ioc)->res_map[ioa->res_size]; \
315 res_ptr = (u##size *)&(ioc)->res_map[0]; \
420 u##size *res_ptr = (u##size *)&((ioc)->res_map[res_idx]); \
1116 seq_hex_dump(m, " ", DUMP_PREFIX_NONE, 32, 4, ioc->res_map, in ccio_proc_bitmap_info()
1180 res_ptr = ioc->res_map; in ccio_cujo20_fixup()
1315 ioc->res_map = (u8 *)__get_free_pages(GFP_KERNEL, in ccio_ioc_init()
1317 if(NULL == ioc->res_map) { in ccio_ioc_init()
[all …]
/Linux-v4.19/arch/ia64/hp/common/
Dsba_iommu.c204 char *res_map; /* resource map, bit == pdir entry */ member
321 unsigned long *rptr = (unsigned long *) &ioc->res_map[(pide >>3) & -sizeof(unsigned long)]; in sba_dump_pdir_entry()
350 u64 *rptr_end = (u64 *) &(ioc->res_map[ioc->res_size]); in sba_check_pdir()
351 u64 *rptr = (u64 *) ioc->res_map; /* resource map ptr */ in sba_check_pdir()
468 return (((unsigned long)res_ptr - (unsigned long)ioc->res_map) << 3) in ptr_to_pide()
487 unsigned long *res_end = (unsigned long *) &(ioc->res_map[ioc->res_size]); in sba_search_bitmap()
508 res_ptr = (ulong *)ioc->res_map; in sba_search_bitmap()
609 prefetch(ioc->res_map); in sba_search_bitmap()
610 ioc->res_hint = (unsigned long *) ioc->res_map; in sba_search_bitmap()
713 (uint) ((unsigned long) ioc->res_hint - (unsigned long) ioc->res_map), in sba_alloc_range()
[all …]
/Linux-v4.19/arch/parisc/include/asm/
Dropes.h31 char *res_map; /* resource map, bit == pdir entry */ member