Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/infiniband/hw/hns/
Dhns_roce_alloc.c241 int buf_cnt, int start, struct hns_roce_buf *buf) in hns_roce_get_kmem_bufs() argument
246 end = start + buf_cnt; in hns_roce_get_kmem_bufs()
250 start, buf_cnt, buf->npages); in hns_roce_get_kmem_bufs()
266 int buf_cnt, int start, struct ib_umem *umem, in hns_roce_get_umem_bufs() argument
285 if (total >= buf_cnt) in hns_roce_get_umem_bufs()
296 int offset, int buf_cnt) in hns_roce_init_buf_region() argument
304 region->count = buf_cnt; in hns_roce_init_buf_region()
Dhns_roce_qp.c443 int buf_cnt; in split_wqe_buf_region() local
460 buf_cnt = DIV_ROUND_UP(buf_size, page_size); in split_wqe_buf_region()
464 buf_cnt); in split_wqe_buf_region()
472 buf_cnt = DIV_ROUND_UP(buf_size, page_size); in split_wqe_buf_region()
476 buf_cnt); in split_wqe_buf_region()
484 buf_cnt = DIV_ROUND_UP(buf_size, page_size); in split_wqe_buf_region()
488 buf_cnt); in split_wqe_buf_region()
Dhns_roce_device.h1219 int offset, int buf_cnt);
1225 int buf_cnt, int start, struct hns_roce_buf *buf);
1227 int buf_cnt, int start, struct ib_umem *umem,
/Linux-v5.4/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.c1553 state->buf_cnt[0] = tmp; in cc_hash_import()
/Linux-v5.4/drivers/net/ethernet/cavium/liquidio/
Docteon_droq.c338 u32 buf_cnt, in octeon_create_recv_info() argument
356 recv_pkt->buffer_count = (u16)buf_cnt; in octeon_create_recv_info()
362 while (buf_cnt) { in octeon_create_recv_info()
382 buf_cnt--; in octeon_create_recv_info()
571 u32 i = 0, buf_cnt; in octeon_droq_drop_packets() local
582 buf_cnt = octeon_droq_get_bufcount(droq->buffer_size, in octeon_droq_drop_packets()
586 buf_cnt = 1; in octeon_droq_drop_packets()
589 droq->read_idx = incr_index(droq->read_idx, buf_cnt, in octeon_droq_drop_packets()
591 droq->refill_count += buf_cnt; in octeon_droq_drop_packets()
633 u32 buf_cnt; in octeon_droq_fast_process_packets() local
[all …]
/Linux-v5.4/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-v5.4/drivers/crypto/
Dsahara.c181 unsigned int buf_cnt; member
935 len = rctx->buf_cnt + req->nbytes; in sahara_sha_prepare_request()
940 scatterwalk_map_and_copy(rctx->buf + rctx->buf_cnt, req->src, in sahara_sha_prepare_request()
942 rctx->buf_cnt += req->nbytes; in sahara_sha_prepare_request()
948 if (rctx->buf_cnt) in sahara_sha_prepare_request()
949 memcpy(rctx->rembuf, rctx->buf, rctx->buf_cnt); in sahara_sha_prepare_request()
966 if (rctx->buf_cnt && req->nbytes) { in sahara_sha_prepare_request()
968 sg_set_buf(rctx->in_sg_chain, rctx->rembuf, rctx->buf_cnt); in sahara_sha_prepare_request()
972 rctx->total = req->nbytes + rctx->buf_cnt; in sahara_sha_prepare_request()
977 } else if (rctx->buf_cnt) { in sahara_sha_prepare_request()
[all …]
/Linux-v5.4/drivers/media/dvb-core/
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-v5.4/drivers/staging/rts5208/
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-v5.4/include/media/
Ddvb_vb2.h107 int buf_cnt; member
/Linux-v5.4/drivers/net/ethernet/freescale/dpaa2/
Ddpaa2-ethtool.c192 u32 buf_cnt; in dpaa2_eth_get_ethtool_stats() local
266 err = dpaa2_io_query_bp_count(NULL, priv->bpid, &buf_cnt); in dpaa2_eth_get_ethtool_stats()
271 *(data + i++) = buf_cnt; in dpaa2_eth_get_ethtool_stats()
/Linux-v5.4/drivers/net/ethernet/neterion/
Ds2io.c2712 int i, blk = 0, buf_cnt = 0; in free_rx_buffers() local
2728 dev->name, buf_cnt, i); in free_rx_buffers()