Home
last modified time | relevance | path

Searched refs:tx_descs (Results 1 – 23 of 23) sorted by relevance

/linux-6.12.1/drivers/staging/vt6655/
Ddevice_main.c165 opts->tx_descs[0] = TX_DESC_DEF0; in device_get_options()
166 opts->tx_descs[1] = TX_DESC_DEF1; in device_get_options()
512 priv->opts.tx_descs[0] * sizeof(struct vnt_tx_desc) + in device_init_rings()
513 priv->opts.tx_descs[1] * sizeof(struct vnt_tx_desc), in device_init_rings()
529 priv->opts.tx_descs[0] * PKT_BUF_SZ + in device_init_rings()
530 priv->opts.tx_descs[1] * PKT_BUF_SZ + in device_init_rings()
540 priv->opts.tx_descs[0] * sizeof(struct vnt_tx_desc) + in device_init_rings()
541 priv->opts.tx_descs[1] * sizeof(struct vnt_tx_desc), in device_init_rings()
550 priv->opts.tx_descs[0] * sizeof(struct vnt_tx_desc); in device_init_rings()
560 + priv->opts.tx_descs[0] * sizeof(struct vnt_tx_desc); in device_init_rings()
[all …]
Ddevice.h73 #define AVAIL_TD(p, q) ((p)->opts.tx_descs[(q)] - ((p)->iTDUsed[(q)]))
92 int tx_descs[2]; /* Number of TX descriptors 0, 1 */ member
Dcard.c400 for (uu = 0; uu < priv->opts.tx_descs[0]; uu++) { in card_safe_reset_tx()
405 for (uu = 0; uu < priv->opts.tx_descs[1]; uu++) { in card_safe_reset_tx()
/linux-6.12.1/drivers/net/ethernet/
Dec_bhf.c144 struct tx_desc *tx_descs; member
189 if (ec_bhf_desc_sent(&priv->tx_descs[priv->tx_dnext])) in ec_bhf_process_tx()
289 desc = &priv->tx_descs[priv->tx_dnext]; in ec_bhf_start_xmit()
302 if (!ec_bhf_desc_sent(&priv->tx_descs[priv->tx_dnext])) { in ec_bhf_start_xmit()
362 priv->tx_descs = (struct tx_desc *)priv->tx_buf.buf; in ec_bhf_setup_tx_descs()
366 priv->tx_descs[i].header.sent = cpu_to_le32(TX_HDR_SENT); in ec_bhf_setup_tx_descs()
/linux-6.12.1/drivers/net/wan/
Dfsl_qmc_hdlc.c45 struct qmc_hdlc_desc tx_descs[8]; member
385 desc = &qmc_hdlc->tx_descs[qmc_hdlc->tx_out]; in qmc_hdlc_xmit()
409 qmc_hdlc->tx_out = (qmc_hdlc->tx_out + 1) % ARRAY_SIZE(qmc_hdlc->tx_descs); in qmc_hdlc_xmit()
411 if (qmc_hdlc->tx_descs[qmc_hdlc->tx_out].skb) in qmc_hdlc_xmit()
652 for (i = 0; i < ARRAY_SIZE(qmc_hdlc->tx_descs); i++) { in qmc_hdlc_close()
653 desc = &qmc_hdlc->tx_descs[i]; in qmc_hdlc_close()
763 qmc_hdlc->netdev->tx_queue_len = ARRAY_SIZE(qmc_hdlc->tx_descs); in qmc_hdlc_probe()
Dwanxl.c180 desc_t *desc = &get_status(port)->tx_descs[port->tx_in]; in wanxl_tx_intr()
288 desc = &get_status(port)->tx_descs[port->tx_out]; in wanxl_xmit()
314 if (get_status(port)->tx_descs[port->tx_out].stat != PACKET_EMPTY) { in wanxl_xmit()
411 get_status(port)->tx_descs[i].stat = PACKET_EMPTY; in wanxl_open()
452 desc_t *desc = &get_status(port)->tx_descs[i]; in wanxl_close()
Dwanxl.h146 desc_t tx_descs[TX_BUFFERS]; member
/linux-6.12.1/drivers/net/ethernet/natsemi/
Dns83820.c444 __le32 *tx_descs; member
964 desc = dev->tx_descs + (tx_done_idx * DESC_SIZE);
1002 desc = dev->tx_descs + (tx_done_idx * DESC_SIZE);
1023 __le32 *desc = dev->tx_descs + (i * DESC_SIZE);
1033 memset(dev->tx_descs, 0, NR_TX_DESC * DESC_SIZE * 4);
1125 first_desc = dev->tx_descs + (free_idx * DESC_SIZE);
1128 volatile __le32 *desc = dev->tx_descs + (free_idx * DESC_SIZE);
1561 desc = dev->tx_descs + (tx_done_idx * DESC_SIZE);
1579 desc = dev->tx_descs + (tx_done_idx * DESC_SIZE);
1626 memset(dev->tx_descs, 0, 4 * NR_TX_DESC * DESC_SIZE);
[all …]
/linux-6.12.1/drivers/net/wireless/ath/ath12k/
Ddp.c1400 struct ath12k_tx_desc_info *tx_descs, **tx_desc_addr; in ath12k_dp_cc_desc_init() local
1436 tx_descs = kcalloc(ATH12K_MAX_SPT_ENTRIES, sizeof(*tx_descs), in ath12k_dp_cc_desc_init()
1439 if (!tx_descs) { in ath12k_dp_cc_desc_init()
1448 dp->spt_info->txbaddr[tx_spt_page] = &tx_descs[0]; in ath12k_dp_cc_desc_init()
1451 tx_descs[j].desc_id = ath12k_dp_cc_cookie_gen(ppt_idx, j); in ath12k_dp_cc_desc_init()
1452 tx_descs[j].pool_id = pool_id; in ath12k_dp_cc_desc_init()
1453 list_add_tail(&tx_descs[j].list, in ath12k_dp_cc_desc_init()
1459 *tx_desc_addr = &tx_descs[j]; in ath12k_dp_cc_desc_init()
/linux-6.12.1/net/xdp/
Dxsk_buff_pool.c40 kvfree(pool->tx_descs); in xp_destroy()
47 pool->tx_descs = kvcalloc(xs->tx->nentries, sizeof(*pool->tx_descs), in xp_alloc_tx_descs()
49 if (!pool->tx_descs) in xp_alloc_tx_descs()
Dxsk_queue.h241 struct xdp_desc *descs = pool->tx_descs; in xskq_cons_read_desc_batch()
Dxsk.c468 struct xdp_desc *descs = pool->tx_descs; in xsk_tx_peek_release_fallback()
514 xskq_prod_write_addr_batch(pool->cq, pool->tx_descs, nb_pkts); in xsk_tx_peek_release_desc_batch()
1257 if (xs->tx && !xs->pool->tx_descs) { in xsk_bind()
/linux-6.12.1/drivers/net/wireless/ath/carl9170/
Dfwdesc.h121 u8 tx_descs; member
Dfw.c319 ar->fw.mem_blocks = min_t(unsigned int, otus_desc->tx_descs, 0xfe); in carl9170_fw()
/linux-6.12.1/drivers/net/ethernet/altera/
Daltera_tse_main.c256 unsigned int tx_descs = priv->tx_ring_size; in alloc_init_skbufs() local
267 priv->tx_ring = kcalloc(tx_descs, sizeof(struct tse_buffer), in alloc_init_skbufs()
301 unsigned int tx_descs = priv->tx_ring_size; in free_skbufs() local
307 for (i = 0; i < tx_descs; i++) in free_skbufs()
/linux-6.12.1/include/net/
Dxsk_buff_pool.h71 struct xdp_desc *tx_descs; member
/linux-6.12.1/drivers/net/ethernet/amazon/ena/
Dena_netdev.h143 u32 tx_descs; member
Dena_xdp.c406 total_done += tx_info->tx_descs; in ena_clean_xdp_irq()
Dena_netdev.c155 tx_info->tx_descs = nb_hw_desc; in ena_xmit_common()
879 total_done += tx_info->tx_descs; in ena_clean_tx_irq()
/linux-6.12.1/drivers/net/ethernet/freescale/dpaa2/
Ddpaa2-xsk.c393 struct xdp_desc *xdp_descs = ch->xsk_pool->tx_descs; in dpaa2_xsk_tx()
/linux-6.12.1/drivers/net/ethernet/intel/i40e/
Di40e_xsk.c603 struct xdp_desc *descs = xdp_ring->xsk_pool->tx_descs; in i40e_xmit_zc()
/linux-6.12.1/drivers/net/ethernet/intel/ice/
Dice_xsk.c1069 struct xdp_desc *descs = xsk_pool->tx_descs; in ice_xmit_zc()
/linux-6.12.1/drivers/net/ethernet/engleder/
Dtsnep_main.c786 struct xdp_desc *descs = tx->xsk_pool->tx_descs; in tsnep_xdp_xmit_zc()