Searched refs:vres (Results 1 - 18 of 18) sorted by relevance

/linux-master/drivers/gpu/drm/xe/
H A Dxe_ttm_vram_mgr.c53 struct xe_ttm_vram_mgr_resource *vres; local
66 vres = kzalloc(sizeof(*vres), GFP_KERNEL);
67 if (!vres)
70 ttm_resource_init(tbo, place, &vres->base);
78 INIT_LIST_HEAD(&vres->blocks);
81 vres->flags |= DRM_BUDDY_TOPDOWN_ALLOCATION;
84 vres->flags |= DRM_BUDDY_RANGE_ALLOCATION;
86 if (WARN_ON(!vres->base.size)) {
90 size = vres
211 struct xe_ttm_vram_mgr_resource *vres = local
251 struct xe_ttm_vram_mgr_resource *vres = local
281 struct xe_ttm_vram_mgr_resource *vres = local
379 struct xe_ttm_vram_mgr_resource *vres = to_xe_ttm_vram_mgr_resource(res); local
[all...]
H A Dxe_bo.c421 struct xe_ttm_vram_mgr_resource *vres = local
425 if (vres->used_visible_size < mem->size)
/linux-master/drivers/video/fbdev/via/
H A Dviamode.h44 const struct fb_videomode *viafb_get_best_mode(int hres, int vres,
46 const struct fb_videomode *viafb_get_best_rb_mode(int hres, int vres,
H A Dioctl.c67 int viafb_ioctl_hotplug(int hres, int vres, int bpp) argument
H A Dviamode.c341 int hres, int vres, int refresh)
347 if (modes[i].xres != hres || modes[i].yres != vres)
358 const struct fb_videomode *viafb_get_best_mode(int hres, int vres, int refresh) argument
361 hres, vres, refresh);
364 const struct fb_videomode *viafb_get_best_rb_mode(int hres, int vres, argument
368 hres, vres, refresh);
339 get_best_mode( const struct fb_videomode *modes, int n, int hres, int vres, int refresh) argument
H A Dioctl.h187 int viafb_ioctl_hotplug(int hres, int vres, int bpp);
H A Dhw.h654 int viafb_get_refresh(int hres, int vres, u32 float_refresh);
655 void viafb_update_device_setting(int hres, int vres, int bpp, int flag);
H A Dhw.c1513 void viafb_update_device_setting(int hres, int vres, int bpp, int flag) argument
1517 viaparinfo->tmds_setting_info->v_active = vres;
1522 viaparinfo->tmds_setting_info->v_active = vres;
1998 int viafb_get_refresh(int hres, int vres, u32 long_refresh) argument
2002 best = viafb_get_best_mode(hres, vres, long_refresh);
2007 if (hres == 1200 && vres == 900)
/linux-master/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_vram_mgr.c276 struct amdgpu_vram_mgr_resource *vres = to_amdgpu_vram_mgr_resource(res); local
286 list_for_each_entry(block, &vres->blocks, link)
454 struct amdgpu_vram_mgr_resource *vres; local
484 vres = kzalloc(sizeof(*vres), GFP_KERNEL);
485 if (!vres)
488 ttm_resource_init(tbo, place, &vres->base);
496 INIT_LIST_HEAD(&vres->blocks);
499 vres->flags |= DRM_BUDDY_TOPDOWN_ALLOCATION;
502 vres
594 struct amdgpu_vram_mgr_resource *vres = to_amdgpu_vram_mgr_resource(res); local
[all...]
/linux-master/drivers/video/fbdev/
H A Dvalkyriefb.h86 int vres; member in struct:valkyrie_regvals
H A Dplatinumfb.c228 return vmode_attrs[video_mode-1].vres * baseval + 0x1000;
473 pinfo->yres = vmode_attrs[vmode-1].vres;
H A Dplatinumfb.h341 int vres; member in struct:vmode_attr
H A Dvalkyriefb.c248 return init->vres * pitch;
/linux-master/drivers/net/ethernet/chelsio/cxgb4/
H A Dcxgb4_uld.h416 #define OCQ_WIN_OFFSET(pdev, vres) \
417 (pci_resource_len((pdev), 2) - roundup_pow_of_two((vres)->ocq.size))
H A Dcxgb4_main.c2273 offset = ((stag >> 8) * 32) + adap->vres.stag.start;
3959 if (adap->vres.ocq.size) {
3965 start += OCQ_WIN_OFFSET(adap->pdev, &adap->vres);
3966 sz_kb = roundup_pow_of_two(adap->vres.ocq.size) >> 10;
3972 adap->vres.ocq.start);
5207 adap->vres.ddp.start = val[3];
5208 adap->vres.ddp.size = val[4] - val[3] + 1;
5241 adap->vres.stag.start = val[0];
5242 adap->vres.stag.size = val[1] - val[0] + 1;
5243 adap->vres
[all...]
H A Dcxgb4_uld.c294 ciq_size = 64 + adap->vres.cq.size + adap->tids.nftids;
479 i = min_t(int, adap->vres.ncrypto_fc,
606 lld->vr = &adap->vres;
H A Dcudbg_lib.c716 md->base = padap->vres.ocq.start;
717 if (padap->vres.ocq.size)
718 md->limit = md->base + padap->vres.ocq.size - 1;
H A Dcxgb4.h1123 struct cxgb4_virt_res vres; member in struct:adapter

Completed in 219 milliseconds