Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/gpu/drm/amd/amdgpu/
Damdgpu_vram_mgr.c252 struct amdgpu_vram_mgr_resource *vres = to_amdgpu_vram_mgr_resource(res); in amdgpu_vram_mgr_bo_visible_size() local
262 list_for_each_entry(block, &vres->blocks, link) in amdgpu_vram_mgr_bo_visible_size()
391 struct amdgpu_vram_mgr_resource *vres; in amdgpu_vram_mgr_new() local
421 vres = kzalloc(sizeof(*vres), GFP_KERNEL); in amdgpu_vram_mgr_new()
422 if (!vres) in amdgpu_vram_mgr_new()
425 ttm_resource_init(tbo, place, &vres->base); in amdgpu_vram_mgr_new()
433 INIT_LIST_HEAD(&vres->blocks); in amdgpu_vram_mgr_new()
436 vres->flags |= DRM_BUDDY_TOPDOWN_ALLOCATION; in amdgpu_vram_mgr_new()
440 vres->flags |= DRM_BUDDY_RANGE_ALLOCATION; in amdgpu_vram_mgr_new()
442 remaining_size = (u64)vres->base.num_pages << PAGE_SHIFT; in amdgpu_vram_mgr_new()
[all …]
/linux-6.1.9/drivers/video/fbdev/via/
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,
Dviamode.c341 int hres, int vres, int refresh) in get_best_mode() argument
347 if (modes[i].xres != hres || modes[i].yres != vres) in get_best_mode()
358 const struct fb_videomode *viafb_get_best_mode(int hres, int vres, int refresh) in viafb_get_best_mode() argument
361 hres, vres, refresh); in viafb_get_best_mode()
364 const struct fb_videomode *viafb_get_best_rb_mode(int hres, int vres, in viafb_get_best_rb_mode() argument
368 hres, vres, refresh); in viafb_get_best_rb_mode()
Dioctl.c67 int viafb_ioctl_hotplug(int hres, int vres, int bpp) in viafb_ioctl_hotplug() argument
Dioctl.h187 int viafb_ioctl_hotplug(int hres, int vres, int bpp);
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);
Dhw.c1513 void viafb_update_device_setting(int hres, int vres, int bpp, int flag) in viafb_update_device_setting() argument
1517 viaparinfo->tmds_setting_info->v_active = vres; in viafb_update_device_setting()
1522 viaparinfo->tmds_setting_info->v_active = vres; in viafb_update_device_setting()
1998 int viafb_get_refresh(int hres, int vres, u32 long_refresh) in viafb_get_refresh() argument
2002 best = viafb_get_best_mode(hres, vres, long_refresh); in viafb_get_refresh()
2007 if (hres == 1200 && vres == 900) in viafb_get_refresh()
/linux-6.1.9/drivers/video/fbdev/
Dvalkyriefb.h86 int vres; member
Dplatinumfb.h341 int vres; member
Dplatinumfb.c230 return vmode_attrs[video_mode-1].vres * baseval + 0x1000; in platinum_vram_reqd()
476 pinfo->yres = vmode_attrs[vmode-1].vres; in platinum_var_to_par()
Dvalkyriefb.c250 return init->vres * pitch; in valkyrie_vram_reqd()
/linux-6.1.9/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_main.c2274 offset = ((stag >> 8) * 32) + adap->vres.stag.start; in cxgb4_read_tpte()
3960 if (adap->vres.ocq.size) { in setup_memwin_rdma()
3966 start += OCQ_WIN_OFFSET(adap->pdev, &adap->vres); in setup_memwin_rdma()
3967 sz_kb = roundup_pow_of_two(adap->vres.ocq.size) >> 10; in setup_memwin_rdma()
3973 adap->vres.ocq.start); in setup_memwin_rdma()
5208 adap->vres.ddp.start = val[3]; in adap_init0()
5209 adap->vres.ddp.size = val[4] - val[3] + 1; in adap_init0()
5242 adap->vres.stag.start = val[0]; in adap_init0()
5243 adap->vres.stag.size = val[1] - val[0] + 1; in adap_init0()
5244 adap->vres.rq.start = val[2]; in adap_init0()
[all …]
Dcxgb4_uld.h416 #define OCQ_WIN_OFFSET(pdev, vres) \ argument
417 (pci_resource_len((pdev), 2) - roundup_pow_of_two((vres)->ocq.size))
Dcxgb4_uld.c294 ciq_size = 64 + adap->vres.cq.size + adap->tids.nftids; in cfg_queues_uld()
479 i = min_t(int, adap->vres.ncrypto_fc, in setup_sge_txq_uld()
606 lld->vr = &adap->vres; in uld_init()
Dcudbg_lib.c716 md->base = padap->vres.ocq.start; in cudbg_fill_meminfo()
717 if (padap->vres.ocq.size) in cudbg_fill_meminfo()
718 md->limit = md->base + padap->vres.ocq.size - 1; in cudbg_fill_meminfo()
Dcxgb4.h1125 struct cxgb4_virt_res vres; member