/linux-6.1.9/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_vram_mgr.c | 252 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/ |
D | viamode.h | 44 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,
|
D | viamode.c | 341 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()
|
D | ioctl.c | 67 int viafb_ioctl_hotplug(int hres, int vres, int bpp) in viafb_ioctl_hotplug() argument
|
D | ioctl.h | 187 int viafb_ioctl_hotplug(int hres, int vres, int bpp);
|
D | hw.h | 654 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);
|
D | hw.c | 1513 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/ |
D | valkyriefb.h | 86 int vres; member
|
D | platinumfb.h | 341 int vres; member
|
D | platinumfb.c | 230 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()
|
D | valkyriefb.c | 250 return init->vres * pitch; in valkyrie_vram_reqd()
|
/linux-6.1.9/drivers/net/ethernet/chelsio/cxgb4/ |
D | cxgb4_main.c | 2274 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 …]
|
D | cxgb4_uld.h | 416 #define OCQ_WIN_OFFSET(pdev, vres) \ argument 417 (pci_resource_len((pdev), 2) - roundup_pow_of_two((vres)->ocq.size))
|
D | cxgb4_uld.c | 294 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()
|
D | cudbg_lib.c | 716 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()
|
D | cxgb4.h | 1125 struct cxgb4_virt_res vres; member
|