Home
last modified time | relevance | path

Searched refs:kms (Results 1 – 25 of 33) sorted by relevance

12

/external/libdrm/libkms/
Dintel.c52 intel_get_prop(struct kms_driver *kms, unsigned key, unsigned *out) in intel_get_prop() argument
65 intel_destroy(struct kms_driver *kms) in intel_destroy() argument
67 free(kms); in intel_destroy()
72 intel_bo_create(struct kms_driver *kms, in intel_bo_create() argument
112 ret = drmCommandWriteRead(kms->fd, DRM_I915_GEM_CREATE, &arg, sizeof(arg)); in intel_bo_create()
116 bo->base.kms = kms; in intel_bo_create()
130 ret = drmCommandWriteRead(kms->fd, DRM_I915_GEM_SET_TILING, &tile, sizeof(tile)); in intel_bo_create()
172 ret = drmCommandWriteRead(bo->base.kms->fd, DRM_I915_GEM_MMAP_GTT, &arg, sizeof(arg)); in intel_bo_map()
176 map = drm_mmap(0, bo->base.size, PROT_READ | PROT_WRITE, MAP_SHARED, bo->base.kms->fd, arg.offset); in intel_bo_map()
211 ret = drmIoctl(bo->base.kms->fd, DRM_IOCTL_GEM_CLOSE, &arg); in intel_bo_destroy()
[all …]
Dexynos.c38 exynos_get_prop(struct kms_driver *kms, unsigned key, unsigned *out) in exynos_get_prop() argument
51 exynos_destroy(struct kms_driver *kms) in exynos_destroy() argument
53 free(kms); in exynos_destroy()
58 exynos_bo_create(struct kms_driver *kms, in exynos_bo_create() argument
97 ret = drmCommandWriteRead(kms->fd, DRM_EXYNOS_GEM_CREATE, &arg, sizeof(arg)); in exynos_bo_create()
101 bo->base.kms = kms; in exynos_bo_create()
141 ret = drmIoctl(bo->base.kms->fd, DRM_IOCTL_MODE_MAP_DUMB, &arg); in exynos_bo_map()
145 map = drm_mmap(0, bo->base.size, PROT_READ | PROT_WRITE, MAP_SHARED, bo->base.kms->fd, arg.offset); in exynos_bo_map()
180 ret = drmIoctl(bo->base.kms->fd, DRM_IOCTL_GEM_CLOSE, &arg); in exynos_bo_destroy()
191 struct kms_driver *kms; in exynos_create() local
[all …]
Ddumb.c50 dumb_get_prop(struct kms_driver *kms, unsigned key, unsigned *out) in dumb_get_prop() argument
63 dumb_destroy(struct kms_driver *kms) in dumb_destroy() argument
65 free(kms); in dumb_destroy()
70 dumb_bo_create(struct kms_driver *kms, in dumb_bo_create() argument
102 ret = drmIoctl(kms->fd, DRM_IOCTL_MODE_CREATE_DUMB, &arg); in dumb_bo_create()
106 bo->base.kms = kms; in dumb_bo_create()
146 ret = drmIoctl(bo->base.kms->fd, DRM_IOCTL_MODE_MAP_DUMB, &arg); in dumb_bo_map()
150 map = drm_mmap(0, bo->base.size, PROT_READ | PROT_WRITE, MAP_SHARED, bo->base.kms->fd, arg.offset); in dumb_bo_map()
185 ret = drmIoctl(bo->base.kms->fd, DRM_IOCTL_MODE_DESTROY_DUMB, &arg); in dumb_bo_destroy()
196 struct kms_driver *kms; in dumb_create() local
[all …]
Dvmwgfx.c50 vmwgfx_get_prop(struct kms_driver *kms, unsigned key, unsigned *out) in vmwgfx_get_prop() argument
63 vmwgfx_destroy(struct kms_driver *kms) in vmwgfx_destroy() argument
65 free(kms); in vmwgfx_destroy()
70 vmwgfx_bo_create(struct kms_driver *kms, in vmwgfx_bo_create() argument
102 bo->base.kms = kms; in vmwgfx_bo_create()
105 ret = drmCommandWriteRead(bo->base.kms->fd, in vmwgfx_bo_create()
149 …map = drm_mmap(NULL, bo->base.size, PROT_READ | PROT_WRITE, MAP_SHARED, bo->base.kms->fd, bo->map_… in vmwgfx_bo_map()
182 drmCommandWrite(bo->base.kms->fd, DRM_VMW_UNREF_DMABUF, &arg, sizeof(arg)); in vmwgfx_bo_destroy()
191 struct kms_driver *kms; in vmwgfx_create() local
193 kms = calloc(1, sizeof(*kms)); in vmwgfx_create()
[all …]
Dradeon.c55 radeon_get_prop(struct kms_driver *kms, unsigned key, unsigned *out) in radeon_get_prop() argument
68 radeon_destroy(struct kms_driver *kms) in radeon_destroy() argument
70 free(kms); in radeon_destroy()
75 radeon_bo_create(struct kms_driver *kms, in radeon_bo_create() argument
121 ret = drmCommandWriteRead(kms->fd, DRM_RADEON_GEM_CREATE, in radeon_bo_create()
126 bo->base.kms = kms; in radeon_bo_create()
170 ret = drmCommandWriteRead(bo->base.kms->fd, DRM_RADEON_GEM_MMAP, in radeon_bo_map()
176 bo->base.kms->fd, arg.addr_ptr); in radeon_bo_map()
214 ret = drmIoctl(bo->base.kms->fd, DRM_IOCTL_GEM_CLOSE, &arg); in radeon_bo_destroy()
225 struct kms_driver *kms; in radeon_create() local
[all …]
Dnouveau.c53 nouveau_get_prop(struct kms_driver *kms, unsigned key, unsigned *out) in nouveau_get_prop() argument
66 nouveau_destroy(struct kms_driver *kms) in nouveau_destroy() argument
68 free(kms); in nouveau_destroy()
73 nouveau_bo_create(struct kms_driver *kms, in nouveau_bo_create() argument
118 ret = drmCommandWriteRead(kms->fd, DRM_NOUVEAU_GEM_NEW, &arg, sizeof(arg)); in nouveau_bo_create()
122 bo->base.kms = kms; in nouveau_bo_create()
158 …map = drm_mmap(0, bo->base.size, PROT_READ | PROT_WRITE, MAP_SHARED, bo->base.kms->fd, bo->map_han… in nouveau_bo_map()
193 ret = drmIoctl(bo->base.kms->fd, DRM_IOCTL_GEM_CLOSE, &arg); in nouveau_bo_destroy()
204 struct kms_driver *kms; in nouveau_create() local
206 kms = calloc(1, sizeof(*kms)); in nouveau_create()
[all …]
Dapi.c45 int kms_get_prop(struct kms_driver *kms, unsigned key, unsigned *out) in kms_get_prop() argument
53 return kms->get_prop(kms, key, out); in kms_get_prop()
56 int kms_destroy(struct kms_driver **kms) in kms_destroy() argument
58 if (!(*kms)) in kms_destroy()
61 free(*kms); in kms_destroy()
62 *kms = NULL; in kms_destroy()
66 int kms_bo_create(struct kms_driver *kms, const unsigned *attr, struct kms_bo **out) in kms_bo_create() argument
101 return kms->bo_create(kms, width, height, type, attr, out); in kms_bo_create()
122 return bo->kms->bo_map(bo, out); in kms_bo_map()
127 return bo->kms->bo_unmap(bo); in kms_bo_unmap()
[all …]
Dinternal.h41 int (*get_prop)(struct kms_driver *kms, const unsigned key,
43 int (*destroy)(struct kms_driver *kms);
45 int (*bo_create)(struct kms_driver *kms,
62 struct kms_driver *kms; member
Dlibkms.h69 int kms_get_prop(struct kms_driver *kms, unsigned key, unsigned *out);
70 int kms_destroy(struct kms_driver **kms);
72 int kms_bo_create(struct kms_driver *kms, const unsigned *attr, struct kms_bo **out);
DMakefile.am46 TESTS = kms-symbol-check
/external/libdrm/tests/kmstest/
Dmain.c40 static int test_bo(struct kms_driver *kms) in test_bo() argument
51 ret = kms_bo_create(kms, attrs, &bo); in test_bo()
74 struct kms_driver *kms; in main() local
81 ret = kms_create(fd, &kms); in main()
84 ret = test_bo(kms); in main()
90 kms_destroy(&kms); in main()
94 kms_destroy(&kms); in main()
/external/libdrm/tests/kms/
DMakefile.am24 kms-steal-crtc \
25 kms-universal-planes
28 kms-steal-crtc \
29 kms-universal-planes
32 kms_steal_crtc_SOURCES = kms-steal-crtc.c
35 kms_universal_planes_SOURCES = kms-universal-planes.c
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/tests/integration/kms/
Dtest_kms.py24 from boto.kms.exceptions import NotFoundException
30 self.kms = boto.connect_kms()
33 response = self.kms.list_keys()
39 self.kms.describe_key(
/external/libdrm/tests/util/
DMakefile.sources5 kms.c \
6 kms.h \
/external/conscrypt/src/main/java/org/conscrypt/
DSSLParametersImpl.java137 protected SSLParametersImpl(KeyManager[] kms, TrustManager[] tms, in SSLParametersImpl() argument
145 if (kms == null) { in SSLParametersImpl()
150 x509KeyManager = findFirstX509KeyManager(kms); in SSLParametersImpl()
151 pskKeyManager = findFirstPSKKeyManager(kms); in SSLParametersImpl()
864 KeyManager[] kms = kmf.getKeyManagers(); in createDefaultX509KeyManager() local
865 X509KeyManager result = findFirstX509KeyManager(kms); in createDefaultX509KeyManager()
868 + Arrays.toString(kms)); in createDefaultX509KeyManager()
885 private static X509KeyManager findFirstX509KeyManager(KeyManager[] kms) { in findFirstX509KeyManager() argument
886 for (KeyManager km : kms) { in findFirstX509KeyManager()
899 private static PSKKeyManager findFirstPSKKeyManager(KeyManager[] kms) { in findFirstPSKKeyManager() argument
[all …]
DOpenSSLContextImpl.java98 public void engineInit(KeyManager[] kms, TrustManager[] tms, SecureRandom sr) in engineInit() argument
100 sslParameters = new SSLParametersImpl(kms, tms, sr, clientSessionContext, in engineInit()
DDefaultSSLContextImpl.java125 public void engineInit(KeyManager[] kms, TrustManager[] tms, in engineInit() argument
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/kms/
D__init__.py33 from boto.kms.layer1 import KMSConnection
/external/boringssl/src/crypto/cipher/test/
Daes_128_key_wrap_tests.txt2 # http://csrc.nist.gov/groups/ST/toolkit/documents/kms/key-wrap.pdf
Daes_256_key_wrap_tests.txt2 # http://csrc.nist.gov/groups/ST/toolkit/documents/kms/key-wrap.pdf
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/tests/unit/kms/
Dtest_kms.py24 from boto.kms.layer1 import KMSConnection
/external/libdrm/tests/
DMakefile.am1 SUBDIRS = util kms modeprint proptest modetest vbltest subdir
/external/libdrm/man/
DMakefile.am14 drm-kms.xml \
/external/mesa3d/src/gallium/state_trackers/d3d1x/progs/
DMakefile28 ifneq ($(findstring kms, $(EGL_PLATFORMS)),)
/external/mesa3d/src/gallium/state_trackers/xorg/
Dxorg_tracker.h134 struct kms_driver *kms; member

12