Lines Matching defs:txbd
3521 struct tx_bd *txbd;
3564 txbd = (struct tx_bd *) cp->l2_ring;
3567 for (i = 0; i < MAX_TX_DESC_CNT; i++, txbd++) {
3568 txbd->tx_bd_haddr_hi = (u64) buf_map >> 32;
3569 txbd->tx_bd_haddr_lo = (u64) buf_map & 0xffffffff;
3573 txbd->tx_bd_haddr_hi = val;
3577 txbd->tx_bd_haddr_lo = val;
3884 union eth_tx_bd_types *txbd = (union eth_tx_bd_types *) cp->l2_ring;
3894 memset(txbd, 0, BCM_PAGE_SIZE);
3897 for (i = 0; i < MAX_TX_DESC_CNT; i += 3, txbd += 3) {
3898 struct eth_tx_start_bd *start_bd = &txbd->start_bd;
3899 struct eth_tx_bd *reg_bd = &((txbd + 2)->reg_bd);
3916 txbd->next_bd.addr_hi = cpu_to_le32(val);
3921 txbd->next_bd.addr_lo = cpu_to_le32(val);