bin/ksh/c_ulimit.c
160
getrlimit(l->resource, &limit);
bin/ksh/c_ulimit.c
165
if (setrlimit(l->resource, &limit) == -1) {
bin/ksh/c_ulimit.c
182
getrlimit(l->resource, &limit);
bin/ksh/c_ulimit.c
35
int resource; /* resource to get/set */
games/trek/events.c
109
Now.resource -= Now.klings * rtime;
games/trek/events.c
111
Now.time = Now.resource / Now.klings;
games/trek/events.c
381
Now.time = Now.resource / Now.klings;
games/trek/events.c
68
Now.time = Now.resource / Now.klings;
games/trek/kill.c
84
Now.time = Now.resource / Now.klings;
games/trek/setup.c
115
Param.resource = Now.resource = Param.klings * Param.time;
games/trek/trek.h
265
double resource; /* Federation resources */
games/trek/trek.h
301
double resource; /* Federation resources */
sys/arch/loongson/include/pmon.h
186
struct pmon_env_resource resource[PMON_RESOURCE_MAX];
sys/arch/loongson/include/pmon.h
192
struct pmon_env_resource resource[PMON_RESOURCE_MAX];
sys/dev/pci/drm/amd/amdgpu/amdgpu_acp.c
270
adev->acp.acp_res = kcalloc(3, sizeof(struct resource), GFP_KERNEL);
sys/dev/pci/drm/amd/amdgpu/amdgpu_acp.c
333
adev->acp.acp_res = kcalloc(5, sizeof(struct resource), GFP_KERNEL);
sys/dev/pci/drm/amd/amdgpu/amdgpu_acp.h
36
struct resource *acp_res;
sys/dev/pci/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c
1504
if (!(bo->tbo.resource->placement & TTM_PL_FLAG_CONTIGUOUS)) {
sys/dev/pci/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c
2062
bo->tbo.resource->mem_type == TTM_PL_SYSTEM)
sys/dev/pci/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c
2567
if (bo->tbo.resource->mem_type != TTM_PL_SYSTEM) {
sys/dev/pci/drm/amd/amdgpu/amdgpu_bios.c
584
struct resource *res = &adev->pdev->resource[PCI_ROM_RESOURCE];
sys/dev/pci/drm/amd/amdgpu/amdgpu_cs.c
1805
if ((*bo)->tbo.resource->mem_type == TTM_PL_VRAM &&
sys/dev/pci/drm/amd/amdgpu/amdgpu_cs.c
1806
!((*bo)->tbo.resource->placement & TTM_PL_FLAG_CONTIGUOUS)) {
sys/dev/pci/drm/amd/amdgpu/amdgpu_cs.c
844
amdgpu_res_cpu_visible(adev, bo->tbo.resource))
sys/dev/pci/drm/amd/amdgpu/amdgpu_device.c
1688
struct resource *res;
sys/dev/pci/drm/amd/amdgpu/amdgpu_display.c
1814
amdgpu_res_first(abo->tbo.resource, offset, 4, &cursor);
sys/dev/pci/drm/amd/amdgpu/amdgpu_display.c
1853
if (abo->tbo.resource->mem_type != TTM_PL_VRAM) {
sys/dev/pci/drm/amd/amdgpu/amdgpu_dma_buf.c
207
switch (bo->tbo.resource->mem_type) {
sys/dev/pci/drm/amd/amdgpu/amdgpu_dma_buf.c
226
r = amdgpu_vram_mgr_alloc_sgt(adev, bo->tbo.resource, 0,
sys/dev/pci/drm/amd/amdgpu/amdgpu_dma_buf.c
470
if (!bo->tbo.resource || bo->tbo.resource->mem_type == TTM_PL_SYSTEM)
sys/dev/pci/drm/amd/amdgpu/amdgpu_gmc.c
116
switch (bo->tbo.resource->mem_type) {
sys/dev/pci/drm/amd/amdgpu/amdgpu_gmc.c
127
*flags = amdgpu_ttm_tt_pde_flags(bo->tbo.ttm, bo->tbo.resource);
sys/dev/pci/drm/amd/amdgpu/amdgpu_isp.h
48
struct resource *isp_res;
sys/dev/pci/drm/amd/amdgpu/amdgpu_isp.h
49
struct resource *isp_i2c_res;
sys/dev/pci/drm/amd/amdgpu/amdgpu_isp.h
50
struct resource *isp_gpio_res;
sys/dev/pci/drm/amd/amdgpu/amdgpu_object.c
1002
} else if (bo->tbo.resource->mem_type == TTM_PL_TT) {
sys/dev/pci/drm/amd/amdgpu/amdgpu_object.c
1033
if (bo->tbo.resource->mem_type == TTM_PL_VRAM) {
sys/dev/pci/drm/amd/amdgpu/amdgpu_object.c
1037
} else if (bo->tbo.resource->mem_type == TTM_PL_TT) {
sys/dev/pci/drm/amd/amdgpu/amdgpu_object.c
1278
struct ttm_resource *old_mem = bo->resource;
sys/dev/pci/drm/amd/amdgpu/amdgpu_object.c
1335
if (!bo->resource || bo->resource->mem_type != TTM_PL_VRAM ||
sys/dev/pci/drm/amd/amdgpu/amdgpu_object.c
1349
amdgpu_vram_mgr_set_cleared(bo->resource);
sys/dev/pci/drm/amd/amdgpu/amdgpu_object.c
1378
if (amdgpu_res_cpu_visible(adev, bo->resource))
sys/dev/pci/drm/amd/amdgpu/amdgpu_object.c
1400
if (bo->resource->mem_type == TTM_PL_VRAM &&
sys/dev/pci/drm/amd/amdgpu/amdgpu_object.c
1401
!amdgpu_res_cpu_visible(adev, bo->resource))
sys/dev/pci/drm/amd/amdgpu/amdgpu_object.c
1491
WARN_ON_ONCE(bo->tbo.resource->mem_type == TTM_PL_SYSTEM);
sys/dev/pci/drm/amd/amdgpu/amdgpu_object.c
1494
WARN_ON_ONCE(bo->tbo.resource->start == AMDGPU_BO_INVALID_OFFSET);
sys/dev/pci/drm/amd/amdgpu/amdgpu_object.c
1495
WARN_ON_ONCE(bo->tbo.resource->mem_type == TTM_PL_VRAM &&
sys/dev/pci/drm/amd/amdgpu/amdgpu_object.c
1513
WARN_ON_ONCE(bo->tbo.resource->mem_type != TTM_PL_VRAM);
sys/dev/pci/drm/amd/amdgpu/amdgpu_object.c
1517
offset = (bo->tbo.resource->start << PAGE_SHIFT) + fb_base;
sys/dev/pci/drm/amd/amdgpu/amdgpu_object.c
1533
if (bo->tbo.resource->mem_type == TTM_PL_TT)
sys/dev/pci/drm/amd/amdgpu/amdgpu_object.c
1537
offset = (bo->tbo.resource->start << PAGE_SHIFT) +
sys/dev/pci/drm/amd/amdgpu/amdgpu_object.c
1538
amdgpu_ttm_domain_start(adev, bo->tbo.resource->mem_type);
sys/dev/pci/drm/amd/amdgpu/amdgpu_object.c
1634
if (!bo->tbo.resource) {
sys/dev/pci/drm/amd/amdgpu/amdgpu_object.c
1637
switch (bo->tbo.resource->mem_type) {
sys/dev/pci/drm/amd/amdgpu/amdgpu_object.c
1639
if (amdgpu_res_cpu_visible(adev, bo->tbo.resource))
sys/dev/pci/drm/amd/amdgpu/amdgpu_object.c
175
if (abo->tbo.resource && !(adev->flags & AMD_IS_APU) &&
sys/dev/pci/drm/amd/amdgpu/amdgpu_object.c
473
ttm_resource_free(&(*bo_ptr)->tbo, &(*bo_ptr)->tbo.resource);
sys/dev/pci/drm/amd/amdgpu/amdgpu_object.c
480
&(*bo_ptr)->tbo.resource, &ctx);
sys/dev/pci/drm/amd/amdgpu/amdgpu_object.c
718
amdgpu_res_cpu_visible(adev, bo->tbo.resource))
sys/dev/pci/drm/amd/amdgpu/amdgpu_object.c
725
bo->tbo.resource->mem_type == TTM_PL_VRAM) {
sys/dev/pci/drm/amd/amdgpu/amdgpu_object.c
955
uint32_t mem_type = bo->tbo.resource->mem_type;
sys/dev/pci/drm/amd/amdgpu/amdgpu_object.c
956
uint32_t mem_flags = bo->tbo.resource->placement;
sys/dev/pci/drm/amd/amdgpu/amdgpu_object.c
998
if (bo->tbo.resource->mem_type == TTM_PL_VRAM) {
sys/dev/pci/drm/amd/amdgpu/amdgpu_ras.c
5480
if (!bo || !bo->tbo.resource)
sys/dev/pci/drm/amd/amdgpu/amdgpu_ras.c
5483
vres = to_amdgpu_vram_mgr_resource(bo->tbo.resource);
sys/dev/pci/drm/amd/amdgpu/amdgpu_trace.h
130
__entry->pages = PFN_UP(bo->tbo.resource->size);
sys/dev/pci/drm/amd/amdgpu/amdgpu_trace.h
131
__entry->type = bo->tbo.resource->mem_type;
sys/dev/pci/drm/amd/amdgpu/amdgpu_ttm.c
1027
if (bo->resource->start != AMDGPU_BO_INVALID_OFFSET)
sys/dev/pci/drm/amd/amdgpu/amdgpu_ttm.c
1040
placements.flags = bo->resource->placement;
sys/dev/pci/drm/amd/amdgpu/amdgpu_ttm.c
1053
ttm_resource_free(bo, &bo->resource);
sys/dev/pci/drm/amd/amdgpu/amdgpu_ttm.c
1073
flags = amdgpu_ttm_tt_pte_flags(adev, tbo->ttm, tbo->resource);
sys/dev/pci/drm/amd/amdgpu/amdgpu_ttm.c
124
switch (bo->resource->mem_type) {
sys/dev/pci/drm/amd/amdgpu/amdgpu_ttm.c
140
amdgpu_res_cpu_visible(adev, bo->resource)) {
sys/dev/pci/drm/amd/amdgpu/amdgpu_ttm.c
1463
if (bo->resource->mem_type == TTM_PL_SYSTEM)
sys/dev/pci/drm/amd/amdgpu/amdgpu_ttm.c
1490
if (bo->resource->mem_type == AMDGPU_PL_PREEMPT)
sys/dev/pci/drm/amd/amdgpu/amdgpu_ttm.c
1493
if (bo->resource->mem_type == TTM_PL_TT &&
sys/dev/pci/drm/amd/amdgpu/amdgpu_ttm.c
1570
amdgpu_res_first(abo->tbo.resource, offset, len, &src_mm);
sys/dev/pci/drm/amd/amdgpu/amdgpu_ttm.c
1571
src_addr = amdgpu_ttm_domain_start(adev, bo->resource->mem_type) +
sys/dev/pci/drm/amd/amdgpu/amdgpu_ttm.c
1618
if (bo->resource->mem_type != TTM_PL_VRAM)
sys/dev/pci/drm/amd/amdgpu/amdgpu_ttm.c
1625
amdgpu_res_first(bo->resource, offset, len, &cursor);
sys/dev/pci/drm/amd/amdgpu/amdgpu_ttm.c
2482
amdgpu_res_first(bo->tbo.resource, 0, amdgpu_bo_size(bo), &cursor);
sys/dev/pci/drm/amd/amdgpu/amdgpu_ttm.c
2497
r = amdgpu_ttm_map_buffer(&bo->tbo, bo->tbo.resource, &cursor,
sys/dev/pci/drm/amd/amdgpu/amdgpu_ttm.c
2538
amdgpu_res_first(bo->tbo.resource, 0, amdgpu_bo_size(bo), &dst);
sys/dev/pci/drm/amd/amdgpu/amdgpu_ttm.c
2548
r = amdgpu_ttm_map_buffer(&bo->tbo, bo->tbo.resource, &dst,
sys/dev/pci/drm/amd/amdgpu/amdgpu_ttm.c
340
(abo_src->tbo.resource->mem_type == TTM_PL_VRAM))
sys/dev/pci/drm/amd/amdgpu/amdgpu_ttm.c
418
amdgpu_vram_mgr_set_cleared(bo->resource);
sys/dev/pci/drm/amd/amdgpu/amdgpu_ttm.c
503
struct ttm_resource *old_mem = bo->resource;
sys/dev/pci/drm/amd/amdgpu/amdgpu_ttm.c
538
ttm_resource_free(bo, &bo->resource);
sys/dev/pci/drm/amd/amdgpu/amdgpu_ttm.c
658
amdgpu_res_first(bo->resource, (u64)page_offset << PAGE_SHIFT, 0,
sys/dev/pci/drm/amd/amdgpu/amdgpu_ttm.c
661
if (bo->resource->mem_type == AMDGPU_PL_DOORBELL)
sys/dev/pci/drm/amd/amdgpu/amdgpu_ttm.c
663
else if (bo->resource->mem_type == AMDGPU_PL_MMIO_REMAP)
sys/dev/pci/drm/amd/amdgpu/amdgpu_vm.c
1365
if (abo->tbo.resource &&
sys/dev/pci/drm/amd/amdgpu/amdgpu_vm.c
1366
abo->tbo.resource->mem_type == TTM_PL_VRAM)
sys/dev/pci/drm/amd/amdgpu/amdgpu_vm.c
1370
mem = bo->tbo.resource;
sys/dev/pci/drm/amd/amdgpu/amdgpu_vm.c
1443
if (bo->tbo.resource &&
sys/dev/pci/drm/amd/amdgpu/amdgpu_vm.c
1445
amdgpu_mem_type_to_domain(bo->tbo.resource->mem_type)))
sys/dev/pci/drm/amd/amdgpu/amdgpu_vm.c
1726
(!bo_va->base.bo->tbo.resource ||
sys/dev/pci/drm/amd/amdgpu/amdgpu_vm.c
1727
bo_va->base.bo->tbo.resource->mem_type == TTM_PL_SYSTEM))
sys/dev/pci/drm/amd/amdgpu/amdgpu_vm.c
2255
amdgpu_vm_update_stats(*base, bo->tbo.resource, -1);
sys/dev/pci/drm/amd/amdgpu/amdgpu_vm.c
2372
amdgpu_vm_update_stats_locked(bo_base, bo->tbo.resource, -1);
sys/dev/pci/drm/amd/amdgpu/amdgpu_vm.c
484
amdgpu_vm_update_stats_locked(base, bo->tbo.resource, +1);
sys/dev/pci/drm/amd/amdgpu/amdgpu_vm.c
499
amdgpu_mem_type_to_domain(bo->tbo.resource->mem_type))
sys/dev/pci/drm/amd/amdgpu/amdgpu_vm_pt.c
542
amdgpu_vm_update_stats(entry, entry->bo->tbo.resource, -1);
sys/dev/pci/drm/amd/amdgpu/amdgpu_vram_mgr.c
284
struct ttm_resource *res = bo->tbo.resource;
sys/dev/pci/drm/amd/amdgpu/gmc_v9_0.c
1116
bool is_vram = bo->tbo.resource &&
sys/dev/pci/drm/amd/amdgpu/gmc_v9_0.c
1117
bo->tbo.resource->mem_type == TTM_PL_VRAM;
sys/dev/pci/drm/amd/amdgpu/isp_v4_1_0.c
110
isp->isp_i2c_res = kcalloc(1, sizeof(struct resource), GFP_KERNEL);
sys/dev/pci/drm/amd/amdgpu/isp_v4_1_0.c
130
isp->isp_gpio_res = kcalloc(1, sizeof(struct resource), GFP_KERNEL);
sys/dev/pci/drm/amd/amdgpu/isp_v4_1_0.c
62
isp->isp_res = kcalloc(num_res, sizeof(struct resource),
sys/dev/pci/drm/amd/amdgpu/isp_v4_1_1.c
232
isp->isp_res = kcalloc(num_res, sizeof(struct resource),
sys/dev/pci/drm/amd/amdgpu/isp_v4_1_1.c
282
isp->isp_i2c_res = kcalloc(1, sizeof(struct resource), GFP_KERNEL);
sys/dev/pci/drm/amd/amdgpu/isp_v4_1_1.c
301
isp->isp_gpio_res = kcalloc(1, sizeof(struct resource), GFP_KERNEL);
sys/dev/pci/drm/amd/amdkfd/kfd_migrate.c
1023
struct resource *res = NULL;
sys/dev/pci/drm/amd/amdkfd/kfd_svm.c
519
prange->ttm_res = prange->svm_bo->bo->tbo.resource;
sys/dev/pci/drm/amd/amdkfd/kfd_svm.c
613
bo->tbo.resource->start << PAGE_SHIFT, bp.size,
sys/dev/pci/drm/amd/amdkfd/kfd_svm.c
643
prange->ttm_res = bo->tbo.resource;
sys/dev/pci/drm/amd/display/amdgpu_dm/amdgpu_dm.c
9568
return abo->tbo.resource ? abo->tbo.resource->mem_type : 0;
sys/dev/pci/drm/apple/apple_drv.c
373
struct resource *fb_r)
sys/dev/pci/drm/apple/apple_drv.c
473
struct resource fb_r;
sys/dev/pci/drm/apple/dcp-internal.h
138
struct resource *disp_registers[MAX_DISP_REGISTERS];
sys/dev/pci/drm/apple/dcp-internal.h
141
struct resource disp_bw_scratch_res;
sys/dev/pci/drm/apple/dcp-internal.h
142
struct resource disp_bw_doorbell_res;
sys/dev/pci/drm/apple/iomfb_template.c
408
struct resource *r = dcp->disp_registers[i];
sys/dev/pci/drm/apple/iomfb_template.c
465
struct resource *rsrc = dcp->disp_registers[req->index];
sys/dev/pci/drm/drm_cache.c
184
struct resource *tmp;
sys/dev/pci/drm/drm_linux.c
3688
pdev->resource = mallocarray(pdev->faa->fa_nreg,
sys/dev/pci/drm/drm_linux.c
3689
sizeof(*pdev->resource), M_DEVBUF, M_WAITOK | M_ZERO);
sys/dev/pci/drm/drm_linux.c
3691
pdev->resource[i].start = pdev->faa->fa_reg[i].addr;
sys/dev/pci/drm/drm_linux.c
3692
pdev->resource[i].end = pdev->faa->fa_reg[i].addr +
sys/dev/pci/drm/drm_linux.c
3705
struct resource *
sys/dev/pci/drm/drm_linux.c
3709
return &pdev->resource[num];
sys/dev/pci/drm/drm_linux.c
3723
err = bus_space_map(pdev->iot, pdev->resource[idx].start,
sys/dev/pci/drm/drm_linux.c
3724
pdev->resource[idx].end - pdev->resource[idx].start + 1,
sys/dev/pci/drm/drm_linux.c
3932
of_address_to_resource(struct device_node *np, int idx, struct resource *res)
sys/dev/pci/drm/i915/display/intel_lpe_audio.c
90
struct resource *rsc;
sys/dev/pci/drm/i915/gem/i915_gem_execbuffer.c
2013
capture->vma_res = i915_vma_resource_get(vma->resource);
sys/dev/pci/drm/i915/gem/i915_gem_execbuffer.c
3352
i915_vma_resource_get(eb->batches[i]->vma->resource);
sys/dev/pci/drm/i915/gem/i915_gem_object.c
552
return i915_ttm_resource_mappable(i915_gem_to_ttm(obj)->resource);
sys/dev/pci/drm/i915/gem/i915_gem_stolen.c
101
struct resource stolen[2] = {*dsm, *dsm};
sys/dev/pci/drm/i915/gem/i915_gem_stolen.c
102
struct resource ggtt_res;
sys/dev/pci/drm/i915/gem/i915_gem_stolen.c
142
struct resource *dsm)
sys/dev/pci/drm/i915/gem/i915_gem_stolen.c
144
struct resource *r;
sys/dev/pci/drm/i915/gem/i915_gem_stolen.c
79
static bool valid_stolen_size(struct drm_i915_private *i915, struct resource *dsm)
sys/dev/pci/drm/i915/gem/i915_gem_stolen.c
85
struct resource *dsm)
sys/dev/pci/drm/i915/gem/i915_gem_ttm.c
1024
ttm_manager_type(bo->bdev, bo->resource->mem_type);
sys/dev/pci/drm/i915/gem/i915_gem_ttm.c
1034
if (i915_ttm_cpu_maps_iomem(bo->resource) &&
sys/dev/pci/drm/i915/gem/i915_gem_ttm.c
1100
if (!bo->resource) {
sys/dev/pci/drm/i915/gem/i915_gem_ttm.c
1114
} else if (!i915_ttm_resource_mappable(bo->resource)) {
sys/dev/pci/drm/i915/gem/i915_gem_ttm.c
1142
if (i915_ttm_cpu_maps_iomem(bo->resource))
sys/dev/pci/drm/i915/gem/i915_gem_ttm.c
1166
GEM_WARN_ON(!i915_ttm_cpu_maps_iomem(bo->resource));
sys/dev/pci/drm/i915/gem/i915_gem_ttm.c
1274
if (!bo->resource) {
sys/dev/pci/drm/i915/gem/i915_gem_ttm.c
1289
} else if (!i915_ttm_resource_mappable(bo->resource)) {
sys/dev/pci/drm/i915/gem/i915_gem_ttm.c
1316
if (i915_ttm_cpu_maps_iomem(bo->resource))
sys/dev/pci/drm/i915/gem/i915_gem_ttm.c
1347
GEM_WARN_ON(!i915_ttm_cpu_maps_iomem(bo->resource));
sys/dev/pci/drm/i915/gem/i915_gem_ttm.c
1420
if (i915_ttm_cpu_maps_iomem(bo->resource)) {
sys/dev/pci/drm/i915/gem/i915_gem_ttm.c
290
if (obj->flags & I915_BO_ALLOC_CPU_CLEAR && (!bo->resource ||
sys/dev/pci/drm/i915/gem/i915_gem_ttm.c
291
ttm_manager_type(bo->bdev, bo->resource->mem_type)->use_tt))
sys/dev/pci/drm/i915/gem/i915_gem_ttm.c
489
if (!bo->ttm || i915_ttm_cpu_maps_iomem(bo->resource))
sys/dev/pci/drm/i915/gem/i915_gem_ttm.c
538
if ((bo->resource || bo->ttm) && !i915_ttm_is_ghost_object(bo)) {
sys/dev/pci/drm/i915/gem/i915_gem_ttm.c
609
if (bo->resource == res) {
sys/dev/pci/drm/i915/gem/i915_gem_ttm.c
747
if (!i915_ttm_resource_mappable(bo->resource))
sys/dev/pci/drm/i915/gem/i915_gem_ttm.c
854
i915_ttm_resource_get_st(obj, bo->resource);
sys/dev/pci/drm/i915/gem/i915_gem_ttm_move.c
116
if (!bo->resource) {
sys/dev/pci/drm/i915/gem/i915_gem_ttm_move.c
121
mem_flags = i915_ttm_cpu_maps_iomem(bo->resource) ? I915_BO_FLAG_IOMEM :
sys/dev/pci/drm/i915/gem/i915_gem_ttm_move.c
123
mem_type = bo->resource->mem_type;
sys/dev/pci/drm/i915/gem/i915_gem_ttm_move.c
124
cache_level = i915_ttm_cache_level(to_i915(bo->base.dev), bo->resource,
sys/dev/pci/drm/i915/gem/i915_gem_ttm_move.c
223
i915_ttm_resource_get_st(obj, bo->resource);
sys/dev/pci/drm/i915/gem/i915_gem_ttm_move.c
228
src_level = i915_ttm_cache_level(i915, bo->resource, src_ttm);
sys/dev/pci/drm/i915/gem/i915_gem_ttm_move.c
233
i915_ttm_gtt_binds_lmem(bo->resource),
sys/dev/pci/drm/i915/gem/i915_gem_ttm_move.c
322
src_reg = i915_ttm_region(bo->bdev, bo->resource->mem_type);
sys/dev/pci/drm/i915/gem/i915_gem_ttm_move.c
330
arg->src_iter = !i915_ttm_cpu_maps_iomem(bo->resource) ?
sys/dev/pci/drm/i915/gem/i915_gem_ttm_move.c
340
i915_ttm_resource_get_st(obj, bo->resource);
sys/dev/pci/drm/i915/gem/i915_gem_ttm_move.c
463
if (!(i915_ttm_resource_mappable(bo->resource) &&
sys/dev/pci/drm/i915/gem/i915_gem_ttm_move.c
592
if (!bo->resource) {
sys/dev/pci/drm/i915/gem/i915_gem_ttm_move.c
639
clear = !i915_ttm_cpu_maps_iomem(bo->resource) && (!ttm || !ttm_tt_is_populated(ttm));
sys/dev/pci/drm/i915/gem/i915_gem_ttm_move.c
724
if (GEM_WARN_ON(!src_bo->resource || !dst_bo->resource))
sys/dev/pci/drm/i915/gem/i915_gem_ttm_move.c
745
dst_rsgt = i915_ttm_resource_get_st(dst, dst_bo->resource);
sys/dev/pci/drm/i915/gem/i915_gem_ttm_move.c
746
copy_fence = __i915_ttm_move(src_bo, &ctx, false, dst_bo->resource,
sys/dev/pci/drm/i915/gem/i915_gem_ttm_move.c
86
if (i915_ttm_cpu_maps_iomem(bo->resource) || bo->ttm->caching != ttm_cached) {
sys/dev/pci/drm/i915/gem/i915_gem_ttm_pm.c
189
if (!backup_bo->resource)
sys/dev/pci/drm/i915/gem/i915_gem_ttm_pm.c
56
if (!i915_ttm_cpu_maps_iomem(bo->resource) || obj->ttm.backup)
sys/dev/pci/drm/i915/gem/selftests/huge_pages.c
1018
if (vma->resource->page_sizes_gtt != expected_gtt) {
sys/dev/pci/drm/i915/gem/selftests/huge_pages.c
1020
vma->resource->page_sizes_gtt,
sys/dev/pci/drm/i915/gem/selftests/huge_pages.c
1684
(vma->resource->page_sizes_gtt & I915_GTT_PAGE_SIZE_4K)) {
sys/dev/pci/drm/i915/gem/selftests/huge_pages.c
380
if (!HAS_PAGE_SIZES(i915, vma->resource->page_sizes_gtt)) {
sys/dev/pci/drm/i915/gem/selftests/huge_pages.c
382
vma->resource->page_sizes_gtt & ~supported, supported);
sys/dev/pci/drm/i915/gem/selftests/huge_pages.c
413
vma->resource->page_sizes_gtt < SZ_2M) {
sys/dev/pci/drm/i915/gem/selftests/huge_pages.c
415
vma->page_sizes.sg, vma->resource->page_sizes_gtt);
sys/dev/pci/drm/i915/gem/selftests/huge_pages.c
551
if (vma->resource->page_sizes_gtt != page_size) {
sys/dev/pci/drm/i915/gem/selftests/huge_pages.c
553
__func__, vma->resource->page_sizes_gtt,
sys/dev/pci/drm/i915/gem/selftests/huge_pages.c
634
if (vma->resource->page_sizes_gtt != page_size) {
sys/dev/pci/drm/i915/gem/selftests/huge_pages.c
636
vma->resource->page_sizes_gtt, page_size);
sys/dev/pci/drm/i915/gem/selftests/huge_pages.c
661
if (vma->resource->page_sizes_gtt != I915_GTT_PAGE_SIZE_4K) {
sys/dev/pci/drm/i915/gem/selftests/huge_pages.c
663
vma->resource->page_sizes_gtt,
sys/dev/pci/drm/i915/gem/selftests/huge_pages.c
830
if (vma->resource->page_sizes_gtt != expected_gtt) {
sys/dev/pci/drm/i915/gem/selftests/huge_pages.c
832
vma->resource->page_sizes_gtt, expected_gtt,
sys/dev/pci/drm/i915/gem/selftests/i915_gem_mman.c
1312
struct resource saved_io;
sys/dev/pci/drm/i915/gt/intel_ggtt.c
1363
static struct resource pci_resource(struct pci_dev *pdev, int bar)
sys/dev/pci/drm/i915/gt/intel_ggtt.c
1784
vma->resource->bound_flags = 0;
sys/dev/pci/drm/i915/gt/intel_ggtt.c
1785
vma->ops->bind_vma(vm, NULL, vma->resource,
sys/dev/pci/drm/i915/gt/intel_gsc.c
239
adev->bar.parent = &pdev->resource[0];
sys/dev/pci/drm/i915/gt/intel_gsc.c
240
adev->bar.start = def->bar + pdev->resource[0].start;
sys/dev/pci/drm/i915/gt/intel_gtt.h
373
struct resource gmadr; /* GMADR resource */
sys/dev/pci/drm/i915/gt/intel_region_lmem.c
62
struct resource *root_res;
sys/dev/pci/drm/i915/gt/selftest_reset.c
23
const struct resource *dsm = >->i915->dsm.stolen;
sys/dev/pci/drm/i915/gt/selftest_tlb.c
152
addr, align, va->resource->page_sizes_gtt,
sys/dev/pci/drm/i915/gt/selftest_tlb.c
96
addr, align, va->resource->page_sizes_gtt,
sys/dev/pci/drm/i915/i915_debugfs.c
207
stringify_page_sizes(vma->resource->page_sizes_gtt,
sys/dev/pci/drm/i915/i915_drv.h
267
struct resource mch_res;
sys/dev/pci/drm/i915/i915_drv.h
94
struct resource stolen;
sys/dev/pci/drm/i915/i915_drv.h
99
struct resource reserved;
sys/dev/pci/drm/i915/i915_gpu_error.c
1597
next = capture_vma_snapshot(next, vma->resource, gfp, name);
sys/dev/pci/drm/i915/i915_gpu_error.c
1636
vma_res = vma->resource;
sys/dev/pci/drm/i915/i915_vma.c
1822
GEM_WARN_ON(vma->resource);
sys/dev/pci/drm/i915/i915_vma.c
2065
struct i915_vma_resource *vma_res = vma->resource;
sys/dev/pci/drm/i915/i915_vma.c
2102
GEM_WARN_ON(async && !vma->resource->bi.pages_rsgt);
sys/dev/pci/drm/i915/i915_vma.c
2117
vma->resource = NULL;
sys/dev/pci/drm/i915/i915_vma.c
2184
&vma->obj->mm.rsgt->table != vma->resource->bi.pages)
sys/dev/pci/drm/i915/i915_vma.c
2196
if (i915_sw_fence_await_active(&vma->resource->chain, &vma->active,
sys/dev/pci/drm/i915/i915_vma.c
540
if (vma->resource || !vma_res) {
sys/dev/pci/drm/i915/i915_vma.c
546
vma->resource = vma_res;
sys/dev/pci/drm/i915/i915_vma.c
552
work->vma_res = i915_vma_resource_get(vma->resource);
sys/dev/pci/drm/i915/i915_vma.c
578
i915_vma_resource_free(vma->resource);
sys/dev/pci/drm/i915/i915_vma.c
579
vma->resource = NULL;
sys/dev/pci/drm/i915/i915_vma.c
583
vma->ops->bind_vma(vma->vm, NULL, vma->resource, pat_index,
sys/dev/pci/drm/i915/i915_vma.h
474
return i915_vma_resource_get(vma->resource);
sys/dev/pci/drm/i915/i915_vma_types.h
255
struct i915_vma_resource *resource;
sys/dev/pci/drm/i915/intel_memory_region.h
65
struct resource region;
sys/dev/pci/drm/i915/intel_memory_region.h
67
struct resource io;
sys/dev/pci/drm/i915/intel_stolen.c
9
struct resource intel_graphics_stolen_res = DEFINE_RES_MEM(0, 0);
sys/dev/pci/drm/i915/selftests/i915_gem_gtt.c
1121
expected_vma_size = round_up(size, 1 << (ffs(vma->resource->page_sizes_gtt) - 1));
sys/dev/pci/drm/i915/selftests/i915_gem_gtt.c
1449
vma->resource->bi.pages = vma->pages;
sys/dev/pci/drm/i915/selftests/i915_gem_gtt.c
1525
vma->resource = vma_res;
sys/dev/pci/drm/i915/selftests/i915_gem_gtt.c
1705
vma->resource = vma_res;
sys/dev/pci/drm/include/drm/intel/i915_drm.h
39
extern struct resource intel_graphics_stolen_res;
sys/dev/pci/drm/include/drm/ttm/ttm_bo.h
122
struct ttm_resource *resource;
sys/dev/pci/drm/include/drm/ttm/ttm_bo.h
342
WARN_ON(bo->resource);
sys/dev/pci/drm/include/drm/ttm/ttm_bo.h
343
bo->resource = new_mem;
sys/dev/pci/drm/include/drm/ttm/ttm_bo.h
356
ttm_resource_free(bo, &bo->resource);
sys/dev/pci/drm/include/linux/ioport.h
17
resource_size(const struct resource *r)
sys/dev/pci/drm/include/linux/ioport.h
23
(struct resource) { \
sys/dev/pci/drm/include/linux/of_address.h
7
struct resource;
sys/dev/pci/drm/include/linux/of_address.h
9
int of_address_to_resource(struct device_node *, int, struct resource *);
sys/dev/pci/drm/include/linux/platform_device.h
13
struct resource *resource;
sys/dev/pci/drm/include/linux/platform_device.h
52
struct resource *platform_get_resource(struct platform_device *, u_int, u_int);
sys/dev/pci/drm/radeon/radeon_cs.c
527
rdev->ring_tmp_bo.bo->tbo.resource);
sys/dev/pci/drm/radeon/radeon_cs.c
541
r = radeon_vm_bo_update(rdev, bo_va, bo->tbo.resource);
sys/dev/pci/drm/radeon/radeon_gem.c
609
cur_placement = READ_ONCE(robj->tbo.resource->mem_type);
sys/dev/pci/drm/radeon/radeon_gem.c
640
cur_placement = READ_ONCE(robj->tbo.resource->mem_type);
sys/dev/pci/drm/radeon/radeon_gem.c
731
domain = radeon_mem_type_to_domain(entry->robj->tbo.resource->mem_type);
sys/dev/pci/drm/radeon/radeon_gem.c
744
r = radeon_vm_bo_update(rdev, bo_va, bo_va->bo->tbo.resource);
sys/dev/pci/drm/radeon/radeon_gem.c
978
domain = radeon_mem_type_to_domain(rbo->tbo.resource->mem_type);
sys/dev/pci/drm/radeon/radeon_object.c
340
if (bo->tbo.resource->mem_type == TTM_PL_VRAM)
sys/dev/pci/drm/radeon/radeon_object.c
511
radeon_mem_type_to_domain(bo->tbo.resource->mem_type);
sys/dev/pci/drm/radeon/radeon_object.c
603
bo->tbo.resource->start << PAGE_SHIFT,
sys/dev/pci/drm/radeon/radeon_object.c
709
if (bo->tbo.resource->mem_type != TTM_PL_VRAM) {
sys/dev/pci/drm/radeon/radeon_object.c
749
if (bo->resource->mem_type != TTM_PL_VRAM)
sys/dev/pci/drm/radeon/radeon_object.c
752
size = bo->resource->size;
sys/dev/pci/drm/radeon/radeon_object.c
753
offset = bo->resource->start << PAGE_SHIFT;
sys/dev/pci/drm/radeon/radeon_object.c
775
offset = bo->resource->start << PAGE_SHIFT;
sys/dev/pci/drm/radeon/radeon_object.h
107
return (bo->tbo.resource->start << PAGE_SHIFT) + start;
sys/dev/pci/drm/radeon/radeon_object.h
98
switch (bo->tbo.resource->mem_type) {
sys/dev/pci/drm/radeon/radeon_pm.c
158
if (bo->tbo.resource->mem_type == TTM_PL_VRAM)
sys/dev/pci/drm/radeon/radeon_trace.h
25
__entry->pages = PFN_UP(bo->tbo.resource->size);
sys/dev/pci/drm/radeon/radeon_ttm.c
108
switch (bo->resource->mem_type) {
sys/dev/pci/drm/radeon/radeon_ttm.c
113
bo->resource->start < (rbo->rdev->mc.visible_vram_size >> PAGE_SHIFT)) {
sys/dev/pci/drm/radeon/radeon_ttm.c
201
struct ttm_resource *old_mem = bo->resource;
sys/dev/pci/drm/ttm/tests/ttm_bo_test.c
264
bo->resource = res1;
sys/dev/pci/drm/ttm/tests/ttm_bo_test.c
305
bo->resource = res1;
sys/dev/pci/drm/ttm/tests/ttm_bo_test.c
360
bo1->resource = res1;
sys/dev/pci/drm/ttm/tests/ttm_bo_test.c
368
bo2->resource = res2;
sys/dev/pci/drm/ttm/tests/ttm_bo_test.c
406
bo->resource = res;
sys/dev/pci/drm/ttm/tests/ttm_bo_test.c
523
bo->resource = res;
sys/dev/pci/drm/ttm/tests/ttm_bo_test.c
574
bo->resource = res;
sys/dev/pci/drm/ttm/tests/ttm_bo_validate_test.c
1025
KUNIT_EXPECT_EQ(test, bo_init->resource->mem_type, mem_type);
sys/dev/pci/drm/ttm/tests/ttm_bo_validate_test.c
1026
KUNIT_EXPECT_NULL(test, bo_val->resource);
sys/dev/pci/drm/ttm/tests/ttm_bo_validate_test.c
1069
KUNIT_EXPECT_EQ(test, bo->resource->mem_type, mem_type);
sys/dev/pci/drm/ttm/tests/ttm_bo_validate_test.c
1070
KUNIT_ASSERT_NULL(test, bo_evict->resource);
sys/dev/pci/drm/ttm/tests/ttm_bo_validate_test.c
146
ttm_resource_free(bo, &bo->resource);
sys/dev/pci/drm/ttm/tests/ttm_bo_validate_test.c
188
ttm_resource_free(bo, &bo->resource);
sys/dev/pci/drm/ttm/tests/ttm_bo_validate_test.c
223
ttm_resource_free(bo, &bo->resource);
sys/dev/pci/drm/ttm/tests/ttm_bo_validate_test.c
264
KUNIT_EXPECT_EQ(test, bo->resource->mem_type, snd_mem);
sys/dev/pci/drm/ttm/tests/ttm_bo_validate_test.c
265
KUNIT_EXPECT_EQ(test, bo->resource->placement,
sys/dev/pci/drm/ttm/tests/ttm_bo_validate_test.c
452
KUNIT_EXPECT_EQ(test, bo->resource->mem_type, snd_mem);
sys/dev/pci/drm/ttm/tests/ttm_bo_validate_test.c
496
KUNIT_EXPECT_EQ(test, bo->resource->mem_type, final_mem);
sys/dev/pci/drm/ttm/tests/ttm_bo_validate_test.c
550
err = ttm_resource_alloc(bo, place, &bo->resource, NULL);
sys/dev/pci/drm/ttm/tests/ttm_bo_validate_test.c
607
err = ttm_resource_alloc(bo, place, &bo->resource, NULL);
sys/dev/pci/drm/ttm/tests/ttm_bo_validate_test.c
628
KUNIT_ASSERT_NULL(test, bo->resource);
sys/dev/pci/drm/ttm/tests/ttm_bo_validate_test.c
668
KUNIT_EXPECT_EQ(test, bo->resource->mem_type, mem_type);
sys/dev/pci/drm/ttm/tests/ttm_bo_validate_test.c
752
KUNIT_EXPECT_EQ(test, bo->resource->mem_type, snd_mem);
sys/dev/pci/drm/ttm/tests/ttm_bo_validate_test.c
754
KUNIT_EXPECT_EQ(test, bo->resource->mem_type, fst_mem);
sys/dev/pci/drm/ttm/tests/ttm_bo_validate_test.c
803
KUNIT_EXPECT_EQ(test, bos[0].resource->mem_type, mem_type_evict);
sys/dev/pci/drm/ttm/tests/ttm_bo_validate_test.c
807
KUNIT_EXPECT_EQ(test, bos[1].resource->mem_type, mem_type);
sys/dev/pci/drm/ttm/tests/ttm_bo_validate_test.c
914
KUNIT_EXPECT_EQ(test, bo->resource->mem_type, mem_type);
sys/dev/pci/drm/ttm/tests/ttm_bo_validate_test.c
915
KUNIT_EXPECT_EQ(test, bo_pinned->resource->mem_type, mem_type);
sys/dev/pci/drm/ttm/tests/ttm_bo_validate_test.c
916
KUNIT_EXPECT_EQ(test, bo_evictable->resource->mem_type, mem_type_evict);
sys/dev/pci/drm/ttm/tests/ttm_bo_validate_test.c
971
KUNIT_EXPECT_EQ(test, bo_small->resource->mem_type, mem_type);
sys/dev/pci/drm/ttm/tests/ttm_bo_validate_test.c
974
KUNIT_EXPECT_NULL(test, bo_big->resource);
sys/dev/pci/drm/ttm/tests/ttm_kunit_helpers.c
68
struct ttm_resource *old_mem = bo->resource;
sys/dev/pci/drm/ttm/tests/ttm_kunit_helpers.c
75
if (bo->resource->mem_type == TTM_PL_VRAM &&
sys/dev/pci/drm/ttm/tests/ttm_kunit_helpers.c
98
switch (bo->resource->mem_type) {
sys/dev/pci/drm/ttm/ttm_bo.c
1064
if (bo->resource && bo->resource->bus.is_iomem) {
sys/dev/pci/drm/ttm/ttm_bo.c
1065
addr = bo->resource->bus.offset;
sys/dev/pci/drm/ttm/ttm_bo.c
1082
ttm_mem_io_free(bdev, bo->resource);
sys/dev/pci/drm/ttm/ttm_bo.c
109
if (bo->resource)
sys/dev/pci/drm/ttm/ttm_bo.c
110
ttm_resource_del_bulk_move(bo->resource, bo);
sys/dev/pci/drm/ttm/ttm_bo.c
112
if (bo->resource)
sys/dev/pci/drm/ttm/ttm_bo.c
113
ttm_resource_add_bulk_move(bo->resource, bo);
sys/dev/pci/drm/ttm/ttm_bo.c
1134
struct ttm_place place = {.mem_type = bo->resource->mem_type};
sys/dev/pci/drm/ttm/ttm_bo.c
1173
if (bo->resource->mem_type != TTM_PL_SYSTEM) {
sys/dev/pci/drm/ttm/ttm_bo.c
1205
ttm_resource_del_bulk_move(bo->resource, bo);
sys/dev/pci/drm/ttm/ttm_bo.c
1212
ttm_resource_add_bulk_move(bo->resource, bo);
sys/dev/pci/drm/ttm/ttm_bo.c
1213
ttm_resource_move_to_lru_tail(bo->resource);
sys/dev/pci/drm/ttm/ttm_bo.c
127
old_use_tt = !bo->resource || ttm_manager_type(bdev, bo->resource->mem_type)->use_tt;
sys/dev/pci/drm/ttm/ttm_bo.c
1302
bo->resource) {
sys/dev/pci/drm/ttm/ttm_bo.c
1304
ttm_resource_add_bulk_move(bo->resource, bo);
sys/dev/pci/drm/ttm/ttm_bo.c
1305
ttm_resource_move_to_lru_tail(bo->resource);
sys/dev/pci/drm/ttm/ttm_bo.c
186
ttm_resource_free(bo, &bo->resource);
sys/dev/pci/drm/ttm/ttm_bo.c
273
ttm_mem_io_free(bdev, bo->resource);
sys/dev/pci/drm/ttm/ttm_bo.c
296
ttm_resource_move_to_lru_tail(bo->resource);
sys/dev/pci/drm/ttm/ttm_bo.c
424
struct ttm_resource *res = bo->resource;
sys/dev/pci/drm/ttm/ttm_bo.c
428
if (bo->resource->mem_type == TTM_PL_SYSTEM)
sys/dev/pci/drm/ttm/ttm_bo.c
471
if (!bo->resource || bo->resource->mem_type != mem_type)
sys/dev/pci/drm/ttm/ttm_bo.c
521
if (!dmem_cgroup_state_evict_valuable(evict_walk->limit_pool, bo->resource->css,
sys/dev/pci/drm/ttm/ttm_bo.c
630
if (bo->resource)
sys/dev/pci/drm/ttm/ttm_bo.c
631
ttm_resource_del_bulk_move(bo->resource, bo);
sys/dev/pci/drm/ttm/ttm_bo.c
632
if (!bo->pin_count++ && bo->resource)
sys/dev/pci/drm/ttm/ttm_bo.c
633
ttm_resource_move_to_lru_tail(bo->resource);
sys/dev/pci/drm/ttm/ttm_bo.c
652
if (!--bo->pin_count && bo->resource) {
sys/dev/pci/drm/ttm/ttm_bo.c
653
ttm_resource_add_bulk_move(bo->resource, bo);
sys/dev/pci/drm/ttm/ttm_bo.c
654
ttm_resource_move_to_lru_tail(bo->resource);
sys/dev/pci/drm/ttm/ttm_bo.c
81
if (bo->resource)
sys/dev/pci/drm/ttm/ttm_bo.c
82
ttm_resource_move_to_lru_tail(bo->resource);
sys/dev/pci/drm/ttm/ttm_bo.c
838
if (bo->resource &&
sys/dev/pci/drm/ttm/ttm_bo.c
839
ttm_resource_compatible(bo->resource, placement,
sys/dev/pci/drm/ttm/ttm_bo.c
886
if (!bo->resource || bo->resource->mem_type == TTM_PL_SYSTEM) {
sys/dev/pci/drm/ttm/ttm_bo_util.c
1031
if (!ret && bo->resource && bo->resource->mem_type == mem_type)
sys/dev/pci/drm/ttm/ttm_bo_util.c
1106
if (flags.allow_move && bo->resource->mem_type != TTM_PL_SYSTEM) {
sys/dev/pci/drm/ttm/ttm_bo_util.c
1124
ttm_resource_del_bulk_move(bo->resource, bo);
sys/dev/pci/drm/ttm/ttm_bo_util.c
1134
ttm_resource_add_bulk_move(bo->resource, bo);
sys/dev/pci/drm/ttm/ttm_bo_util.c
155
struct ttm_resource *src_mem = bo->resource;
sys/dev/pci/drm/ttm/ttm_bo_util.c
270
if (fbo->base.resource) {
sys/dev/pci/drm/ttm/ttm_bo_util.c
271
ttm_resource_set_bo(fbo->base.resource, &fbo->base);
sys/dev/pci/drm/ttm/ttm_bo_util.c
272
bo->resource = NULL;
sys/dev/pci/drm/ttm/ttm_bo_util.c
322
struct ttm_resource *mem = bo->resource;
sys/dev/pci/drm/ttm/ttm_bo_util.c
324
if (bo->resource->bus.addr) {
sys/dev/pci/drm/ttm/ttm_bo_util.c
326
map->virtual = ((u8 *)bo->resource->bus.addr) + offset;
sys/dev/pci/drm/ttm/ttm_bo_util.c
338
bo->resource->bus.offset + offset,
sys/dev/pci/drm/ttm/ttm_bo_util.c
340
&bo->resource->bus.bsh)) {
sys/dev/pci/drm/ttm/ttm_bo_util.c
345
bo->resource->bus.bsh);
sys/dev/pci/drm/ttm/ttm_bo_util.c
356
struct ttm_resource *mem = bo->resource;
sys/dev/pci/drm/ttm/ttm_bo_util.c
363
ttm_manager_type(bo->bdev, bo->resource->mem_type);
sys/dev/pci/drm/ttm/ttm_bo_util.c
412
if (page + 1 > PFN_UP(bo->resource->size))
sys/dev/pci/drm/ttm/ttm_bo_util.c
415
if (!bo->resource->bus.is_iomem && bo->ttm->pages && bo->ttm->pages[page])
sys/dev/pci/drm/ttm/ttm_bo_util.c
447
if (num_pages > PFN_UP(bo->resource->size))
sys/dev/pci/drm/ttm/ttm_bo_util.c
449
if ((start_page + num_pages) > PFN_UP(bo->resource->size))
sys/dev/pci/drm/ttm/ttm_bo_util.c
452
ret = ttm_mem_io_reserve(bo->bdev, bo->resource);
sys/dev/pci/drm/ttm/ttm_bo_util.c
455
if (!bo->resource->bus.is_iomem) {
sys/dev/pci/drm/ttm/ttm_bo_util.c
478
bus_space_unmap(map->bo->bdev->memt, map->bo->resource->bus.bsh,
sys/dev/pci/drm/ttm/ttm_bo_util.c
479
map->bo->resource->size);
sys/dev/pci/drm/ttm/ttm_bo_util.c
483
map->bo->resource->size);
sys/dev/pci/drm/ttm/ttm_bo_util.c
493
ttm_mem_io_free(map->bo->bdev, map->bo->resource);
sys/dev/pci/drm/ttm/ttm_bo_util.c
516
struct ttm_resource *mem = bo->resource;
sys/dev/pci/drm/ttm/ttm_bo_util.c
593
struct ttm_resource *mem = bo->resource;
sys/dev/pci/drm/ttm/ttm_bo_util.c
608
ttm_mem_io_free(bo->bdev, bo->resource);
sys/dev/pci/drm/ttm/ttm_bo_util.c
626
ttm_resource_free(bo, &bo->resource);
sys/dev/pci/drm/ttm/ttm_bo_util.c
674
from = ttm_manager_type(bdev, bo->resource->mem_type);
sys/dev/pci/drm/ttm/ttm_bo_util.c
687
ttm_resource_free(bo, &bo->resource);
sys/dev/pci/drm/ttm/ttm_bo_util.c
713
struct ttm_resource_manager *from = ttm_manager_type(bdev, bo->resource->mem_type);
sys/dev/pci/drm/ttm/ttm_bo_util.c
787
ttm_resource_free(bo, &bo->resource);
sys/dev/pci/drm/ttm/ttm_bo_vm.c
210
err = ttm_mem_io_reserve(bdev, bo->resource);
sys/dev/pci/drm/ttm/ttm_bo_vm.c
222
prot = ttm_io_prot(bo, bo->resource, prot);
sys/dev/pci/drm/ttm/ttm_bo_vm.c
223
if (!bo->resource->bus.is_iomem) {
sys/dev/pci/drm/ttm/ttm_bo_vm.c
249
if (bo->resource->bus.is_iomem) {
sys/dev/pci/drm/ttm/ttm_bo_vm.c
409
return (bo->resource->bus.offset >> PAGE_SHIFT) + page_offset;
sys/dev/pci/drm/ttm/ttm_bo_vm.c
511
err = ttm_mem_io_reserve(bdev, bo->resource);
sys/dev/pci/drm/ttm/ttm_bo_vm.c
524
pmap_flags = ttm_io_prot(bo, bo->resource, 0);
sys/dev/pci/drm/ttm/ttm_bo_vm.c
525
if (!bo->resource->bus.is_iomem) {
sys/dev/pci/drm/ttm/ttm_bo_vm.c
555
if (bo->resource->bus.is_iomem) {
sys/dev/pci/drm/ttm/ttm_bo_vm.c
712
if (!bo->resource) {
sys/dev/pci/drm/ttm/ttm_bo_vm.c
717
switch (bo->resource->mem_type) {
sys/dev/pci/drm/ttm/ttm_bo_vm.c
96
return (bo->resource->bus.offset >> PAGE_SHIFT) + page_offset;
sys/dev/pci/drm/ttm/ttm_device.c
292
list_del_init(&bo->resource->lru.link);
sys/dev/pci/drm/ttm/ttm_resource.c
266
if (bo->resource != res || !bo->ttm)
sys/dev/pci/if_jmevar.h
170
struct resource *jme_mem_res;
sys/dev/pci/if_jmevar.h
180
struct resource *jme_irq_res;