Lines Matching refs:tx_descr
436 tx_simple * tx_descr = bus_to_virt (tx->handle); in tx_complete() local
437 struct sk_buff * skb = tx_descr->skb; in tx_complete()
445 kfree (tx_descr); in tx_complete()
1299 tx_simple * tx_descr; in amb_send() local
1331 tx_descr = kmalloc (sizeof(tx_simple), GFP_KERNEL); in amb_send()
1332 if (!tx_descr) { in amb_send()
1336 if (check_area (tx_descr, sizeof(tx_simple))) { in amb_send()
1337 kfree (tx_descr); in amb_send()
1340 PRINTD (DBG_TX, "fragment list allocated at %p", tx_descr); in amb_send()
1342 tx_descr->skb = skb; in amb_send()
1344 tx_descr->tx_frag.bytes = cpu_to_be32 (tx_len); in amb_send()
1345 tx_descr->tx_frag.address = cpu_to_be32 (virt_to_bus (tx_data)); in amb_send()
1347 tx_descr->tx_frag_end.handle = virt_to_bus (tx_descr); in amb_send()
1348 tx_descr->tx_frag_end.vc = 0; in amb_send()
1349 tx_descr->tx_frag_end.next_descriptor_length = 0; in amb_send()
1350 tx_descr->tx_frag_end.next_descriptor = 0; in amb_send()
1352 tx_descr->tx_frag_end.cpcs_uu = 0; in amb_send()
1353 tx_descr->tx_frag_end.cpi = 0; in amb_send()
1354 tx_descr->tx_frag_end.pad = 0; in amb_send()
1359 tx.tx_descr_addr = cpu_to_be32 (virt_to_bus (&tx_descr->tx_frag)); in amb_send()