Home
last modified time | relevance | path

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

/drivers/parisc/
Dsba_iommu.c202 unsigned long *rptr = (unsigned long *) &(ioc->res_map[(pide >>3) & ~(sizeof(unsigned long) - 1)]); in sba_dump_pdir_entry()
232 u32 *rptr_end = (u32 *) &(ioc->res_map[ioc->res_size]); in sba_check_pdir()
233 u32 *rptr = (u32 *) ioc->res_map; /* resource map ptr */ in sba_check_pdir()
322 return (((unsigned long)res_ptr - (unsigned long)ioc->res_map) << 3) in ptr_to_pide()
340 unsigned long *res_end = (unsigned long *) &(ioc->res_map[ioc->res_size]); in sba_search_bitmap()
416 ioc->res_hint = (unsigned long *) ioc->res_map; in sba_search_bitmap()
459 (uint) ((unsigned long) ioc->res_hint - (unsigned long) ioc->res_map), in sba_alloc_range()
493 unsigned long *res_ptr = (unsigned long *) &((ioc)->res_map[ridx & ~RESMAP_IDX_MASK]); in sba_free_range()
1709 sba_dev->ioc[i].res_map = (char *) __get_free_pages(GFP_KERNEL, get_order(res_size)); in sba_common_init()
1712 iterate_pages( sba_dev->ioc[i].res_map, res_size, in sba_common_init()
[all …]
Dccio-dma.c227 u8 *res_map; /* resource map, bit == pdir entry */ member
299 idx = (unsigned int)((unsigned long)res_ptr - (unsigned long)ioc->res_map); \
310 u##size *res_ptr = (u##size *)&((ioc)->res_map[ioa->res_hint & ~((size >> 3) - 1)]); \
311 u##size *res_end = (u##size *)&(ioc)->res_map[ioa->res_size]; \
313 res_ptr = (u##size *)&(ioc)->res_map[0]; \
417 u##size *res_ptr = (u##size *)&((ioc)->res_map[res_idx]); \
1105 seq_hex_dump(m, " ", DUMP_PREFIX_NONE, 32, 4, ioc->res_map, in ccio_proc_bitmap_info()
1169 res_ptr = ioc->res_map; in ccio_cujo20_fixup()
1304 ioc->res_map = (u8 *)__get_free_pages(GFP_KERNEL, in ccio_ioc_init()
1306 if(NULL == ioc->res_map) { in ccio_ioc_init()
[all …]
/drivers/gpu/drm/msm/disp/dpu1/
Ddpu_rm.c17 static inline bool reserved_by_other(uint32_t *res_map, int idx, in reserved_by_other() argument
20 return res_map[idx] && res_map[idx] != enc_id; in reserved_by_other()
/drivers/firmware/
Dti_sci.c3147 free_bit = find_first_zero_bit(res->desc[set].res_map, in ti_sci_get_free_resource()
3150 set_bit(free_bit, res->desc[set].res_map); in ti_sci_get_free_resource()
3176 res->desc[set].res_map); in ti_sci_release_resource()
3247 res->desc[i].res_map = in devm_ti_sci_get_resource_sets()
3249 sizeof(*res->desc[i].res_map), GFP_KERNEL); in devm_ti_sci_get_resource_sets()
3250 if (!res->desc[i].res_map) in devm_ti_sci_get_resource_sets()