Home
last modified time | relevance | path

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

/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 …]
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 …]
Dexynos.c37 exynos_get_prop(struct kms_driver *kms, unsigned key, unsigned *out) in exynos_get_prop() argument
50 exynos_destroy(struct kms_driver *kms) in exynos_destroy() argument
52 free(kms); in exynos_destroy()
57 exynos_bo_create(struct kms_driver *kms, in exynos_bo_create() argument
96 ret = drmCommandWriteRead(kms->fd, DRM_EXYNOS_GEM_CREATE, &arg, sizeof(arg)); in exynos_bo_create()
100 bo->base.kms = kms; in exynos_bo_create()
140 ret = drmCommandWriteRead(bo->base.kms->fd, DRM_EXYNOS_GEM_MAP_OFFSET, &arg, sizeof(arg)); in exynos_bo_map()
144 map = mmap(0, bo->base.size, PROT_READ | PROT_WRITE, MAP_SHARED, bo->base.kms->fd, arg.offset); in exynos_bo_map()
179 ret = drmIoctl(bo->base.kms->fd, DRM_IOCTL_GEM_CLOSE, &arg); in exynos_bo_destroy()
190 struct kms_driver *kms; in exynos_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.c42 int kms_get_prop(struct kms_driver *kms, unsigned key, unsigned *out) in kms_get_prop() argument
50 return kms->get_prop(kms, key, out); in kms_get_prop()
53 int kms_destroy(struct kms_driver **kms) in kms_destroy() argument
55 if (!(*kms)) in kms_destroy()
58 free(*kms); in kms_destroy()
59 *kms = NULL; in kms_destroy()
63 int kms_bo_create(struct kms_driver *kms, const unsigned *attr, struct kms_bo **out) in kms_bo_create() argument
98 return kms->bo_create(kms, width, height, type, attr, out); in kms_bo_create()
119 return bo->kms->bo_map(bo, out); in kms_bo_map()
124 return bo->kms->bo_unmap(bo); in kms_bo_unmap()
[all …]
Dinternal.h36 int (*get_prop)(struct kms_driver *kms, const unsigned key,
38 int (*destroy)(struct kms_driver *kms);
40 int (*bo_create)(struct kms_driver *kms,
57 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);
/external/libdrm/tests/kmstest/
Dmain.c40 int test_bo(struct kms_driver *kms) in test_bo() argument
51 ret = kms_bo_create(kms, attrs, &bo); in test_bo()
70 struct kms_driver *kms; in main() local
77 ret = kms_create(fd, &kms); in main()
80 ret = test_bo(kms); in main()
86 kms_destroy(&kms); in main()
90 kms_destroy(&kms); in main()
/external/conscrypt/src/main/java/org/conscrypt/
DSSLParametersImpl.java117 protected SSLParametersImpl(KeyManager[] kms, TrustManager[] tms, in SSLParametersImpl() argument
125 if (kms == null) { in SSLParametersImpl()
130 x509KeyManager = findFirstX509KeyManager(kms); in SSLParametersImpl()
131 pskKeyManager = findFirstPSKKeyManager(kms); in SSLParametersImpl()
791 KeyManager[] kms = kmf.getKeyManagers(); in createDefaultX509KeyManager() local
792 X509KeyManager result = findFirstX509KeyManager(kms); in createDefaultX509KeyManager()
795 + Arrays.toString(kms)); in createDefaultX509KeyManager()
812 private static X509KeyManager findFirstX509KeyManager(KeyManager[] kms) { in findFirstX509KeyManager() argument
813 for (KeyManager km : kms) { in findFirstX509KeyManager()
826 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/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/libdrm/man/
DMakefile.am9 drm-kms.7 \
/external/mesa3d/src/gallium/state_trackers/d3d1x/progs/
DMakefile28 ifneq ($(findstring kms, $(EGL_PLATFORMS)),)
/external/mesa3d/src/gallium/state_trackers/xorg/
Dxorg_crtc.c288 if (kms_bo_create(ms->kms, attr, &crtcp->cursor_bo)) in crtc_load_cursor_argb_kms()
332 else if (ms->kms) in crtc_load_cursor_argb()
Dxorg_tracker.h134 struct kms_driver *kms; member
Dxorg_driver.c310 if (ms->screen || ms->kms) in drv_init_resource_management()
320 if (!kms_create(ms->fd, &ms->kms)) in drv_init_resource_management()
948 if (!ms->kms) in drv_leave_vt()
1203 if (kms_bo_create(ms->kms, attr, &bo)) in drv_create_front_buffer_kms()
1294 } else if (ms->kms) { in drv_init_front_buffer_functions()
/external/apache-harmony/x-net/src/test/api/java/org/apache/harmony/xnet/tests/javax/net/ssl/
DSSLContext1Test.java365 KeyManager[] kms = kmf.getKeyManagers(); in testSSLContext11() local
370 sslC[i].init(kms, tms, new SecureRandom()); in testSSLContext11()