Lines Matching refs:desc_tbl
152 else if (!dev->desc_tbl[desc1 -1].timestamp) { in ia_hack_tcq()
156 else if (dev->desc_tbl[desc1 -1].timestamp) { in ia_hack_tcq()
157 if (!(iavcc_r = dev->desc_tbl[desc1 -1].iavcc)) { in ia_hack_tcq()
162 dev->desc_tbl[desc1 -1].timestamp = 0; in ia_hack_tcq()
164 dev->desc_tbl[desc1 -1].txskb, desc1);) in ia_hack_tcq()
166 IA_SKB_STATE (dev->desc_tbl[desc1-1].txskb) |= IA_TX_DONE; in ia_hack_tcq()
167 if (ia_enque_rtn_q(&dev->tx_return_q, dev->desc_tbl[desc1 -1]) < 0) in ia_hack_tcq()
170 dev->desc_tbl[desc1 -1].iavcc = NULL; in ia_hack_tcq()
171 dev->desc_tbl[desc1 -1].txskb = NULL; in ia_hack_tcq()
191 if (!dev->desc_tbl[i].timestamp) { in get_desc()
195 ltimeout = dev->desc_tbl[i].iavcc->ltimeout; in get_desc()
196 delta = jiffies - dev->desc_tbl[i].timestamp; in get_desc()
198 …ntk("RECOVER run!! desc_tbl %d = %d delta = %ld, time = %ld\n", i,dev->desc_tbl[i].timestamp, del… in get_desc()
204 if (!dev->desc_tbl[i].txskb || !(iavcc_r = dev->desc_tbl[i].iavcc)) in get_desc()
208 dev->desc_tbl[i].timestamp = 0; in get_desc()
209 dev->desc_tbl[i].iavcc = NULL; in get_desc()
210 dev->desc_tbl[i].txskb = NULL; in get_desc()
221 while (!desc_num || (dev->desc_tbl[desc_num -1]).timestamp) { in get_desc()
231 dev->desc_tbl[desc_num -1].timestamp = jiffies; in get_desc()
1048 printk("Desc_tbl[%d] = %d \n", i, iadev->desc_tbl[i].timestamp);
1612 iadev->desc_tbl[i].timestamp = 0;
2002 iadev->desc_tbl = kmalloc_array(iadev->num_tx_desc,
2003 sizeof(*iadev->desc_tbl),
2005 if (!iadev->desc_tbl) {
2204 kfree(iadev->desc_tbl);
2482 kfree(iadev->desc_tbl);
2951 iadev->desc_tbl[desc-1].iavcc = iavcc;
2952 iadev->desc_tbl[desc-1].txskb = skb;