| /linux/drivers/crypto/ccp/ |
| H A 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 …]
|
| 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 | 145 unsigned int buf_count; member 160 unsigned int buf_count; member 219 unsigned int buf_count; member 235 unsigned int buf_count; member
|
| H A D | ccp-ops.c | 302 unsigned int buf_count, nbytes; in ccp_queue_buf() local 320 buf_count = 0; in ccp_queue_buf() 321 while (sg_wa->bytes_left && (buf_count < dm_wa->length)) { in ccp_queue_buf() 323 dm_wa->length - buf_count); in ccp_queue_buf() 326 buf_count += nbytes; in ccp_queue_buf() 330 return buf_count; in ccp_queue_buf()
|
| /linux/drivers/media/platform/qcom/iris/ |
| H A D | iris_hfi_gen1_command.c | 834 struct hfi_buffer_count_actual buf_count; in iris_hfi_gen1_set_num_bufs() local 837 buf_count.type = HFI_BUFFER_INPUT; in iris_hfi_gen1_set_num_bufs() 838 buf_count.count_actual = VIDEO_MAX_FRAME; in iris_hfi_gen1_set_num_bufs() 839 buf_count.count_min_host = VIDEO_MAX_FRAME; in iris_hfi_gen1_set_num_bufs() 841 ret = hfi_gen1_set_property(inst, ptype, &buf_count, sizeof(buf_count)); in iris_hfi_gen1_set_num_bufs() 847 buf_count.type = HFI_BUFFER_OUTPUT; in iris_hfi_gen1_set_num_bufs() 848 buf_count.count_actual = VIDEO_MAX_FRAME; in iris_hfi_gen1_set_num_bufs() 849 buf_count.count_min_host = VIDEO_MAX_FRAME; in iris_hfi_gen1_set_num_bufs() 851 ret = hfi_gen1_set_property(inst, ptype, &buf_count, sizeof(buf_count)); in iris_hfi_gen1_set_num_bufs() 855 buf_count.type = HFI_BUFFER_OUTPUT2; in iris_hfi_gen1_set_num_bufs() [all …]
|
| /linux/drivers/net/ethernet/sfc/siena/ |
| H A D | vfdi.h | 170 u32 buf_count; member 175 u32 buf_count; member 185 u32 buf_count; member
|
| H A 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/drivers/spi/ |
| H A D | spi-qpic-snand.c | 509 snandc->buf_count = 0; in qcom_spi_block_erase() 718 snandc->buf_count = 0; in qcom_spi_read_cw_raw() 836 snandc->buf_count = 0; in qcom_spi_read_page_ecc() 924 snandc->buf_count = 0; in qcom_spi_read_page_oob() 1046 snandc->buf_count = 0; in qcom_spi_program_raw() 1128 snandc->buf_count = 0; in qcom_spi_program_ecc() 1204 snandc->buf_count = 0; in qcom_spi_program_oob() 1351 snandc->buf_count = 0; in qcom_spi_send_cmdaddr() 1380 snandc->buf_count = 0; in qcom_spi_io_op() 1388 snandc->buf_count = 4; in qcom_spi_io_op() [all …]
|
| /linux/drivers/net/ethernet/intel/ice/ |
| H A D | ice_ddp.c | 180 if (++state->buf_idx < le32_to_cpu(state->buf_table->buf_count)) in ice_pkg_enum_buf() 1407 le32_to_cpu(seg->buf_tbl.buf_count)); in ice_download_pkg_sig_seg() 1427 u32 buf_count; in ice_download_pkg_config_seg() local 1434 buf_count = le32_to_cpu(bufs->buf_count); in ice_download_pkg_config_seg() 1436 if (start >= buf_count || start + count > buf_count) in ice_download_pkg_config_seg() 1648 le32_to_cpu(ice_buf_tbl->buf_count)); in ice_download_pkg_without_sig_seg() 1651 le32_to_cpu(ice_buf_tbl->buf_count)); in ice_download_pkg_without_sig_seg() 2467 if (le32_to_cpu(seg->buf_table.buf_count) < ICE_MIN_S_COUNT) { in ice_cfg_tx_topo() 2469 seg->buf_table.buf_count); in ice_cfg_tx_topo()
|
| H A D | ice_ddp.h | 154 __le32 buf_count; member
|
| /linux/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()
|
| /linux/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()
|
| /linux/drivers/media/platform/qcom/venus/ |
| H A 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()
|
| H A D | vdec.c | 1353 inst->buf_count++; in vdec_buf_init() 1370 inst->buf_count--; in vdec_buf_cleanup() 1371 if (!inst->buf_count) in vdec_buf_cleanup() 1514 inst->fw_min_cnt = ev_data->buf_count; in vdec_event_change() 1702 inst->buf_count = 0; in vdec_open()
|
| /linux/drivers/accel/ivpu/ |
| H A D | ivpu_job.c | 760 u32 buf_count, u32 commands_offset, u32 preempt_buffer_index) in ivpu_job_prepare_bos_for_submit() argument 770 for (i = 0; i < buf_count; i++) { in ivpu_job_prepare_bos_for_submit() 814 ret = drm_gem_lock_reservations((struct drm_gem_object **)job->bos, buf_count, in ivpu_job_prepare_bos_for_submit() 821 for (i = 0; i < buf_count; i++) { in ivpu_job_prepare_bos_for_submit() 829 for (i = 0; i < buf_count; i++) { in ivpu_job_prepare_bos_for_submit() 835 drm_gem_unlock_reservations((struct drm_gem_object **)job->bos, buf_count, &acquire_ctx); in ivpu_job_prepare_bos_for_submit()
|
| /linux/drivers/media/rc/ |
| H A D | fintek-cir.h | 59 unsigned int buf_count; member
|
| /linux/drivers/media/platform/samsung/exynos4-is/ |
| H A D | fimc-isp.h | 136 unsigned int buf_count; member
|
| /linux/drivers/net/ethernet/pasemi/ |
| H A D | pasemi_mac.c | 816 unsigned int start, descr_count, buf_count, batch_limit; in pasemi_mac_clean_tx() local 839 buf_count = 0; in pasemi_mac_clean_tx() 844 i += buf_count) { in pasemi_mac_clean_tx() 856 buf_count = 2; in pasemi_mac_clean_tx() 867 buf_count = 2 + nr_frags; in pasemi_mac_clean_tx() 871 if (buf_count & 1) in pasemi_mac_clean_tx() 872 buf_count++; in pasemi_mac_clean_tx()
|
| /linux/drivers/net/ethernet/freescale/dpaa2/ |
| H A D | dpaa2-switch.h | 186 int buf_count; member
|
| H A D | dpaa2-eth-debugfs.c | 114 ch->buf_count); in dpaa2_dbg_ch_show()
|
| H A D | dpaa2-eth.c | 185 ch->buf_count--; in dpaa2_eth_build_linear_skb() 273 ch->buf_count -= i + 2; in dpaa2_eth_build_frag_skb() 328 ch->buf_count -= ch->recycled_bufs_cnt; in dpaa2_eth_recycle_buf() 470 ch->buf_count--; in dpaa2_eth_run_xdp() 484 ch->buf_count++; in dpaa2_eth_run_xdp() 701 ch->buf_count--; in dpaa2_eth_rx_err() 1787 ch->buf_count += new_count; in dpaa2_eth_seed_pool() 1862 priv->channel[i]->buf_count = 0; in dpaa2_eth_drain_pool() 1881 if (likely(ch->buf_count >= DPAA2_ETH_REFILL_THRESH)) in dpaa2_eth_refill_pool() 1890 ch->buf_count += new_count; in dpaa2_eth_refill_pool() [all …]
|
| /linux/drivers/net/ethernet/google/gve/ |
| H A D | gve_tx_dqo.c | 483 int desc_count, int buf_count) in gve_has_avail_slots_tx_dqo() argument 487 gve_has_free_tx_qpl_bufs(tx, buf_count); in gve_has_avail_slots_tx_dqo() 494 int desc_count, int buf_count) in gve_maybe_stop_tx_dqo() argument 496 if (likely(gve_has_avail_slots_tx_dqo(tx, desc_count, buf_count))) in gve_maybe_stop_tx_dqo() 509 if (likely(!gve_has_avail_slots_tx_dqo(tx, desc_count, buf_count))) in gve_maybe_stop_tx_dqo()
|
| H A D | gve_rx_dqo.c | 24 int buf_count = rx->dqo.bufq.mask + 1; in gve_rx_free_hdr_bufs() local 27 dma_free_coherent(hdev, priv->header_buf_size * buf_count, in gve_rx_free_hdr_bufs() 194 const u32 buf_count) in gve_rx_alloc_hdr_bufs() argument 198 rx->dqo.hdr_bufs.data = dma_alloc_coherent(hdev, priv->header_buf_size * buf_count, in gve_rx_alloc_hdr_bufs()
|
| /linux/drivers/s390/net/ |
| H A D | qeth_core.h | 202 ((card)->qdio.in_buf_pool.buf_count / 2) 205 #define QETH_PCI_THRESHOLD_A(card) ((card)->qdio.in_buf_pool.buf_count+1) 386 int buf_count; member
|
| /linux/sound/drivers/ |
| H A D | pcmtest.c | 711 static int init_debug_files(int buf_count) in init_debug_files() argument 722 for (i = 0; i < buf_count; i++) { in init_debug_files()
|