Home
last modified time | relevance | path

Searched refs:soffset (Results 1 – 16 of 16) sorted by relevance

/drivers/gpu/drm/radeon/
Dradeon_sa.c185 return list_entry(hole->next, struct radeon_sa_bo, olist)->soffset; in radeon_sa_bo_hole_eoffset()
194 unsigned soffset, eoffset, wasted; in radeon_sa_bo_try_alloc() local
196 soffset = radeon_sa_bo_hole_soffset(sa_manager); in radeon_sa_bo_try_alloc()
198 wasted = (align - (soffset % align)) % align; in radeon_sa_bo_try_alloc()
200 if ((eoffset - soffset) >= (size + wasted)) { in radeon_sa_bo_try_alloc()
201 soffset += wasted; in radeon_sa_bo_try_alloc()
204 sa_bo->soffset = soffset; in radeon_sa_bo_try_alloc()
205 sa_bo->eoffset = soffset + size; in radeon_sa_bo_try_alloc()
227 unsigned soffset, eoffset, wasted; in radeon_sa_event() local
236 soffset = radeon_sa_bo_hole_soffset(sa_manager); in radeon_sa_event()
[all …]
Dradeon_vm.c447 uint64_t soffset, in radeon_vm_bo_set_addr() argument
456 if (soffset) { in radeon_vm_bo_set_addr()
458 eoffset = soffset + size - 1; in radeon_vm_bo_set_addr()
459 if (soffset >= eoffset) { in radeon_vm_bo_set_addr()
477 soffset /= RADEON_GPU_PAGE_SIZE; in radeon_vm_bo_set_addr()
479 if (soffset || eoffset) { in radeon_vm_bo_set_addr()
481 it = interval_tree_iter_first(&vm->va, soffset, eoffset); in radeon_vm_bo_set_addr()
488 soffset, tmp->bo, tmp->it.start, tmp->it.last); in radeon_vm_bo_set_addr()
518 if (soffset || eoffset) { in radeon_vm_bo_set_addr()
520 bo_va->it.start = soffset; in radeon_vm_bo_set_addr()
[all …]
Dradeon_trace.h69 __field(u64, soffset)
75 __entry->soffset = bo_va->it.start;
80 __entry->soffset, __entry->eoffset, __entry->flags)
Dradeon_object.h166 return sa_bo->manager->gpu_addr + sa_bo->soffset; in radeon_sa_bo_gpu_addr()
171 return sa_bo->manager->cpu_ptr + sa_bo->soffset; in radeon_sa_bo_cpu_addr()
Dradeon_ib.c77 ib->gpu_addr = ib->sa_bo->soffset + RADEON_VA_IB_OFFSET; in radeon_ib_get()
Dradeon.h566 unsigned soffset; member
/drivers/gpu/drm/amd/amdgpu/
Damdgpu_sa.c186 return list_entry(hole->next, struct amdgpu_sa_bo, olist)->soffset; in amdgpu_sa_bo_hole_eoffset()
195 unsigned soffset, eoffset, wasted; in amdgpu_sa_bo_try_alloc() local
197 soffset = amdgpu_sa_bo_hole_soffset(sa_manager); in amdgpu_sa_bo_try_alloc()
199 wasted = (align - (soffset % align)) % align; in amdgpu_sa_bo_try_alloc()
201 if ((eoffset - soffset) >= (size + wasted)) { in amdgpu_sa_bo_try_alloc()
202 soffset += wasted; in amdgpu_sa_bo_try_alloc()
205 sa_bo->soffset = soffset; in amdgpu_sa_bo_try_alloc()
206 sa_bo->eoffset = soffset + size; in amdgpu_sa_bo_try_alloc()
228 unsigned soffset, eoffset, wasted; in amdgpu_sa_event() local
235 soffset = amdgpu_sa_bo_hole_soffset(sa_manager); in amdgpu_sa_event()
[all …]
Damdgpu_object.h259 return sa_bo->manager->gpu_addr + sa_bo->soffset; in amdgpu_sa_bo_gpu_addr()
264 return sa_bo->manager->cpu_ptr + sa_bo->soffset; in amdgpu_sa_bo_cpu_addr()
Damdgpu_trace.h327 __field(u64, soffset)
333 __entry->soffset = mapping->start;
338 __entry->soffset, __entry->eoffset, __entry->flags)
Damdgpu.h448 unsigned soffset; member
/drivers/video/fbdev/
Dcarminefb.c225 u32 soffset = par->smem_offset; in carmine_init_display_param() local
294 c_set_disp_reg(par, CARMINE_DISP_REG_L0_ORG_ADR, soffset); in carmine_init_display_param()
295 c_set_disp_reg(par, CARMINE_DISP_REG_L1_ORG_ADR, soffset); in carmine_init_display_param()
296 c_set_disp_reg(par, CARMINE_DISP_REG_L2_ORG_ADR1, soffset); in carmine_init_display_param()
297 c_set_disp_reg(par, CARMINE_DISP_REG_L3_ORG_ADR1, soffset); in carmine_init_display_param()
298 c_set_disp_reg(par, CARMINE_DISP_REG_L4_ORG_ADR1, soffset); in carmine_init_display_param()
299 c_set_disp_reg(par, CARMINE_DISP_REG_L5_ORG_ADR1, soffset); in carmine_init_display_param()
300 c_set_disp_reg(par, CARMINE_DISP_REG_L6_ORG_ADR1, soffset); in carmine_init_display_param()
301 c_set_disp_reg(par, CARMINE_DISP_REG_L7_ORG_ADR1, soffset); in carmine_init_display_param()
304 c_set_disp_reg(par, CARMINE_DISP_REG_L0_DISP_ADR, soffset); in carmine_init_display_param()
[all …]
/drivers/staging/lustre/lnet/lnet/
Dlib-move.c173 unsigned int soffset, unsigned int nob) in lnet_copy_iov2iter() argument
184 while (soffset >= siov->iov_len) { in lnet_copy_iov2iter()
185 soffset -= siov->iov_len; in lnet_copy_iov2iter()
191 s = (char *)siov->iov_base + soffset; in lnet_copy_iov2iter()
192 left = siov->iov_len - soffset; in lnet_copy_iov2iter()
216 unsigned int soffset, unsigned int nob) in lnet_copy_kiov2iter() argument
224 while (soffset >= siov->bv_len) { in lnet_copy_kiov2iter()
225 soffset -= siov->bv_len; in lnet_copy_kiov2iter()
232 size_t copy = siov->bv_len - soffset, n; in lnet_copy_kiov2iter()
239 siov->bv_offset + soffset, in lnet_copy_kiov2iter()
[all …]
/drivers/lightnvm/
Drrpc.c1161 ret = nvm_get_l2p_tbl(dev, rrpc->soffset, rrpc->nr_sects, in rrpc_map_init()
1382 sector_t begin = rrpc->soffset << (ilog2(dev->geo.sec_size) - 9); in rrpc_area_free()
1516 sector_t soffset; in rrpc_init() local
1542 ret = rrpc_area_init(rrpc, &soffset); in rrpc_init()
1547 rrpc->soffset = soffset; in rrpc_init()
Drrpc.h108 sector_t soffset; /* logical sector offset */ member
/drivers/staging/lustre/include/linux/lnet/
Dlib-lnet.h625 unsigned int soffset, unsigned int nob);
/drivers/scsi/pm8001/
Dpm80xx_hwi.c69 void pm80xx_pci_mem_copy(struct pm8001_hba_info *pm8001_ha, u32 soffset, in pm80xx_pci_mem_copy() argument
78 offset = (soffset + index / 4); in pm80xx_pci_mem_copy()