Home
last modified time | relevance | path

Searched refs:etna_device (Results 1 – 20 of 20) sorted by relevance

/external/libdrm/etnaviv/
Detnaviv_device.c44 drm_public struct etna_device *etna_device_new(int fd) in etna_device_new()
46 struct etna_device *dev = calloc(sizeof(*dev), 1); in etna_device_new()
62 drm_public struct etna_device *etna_device_new_dup(int fd) in etna_device_new_dup()
65 struct etna_device *dev = etna_device_new(dup_fd); in etna_device_new_dup()
75 drm_public struct etna_device *etna_device_ref(struct etna_device *dev) in etna_device_ref()
82 static void etna_device_del_impl(struct etna_device *dev) in etna_device_del_impl()
94 drm_private void etna_device_del_locked(struct etna_device *dev) in etna_device_del_locked()
102 drm_public void etna_device_del(struct etna_device *dev) in etna_device_del()
112 drm_public int etna_device_fd(struct etna_device *dev) in etna_device_fd()
Detnaviv_drmif.h36 struct etna_device;
89 struct etna_device *etna_device_new(int fd);
90 struct etna_device *etna_device_new_dup(int fd);
91 struct etna_device *etna_device_ref(struct etna_device *dev);
92 void etna_device_del(struct etna_device *dev);
93 int etna_device_fd(struct etna_device *dev);
98 struct etna_gpu *etna_gpu_new(struct etna_device *dev, unsigned int core);
116 struct etna_bo *etna_bo_new(struct etna_device *dev,
118 struct etna_bo *etna_bo_from_name(struct etna_device *dev, uint32_t name);
119 struct etna_bo *etna_bo_from_dmabuf(struct etna_device *dev, int fd);
Detnaviv_priv.h61 struct etna_device { struct
88 drm_private void etna_device_del_locked(struct etna_device *dev); argument
92 struct etna_device *dev;
117 struct etna_device *dev;
Detnaviv_bo.c79 static struct etna_bo *bo_from_handle(struct etna_device *dev, in bo_from_handle()
107 drm_public struct etna_bo *etna_bo_new(struct etna_device *dev, uint32_t size, in etna_bo_new()
162 drm_public struct etna_bo *etna_bo_from_name(struct etna_device *dev, in etna_bo_from_name()
200 drm_public struct etna_bo *etna_bo_from_dmabuf(struct etna_device *dev, int fd) in etna_bo_from_dmabuf()
237 struct etna_device *dev = bo->dev; in etna_bo_del()
Detnaviv_gpu.c30 static uint64_t get_param(struct etna_device *dev, uint32_t core, uint32_t param) in get_param()
47 drm_public struct etna_gpu *etna_gpu_new(struct etna_device *dev, unsigned int core) in etna_gpu_new()
84 struct etna_device *dev = gpu->dev; in etna_gpu_get_param()
Detnaviv_perfmon.c32 struct etna_device *dev = pm->pipe->gpu->dev; in etna_perfmon_query_signals()
65 struct etna_device *dev = pm->pipe->gpu->dev; in etna_perfmon_query_domains()
Detnaviv_pipe.c36 struct etna_device *dev = pipe->gpu->dev; in etna_pipe_wait_ns()
/external/mesa3d/src/etnaviv/drm/
Detnaviv_device.c33 struct etna_device *etna_device_new(int fd) in etna_device_new()
35 struct etna_device *dev = calloc(sizeof(*dev), 1); in etna_device_new()
63 struct etna_device *etna_device_new_dup(int fd) in etna_device_new_dup()
66 struct etna_device *dev = etna_device_new(dup_fd); in etna_device_new_dup()
76 struct etna_device *etna_device_ref(struct etna_device *dev) in etna_device_ref()
83 static void etna_device_del_impl(struct etna_device *dev) in etna_device_del_impl()
99 void etna_device_del_locked(struct etna_device *dev) in etna_device_del_locked()
107 void etna_device_del(struct etna_device *dev) in etna_device_del()
117 int etna_device_fd(struct etna_device *dev) in etna_device_fd()
122 bool etnaviv_device_softpin_capable(struct etna_device *dev) in etnaviv_device_softpin_capable()
Detnaviv_drmif.h37 struct etna_device;
91 struct etna_device *etna_device_new(int fd);
92 struct etna_device *etna_device_new_dup(int fd);
93 struct etna_device *etna_device_ref(struct etna_device *dev);
94 void etna_device_del(struct etna_device *dev);
95 int etna_device_fd(struct etna_device *dev);
96 bool etnaviv_device_softpin_capable(struct etna_device *dev);
101 struct etna_gpu *etna_gpu_new(struct etna_device *dev, unsigned int core);
118 struct etna_bo *etna_bo_new(struct etna_device *dev,
120 struct etna_bo *etna_bo_from_name(struct etna_device *dev, uint32_t name);
[all …]
Detnaviv_priv.h66 struct etna_device { struct
96 void etna_device_del_locked(struct etna_device *dev); argument
100 struct etna_device *dev;
124 struct etna_device *dev;
Detnaviv_bo.c88 static struct etna_bo *bo_from_handle(struct etna_device *dev, in bo_from_handle()
119 struct etna_bo *etna_bo_new(struct etna_device *dev, uint32_t size, in etna_bo_new()
176 struct etna_bo *etna_bo_from_name(struct etna_device *dev, in etna_bo_from_name()
216 struct etna_bo *etna_bo_from_dmabuf(struct etna_device *dev, int fd) in etna_bo_from_dmabuf()
258 struct etna_device *dev = bo->dev; in etna_bo_del()
Detnaviv_gpu.c30 static uint64_t get_param(struct etna_device *dev, uint32_t core, uint32_t param) in get_param()
47 struct etna_gpu *etna_gpu_new(struct etna_device *dev, unsigned int core) in etna_gpu_new()
84 struct etna_device *dev = gpu->dev; in etna_gpu_get_param()
Detnaviv_perfmon.c32 struct etna_device *dev = pm->pipe->gpu->dev; in etna_perfmon_query_signals()
65 struct etna_device *dev = pm->pipe->gpu->dev; in etna_perfmon_query_domains()
Detnaviv_pipe.c31 struct etna_device *dev = pipe->gpu->dev; in etna_pipe_wait_ns()
/external/libdrm/tests/etnaviv/
Detnaviv_bo_cache_test.c39 static void test_cache(struct etna_device *dev) in test_cache()
60 static void test_size_rounding(struct etna_device *dev) in test_size_rounding()
83 struct etna_device *dev; in main()
Detnaviv_2d_test.c177 struct etna_device *dev; in main()
/external/mesa3d/src/etnaviv/drm/tests/
Detnaviv_bo_cache_test.c38 static void test_cache(struct etna_device *dev) in test_cache()
59 static void test_size_rounding(struct etna_device *dev) in test_size_rounding()
82 struct etna_device *dev; in main()
/external/mesa3d/src/gallium/drivers/etnaviv/
Detnaviv_screen.h71 struct etna_device *dev;
103 etna_screen_create(struct etna_device *dev, struct etna_gpu *gpu,
Detnaviv_screen.c895 etna_screen_create(struct etna_device *dev, struct etna_gpu *gpu, in etna_screen_create()
/external/mesa3d/src/gallium/winsys/etnaviv/drm/
Detnaviv_drm_winsys.c101 struct etna_device *dev; in screen_create()