Home
last modified time | relevance | path

Searched refs:txbd (Results 1 – 3 of 3) sorted by relevance

/linux-2.6.39/drivers/net/arm/
Dw90p910_ether.c607 struct w90p910_txbd *txbd; in w90p910_send_frame() local
614 txbd = &ether->tdesc->desclist[ether->cur_tx]; in w90p910_send_frame()
622 txbd->sl = length & 0xFFFF; in w90p910_send_frame()
626 txbd->mode = TX_OWEN_DMA | PADDINGMODE | CRCMODE | MACTXINTEN; in w90p910_send_frame()
635 txbd = &ether->tdesc->desclist[ether->cur_tx]; in w90p910_send_frame()
637 if (txbd->mode & TX_OWEN_DMA) in w90p910_send_frame()
658 struct w90p910_txbd *txbd; in w90p910_tx_interrupt() local
675 txbd = &ether->tdesc->desclist[ether->finish_tx]; in w90p910_tx_interrupt()
680 if (txbd->sl & TXDS_TXCP) { in w90p910_tx_interrupt()
682 ether->stats.tx_bytes += txbd->sl & 0xFFFF; in w90p910_tx_interrupt()
[all …]
/linux-2.6.39/drivers/net/
Dbnx2.c5047 struct tx_bd *txbd; in bnx2_init_tx_ring() local
5062 txbd = &txr->tx_desc_ring[MAX_TX_DESC_CNT]; in bnx2_init_tx_ring()
5064 txbd->tx_bd_haddr_hi = (u64) txr->tx_desc_mapping >> 32; in bnx2_init_tx_ring()
5065 txbd->tx_bd_haddr_lo = (u64) txr->tx_desc_mapping & 0xffffffff; in bnx2_init_tx_ring()
5672 struct tx_bd *txbd; in bnx2_run_loopback() local
5725 txbd = &txr->tx_desc_ring[TX_RING_IDX(txr->tx_prod)]; in bnx2_run_loopback()
5727 txbd->tx_bd_haddr_hi = (u64) map >> 32; in bnx2_run_loopback()
5728 txbd->tx_bd_haddr_lo = (u64) map & 0xffffffff; in bnx2_run_loopback()
5729 txbd->tx_bd_mss_nbytes = pkt_size; in bnx2_run_loopback()
5730 txbd->tx_bd_vlan_tag_flags = TX_BD_FLAGS_START | TX_BD_FLAGS_END; in bnx2_run_loopback()
[all …]
Dcnic.c4226 struct tx_bd *txbd; in cnic_init_bnx2_tx_ring() local
4269 txbd = (struct tx_bd *) udev->l2_ring; in cnic_init_bnx2_tx_ring()
4272 for (i = 0; i < MAX_TX_DESC_CNT; i++, txbd++) { in cnic_init_bnx2_tx_ring()
4273 txbd->tx_bd_haddr_hi = (u64) buf_map >> 32; in cnic_init_bnx2_tx_ring()
4274 txbd->tx_bd_haddr_lo = (u64) buf_map & 0xffffffff; in cnic_init_bnx2_tx_ring()
4278 txbd->tx_bd_haddr_hi = val; in cnic_init_bnx2_tx_ring()
4282 txbd->tx_bd_haddr_lo = val; in cnic_init_bnx2_tx_ring()
4608 union eth_tx_bd_types *txbd = (union eth_tx_bd_types *) udev->l2_ring; in cnic_init_bnx2x_tx_ring() local
4616 memset(txbd, 0, BCM_PAGE_SIZE); in cnic_init_bnx2x_tx_ring()
4619 for (i = 0; i < MAX_TX_DESC_CNT; i += 3, txbd += 3) { in cnic_init_bnx2x_tx_ring()
[all …]