Home
last modified time | relevance | path

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

/drivers/staging/vt6655/
Ddevice_main.c162 opts->tx_descs[0] = TX_DESC_DEF0; in device_get_options()
163 opts->tx_descs[1] = TX_DESC_DEF1; in device_get_options()
445 priv->opts.tx_descs[0] * sizeof(struct vnt_tx_desc) + in device_init_rings()
446 priv->opts.tx_descs[1] * sizeof(struct vnt_tx_desc), in device_init_rings()
462 priv->opts.tx_descs[0] * PKT_BUF_SZ + in device_init_rings()
463 priv->opts.tx_descs[1] * PKT_BUF_SZ + in device_init_rings()
473 priv->opts.tx_descs[0] * sizeof(struct vnt_tx_desc) + in device_init_rings()
474 priv->opts.tx_descs[1] * sizeof(struct vnt_tx_desc), in device_init_rings()
483 priv->opts.tx_descs[0] * sizeof(struct vnt_tx_desc); in device_init_rings()
493 + 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.c453 for (uu = 0; uu < priv->opts.tx_descs[0]; uu++) { in CARDvSafeResetTx()
458 for (uu = 0; uu < priv->opts.tx_descs[1]; uu++) { in CARDvSafeResetTx()
/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()
/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 …]
/drivers/net/wan/
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
/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()
/drivers/net/ethernet/altera/
Daltera_tse_main.c276 unsigned int tx_descs = priv->tx_ring_size; in alloc_init_skbufs() local
287 priv->tx_ring = kcalloc(tx_descs, sizeof(struct tse_buffer), in alloc_init_skbufs()
321 unsigned int tx_descs = priv->tx_ring_size; in free_skbufs() local
327 for (i = 0; i < tx_descs; i++) in free_skbufs()
/drivers/atm/
Dhorizon.h346 tx_ch_desc tx_descs[TX_CHANS]; // 8 * 4 = 32 , 0x0020 member
Dhorizon.c1466 tx_ch_desc * tx_desc = &memmap->tx_descs[tx_channel]; in setup_idle_tx_channel()
1856 tx_ch_desc * tx_desc = &memmap->tx_descs[chan]; in hrz_init()
/drivers/net/ethernet/amazon/ena/
Dena_netdev.h159 u32 tx_descs; member
Dena_netdev.c182 tx_info->tx_descs = nb_hw_desc; in ena_xmit_common()
1371 total_done += tx_info->tx_descs; in ena_clean_tx_irq()
1957 total_done += tx_info->tx_descs; in ena_clean_xdp_irq()