/drivers/gpu/drm/radeon/ |
D | radeon_sa.c | 185 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 …]
|
D | radeon_vm.c | 447 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 …]
|
D | radeon_trace.h | 68 __field(u64, soffset) 74 __entry->soffset = bo_va->it.start; 79 __entry->soffset, __entry->eoffset, __entry->flags)
|
D | radeon_object.h | 165 return sa_bo->manager->gpu_addr + sa_bo->soffset; in radeon_sa_bo_gpu_addr() 170 return sa_bo->manager->cpu_ptr + sa_bo->soffset; in radeon_sa_bo_cpu_addr()
|
D | radeon_ib.c | 77 ib->gpu_addr = ib->sa_bo->soffset + RADEON_VA_IB_OFFSET; in radeon_ib_get()
|
D | radeon.h | 559 unsigned soffset; member
|
/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_sa.c | 186 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 237 soffset = amdgpu_sa_bo_hole_soffset(sa_manager); in amdgpu_sa_event() [all …]
|
D | amdgpu_object.h | 175 return sa_bo->manager->gpu_addr + sa_bo->soffset; in amdgpu_sa_bo_gpu_addr() 180 return sa_bo->manager->cpu_ptr + sa_bo->soffset; in amdgpu_sa_bo_cpu_addr()
|
D | amdgpu_trace.h | 169 __field(u64, soffset) 175 __entry->soffset = mapping->it.start; 180 __entry->soffset, __entry->eoffset, __entry->flags)
|
D | amdgpu.h | 613 unsigned soffset; member
|
/drivers/video/fbdev/ |
D | carminefb.c | 225 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/include/linux/lnet/ |
D | lib-lnet.h | 560 unsigned int soffset, unsigned int nob); 572 unsigned int soffset, unsigned int nob); 576 unsigned int nsiov, struct kvec *siov, unsigned int soffset, in lnet_copy_iov2flat() argument 582 nsiov, siov, soffset, nob); in lnet_copy_iov2flat() 588 unsigned int soffset, unsigned int nob) in lnet_copy_kiov2flat() argument 593 nsiov, skiov, soffset, nob); in lnet_copy_kiov2flat() 598 int slen, void *src, unsigned int soffset, unsigned int nob) in lnet_copy_flat2iov() argument 603 1, &siov, soffset, nob); in lnet_copy_flat2iov() 609 unsigned int soffset, unsigned int nob) in lnet_copy_flat2kiov() argument 614 1, &siov, soffset, nob); in lnet_copy_flat2kiov()
|
/drivers/staging/lustre/lnet/lnet/ |
D | lib-move.c | 174 unsigned int nsiov, struct kvec *siov, unsigned int soffset, in lnet_copy_iov2iov() argument 194 while (soffset >= siov->iov_len) { in lnet_copy_iov2iov() 195 soffset -= siov->iov_len; in lnet_copy_iov2iov() 205 siov->iov_len - soffset); in lnet_copy_iov2iov() 209 (char *)siov->iov_base + soffset, this_nob); in lnet_copy_iov2iov() 220 if (siov->iov_len > soffset + this_nob) { in lnet_copy_iov2iov() 221 soffset += this_nob; in lnet_copy_iov2iov() 225 soffset = 0; in lnet_copy_iov2iov() 292 unsigned int nsiov, lnet_kiov_t *siov, unsigned int soffset, in lnet_copy_kiov2kiov() argument 314 while (soffset >= siov->kiov_len) { in lnet_copy_kiov2kiov() [all …]
|
/drivers/scsi/pm8001/ |
D | pm80xx_hwi.c | 69 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()
|