/linux-4.4.14/drivers/net/ethernet/neterion/vxge/ |
H A D | vxge-traffic.c | 1461 struct vxge_hw_fifo_txd *txdp = vxge_hw_fifo_txdl_reserve() local 1465 priv = __vxge_hw_fifo_txdl_priv(fifo, txdp); vxge_hw_fifo_txdl_reserve() 1475 *txdl_priv = (void *)(size_t)txdp->host_control; vxge_hw_fifo_txdl_reserve() 1478 txdp = ((struct vxge_hw_fifo_txd *)*txdlh) + i; vxge_hw_fifo_txdl_reserve() 1479 txdp->control_0 = txdp->control_1 = 0; vxge_hw_fifo_txdl_reserve() 1508 struct vxge_hw_fifo_txd *txdp, *txdp_last; vxge_hw_fifo_txdl_buffer_set() local 1514 txdp = (struct vxge_hw_fifo_txd *)txdlh + txdl_priv->frags; vxge_hw_fifo_txdl_buffer_set() 1517 txdp->control_0 = txdp->control_1 = 0; vxge_hw_fifo_txdl_buffer_set() 1519 txdp->control_0 |= VXGE_HW_FIFO_TXD_GATHER_CODE( vxge_hw_fifo_txdl_buffer_set() 1521 txdp->control_1 |= fifo->interrupt_type; vxge_hw_fifo_txdl_buffer_set() 1522 txdp->control_1 |= VXGE_HW_FIFO_TXD_INT_NUMBER( vxge_hw_fifo_txdl_buffer_set() 1534 txdp->buffer_pointer = (u64)dma_pointer; vxge_hw_fifo_txdl_buffer_set() 1535 txdp->control_0 |= VXGE_HW_FIFO_TXD_BUFFER_SIZE(size); vxge_hw_fifo_txdl_buffer_set() 1621 struct vxge_hw_fifo_txd *txdp; vxge_hw_fifo_txdl_next_completed() local 1628 txdp = *txdlh; vxge_hw_fifo_txdl_next_completed() 1629 if (txdp == NULL) { vxge_hw_fifo_txdl_next_completed() 1635 if (!(txdp->control_0 & VXGE_HW_FIFO_TXD_LIST_OWN_ADAPTER)) { vxge_hw_fifo_txdl_next_completed() 1637 vxge_assert(txdp->host_control != 0); vxge_hw_fifo_txdl_next_completed() 1641 *t_code = (u8)VXGE_HW_FIFO_TXD_T_CODE_GET(txdp->control_0); vxge_hw_fifo_txdl_next_completed()
|
H A D | vxge-config.h | 1636 struct vxge_hw_fifo_txd *txdp = (struct vxge_hw_fifo_txd *)txdlh; vxge_hw_fifo_txdl_cksum_set_bits() local 1637 txdp->control_1 |= cksum_bits; vxge_hw_fifo_txdl_cksum_set_bits() 1656 struct vxge_hw_fifo_txd *txdp = (struct vxge_hw_fifo_txd *)txdlh; vxge_hw_fifo_txdl_mss_set() local 1658 txdp->control_0 |= VXGE_HW_FIFO_TXD_LSO_EN; vxge_hw_fifo_txdl_mss_set() 1659 txdp->control_0 |= VXGE_HW_FIFO_TXD_LSO_MSS(mss); vxge_hw_fifo_txdl_mss_set() 1672 struct vxge_hw_fifo_txd *txdp = (struct vxge_hw_fifo_txd *)txdlh; vxge_hw_fifo_txdl_vlan_set() local 1674 txdp->control_1 |= VXGE_HW_FIFO_TXD_VLAN_ENABLE; vxge_hw_fifo_txdl_vlan_set() 1675 txdp->control_1 |= VXGE_HW_FIFO_TXD_VLAN_TAG(vlan_tag); vxge_hw_fifo_txdl_vlan_set() 1691 struct vxge_hw_fifo_txd *txdp = (struct vxge_hw_fifo_txd *)txdlh; vxge_hw_fifo_txdl_private_get() local 1693 return (void *)(size_t)txdp->host_control; vxge_hw_fifo_txdl_private_get() 1973 * @txdp: Poniter to a TxD 1978 struct vxge_hw_fifo_txd *txdp) __vxge_hw_fifo_txdl_priv() 1981 (((char *)((ulong)txdp->host_control)) + __vxge_hw_fifo_txdl_priv() 1976 __vxge_hw_fifo_txdl_priv( struct __vxge_hw_fifo *fifo, struct vxge_hw_fifo_txd *txdp) __vxge_hw_fifo_txdl_priv() argument
|
H A D | vxge-config.c | 3420 struct vxge_hw_fifo_txd *txdp = __vxge_hw_fifo_mempool_item_alloc() local 3426 vxge_assert(txdp); __vxge_hw_fifo_mempool_item_alloc() 3428 txdp->host_control = (u64) (size_t) __vxge_hw_fifo_mempool_item_alloc() 3429 __vxge_hw_mempool_item_priv(mempoolh, memblock_index, txdp, __vxge_hw_fifo_mempool_item_alloc() 3432 txdl_priv = __vxge_hw_fifo_txdl_priv(fifo, txdp); __vxge_hw_fifo_mempool_item_alloc() 3436 fifo->channel.reserve_arr[fifo->channel.reserve_ptr - 1 - index] = txdp; __vxge_hw_fifo_mempool_item_alloc() 3439 txdl_priv->dma_offset = (char *)txdp - (char *)memblock; __vxge_hw_fifo_mempool_item_alloc() 3443 txdl_priv->first_txdp = txdp; __vxge_hw_fifo_mempool_item_alloc()
|
/linux-4.4.14/drivers/net/ethernet/neterion/ |
H A D | s2io.c | 2368 struct TxD *txdp; free_tx_buffers() local 2383 txdp = fifo->list_info[j].list_virt_addr; free_tx_buffers() 2384 skb = s2io_txdl_getskb(&mac_control->fifos[i], txdp, j); free_tx_buffers() 4019 struct TxD *txdp; s2io_xmit() local 4108 txdp = fifo->list_info[put_off].list_virt_addr; s2io_xmit() 4112 if (txdp->Host_Control || s2io_xmit() 4123 txdp->Control_1 |= TXD_TCP_LSO_EN; s2io_xmit() 4124 txdp->Control_1 |= TXD_TCP_LSO_MSS(s2io_tcp_mss(skb)); s2io_xmit() 4127 txdp->Control_2 |= (TXD_TX_CKO_IPV4_EN | s2io_xmit() 4131 txdp->Control_1 |= TXD_GATHER_CODE_FIRST; s2io_xmit() 4132 txdp->Control_1 |= TXD_LIST_OWN_XENA; s2io_xmit() 4133 txdp->Control_2 |= TXD_INT_NUMBER(fifo->fifo_no); s2io_xmit() 4136 txdp->Control_2 |= TXD_INT_TYPE_PER_LIST; s2io_xmit() 4138 txdp->Control_2 |= TXD_VLAN_ENABLE; s2io_xmit() 4139 txdp->Control_2 |= TXD_VLAN_TAG(vlan_tag); s2io_xmit() 4148 txdp->Control_1 |= TXD_UFO_EN; s2io_xmit() 4149 txdp->Control_1 |= TXD_UFO_MSS(ufo_size); s2io_xmit() 4150 txdp->Control_1 |= TXD_BUFFER0_SIZE(8); s2io_xmit() 4159 txdp->Host_Control = (unsigned long)fifo->ufo_in_band_v; s2io_xmit() 4160 txdp->Buffer_Pointer = pci_map_single(sp->pdev, s2io_xmit() 4164 if (pci_dma_mapping_error(sp->pdev, txdp->Buffer_Pointer)) s2io_xmit() 4166 txdp++; s2io_xmit() 4169 txdp->Buffer_Pointer = pci_map_single(sp->pdev, skb->data, s2io_xmit() 4171 if (pci_dma_mapping_error(sp->pdev, txdp->Buffer_Pointer)) s2io_xmit() 4174 txdp->Host_Control = (unsigned long)skb; s2io_xmit() 4175 txdp->Control_1 |= TXD_BUFFER0_SIZE(frg_len); s2io_xmit() 4177 txdp->Control_1 |= TXD_UFO_EN; s2io_xmit() 4186 txdp++; s2io_xmit() 4187 txdp->Buffer_Pointer = (u64)skb_frag_dma_map(&sp->pdev->dev, s2io_xmit() 4191 txdp->Control_1 = TXD_BUFFER0_SIZE(skb_frag_size(frag)); s2io_xmit() 4193 txdp->Control_1 |= TXD_UFO_EN; s2io_xmit() 4195 txdp->Control_1 |= TXD_GATHER_CODE_LAST; s2io_xmit()
|
/linux-4.4.14/drivers/net/ethernet/sis/ |
H A D | sis900.h | 30 txdp=0x20, //Transmit Descriptor Pointer Register enumerator in enum:sis900_registers
|
H A D | sis900.c | 1143 sw32(txdp, sis_priv->tx_ring_dma); sis900_init_tx_ring() 1146 net_dev->name, sr32(txdp)); sis900_init_tx_ring() 1581 sw32(txdp, sis_priv->tx_ring_dma); sis900_tx_timeout()
|
/linux-4.4.14/drivers/net/ethernet/natsemi/ |
H A D | ns83820.c | 1462 u32 txdp; ns83820_do_isr() local 1463 txdp = readl(dev->base + TXDP); ns83820_do_isr() 1464 dprintk("txdp: %08x\n", txdp); ns83820_do_isr() 1465 txdp -= dev->tx_phy_descs; ns83820_do_isr() 1466 dev->tx_idx = txdp / (DESC_SIZE * 4); ns83820_do_isr() 1468 printk(KERN_ALERT "%s: BUG -- txdp out of range\n", ndev->name); ns83820_do_isr()
|
/linux-4.4.14/drivers/net/wireless/ath/ath9k/ |
H A D | mac.c | 52 void ath9k_hw_puttxbuf(struct ath_hw *ah, u32 q, u32 txdp) ath9k_hw_puttxbuf() argument 54 REG_WRITE(ah, AR_QTXDP(q), txdp); ath9k_hw_puttxbuf()
|
H A D | mac.h | 719 void ath9k_hw_puttxbuf(struct ath_hw *ah, u32 q, u32 txdp);
|
/linux-4.4.14/drivers/net/wireless/ath/ath5k/ |
H A D | dma.c | 26 * Here we setup descriptor pointers (rxdp/txdp) start/stop dma engine and
|