| /OK3568_Linux_fs/kernel/drivers/gpu/drm/ |
| H A D | drm_bufs.c | 689 if (entry->buf_count) { in drm_cleanup_buf_error() 690 for (i = 0; i < entry->buf_count; i++) { in drm_cleanup_buf_error() 695 entry->buf_count = 0; in drm_cleanup_buf_error() 779 if (entry->buf_count) { in drm_legacy_addbufs_agp() 803 while (entry->buf_count < count) { in drm_legacy_addbufs_agp() 804 buf = &entry->buflist[entry->buf_count]; in drm_legacy_addbufs_agp() 805 buf->idx = dma->buf_count + entry->buf_count; in drm_legacy_addbufs_agp() 822 entry->buf_count = count; in drm_legacy_addbufs_agp() 829 DRM_DEBUG("buffer %d @ %p\n", entry->buf_count, buf->address); in drm_legacy_addbufs_agp() 832 entry->buf_count++; in drm_legacy_addbufs_agp() [all …]
|
| H A D | drm_dma.c | 99 dma->bufs[i].buf_count, in drm_legacy_dma_takedown() 108 if (dma->bufs[i].buf_count) { in drm_legacy_dma_takedown() 109 for (j = 0; j < dma->bufs[i].buf_count; j++) { in drm_legacy_dma_takedown() 157 for (i = 0; i < dma->buf_count; i++) { in drm_legacy_reclaim_buffers()
|
| /OK3568_Linux_fs/kernel/drivers/crypto/ccp/ |
| H A D | ccp-crypto-sha.c | 42 rctx->buf_count = rctx->hash_rem; in ccp_sha_complete() 44 rctx->buf_count = 0; in ccp_sha_complete() 71 len = (u64)rctx->buf_count + (u64)nbytes; in ccp_do_sha_update() 74 scatterwalk_map_and_copy(rctx->buf + rctx->buf_count, req->src, in ccp_do_sha_update() 76 rctx->buf_count += nbytes; in ccp_do_sha_update() 97 if (rctx->buf_count && nbytes) { in ccp_do_sha_update() 108 sg_init_one(&rctx->buf_sg, rctx->buf, rctx->buf_count); in ccp_do_sha_update() 122 } else if (rctx->buf_count) { in ccp_do_sha_update() 123 sg_init_one(&rctx->buf_sg, rctx->buf, rctx->buf_count); in ccp_do_sha_update() 199 rctx->buf_count = block_size; in ccp_sha_init() [all …]
|
| H A D | ccp-crypto-aes-cmac.c | 40 rctx->buf_count = rctx->hash_rem; in ccp_aes_cmac_complete() 42 rctx->buf_count = 0; in ccp_aes_cmac_complete() 75 len = (u64)rctx->buf_count + (u64)nbytes; in ccp_do_cmac_update() 78 scatterwalk_map_and_copy(rctx->buf + rctx->buf_count, req->src, in ccp_do_cmac_update() 80 rctx->buf_count += nbytes; in ccp_do_cmac_update() 115 if (rctx->buf_count) { in ccp_do_cmac_update() 116 sg_init_one(&rctx->buf_sg, rctx->buf, rctx->buf_count); in ccp_do_cmac_update() 230 state.buf_count = rctx->buf_count; in ccp_aes_cmac_export() 250 rctx->buf_count = state.buf_count; in ccp_aes_cmac_import()
|
| H A D | ccp-crypto.h | 144 unsigned int buf_count; member 159 unsigned int buf_count; member 218 unsigned int buf_count; member 234 unsigned int buf_count; member
|
| /OK3568_Linux_fs/external/mpp/mpp/base/ |
| H A D | mpp_buf_slot.cpp | 220 RK_S32 buf_count; member 461 impl, impl->buf_count, impl->buf_size); in _dump_slots() 465 for (i = 0; i < impl->buf_count; i++, slot++) { in _dump_slots() 650 for (i = 0; i < impl->buf_count; i++, slot++) { in clear_slots_impl() 756 impl->buf_count = impl->new_count = count; in mpp_buf_slot_setup() 762 if (count > impl->buf_count) { in mpp_buf_slot_setup() 765 init_slot_entry(impl, impl->buf_count, (count - impl->buf_count)); in mpp_buf_slot_setup() 801 if (impl->buf_count != impl->new_count) { in mpp_buf_slot_ready() 806 impl->buf_count = impl->new_count; in mpp_buf_slot_ready() 838 return impl->buf_count; in mpp_buf_slot_get_count() [all …]
|
| /OK3568_Linux_fs/kernel/arch/arm64/crypto/ |
| H A D | ghash-ce-glue.c | 275 int *buf_count, struct gcm_aes_ctx *ctx) in gcm_update_mac() argument 277 if (*buf_count > 0) { in gcm_update_mac() 278 int buf_added = min(count, GHASH_BLOCK_SIZE - *buf_count); in gcm_update_mac() 280 memcpy(&buf[*buf_count], src, buf_added); in gcm_update_mac() 282 *buf_count += buf_added; in gcm_update_mac() 287 if (count >= GHASH_BLOCK_SIZE || *buf_count == GHASH_BLOCK_SIZE) { in gcm_update_mac() 291 *buf_count ? buf : NULL, in gcm_update_mac() 296 *buf_count = 0; in gcm_update_mac() 301 *buf_count = count; in gcm_update_mac() 312 int buf_count = 0; in gcm_calculate_auth_mac() local [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/sfc/ |
| H A D | siena_sriov.c | 499 static bool bad_buf_count(unsigned buf_count, unsigned max_entry_count) in bad_buf_count() argument 504 return ((buf_count & (buf_count - 1)) || buf_count > max_buf_count); in bad_buf_count() 534 unsigned buf_count = req->u.init_evq.buf_count; in efx_vfdi_init_evq() local 540 bad_buf_count(buf_count, EFX_MAX_VF_EVQ_SIZE)) { in efx_vfdi_init_evq() 544 vf->pci_name, vf_evq, buf_count); in efx_vfdi_init_evq() 548 efx_siena_sriov_bufs(efx, buftbl, req->u.init_evq.addr, buf_count); in efx_vfdi_init_evq() 557 FRF_AZ_EVQ_SIZE, __ffs(buf_count), in efx_vfdi_init_evq() 563 buf_count * sizeof(u64)); in efx_vfdi_init_evq() 564 vf->evq0_count = buf_count; in efx_vfdi_init_evq() 576 unsigned buf_count = req->u.init_rxq.buf_count; in efx_vfdi_init_rxq() local [all …]
|
| H A D | vfdi.h | 170 u32 buf_count; member 175 u32 buf_count; member 185 u32 buf_count; member
|
| /OK3568_Linux_fs/kernel/drivers/gpu/arm/bifrost/hwcnt/backend/ |
| H A D | mali_kbase_hwcnt_backend_csf_if_fw.c | 61 size_t buf_count; member 279 struct kbase_hwcnt_backend_csf_if_ctx *ctx, u32 buf_count, void **cpu_dump_base, in kbasep_hwcnt_backend_csf_if_fw_ring_buf_alloc() argument 310 if (!is_power_of_2(buf_count)) in kbasep_hwcnt_backend_csf_if_fw_ring_buf_alloc() 321 num_pages = PFN_UP(fw_ctx->buf_bytes * buf_count); in kbasep_hwcnt_backend_csf_if_fw_ring_buf_alloc() 364 fw_ring_buf->buf_count = buf_count; in kbasep_hwcnt_backend_csf_if_fw_ring_buf_alloc() 419 ring_buf_index_first = buf_index_first & (fw_ring_buf->buf_count - 1); in kbasep_hwcnt_backend_csf_if_fw_ring_buf_sync() 420 ring_buf_index_last = (buf_index_last - 1) & (fw_ring_buf->buf_count - 1); in kbasep_hwcnt_backend_csf_if_fw_ring_buf_sync() 521 prfcnt_config = GLB_PRFCNT_CONFIG_SIZE_SET(0, fw_ring_buf->buf_count); in kbasep_hwcnt_backend_csf_if_fw_dump_enable()
|
| H A D | mali_kbase_hwcnt_backend_csf_if.h | 140 u32 buf_count, void **cpu_dump_base,
|
| /OK3568_Linux_fs/kernel/drivers/media/platform/s5p-mfc/ |
| H A D | s5p_mfc_dec.c | 901 unsigned int *buf_count, in s5p_mfc_queue_setup() argument 914 if (*buf_count < 1) in s5p_mfc_queue_setup() 915 *buf_count = 1; in s5p_mfc_queue_setup() 916 if (*buf_count > MFC_MAX_BUFFERS) in s5p_mfc_queue_setup() 917 *buf_count = MFC_MAX_BUFFERS; in s5p_mfc_queue_setup() 925 if (*buf_count < ctx->pb_count) in s5p_mfc_queue_setup() 926 *buf_count = ctx->pb_count; in s5p_mfc_queue_setup() 927 if (*buf_count > ctx->pb_count + MFC_MAX_EXTRA_DPB) in s5p_mfc_queue_setup() 928 *buf_count = ctx->pb_count + MFC_MAX_EXTRA_DPB; in s5p_mfc_queue_setup() 929 if (*buf_count > MFC_MAX_BUFFERS) in s5p_mfc_queue_setup() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/media/platform/exynos4-is/ |
| H A D | fimc-isp-video.c | 99 video->buf_count, video->format->memplanes, in isp_video_capture_start_streaming() 148 isp->video_capture.buf_count = 0; in isp_video_capture_stop_streaming() 177 for (i = 0; i < video->buf_count; i++) in isp_video_capture_buffer_prepare() 203 ivb->index = video->buf_count; in isp_video_capture_buffer_queue() 219 if (++video->buf_count < video->reqbufs_count) in isp_video_capture_buffer_queue() 222 video->buf_mask = (1UL << video->buf_count) - 1; in isp_video_capture_buffer_queue() 244 buf_index = (is->i2h_cmd.args[1] - 1) % video->buf_count; in fimc_isp_video_irq_handler()
|
| /OK3568_Linux_fs/u-boot/drivers/mtd/nand/raw/ |
| H A D | pxa3xx_nand.c | 180 unsigned int buf_count; member 797 info->buf_count = 0; in prepare_start_command() 833 info->buf_count = mtd->writesize + mtd->oobsize; in prepare_start_command() 834 memset(info->data_buff, 0xFF, info->buf_count); in prepare_start_command() 974 info->buf_count = INIT_BUFFER_SIZE; in prepare_set_command() 985 info->buf_count = READ_ID_BYTES; in prepare_set_command() 994 info->buf_count = 1; in prepare_set_command() 1352 if (info->buf_start < info->buf_count) in pxa3xx_nand_read_byte() 1366 if (!(info->buf_start & 0x01) && info->buf_start < info->buf_count) { in pxa3xx_nand_read_word() 1378 int real_len = min_t(size_t, len, info->buf_count - info->buf_start); in pxa3xx_nand_read_buf() [all …]
|
| /OK3568_Linux_fs/kernel/include/drm/ |
| H A D | drm_legacy.h | 93 int buf_count; /**< number of buffers */ member 109 int buf_count; /**< total number of buffers */ member
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/r128/ |
| H A D | r128_cce.c | 788 for (i = 0; i < dma->buf_count; i++) { 828 for (i = 0; i < dma->buf_count; i++) { in r128_freelist_get() 838 for (i = 0; i < dma->buf_count; i++) { in r128_freelist_get() 861 for (i = 0; i < dma->buf_count; i++) { in r128_freelist_reset() 933 if (d->request_count < 0 || d->request_count > dma->buf_count) { in r128_cce_buffers() 935 task_pid_nr(current), d->request_count, dma->buf_count); in r128_cce_buffers()
|
| H A D | r128_state.c | 1329 if (vertex->idx < 0 || vertex->idx >= dma->buf_count) { in r128_cce_vertex() 1331 vertex->idx, dma->buf_count - 1); in r128_cce_vertex() 1382 if (elts->idx < 0 || elts->idx >= dma->buf_count) { in r128_cce_indices() 1384 elts->idx, dma->buf_count - 1); in r128_cce_indices() 1444 if (blit->idx < 0 || blit->idx >= dma->buf_count) { in r128_cce_blit() 1446 blit->idx, dma->buf_count - 1); in r128_cce_blit() 1531 if (indirect->idx < 0 || indirect->idx >= dma->buf_count) { in r128_cce_indirect() 1533 indirect->idx, dma->buf_count - 1); in r128_cce_indirect()
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/i810/ |
| H A D | i810_dma.c | 63 for (i = 0; i < dma->buf_count; i++) { in i810_freelist_get() 230 for (i = 0; i < dma->buf_count; i++) { in i810_dma_cleanup() 293 if (dma->buf_count > 1019) { in i810_freelist_init() 298 for (i = 0; i < dma->buf_count; i++) { in i810_freelist_init() 872 for (i = 0; i < dma->buf_count; i++) { in i810_flush_queue() 904 for (i = 0; i < dma->buf_count; i++) { in i810_driver_reclaim_buffers() 944 if (vertex->idx < 0 || vertex->idx >= dma->buf_count) in i810_dma_vertex() 1104 if (mc->idx >= dma->buf_count || mc->idx < 0) in i810_dma_mc()
|
| /OK3568_Linux_fs/kernel/drivers/media/platform/qcom/venus/ |
| H A D | helpers.c | 1078 struct hfi_buffer_count_actual buf_count; in venus_helper_set_num_bufs() local 1081 buf_count.type = HFI_BUFFER_INPUT; in venus_helper_set_num_bufs() 1082 buf_count.count_actual = input_bufs; in venus_helper_set_num_bufs() 1084 ret = hfi_session_set_property(inst, ptype, &buf_count); in venus_helper_set_num_bufs() 1088 buf_count.type = HFI_BUFFER_OUTPUT; in venus_helper_set_num_bufs() 1089 buf_count.count_actual = output_bufs; in venus_helper_set_num_bufs() 1091 ret = hfi_session_set_property(inst, ptype, &buf_count); in venus_helper_set_num_bufs() 1096 buf_count.type = HFI_BUFFER_OUTPUT2; in venus_helper_set_num_bufs() 1097 buf_count.count_actual = output2_bufs; in venus_helper_set_num_bufs() 1099 ret = hfi_session_set_property(inst, ptype, &buf_count); in venus_helper_set_num_bufs()
|
| /OK3568_Linux_fs/kernel/drivers/crypto/marvell/octeontx/ |
| H A D | otx_cptvf_reqmgr.c | 98 int buf_count, u8 *buffer) in setup_sgio_components() argument 109 for (i = 0; i < buf_count; i++) { in setup_sgio_components() 124 components = buf_count / 4; in setup_sgio_components() 137 components = buf_count % 4; in setup_sgio_components()
|
| /OK3568_Linux_fs/kernel/drivers/crypto/cavium/cpt/ |
| H A D | cptvf_reqmanager.c | 45 int buf_count, u8 *buffer) in setup_sgio_components() argument 57 for (i = 0; i < buf_count; i++) { in setup_sgio_components() 73 components = buf_count / 4; in setup_sgio_components() 87 components = buf_count % 4; in setup_sgio_components()
|
| /OK3568_Linux_fs/kernel/drivers/usb/host/ |
| H A D | isp1362-hcd.c | 203 found = bitmap_find_next_zero_area(&epq->buf_map, epq->buf_count, 0, in claim_ptd_buffers() 205 if (found >= epq->buf_count) in claim_ptd_buffers() 215 BUG_ON(epq->buf_avail > epq->buf_count); in claim_ptd_buffers() 220 epq->buf_avail, epq->buf_count, num_ptds, epq->buf_map, epq->skip_map); in claim_ptd_buffers() 229 if (last > epq->buf_count) in release_ptd_buffers() 232 ep->ptd_offset, ep->num_ptds, epq->buf_count, epq->buf_avail, in release_ptd_buffers() 234 BUG_ON(last > epq->buf_count); in release_ptd_buffers() 241 BUG_ON(epq->buf_avail > epq->buf_count); in release_ptd_buffers() 242 BUG_ON(epq->ptd_count > epq->buf_count); in release_ptd_buffers() 246 ep->ptd_offset, ep->num_ptds, epq->buf_avail, epq->buf_count); in release_ptd_buffers() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/mga/ |
| H A D | mga_dma.c | 251 DRM_DEBUG("count=%d\n", dma->buf_count); in mga_freelist_init() 259 for (i = 0; i < dma->buf_count; i++) { in mga_freelist_init() 314 for (i = 0; i < dma->buf_count; i++) { 1129 if (d->request_count < 0 || d->request_count > dma->buf_count) { in mga_dma_buffers() 1132 dma->buf_count); in mga_dma_buffers()
|
| /OK3568_Linux_fs/yocto/meta-openembedded/meta-multimedia/recipes-multimedia/fluidsynth/fluidsynth/ |
| H A D | 0003-Use-ARM-NEON-accelaration-for-float-multithreaded-se.patch | 227 minbuf = dst->buf_count; 229 if(minbuf > src->buf_count) 231 minbuf = src->buf_count;
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/savage/ |
| H A D | savage_bci.c | 222 DRM_DEBUG("count=%d\n", dma->buf_count); in savage_freelist_init() 232 for (i = 0; i < dma->buf_count; i++) { in savage_freelist_init() 1032 if (d->request_count < 0 || d->request_count > dma->buf_count) { in savage_bci_buffers() 1034 task_pid_nr(current), d->request_count, dma->buf_count); in savage_bci_buffers() 1066 for (i = 0; i < dma->buf_count; i++) { in savage_reclaim_buffers()
|