Lines Matching refs:tx_descr
451 tx_simple * tx_descr = bus_to_virt (tx->handle); in tx_complete() local
452 struct sk_buff * skb = tx_descr->skb; in tx_complete()
460 kfree (tx_descr); in tx_complete()
1314 tx_simple * tx_descr; in amb_send() local
1346 tx_descr = kmalloc (sizeof(tx_simple), GFP_KERNEL); in amb_send()
1347 if (!tx_descr) { in amb_send()
1351 if (check_area (tx_descr, sizeof(tx_simple))) { in amb_send()
1352 kfree (tx_descr); in amb_send()
1355 PRINTD (DBG_TX, "fragment list allocated at %p", tx_descr); in amb_send()
1357 tx_descr->skb = skb; in amb_send()
1359 tx_descr->tx_frag.bytes = cpu_to_be32 (tx_len); in amb_send()
1360 tx_descr->tx_frag.address = cpu_to_be32 (virt_to_bus (tx_data)); in amb_send()
1362 tx_descr->tx_frag_end.handle = virt_to_bus (tx_descr); in amb_send()
1363 tx_descr->tx_frag_end.vc = 0; in amb_send()
1364 tx_descr->tx_frag_end.next_descriptor_length = 0; in amb_send()
1365 tx_descr->tx_frag_end.next_descriptor = 0; in amb_send()
1367 tx_descr->tx_frag_end.cpcs_uu = 0; in amb_send()
1368 tx_descr->tx_frag_end.cpi = 0; in amb_send()
1369 tx_descr->tx_frag_end.pad = 0; in amb_send()
1374 tx.tx_descr_addr = cpu_to_be32 (virt_to_bus (&tx_descr->tx_frag)); in amb_send()