Home
last modified time | relevance | path

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

/linux/drivers/crypto/ccree/
A 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()
A Dcc_hash.c1552 state->buf_cnt[0] = tmp; in cc_hash_import()
/linux/drivers/net/ethernet/cavium/liquidio/
A 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
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
634 buf_cnt, droq->max_count); in octeon_droq_fast_process_packets()
[all …]
/linux/drivers/infiniband/hw/hns/
A Dhns_roce_alloc.c134 int buf_cnt, struct hns_roce_buf *buf, in hns_roce_get_kmem_bufs() argument
149 for (i = 0; i < buf_cnt && offset < max_size; i++) { in hns_roce_get_kmem_bufs()
158 int buf_cnt, struct ib_umem *umem, in hns_roce_get_umem_bufs() argument
167 if (total >= buf_cnt) in hns_roce_get_umem_bufs()
A Dhns_roce_device.h1221 int buf_cnt, struct hns_roce_buf *buf,
1224 int buf_cnt, struct ib_umem *umem,
/linux/drivers/crypto/keembay/
A 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()
406 rctx->buf_cnt = rctx->blk_sz; in prepare_ipad()
477 rctx->buf_cnt = 0; in kmb_ocs_hcu_do_one_request()
[all …]
/linux/arch/mips/include/asm/octeon/
A 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/drivers/crypto/
A Dsahara.c183 unsigned int buf_cnt; member
923 len = rctx->buf_cnt + req->nbytes; 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()
960 rctx->total = req->nbytes + rctx->buf_cnt; in sahara_sha_prepare_request()
965 } else if (rctx->buf_cnt) { in sahara_sha_prepare_request()
971 sg_init_one(rctx->in_sg, rctx->rembuf, rctx->buf_cnt); in sahara_sha_prepare_request()
972 rctx->total = rctx->buf_cnt; in sahara_sha_prepare_request()
[all …]
/linux/drivers/media/dvb-core/
A Ddvb_vb2.c39 ctx->buf_cnt = *nbuffers; in _queue_setup()
344 ctx->buf_cnt = req->count; in dvb_vb2_reqbufs()
349 ctx->buf_cnt, ctx->buf_siz, ret); in dvb_vb2_reqbufs()
354 ctx->buf_cnt, ctx->buf_siz); in dvb_vb2_reqbufs()
/linux/drivers/staging/rts5208/
A Drtsx_transport.c487 int buf_cnt, i; in rtsx_transfer_sglist_adma() local
521 buf_cnt = dma_map_sg(&rtsx->pci->dev, sg, num_sg, dma_dir); in rtsx_transfer_sglist_adma()
525 for (i = 0; i <= buf_cnt / (HOST_SG_TBL_BUF_LEN / 8); i++) { in rtsx_transfer_sglist_adma()
529 if (i == buf_cnt / (HOST_SG_TBL_BUF_LEN / 8)) in rtsx_transfer_sglist_adma()
530 sg_cnt = buf_cnt % (HOST_SG_TBL_BUF_LEN / 8); in rtsx_transfer_sglist_adma()
/linux/include/media/
A Ddvb_vb2.h107 int buf_cnt; member
/linux/drivers/net/ethernet/freescale/dpaa2/
A Ddpaa2-ethtool.c235 u32 buf_cnt; in dpaa2_eth_get_ethtool_stats() local
309 err = dpaa2_io_query_bp_count(NULL, priv->bpid, &buf_cnt); in dpaa2_eth_get_ethtool_stats()
314 *(data + i++) = buf_cnt; in dpaa2_eth_get_ethtool_stats()
/linux/drivers/net/ethernet/neterion/
A Ds2io.c2718 int i, blk = 0, buf_cnt = 0; in free_rx_buffers() local
2734 dev->name, buf_cnt, i); in free_rx_buffers()

Completed in 46 milliseconds