| /OK3568_Linux_fs/external/security/librkcrypto/perf_reports/ |
| H A D | RK3588_perf.txt | 19 dma_fd: otpkey [AES-256] ECB ENCRYPT 560MB/s. 20 dma_fd: otpkey [AES-256] ECB DECRYPT 560MB/s. 21 dma_fd: otpkey [AES-256] CBC ENCRYPT 288MB/s. 22 dma_fd: otpkey [AES-256] CBC DECRYPT 560MB/s. 23 dma_fd: otpkey [AES-256] CTR ENCRYPT 560MB/s. 24 dma_fd: otpkey [AES-256] CTR DECRYPT 560MB/s. 25 dma_fd: otpkey [SM4-128] ECB ENCRYPT 483MB/s. 26 dma_fd: otpkey [SM4-128] ECB DECRYPT 483MB/s. 27 dma_fd: otpkey [SM4-128] CBC ENCRYPT 146MB/s. 28 dma_fd: otpkey [SM4-128] CBC DECRYPT 483MB/s. [all …]
|
| H A D | RK3566_perf.txt | 20 dma_fd: otpkey [AES-256] ECB ENCRYPT 360MB/s. 21 dma_fd: otpkey [AES-256] ECB DECRYPT 360MB/s. 22 dma_fd: otpkey [AES-256] CBC ENCRYPT 164MB/s. 23 dma_fd: otpkey [AES-256] CBC DECRYPT 360MB/s. 24 dma_fd: otpkey [AES-256] CTR ENCRYPT 360MB/s. 25 dma_fd: otpkey [AES-256] CTR DECRYPT 360MB/s. 26 dma_fd: otpkey [SM4-128] ECB ENCRYPT 297MB/s. 27 dma_fd: otpkey [SM4-128] ECB DECRYPT 297MB/s. 28 dma_fd: otpkey [SM4-128] CBC ENCRYPT 84MB/s. 29 dma_fd: otpkey [SM4-128] CBC DECRYPT 297MB/s. [all …]
|
| H A D | RK3562_perf.txt | 20 dma_fd: otpkey [AES-256] ECB ENCRYPT 605MB/s. 21 dma_fd: otpkey [AES-256] ECB DECRYPT 605MB/s. 22 dma_fd: otpkey [AES-256] CBC ENCRYPT 177MB/s. 23 dma_fd: otpkey [AES-256] CBC DECRYPT 606MB/s. 24 dma_fd: otpkey [AES-256] CTR ENCRYPT 606MB/s. 25 dma_fd: otpkey [AES-256] CTR DECRYPT 606MB/s. 26 dma_fd: otpkey [SM4-128] ECB ENCRYPT N/A. 27 dma_fd: otpkey [SM4-128] ECB DECRYPT N/A. 28 dma_fd: otpkey [SM4-128] CBC ENCRYPT N/A. 29 dma_fd: otpkey [SM4-128] CBC DECRYPT N/A. [all …]
|
| H A D | RK3528_perf.txt | 19 dma_fd: otpkey [AES-256] ECB ENCRYPT 764MB/s. 20 dma_fd: otpkey [AES-256] ECB DECRYPT 773MB/s. 21 dma_fd: otpkey [AES-256] CBC ENCRYPT 252MB/s. 22 dma_fd: otpkey [AES-256] CBC DECRYPT 771MB/s. 23 dma_fd: otpkey [AES-256] CTR ENCRYPT 762MB/s. 24 dma_fd: otpkey [AES-256] CTR DECRYPT 772MB/s. 25 dma_fd: otpkey [SM4-128] ECB ENCRYPT 441MB/s. 26 dma_fd: otpkey [SM4-128] ECB DECRYPT 443MB/s. 27 dma_fd: otpkey [SM4-128] CBC ENCRYPT 125MB/s. 28 dma_fd: otpkey [SM4-128] CBC DECRYPT 443MB/s. [all …]
|
| H A D | RV1106_perf.txt | 19 dma_fd: test otp_key throughput FAILED!!! 23 dma_fd: [DES-64] ECB ENCRYPT 277MB/s. 24 dma_fd: [DES-64] ECB DECRYPT 277MB/s. 25 dma_fd: [DES-64] CBC ENCRYPT 77MB/s. 26 dma_fd: [DES-64] CBC DECRYPT 277MB/s. 27 dma_fd: [TDES-192] ECB ENCRYPT 105MB/s. 28 dma_fd: [TDES-192] ECB DECRYPT 105MB/s. 29 dma_fd: [TDES-192] CBC ENCRYPT 28MB/s. 30 dma_fd: [TDES-192] CBC DECRYPT 105MB/s. 31 dma_fd: [AES-256] ECB ENCRYPT 559MB/s. [all …]
|
| /OK3568_Linux_fs/external/security/librkcrypto/src/ |
| H A D | rkcrypto_mem.c | 97 ret = drmPrimeHandleToFD(dma_node_fd, req.handle, 0, &node->mem.dma_fd); in crypto_alloc_node_drm() 111 req.handle, node->mem.dma_fd, size, req.size); in crypto_alloc_node_drm() 157 if (node->mem.dma_fd >= 0) in crypto_free_node_drm() 158 close(node->mem.dma_fd); in crypto_free_node_drm() 210 node->mem.dma_fd = req.fd; in crypto_alloc_node_dma_heap() 213 node->mem.dma_fd, size, req.len); in crypto_alloc_node_dma_heap() 252 if (node->mem.dma_fd >= 0) in crypto_free_node_dma_heap() 253 close(node->mem.dma_fd); in crypto_free_node_dma_heap()
|
| /OK3568_Linux_fs/external/camera_engine_rkaiq/rkaiq/xcore/ |
| H A D | dma_video_buffer.cpp | 29 DmaVideoBuffer::DmaVideoBuffer(const VideoBufferInfo& info, int dma_fd, bool need_close_fd) in DmaVideoBuffer() argument 30 : DmaBuffer(dma_fd, info.size), VideoBuffer(info), _need_close_fd(need_close_fd) { in DmaVideoBuffer() 31 XCAM_ASSERT(dma_fd >= 0); in DmaVideoBuffer()
|
| H A D | dma_video_buffer.h | 34 DmaVideoBuffer(const VideoBufferInfo& info, int dma_fd, bool need_close_fd = false);
|
| /OK3568_Linux_fs/external/security/librkcrypto/demo/ |
| H A D | demo_ae.c | 120 res = rk_ae_set_aad(handle, aad->dma_fd); in demo_ae() 127 res = rk_ae_crypt(handle, in->dma_fd, out->dma_fd, data_len, tag); in demo_ae() 159 res = rk_ae_set_aad(handle, aad->dma_fd); in demo_ae() 167 res = rk_ae_crypt(handle, out->dma_fd, out->dma_fd, data_len, tag); in demo_ae()
|
| H A D | demo_otpkey.c | 77 res = rk_oem_otp_key_cipher(key_id, &config, in->dma_fd, out->dma_fd, len); in demo_otpkey() 93 res = rk_oem_otp_key_cipher(key_id, &config, out->dma_fd, out->dma_fd, len); in demo_otpkey()
|
| H A D | demo_cipher.c | 74 res = rk_cipher_crypt(handle, in->dma_fd, out->dma_fd, data_len); in demo_cipher() 100 res = rk_cipher_crypt(handle, out->dma_fd, out->dma_fd, data_len); in demo_cipher()
|
| H A D | demo_hash.c | 73 res = rk_hash_update(hash_hdl, in->dma_fd, in->size); in demo_hash() 198 res = rk_hash_update(hash_hdl, in->dma_fd, in->size); in demo_hmac()
|
| /OK3568_Linux_fs/yocto/meta-rockchip/recipes-graphics/wayland/weston_10.0.2/ |
| H A D | 0050-HACK-pixman-renderer-Support-passing-dma-fd-to-pixma.patch | 7 pixman_image_set_destroy_function(image, NULL, (void *)(ptrdiff_t)dma_fd) 26 + int dma_fd; 40 + output->dumb[i]->dma_fd); 52 + if (fb->dma_fd >= 0) 53 + close(fb->dma_fd); 77 + fb->dma_fd = prime_arg.fd;
|
| /OK3568_Linux_fs/yocto/meta-rockchip/recipes-graphics/wayland/weston_11.0.1/ |
| H A D | 0053-HACK-pixman-renderer-Support-passing-dma-fd-to-pixma.patch | 7 pixman_image_set_destroy_function(image, NULL, (void *)(ptrdiff_t)dma_fd) 26 + int dma_fd; 40 + output->dumb[i]->dma_fd); 52 + if (fb->dma_fd >= 0) 53 + close(fb->dma_fd); 77 + fb->dma_fd = prime_arg.fd;
|
| /OK3568_Linux_fs/buildroot/package/weston/ |
| H A D | 0053-HACK-pixman-renderer-Support-passing-dma-fd-to-pixma.patch | 7 pixman_image_set_destroy_function(image, NULL, (void *)(ptrdiff_t)dma_fd) 26 + int dma_fd; 40 + output->dumb[i]->dma_fd); 52 + if (fb->dma_fd >= 0) 53 + close(fb->dma_fd); 77 + fb->dma_fd = prime_arg.fd;
|
| /OK3568_Linux_fs/kernel/drivers/crypto/rockchip/cryptodev_linux/ |
| H A D | rk_cryptodev.c | 238 static int get_dmafd_sgtbl(int dma_fd, unsigned int dma_len, enum dma_data_direction dir, in get_dmafd_sgtbl() argument 251 *dmabuf = dma_buf_get(dma_fd); in get_dmafd_sgtbl() 294 static int put_dmafd_sgtbl(int dma_fd, enum dma_data_direction dir, in put_dmafd_sgtbl() argument 321 static struct dma_fd_map_node *dma_fd_find_node(struct fcrypt *fcr, int dma_fd) in dma_fd_find_node() argument 328 if (unlikely(map_node->fd_map.mop.dma_fd == dma_fd)) { in dma_fd_find_node() 489 map_node = dma_fd_find_node(fcr, kmop->mop.dma_fd); in dma_fd_map_for_user() 503 map_node->dmabuf = dma_buf_get(kmop->mop.dma_fd); in dma_fd_map_for_user() 524 map_node->fd_map.mop.dma_fd = kmop->mop.dma_fd; in dma_fd_map_for_user() 557 if (map_node->fd_map.mop.dma_fd == kmop->mop.dma_fd && in dma_fd_unmap_for_user() 572 derr(1, "dmafd =0x%08X not found!", kmop->mop.dma_fd); in dma_fd_unmap_for_user() [all …]
|
| /OK3568_Linux_fs/external/drm-cursor/ |
| H A D | drm_egl.c | 375 static int egl_attach_dmabuf(egl_ctx *ctx, int dma_fd, int width, int height) in egl_attach_dmabuf() argument 387 EGL_DMA_BUF_PLANE0_FD_EXT, dma_fd, in egl_attach_dmabuf() 436 int dma_fd; in egl_convert_fb() local 445 if (drmPrimeHandleToFD(fd, handle, DRM_CLOEXEC, &dma_fd) < 0) { in egl_convert_fb() 477 if (egl_attach_dmabuf(ctx, dma_fd, w, h) < 0) { in egl_convert_fb() 496 close(dma_fd); in egl_convert_fb()
|
| /OK3568_Linux_fs/external/security/librkcrypto/test/ |
| H A D | test_throughput.c | 60 res = rk_oem_otp_key_cipher(key_id, &config, fd->dma_fd, fd->dma_fd, data_len); in test_otp_key_item_tp() 274 ((rk_crypto_mem *)in_out)->dma_fd, in test_cipher_item_tp() 275 ((rk_crypto_mem *)in_out)->dma_fd, in test_cipher_item_tp() 525 res = rk_ae_set_aad(handle, ((rk_crypto_mem *)aad)->dma_fd); in test_ae_item_tp() 532 ((rk_crypto_mem *)in)->dma_fd, in test_ae_item_tp() 533 ((rk_crypto_mem *)out)->dma_fd, in test_ae_item_tp() 593 res = rk_ae_set_aad(handle, ((rk_crypto_mem *)aad)->dma_fd); in test_ae_item_tp() 600 ((rk_crypto_mem *)out)->dma_fd, in test_ae_item_tp() 601 ((rk_crypto_mem *)in)->dma_fd, in test_ae_item_tp() 867 res = rk_hash_update(hash_hdl, ((rk_crypto_mem *)input)->dma_fd, data_block); in test_hash_item_tp()
|
| H A D | test_ae.c | 354 res = rk_ae_set_aad(handle, aad->dma_fd); in test_ae_item_fd() 361 res = rk_ae_crypt(handle, plain->dma_fd, ae_hard->dma_fd, data_len, tag_hard); in test_ae_item_fd() 418 res = rk_ae_set_aad(handle, aad->dma_fd); in test_ae_item_fd() 425 res = rk_ae_crypt(handle, ae_hard->dma_fd, ae_hard->dma_fd, data_len, tag_hard); in test_ae_item_fd()
|
| /OK3568_Linux_fs/debian/packages-patches/mpv/0.29.1/ |
| H A D | 0002-HACK-vo_xv-Support-dma-buffer-rendering.patch | 55 + int dma_fd; 162 +static void xv_send_dma_fd(struct vo *vo, int dma_fd) 204 + *((int *)CMSG_DATA(header)) = dma_fd; 243 + xv_send_dma_fd(vo, dma_desc->dma_fd); 267 + dma_desc->dma_fd = desc->objects[0].fd;
|
| /OK3568_Linux_fs/kernel/drivers/soc/rockchip/ |
| H A D | rockchip_decompress_user.c | 74 static int get_dmafd_sgtbl(struct device *dev, int dma_fd, enum dma_data_direction dir, in get_dmafd_sgtbl() argument 87 *dmabuf = dma_buf_get(dma_fd); in get_dmafd_sgtbl() 123 static int put_dmafd_sgtbl(struct device *dev, int dma_fd, enum dma_data_direction dir, in put_dmafd_sgtbl() argument
|
| /OK3568_Linux_fs/external/security/librkcrypto/include/ |
| H A D | rkcrypto_mem.h | 10 int dma_fd; member
|
| /OK3568_Linux_fs/yocto/meta-rockchip/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.20/ |
| H A D | 0007-HACK-xvimagesink-Support-dma-buffer-rendering.patch | 346 +gst_xv_image_sink_send_dma_fd (GstXvImageSink * xvimagesink, gint dma_fd) 388 + *((int *) CMSG_DATA (header)) = dma_fd; 415 + gint dma_fd = gst_dmabuf_memory_get_fd (dma_mem); 416 + if (dma_fd >= 0) 417 + gst_xv_image_sink_send_dma_fd (xvimagesink, dma_fd);
|
| /OK3568_Linux_fs/yocto/meta-rockchip/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.22/ |
| H A D | 0007-HACK-xvimagesink-Support-dma-buffer-rendering.patch | 346 +gst_xv_image_sink_send_dma_fd (GstXvImageSink * xvimagesink, gint dma_fd) 388 + *((int *) CMSG_DATA (header)) = dma_fd; 415 + gint dma_fd = gst_dmabuf_memory_get_fd (dma_mem); 416 + if (dma_fd >= 0) 417 + gst_xv_image_sink_send_dma_fd (xvimagesink, dma_fd);
|
| /OK3568_Linux_fs/buildroot/package/gstreamer1/gst1-plugins-base/ |
| H A D | 0007-HACK-xvimagesink-Support-dma-buffer-rendering.patch | 346 +gst_xv_image_sink_send_dma_fd (GstXvImageSink * xvimagesink, gint dma_fd) 388 + *((int *) CMSG_DATA (header)) = dma_fd; 415 + gint dma_fd = gst_dmabuf_memory_get_fd (dma_mem); 416 + if (dma_fd >= 0) 417 + gst_xv_image_sink_send_dma_fd (xvimagesink, dma_fd);
|