Home
last modified time | relevance | path

Searched refs:buf_cnt (Results 1 – 16 of 16) sorted by relevance

/linux-6.1.9/drivers/crypto/ccree/
Dcc_hash.h49 u32 buf_cnt[2]; member
61 return &state->buf_cnt[state->buff_index]; in cc_hash_buf_cnt()
71 return &state->buf_cnt[state->buff_index ^ 1]; in cc_next_buf_cnt()
Dcc_hash.c1552 state->buf_cnt[0] = tmp; in cc_hash_import()
/linux-6.1.9/drivers/infiniband/hw/hns/
Dhns_roce_alloc.c133 int buf_cnt, struct hns_roce_buf *buf, in hns_roce_get_kmem_bufs() argument
148 for (i = 0; i < buf_cnt && offset < max_size; i++) { in hns_roce_get_kmem_bufs()
157 int buf_cnt, struct ib_umem *umem, in hns_roce_get_umem_bufs() argument
166 if (total >= buf_cnt) in hns_roce_get_umem_bufs()
Dhns_roce_device.h1170 int buf_cnt, struct hns_roce_buf *buf,
1173 int buf_cnt, struct ib_umem *umem,
/linux-6.1.9/drivers/net/ethernet/cavium/liquidio/
Docteon_droq.c335 u32 buf_cnt, in octeon_create_recv_info() argument
353 recv_pkt->buffer_count = (u16)buf_cnt; in octeon_create_recv_info()
359 while (buf_cnt) { in octeon_create_recv_info()
379 buf_cnt--; in octeon_create_recv_info()
568 u32 i = 0, buf_cnt; in octeon_droq_drop_packets() local
579 buf_cnt = octeon_droq_get_bufcount(droq->buffer_size, in octeon_droq_drop_packets()
583 buf_cnt = 1; in octeon_droq_drop_packets()
586 droq->read_idx = incr_index(droq->read_idx, buf_cnt, in octeon_droq_drop_packets()
588 droq->refill_count += buf_cnt; in octeon_droq_drop_packets()
630 u32 buf_cnt; in octeon_droq_fast_process_packets() local
[all …]
/linux-6.1.9/drivers/crypto/keembay/
Dkeembay-ocs-hcu-core.c87 size_t buf_cnt; member
117 return rctx->sg_data_total + rctx->buf_cnt; in kmb_get_total_data()
125 if (rctx->sg_data_total > (sizeof(rctx->buffer) - rctx->buf_cnt)) { in flush_sg_to_ocs_buffer()
152 scatterwalk_map_and_copy(&rctx->buffer[rctx->buf_cnt], in flush_sg_to_ocs_buffer()
158 rctx->buf_cnt += count; in flush_sg_to_ocs_buffer()
274 if (rctx->buf_cnt) { in kmb_ocs_dma_prepare()
276 rctx->buf_cnt, in kmb_ocs_dma_prepare()
283 rctx->buf_dma_count = rctx->buf_cnt; in kmb_ocs_dma_prepare()
382 WARN(rctx->buf_cnt, "%s: Context buffer is not empty\n", __func__); in prepare_ipad()
406 rctx->buf_cnt = rctx->blk_sz; in prepare_ipad()
[all …]
/linux-6.1.9/arch/mips/include/asm/octeon/
Dcvmx-pow-defs.h589 uint64_t buf_cnt:12; member
601 uint64_t buf_cnt:12;
611 uint64_t buf_cnt:7; member
625 uint64_t buf_cnt:7;
636 uint64_t buf_cnt:9; member
650 uint64_t buf_cnt:9;
661 uint64_t buf_cnt:10; member
675 uint64_t buf_cnt:10;
686 uint64_t buf_cnt:11; member
700 uint64_t buf_cnt:11;
/linux-6.1.9/drivers/net/wwan/t7xx/
Dt7xx_hif_dpmaif_rx.h103 const unsigned int q_num, const unsigned int buf_cnt,
106 const unsigned int buf_cnt, const bool first_time);
Dt7xx_hif_dpmaif_rx.c202 const unsigned int q_num, const unsigned int buf_cnt, in t7xx_dpmaif_rx_buf_alloc() argument
208 if (!buf_cnt || buf_cnt > bat_req->bat_size_cnt) in t7xx_dpmaif_rx_buf_alloc()
216 if (buf_cnt > bat_cnt) in t7xx_dpmaif_rx_buf_alloc()
221 for (i = 0; i < buf_cnt; i++) { in t7xx_dpmaif_rx_buf_alloc()
356 const unsigned int buf_cnt, const bool initial) in t7xx_dpmaif_rx_frag_alloc() argument
362 if (!buf_cnt || buf_cnt > bat_req->bat_size_cnt) in t7xx_dpmaif_rx_frag_alloc()
368 if (buf_cnt > buf_space) { in t7xx_dpmaif_rx_frag_alloc()
374 for (i = 0; i < buf_cnt; i++) { in t7xx_dpmaif_rx_frag_alloc()
417 if (i < buf_cnt) { in t7xx_dpmaif_rx_frag_alloc()
Dt7xx_hif_dpmaif.c296 unsigned int buf_cnt; in t7xx_dpmaif_start() local
319 buf_cnt = dpmaif_ctrl->bat_req.bat_size_cnt - 1; in t7xx_dpmaif_start()
320 ret = t7xx_dpmaif_rx_buf_alloc(dpmaif_ctrl, &dpmaif_ctrl->bat_req, 0, buf_cnt, true); in t7xx_dpmaif_start()
326 buf_cnt = dpmaif_ctrl->bat_frag.bat_size_cnt - 1; in t7xx_dpmaif_start()
327 ret = t7xx_dpmaif_rx_frag_alloc(dpmaif_ctrl, &dpmaif_ctrl->bat_frag, buf_cnt, true); in t7xx_dpmaif_start()
/linux-6.1.9/drivers/crypto/
Dsahara.c183 unsigned int buf_cnt; member
923 len = rctx->buf_cnt + req->nbytes; in sahara_sha_prepare_request()
928 scatterwalk_map_and_copy(rctx->buf + rctx->buf_cnt, req->src, in sahara_sha_prepare_request()
930 rctx->buf_cnt += req->nbytes; in sahara_sha_prepare_request()
936 if (rctx->buf_cnt) in sahara_sha_prepare_request()
937 memcpy(rctx->rembuf, rctx->buf, rctx->buf_cnt); in sahara_sha_prepare_request()
954 if (rctx->buf_cnt && req->nbytes) { in sahara_sha_prepare_request()
956 sg_set_buf(rctx->in_sg_chain, rctx->rembuf, rctx->buf_cnt); in sahara_sha_prepare_request()
960 rctx->total = req->nbytes + rctx->buf_cnt; in sahara_sha_prepare_request()
965 } else if (rctx->buf_cnt) { in sahara_sha_prepare_request()
[all …]
/linux-6.1.9/drivers/media/dvb-core/
Ddvb_vb2.c35 ctx->buf_cnt = *nbuffers; in _queue_setup()
340 ctx->buf_cnt = req->count; in dvb_vb2_reqbufs()
345 ctx->buf_cnt, ctx->buf_siz, ret); in dvb_vb2_reqbufs()
350 ctx->buf_cnt, ctx->buf_siz); in dvb_vb2_reqbufs()
/linux-6.1.9/drivers/staging/rts5208/
Drtsx_transport.c485 int buf_cnt, i; in rtsx_transfer_sglist_adma() local
519 buf_cnt = dma_map_sg(&rtsx->pci->dev, sg, num_sg, dma_dir); in rtsx_transfer_sglist_adma()
523 for (i = 0; i <= buf_cnt / (HOST_SG_TBL_BUF_LEN / 8); i++) { in rtsx_transfer_sglist_adma()
527 if (i == buf_cnt / (HOST_SG_TBL_BUF_LEN / 8)) in rtsx_transfer_sglist_adma()
528 sg_cnt = buf_cnt % (HOST_SG_TBL_BUF_LEN / 8); in rtsx_transfer_sglist_adma()
/linux-6.1.9/include/media/
Ddvb_vb2.h107 int buf_cnt; member
/linux-6.1.9/drivers/net/ethernet/freescale/dpaa2/
Ddpaa2-ethtool.c237 u32 buf_cnt; in dpaa2_eth_get_ethtool_stats() local
311 err = dpaa2_io_query_bp_count(NULL, priv->bpid, &buf_cnt); in dpaa2_eth_get_ethtool_stats()
316 *(data + i++) = buf_cnt; in dpaa2_eth_get_ethtool_stats()
/linux-6.1.9/drivers/net/ethernet/neterion/
Ds2io.c2718 int i, blk = 0, buf_cnt = 0; in free_rx_buffers() local
2734 dev->name, buf_cnt, i); in free_rx_buffers()