/linux-6.12.1/drivers/crypto/ccp/ |
D | ccp-crypto-sha.c | 43 rctx->buf_count = rctx->hash_rem; in ccp_sha_complete() 45 rctx->buf_count = 0; in ccp_sha_complete() 72 len = (u64)rctx->buf_count + (u64)nbytes; in ccp_do_sha_update() 75 scatterwalk_map_and_copy(rctx->buf + rctx->buf_count, req->src, in ccp_do_sha_update() 77 rctx->buf_count += nbytes; in ccp_do_sha_update() 98 if (rctx->buf_count && nbytes) { in ccp_do_sha_update() 109 sg_init_one(&rctx->buf_sg, rctx->buf, rctx->buf_count); in ccp_do_sha_update() 123 } else if (rctx->buf_count) { in ccp_do_sha_update() 124 sg_init_one(&rctx->buf_sg, rctx->buf, rctx->buf_count); in ccp_do_sha_update() 200 rctx->buf_count = block_size; in ccp_sha_init() [all …]
|
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()
|
D | ccp-crypto.h | 145 unsigned int buf_count; member 160 unsigned int buf_count; member 219 unsigned int buf_count; member 235 unsigned int buf_count; member
|
/linux-6.12.1/arch/arm64/crypto/ |
D | ghash-ce-glue.c | 270 int *buf_count, struct gcm_aes_ctx *ctx) in gcm_update_mac() argument 272 if (*buf_count > 0) { in gcm_update_mac() 273 int buf_added = min(count, GHASH_BLOCK_SIZE - *buf_count); in gcm_update_mac() 275 memcpy(&buf[*buf_count], src, buf_added); in gcm_update_mac() 277 *buf_count += buf_added; in gcm_update_mac() 282 if (count >= GHASH_BLOCK_SIZE || *buf_count == GHASH_BLOCK_SIZE) { in gcm_update_mac() 286 *buf_count ? buf : NULL, in gcm_update_mac() 291 *buf_count = 0; in gcm_update_mac() 296 *buf_count = count; in gcm_update_mac() 306 int buf_count = 0; in gcm_calculate_auth_mac() local [all …]
|
/linux-6.12.1/drivers/net/ethernet/sfc/siena/ |
D | vfdi.h | 170 u32 buf_count; member 175 u32 buf_count; member 185 u32 buf_count; member
|
D | siena_sriov.c | 500 static bool bad_buf_count(unsigned buf_count, unsigned max_entry_count) in bad_buf_count() argument 505 return ((buf_count & (buf_count - 1)) || buf_count > max_buf_count); in bad_buf_count() 535 unsigned buf_count = req->u.init_evq.buf_count; in efx_vfdi_init_evq() local 541 bad_buf_count(buf_count, EFX_MAX_VF_EVQ_SIZE)) { in efx_vfdi_init_evq() 545 vf->pci_name, vf_evq, buf_count); in efx_vfdi_init_evq() 549 efx_siena_sriov_bufs(efx, buftbl, req->u.init_evq.addr, buf_count); in efx_vfdi_init_evq() 558 FRF_AZ_EVQ_SIZE, __ffs(buf_count), in efx_vfdi_init_evq() 564 buf_count * sizeof(u64)); in efx_vfdi_init_evq() 565 vf->evq0_count = buf_count; in efx_vfdi_init_evq() 577 unsigned buf_count = req->u.init_rxq.buf_count; in efx_vfdi_init_rxq() local [all …]
|
/linux-6.12.1/arch/arm/crypto/ |
D | ghash-ce-glue.c | 422 int *buf_count, struct gcm_key *ctx) in gcm_update_mac() argument 424 if (*buf_count > 0) { in gcm_update_mac() 425 int buf_added = min(count, GHASH_BLOCK_SIZE - *buf_count); in gcm_update_mac() 427 memcpy(&buf[*buf_count], src, buf_added); in gcm_update_mac() 429 *buf_count += buf_added; in gcm_update_mac() 434 if (count >= GHASH_BLOCK_SIZE || *buf_count == GHASH_BLOCK_SIZE) { in gcm_update_mac() 438 *buf_count ? buf : NULL); in gcm_update_mac() 442 *buf_count = 0; in gcm_update_mac() 447 *buf_count = count; in gcm_update_mac() 457 int buf_count = 0; in gcm_calculate_auth_mac() local [all …]
|
/linux-6.12.1/drivers/crypto/marvell/octeontx2/ |
D | otx2_cpt_reqmgr.h | 214 int buf_count, u8 *buffer) in setup_sgio_components() argument 225 for (i = 0; i < buf_count; i++) { in setup_sgio_components() 236 components = buf_count / SG_COMPS_MAX; in setup_sgio_components() 249 components = buf_count % SG_COMPS_MAX; in setup_sgio_components() 283 int buf_count, u8 *buffer) in sgv2io_components_setup() argument 294 for (i = 0; i < buf_count; i++) { in sgv2io_components_setup() 305 components = buf_count / SGV2_COMPS_MAX; in sgv2io_components_setup() 317 components = buf_count % SGV2_COMPS_MAX; in sgv2io_components_setup()
|
/linux-6.12.1/drivers/media/platform/samsung/s5p-mfc/ |
D | s5p_mfc_dec.c | 936 unsigned int *buf_count, in s5p_mfc_queue_setup() argument 950 if (*buf_count < 1) in s5p_mfc_queue_setup() 951 *buf_count = 1; in s5p_mfc_queue_setup() 952 if (*buf_count > MFC_MAX_BUFFERS) in s5p_mfc_queue_setup() 953 *buf_count = MFC_MAX_BUFFERS; in s5p_mfc_queue_setup() 967 if (*buf_count < ctx->pb_count) in s5p_mfc_queue_setup() 968 *buf_count = ctx->pb_count; in s5p_mfc_queue_setup() 969 if (*buf_count > ctx->pb_count + MFC_MAX_EXTRA_DPB) in s5p_mfc_queue_setup() 970 *buf_count = ctx->pb_count + MFC_MAX_EXTRA_DPB; in s5p_mfc_queue_setup() 971 if (*buf_count > MFC_MAX_BUFFERS) in s5p_mfc_queue_setup() [all …]
|
D | s5p_mfc_enc.c | 2418 unsigned int *buf_count, unsigned int *plane_count, in s5p_mfc_queue_setup() argument 2434 if (*buf_count < 1) in s5p_mfc_queue_setup() 2435 *buf_count = 1; in s5p_mfc_queue_setup() 2436 if (*buf_count > MFC_MAX_BUFFERS) in s5p_mfc_queue_setup() 2437 *buf_count = MFC_MAX_BUFFERS; in s5p_mfc_queue_setup() 2446 if (*buf_count < 1) in s5p_mfc_queue_setup() 2447 *buf_count = 1; in s5p_mfc_queue_setup() 2448 if (*buf_count > MFC_MAX_BUFFERS) in s5p_mfc_queue_setup() 2449 *buf_count = MFC_MAX_BUFFERS; in s5p_mfc_queue_setup()
|
/linux-6.12.1/drivers/media/platform/samsung/exynos4-is/ |
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()
|
D | fimc-isp.h | 136 unsigned int buf_count; member
|
/linux-6.12.1/drivers/accel/ivpu/ |
D | ivpu_job.c | 594 u32 buf_count, u32 commands_offset) in ivpu_job_prepare_bos_for_submit() argument 604 for (i = 0; i < buf_count; i++) { in ivpu_job_prepare_bos_for_submit() 630 ret = drm_gem_lock_reservations((struct drm_gem_object **)job->bos, buf_count, in ivpu_job_prepare_bos_for_submit() 637 for (i = 0; i < buf_count; i++) { in ivpu_job_prepare_bos_for_submit() 645 for (i = 0; i < buf_count; i++) { in ivpu_job_prepare_bos_for_submit() 651 drm_gem_unlock_reservations((struct drm_gem_object **)job->bos, buf_count, &acquire_ctx); in ivpu_job_prepare_bos_for_submit()
|
/linux-6.12.1/drivers/net/ethernet/intel/ice/ |
D | ice_ddp.c | 180 if (++state->buf_idx < le32_to_cpu(state->buf_table->buf_count)) in ice_pkg_enum_buf() 1396 le32_to_cpu(seg->buf_tbl.buf_count), in ice_download_pkg_sig_seg() 1416 u32 buf_count; in ice_download_pkg_config_seg() local 1423 buf_count = le32_to_cpu(bufs->buf_count); in ice_download_pkg_config_seg() 1425 if (start >= buf_count || start + count > buf_count) in ice_download_pkg_config_seg() 1623 le32_to_cpu(ice_buf_tbl->buf_count)); in ice_download_pkg_without_sig_seg() 1626 le32_to_cpu(ice_buf_tbl->buf_count)); in ice_download_pkg_without_sig_seg() 2434 if (le32_to_cpu(seg->buf_table.buf_count) < ICE_MIN_S_COUNT) { in ice_cfg_tx_topo() 2436 seg->buf_table.buf_count); in ice_cfg_tx_topo()
|
/linux-6.12.1/drivers/crypto/marvell/octeontx/ |
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()
|
/linux-6.12.1/drivers/crypto/cavium/cpt/ |
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()
|
/linux-6.12.1/drivers/media/platform/qcom/venus/ |
D | helpers.c | 1222 struct hfi_buffer_count_actual buf_count; in venus_helper_set_num_bufs() local 1225 buf_count.type = HFI_BUFFER_INPUT; in venus_helper_set_num_bufs() 1226 buf_count.count_actual = input_bufs; in venus_helper_set_num_bufs() 1228 ret = hfi_session_set_property(inst, ptype, &buf_count); in venus_helper_set_num_bufs() 1232 buf_count.type = HFI_BUFFER_OUTPUT; in venus_helper_set_num_bufs() 1233 buf_count.count_actual = output_bufs; in venus_helper_set_num_bufs() 1235 ret = hfi_session_set_property(inst, ptype, &buf_count); in venus_helper_set_num_bufs() 1240 buf_count.type = HFI_BUFFER_OUTPUT2; in venus_helper_set_num_bufs() 1241 buf_count.count_actual = output2_bufs; in venus_helper_set_num_bufs() 1243 ret = hfi_session_set_property(inst, ptype, &buf_count); in venus_helper_set_num_bufs()
|
/linux-6.12.1/drivers/usb/host/ |
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 …]
|
/linux-6.12.1/drivers/net/ethernet/google/gve/ |
D | gve_tx_dqo.c | 450 int desc_count, int buf_count) in gve_has_avail_slots_tx_dqo() argument 454 gve_has_free_tx_qpl_bufs(tx, buf_count); in gve_has_avail_slots_tx_dqo() 461 int desc_count, int buf_count) in gve_maybe_stop_tx_dqo() argument 463 if (likely(gve_has_avail_slots_tx_dqo(tx, desc_count, buf_count))) in gve_maybe_stop_tx_dqo() 469 if (likely(gve_has_avail_slots_tx_dqo(tx, desc_count, buf_count))) in gve_maybe_stop_tx_dqo() 484 if (likely(!gve_has_avail_slots_tx_dqo(tx, desc_count, buf_count))) in gve_maybe_stop_tx_dqo()
|
D | gve_rx_dqo.c | 205 int buf_count = rx->dqo.bufq.mask + 1; in gve_rx_free_hdr_bufs() local 208 dma_free_coherent(hdev, priv->header_buf_size * buf_count, in gve_rx_free_hdr_bufs() 359 const u32 buf_count) in gve_rx_alloc_hdr_bufs() argument 363 rx->dqo.hdr_bufs.data = dma_alloc_coherent(hdev, priv->header_buf_size * buf_count, in gve_rx_alloc_hdr_bufs()
|
/linux-6.12.1/drivers/media/platform/amphion/ |
D | vpu_v4l2.c | 470 unsigned int *buf_count, in vpu_vb2_queue_setup() argument 492 *buf_count = max_t(unsigned int, *buf_count, inst->min_buffer_out); in vpu_vb2_queue_setup() 494 *buf_count = max_t(unsigned int, *buf_count, inst->min_buffer_cap); in vpu_vb2_queue_setup()
|
/linux-6.12.1/drivers/media/rc/ |
D | fintek-cir.h | 59 unsigned int buf_count; member
|
/linux-6.12.1/drivers/net/ethernet/pasemi/ |
D | pasemi_mac.c | 819 unsigned int start, descr_count, buf_count, batch_limit; in pasemi_mac_clean_tx() local 842 buf_count = 0; in pasemi_mac_clean_tx() 847 i += buf_count) { in pasemi_mac_clean_tx() 859 buf_count = 2; in pasemi_mac_clean_tx() 870 buf_count = 2 + nr_frags; in pasemi_mac_clean_tx() 874 if (buf_count & 1) in pasemi_mac_clean_tx() 875 buf_count++; in pasemi_mac_clean_tx()
|
/linux-6.12.1/drivers/mtd/nand/raw/ |
D | qcom_nandc.c | 434 int buf_count; member 1474 nandc->buf_count = 0; in qcom_nandc_read_cw_raw() 1897 nandc->buf_count = 0; in qcom_nandc_read_page() 1974 nandc->buf_count = 0; in qcom_nandc_write_page() 2702 nandc->buf_count = 0; in qcom_read_status_exec() 2759 nandc->buf_count = 0; in qcom_read_id_type_exec() 2822 nandc->buf_count = 0; in qcom_misc_cmd_type_exec() 2869 nandc->buf_count = 0; in qcom_param_page_type_exec() 2920 nandc->buf_count = len; in qcom_param_page_type_exec() 2921 memset(nandc->data_buffer, 0xff, nandc->buf_count); in qcom_param_page_type_exec() [all …]
|
/linux-6.12.1/drivers/net/ethernet/freescale/dpaa2/ |
D | dpaa2-switch.h | 186 int buf_count; member
|