Searched refs:soffset (Results 1 – 9 of 9) sorted by relevance
/drivers/gpu/drm/radeon/ |
D | radeon_sa.c | 184 return list_entry(hole->next, struct radeon_sa_bo, olist)->soffset; in radeon_sa_bo_hole_eoffset() 193 unsigned soffset, eoffset, wasted; in radeon_sa_bo_try_alloc() local 195 soffset = radeon_sa_bo_hole_soffset(sa_manager); in radeon_sa_bo_try_alloc() 197 wasted = (align - (soffset % align)) % align; in radeon_sa_bo_try_alloc() 199 if ((eoffset - soffset) >= (size + wasted)) { in radeon_sa_bo_try_alloc() 200 soffset += wasted; in radeon_sa_bo_try_alloc() 203 sa_bo->soffset = soffset; in radeon_sa_bo_try_alloc() 204 sa_bo->eoffset = soffset + size; in radeon_sa_bo_try_alloc() 226 unsigned soffset, eoffset, wasted; in radeon_sa_event() local 235 soffset = radeon_sa_bo_hole_soffset(sa_manager); in radeon_sa_event() [all …]
|
D | radeon_gart.c | 798 bo_va->soffset = 0; in radeon_vm_bo_add() 830 uint64_t soffset, in radeon_vm_bo_set_addr() argument 840 if (soffset) { in radeon_vm_bo_set_addr() 842 eoffset = soffset + size; in radeon_vm_bo_set_addr() 843 if (soffset >= eoffset) { in radeon_vm_bo_set_addr() 867 if (soffset >= last_offset && eoffset <= tmp->soffset) { in radeon_vm_bo_set_addr() 871 if (eoffset > tmp->soffset && soffset < tmp->eoffset) { in radeon_vm_bo_set_addr() 874 bo_va->bo, (unsigned)bo_va->soffset, tmp->bo, in radeon_vm_bo_set_addr() 875 (unsigned)tmp->soffset, (unsigned)tmp->eoffset); in radeon_vm_bo_set_addr() 883 bo_va->soffset = soffset; in radeon_vm_bo_set_addr() [all …]
|
D | radeon_object.h | 151 return sa_bo->manager->gpu_addr + sa_bo->soffset; in radeon_sa_bo_gpu_addr() 156 return sa_bo->manager->cpu_ptr + sa_bo->soffset; in radeon_sa_bo_cpu_addr()
|
D | radeon_gem.c | 520 if (bo_va->soffset) { in radeon_gem_va_ioctl() 522 args->offset = bo_va->soffset; in radeon_gem_va_ioctl()
|
D | radeon_ring.c | 85 ib->gpu_addr = ib->sa_bo->soffset + RADEON_VA_IB_OFFSET; in radeon_ib_get()
|
D | radeon.h | 326 uint64_t soffset; member 420 unsigned soffset; member
|
/drivers/video/ |
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/tidspbridge/dynload/ |
D | getsection.c | 56 static char *unpack_sec_name(struct dload_state *dlthis, u32 soffset, char *dst) in unpack_sec_name() argument 60 if (soffset >= dlthis->dfile_hdr.df_scn_name_size) { in unpack_sec_name() 61 dload_error(dlthis, stbl, soffset); in unpack_sec_name() 65 (soffset >> (LOG_BITS_PER_AU - LOG_BITS_PER_BYTE)); in unpack_sec_name() 66 if (soffset & 1) in unpack_sec_name()
|
D | cload.c | 35 static char *unpack_name(struct dload_state *dlthis, u32 soffset); 513 u32 soffset = shp->ds_offset; in allocate_sections() local 516 if (soffset < dlthis->dfile_hdr.df_strtab_size) in allocate_sections() 518 dlthis->str_head + soffset; in allocate_sections() 530 asecs->name = unpack_name(dlthis, soffset); in allocate_sections() 531 dlthis->debug_string_size = soffset + dlthis->temp_len; in allocate_sections() 533 dlthis->debug_string_size = soffset; in allocate_sections() 1927 static char *unpack_name(struct dload_state *dlthis, u32 soffset) in unpack_name() argument 1932 if (soffset >= dlthis->dfile_hdr.df_strtab_size) { in unpack_name() 1934 soffset); in unpack_name() [all …]
|