Searched refs:nb_hw_desc (Results 1 – 4 of 4) sorted by relevance
/openbmc/linux/drivers/net/ethernet/amazon/ena/ |
H A D | ena_eth_com.c | 377 int *nb_hw_desc) in ena_com_prepare_tx() argument 428 *nb_hw_desc = io_sq->tail - start_tail; in ena_com_prepare_tx() 528 *nb_hw_desc = io_sq->tail - start_tail; in ena_com_prepare_tx() 540 u16 nb_hw_desc; in ena_com_rx_pkt() local 545 nb_hw_desc = ena_com_cdesc_rx_pkt_get(io_cq, &cdesc_idx); in ena_com_rx_pkt() 546 if (nb_hw_desc == 0) { in ena_com_rx_pkt() 547 ena_rx_ctx->descs = nb_hw_desc; in ena_com_rx_pkt() 552 "Fetch rx packet: queue %d completed desc: %d\n", io_cq->qid, nb_hw_desc); in ena_com_rx_pkt() 554 if (unlikely(nb_hw_desc > ena_rx_ctx->max_bufs)) { in ena_com_rx_pkt() 556 "Too many RX cdescs (%d) > MAX(%d)\n", nb_hw_desc, ena_rx_ctx->max_bufs); in ena_com_rx_pkt() [all …]
|
H A D | ena_eth_com.h | 58 int *nb_hw_desc);
|
H A D | ena_netdev.c | 98 int rc, nb_hw_desc; in ena_xmit_common() local 110 &nb_hw_desc); in ena_xmit_common() 130 tx_info->tx_descs = nb_hw_desc; in ena_xmit_common()
|
/openbmc/linux/drivers/dma/ |
H A D | pxa_dma.c | 738 pxad_alloc_desc(struct pxad_chan *chan, unsigned int nb_hw_desc) in pxad_alloc_desc() argument 744 sw_desc = kzalloc(struct_size(sw_desc, hw_desc, nb_hw_desc), in pxad_alloc_desc() 750 for (i = 0; i < nb_hw_desc; i++) { in pxad_alloc_desc()
|