/linux-6.1.9/drivers/staging/vt6655/ |
D | device_main.c | 165 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 …]
|
D | device.h | 73 #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
|
D | card.c | 400 for (uu = 0; uu < priv->opts.tx_descs[0]; uu++) { in CARDvSafeResetTx() 405 for (uu = 0; uu < priv->opts.tx_descs[1]; uu++) { in CARDvSafeResetTx()
|
/linux-6.1.9/drivers/net/ethernet/ |
D | ec_bhf.c | 144 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.1.9/drivers/net/ethernet/natsemi/ |
D | ns83820.c | 444 __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.1.9/drivers/net/wan/ |
D | wanxl.c | 180 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()
|
D | wanxl.h | 146 desc_t tx_descs[TX_BUFFERS]; member
|
/linux-6.1.9/net/xdp/ |
D | xsk_buff_pool.c | 40 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()
|
D | xsk_queue.h | 217 struct xdp_desc *descs = pool->tx_descs; in xskq_cons_read_desc_batch()
|
D | xsk.c | 348 struct xdp_desc *descs = pool->tx_descs; in xsk_tx_peek_release_fallback() 394 xskq_prod_write_addr_batch(pool->cq, pool->tx_descs, nb_pkts); in xsk_tx_peek_release_desc_batch() 981 if (xs->tx && !xs->pool->tx_descs) { in xsk_bind()
|
/linux-6.1.9/drivers/net/wireless/ath/carl9170/ |
D | fwdesc.h | 121 u8 tx_descs; member
|
D | fw.c | 319 ar->fw.mem_blocks = min_t(unsigned int, otus_desc->tx_descs, 0xfe); in carl9170_fw()
|
/linux-6.1.9/include/net/ |
D | xsk_buff_pool.h | 63 struct xdp_desc *tx_descs; member
|
/linux-6.1.9/drivers/net/ethernet/altera/ |
D | altera_tse_main.c | 256 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.1.9/drivers/net/ethernet/amazon/ena/ |
D | ena_netdev.h | 148 u32 tx_descs; member
|
D | ena_netdev.c | 178 tx_info->tx_descs = nb_hw_desc; in ena_xmit_common() 1366 total_done += tx_info->tx_descs; in ena_clean_tx_irq() 1939 total_done += tx_info->tx_descs; in ena_clean_xdp_irq()
|
/linux-6.1.9/drivers/net/ethernet/intel/i40e/ |
D | i40e_xsk.c | 538 struct xdp_desc *descs = xdp_ring->xsk_pool->tx_descs; in i40e_xmit_zc()
|
/linux-6.1.9/drivers/net/ethernet/intel/ice/ |
D | ice_xsk.c | 931 struct xdp_desc *descs = xdp_ring->xsk_pool->tx_descs; in ice_xmit_zc()
|