Home
last modified time | relevance | path

Searched refs:pobj (Results 1 – 7 of 7) sorted by relevance

/linux-6.1.9/drivers/gpu/drm/gma500/
Dgem.c28 int psb_gem_pin(struct psb_gem_object *pobj) in psb_gem_pin() argument
30 struct drm_gem_object *obj = &pobj->base; in psb_gem_pin()
42 if (pobj->in_gart || pobj->stolen) in psb_gem_pin()
55 psb_gtt_insert_pages(dev_priv, &pobj->resource, pages); in psb_gem_pin()
57 (gpu_base + pobj->offset), npages, 0, 0, in psb_gem_pin()
60 pobj->pages = pages; in psb_gem_pin()
63 ++pobj->in_gart; in psb_gem_pin()
73 void psb_gem_unpin(struct psb_gem_object *pobj) in psb_gem_unpin() argument
75 struct drm_gem_object *obj = &pobj->base; in psb_gem_unpin()
86 WARN_ON(!pobj->in_gart); in psb_gem_unpin()
[all …]
Dgma_display.c63 struct psb_gem_object *pobj; in gma_pipe_set_base() local
79 pobj = to_psb_gem_object(fb->obj[0]); in gma_pipe_set_base()
83 ret = psb_gem_pin(pobj); in gma_pipe_set_base()
86 start = pobj->offset; in gma_pipe_set_base()
339 struct psb_gem_object *pobj; in gma_crtc_cursor_set() local
356 pobj = to_psb_gem_object(gma_crtc->cursor_obj); in gma_crtc_cursor_set()
357 psb_gem_unpin(pobj); in gma_crtc_cursor_set()
382 pobj = to_psb_gem_object(obj); in gma_crtc_cursor_set()
385 ret = psb_gem_pin(pobj); in gma_crtc_cursor_set()
405 memcpy_from_page(tmp_dst, pobj->pages[i], 0, PAGE_SIZE); in gma_crtc_cursor_set()
[all …]
Dgem.h40 int psb_gem_pin(struct psb_gem_object *pobj);
41 void psb_gem_unpin(struct psb_gem_object *pobj);
Dframebuffer.c85 struct psb_gem_object *pobj = to_psb_gem_object(fb->obj[0]); in psbfb_vm_fault() local
91 unsigned long phys_addr = (unsigned long)dev_priv->stolen_base + pobj->offset; in psbfb_vm_fault()
/linux-6.1.9/tools/testing/selftests/bpf/
Dtesting_helpers.h10 struct bpf_object **pobj, int *prog_fd);
Dtesting_helpers.c178 struct bpf_object **pobj, int *prog_fd) in bpf_prog_test_load() argument
208 *pobj = obj; in bpf_prog_test_load()
/linux-6.1.9/tools/perf/util/
Dbpf-loader.c1862 #define bpf__perf_for_each_map(map, pobj, tmp) \ argument
1863 bpf_perf_object__for_each(pobj, tmp) \
1864 bpf_object__for_each_map(map, pobj->obj)
1866 #define bpf__perf_for_each_map_named(map, pobj, pobjtmp, name) \ argument
1867 bpf__perf_for_each_map(map, pobj, pobjtmp) \