Home
last modified time | relevance | path

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

/drivers/parisc/
Dsba_iommu.c319 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 …]
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; \
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);
1166 u8 *res_ptr; in ccio_cujo20_fixup() local
[all …]
/drivers/nubus/
Dproc.c89 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()
/drivers/gpu/drm/ttm/
Dttm_resource.c49 struct ttm_resource **res_ptr) in ttm_resource_alloc() argument
54 return man->func->alloc(man, bo, place, res_ptr); in ttm_resource_alloc()