Home
last modified time | relevance | path

Searched refs:src (Results 1 – 25 of 55) sorted by relevance

123

/gfx-drm/usr/src/uts/common/drm/
H A Ddrm_io32.h180 extern int copyin32_drm_map(void *dest, void *src);
181 extern int copyout32_drm_map(void *dest, void *src);
182 extern int copyin32_drm_buf_desc(void * dest, void * src);
185 extern int copyin32_drm_buf_map(void * dest, void * src);
189 extern int copyin32_drm_ctx_res(void * dest, void * src);
191 extern int copyin32_drm_unique(void * dest, void * src);
192 extern int copyout32_drm_unique(void * dest, void * src);
193 extern int copyin32_drm_client(void * dest, void * src);
194 extern int copyout32_drm_client(void * dest, void * src);
195 extern int copyout32_drm_stats(void * dest, void * src);
[all …]
H A Ddrm_rect.h150 int drm_rect_clip_scaled(struct drm_rect *src, struct drm_rect *dst,
153 int drm_rect_calc_hscale(const struct drm_rect *src,
156 int drm_rect_calc_vscale(const struct drm_rect *src,
159 int drm_rect_calc_hscale_relaxed(struct drm_rect *src,
162 int drm_rect_calc_vscale_relaxed(struct drm_rect *src,
/gfx-drm/usr/src/uts/common/io/drm/
H A Ddrm_io32.c35 copyin32_drm_map(void *dest, void *src) in copyin32_drm_map() argument
53 copyout32_drm_map(void *dest, void *src) in copyout32_drm_map() argument
55 struct drm_map *src64 = src; in copyout32_drm_map()
91 struct drm_buf_desc *src64 = src; in copyout32_drm_buf_desc()
139 struct drm_buf_map *src64 = src; in copyout32_drm_buf_map()
195 struct drm_ctx_res *src64 = src; in copyout32_drm_ctx_res()
223 struct drm_unique *src64 = src; in copyout32_drm_unique()
255 struct drm_client *src64 = src; in copyout32_drm_client()
273 struct drm_stats *src64 = src; in copyout32_drm_stats()
309 struct drm_version *src64 = src; in copyout32_drm_version()
[all …]
H A Ddrm_rect.c73 src->x1 = clamp_int64_t(tmp); in drm_rect_clip_scaled()
78 src->y1 = clamp_int64_t(tmp); in drm_rect_clip_scaled()
83 src->x2 = clamp_int64_t(tmp); in drm_rect_clip_scaled()
88 src->y2 = clamp_int64_t(tmp); in drm_rect_clip_scaled()
94 static int drm_calc_scale(int src, int dst) in drm_calc_scale() argument
98 if (src < 0 || dst < 0) in drm_calc_scale()
104 scale = src / dst; in drm_calc_scale()
126 int src_w = drm_rect_width(src); in drm_rect_calc_hscale()
156 int src_h = drm_rect_height(src); in drm_rect_calc_vscale()
192 int src_w = drm_rect_width(src); in drm_rect_calc_hscale_relaxed()
[all …]
/gfx-drm/usr/src/uts/intel/io/i915/
H A Di915_io32.c33 copyin32_i915_batchbuffer(void * dest, void * src) in copyin32_i915_batchbuffer() argument
38 DRM_COPYFROM_WITH_RETURN(&dest32, (void *)src, sizeof (dest32)); in copyin32_i915_batchbuffer()
51 copyin32_i915_irq_emit(void *dest, void *src) in copyin32_i915_irq_emit() argument
56 DRM_COPYFROM_WITH_RETURN(&dest32, (void *)src, sizeof (dest32)); in copyin32_i915_irq_emit()
64 copyin32_i915_getparam(void *dest, void *src) in copyin32_i915_getparam() argument
69 DRM_COPYFROM_WITH_RETURN(&dest32, (void *)src, sizeof (dest32)); in copyin32_i915_getparam()
78 copyin32_i915_cmdbuffer(void * dest, void * src) in copyin32_i915_cmdbuffer() argument
83 DRM_COPYFROM_WITH_RETURN(&dest32, (void *)src, sizeof (dest32)); in copyin32_i915_cmdbuffer()
96 copyin32_i915_mem_alloc(void *dest, void *src) in copyin32_i915_mem_alloc() argument
101 DRM_COPYFROM_WITH_RETURN(&dest32, (void *)src, sizeof (dest32)); in copyin32_i915_mem_alloc()
H A Di915_io32.h33 extern int copyin32_i915_mem_alloc(void *dest, void *src);
34 extern int copyin32_i915_irq_emit(void *dest, void *src);
35 extern int copyin32_i915_getparam(void *dest, void *src);
36 extern int copyin32_i915_cmdbuffer(void * dest, void * src);
37 extern int copyin32_i915_batchbuffer(void * dest, void * src);
H A Dintel_sprite.c624 struct drm_rect src = { in intel_update_plane() local
711 drm_rect_debug_print(&src, true); in intel_update_plane()
720 drm_rect_debug_print(&src, true); in intel_update_plane()
727 drm_rect_adjust_size(&src, in intel_update_plane()
732 WARN_ON(src.x1 < (int) src_x || in intel_update_plane()
733 src.y1 < (int) src_y || in intel_update_plane()
734 src.x2 > (int) (src_x + src_w) || in intel_update_plane()
735 src.y2 > (int) (src_y + src_h)); in intel_update_plane()
743 src_x = src.x1 >> 16; in intel_update_plane()
744 src_w = drm_rect_width(&src) >> 16; in intel_update_plane()
[all …]
/gfx-drm/usr/src/tools/
H A Duserland-fetch106 src = None
112 src = urlopen(req)
118 if src.getcode() and (3 <= int(src.getcode()/100) <= 5):
119 print "Error code: " + str(src.getcode())
123 filename = src.geturl().split('/')[-1]
129 src.close()
133 block = src.read()
138 src.close()
/gfx-drm/
H A DREADME29 usr/src/uts/intel/io/i915 i915 driver
30 usr/src/uts/common/io/drm/ DRM "misc" support
31 usr/src/uts/intel/io/agpmaster AGP master support
32 usr/src/uts/intel/io/agpgart AGP GART, AGP target
40 usr/src/lib/libdrm/ DRM driver
41 usr/src/lib/libdrm_* H/W-specific DRM support
42 usr/src/lib/libkms Kernel Mode Setting support
49 usr/src/common/libdrm/
77 usr/src/common/libdrm/Check-patches
H A D.gitignore7 /usr/src/TAGS
8 /usr/src/cscope.*
/gfx-drm/usr/src/pkg/
H A DMakefile.lic39 $(LICROOT)/usr/src/%: $(CODEMGR_WS)/usr/src/%
H A Dexcept_pmodes8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
H A Dexcept_packaging8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
/gfx-drm/usr/src/pkg/manifests/
H A Dsystem-header-header-drm.mf8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
41 license usr/src/uts/common/io/drm/LICENSE_DRM \
42 license=usr/src/uts/common/io/drm/LICENSE_DRM
H A Dsystem-header-header-agp.mf8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
46 license usr/src/uts/common/sys/THIRDPARTYLICENSE.agpgart \
47 license=usr/src/uts/common/sys/THIRDPARTYLICENSE.agpgart
H A Ddriver-graphics-agpgart.mf8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
98 license usr/src/uts/common/sys/THIRDPARTYLICENSE.agpgart \
99 license=usr/src/uts/common/sys/THIRDPARTYLICENSE.agpgart
/gfx-drm/usr/src/cmd/mdb/
H A Dmapfile10 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
16 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
30 # usr/src/lib/README.mapfiles
/gfx-drm/usr/src/cmd/devfsadm/
H A Dmapfile-vers10 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
16 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
30 # usr/src/lib/README.mapfiles
/gfx-drm/usr/src/pkg/license_files/
H A Dlic_CDDL7 You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
13 file and include the License file at usr/src/OPENSOLARIS.LICENSE.
/gfx-drm/usr/src/pkg/transforms/
H A Dstrip_versions8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
H A Dcommon_actions8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
/gfx-drm/usr/src/lib/
H A DMakefile.lib.648 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
/gfx-drm/usr/src/cmd/
H A DMakefile.cmd.649 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
15 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
/gfx-drm/usr/src/common/mapfiles/common/
H A Dmap.noexstk10 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
16 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
H A Dmap.pagealign10 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
16 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.

123