Lines Matching defs:btx_ring
229 struct lance_tx_desc btx_ring[TX_RING_SIZE];
348 ib->btx_ring [i].tmd0 = leptr;
349 ib->btx_ring [i].tmd1_hadr = leptr >> 16;
350 ib->btx_ring [i].tmd1_bits = 0;
351 ib->btx_ring [i].length = 0xf000; /* The ones required by tmd2 */
352 ib->btx_ring [i].misc = 0;
374 leptr = LANCE_ADDR(aib + libdesc_offset(btx_ring, 0));
404 sbus_writew(leptr, &ib->btx_ring [i].tmd0);
405 sbus_writeb(leptr >> 16,&ib->btx_ring [i].tmd1_hadr);
406 sbus_writeb(0, &ib->btx_ring [i].tmd1_bits);
409 sbus_writew(0xf000, &ib->btx_ring [i].length);
410 sbus_writew(0, &ib->btx_ring [i].misc);
434 leptr = libdesc_offset(btx_ring, 0);
580 struct lance_tx_desc *td = &ib->btx_ring [i];
750 struct lance_tx_desc __iomem *td = &ib->btx_ring [i];
900 sbus_writew((-ETH_ZLEN) | 0xf000, &ib->btx_ring[entry].length);
901 sbus_writew(0, &ib->btx_ring[entry].misc);
902 sbus_writeb(LE_T1_POK|LE_T1_OWN, &ib->btx_ring[entry].tmd1_bits);
912 ib->btx_ring[entry].length = (-ETH_ZLEN) | 0xf000;
913 ib->btx_ring[entry].misc = 0;
914 ib->btx_ring[entry].tmd1_bits = (LE_T1_POK|LE_T1_OWN);
1131 sbus_writew((-len) | 0xf000, &ib->btx_ring[entry].length);
1132 sbus_writew(0, &ib->btx_ring[entry].misc);
1136 sbus_writeb(LE_T1_POK | LE_T1_OWN, &ib->btx_ring[entry].tmd1_bits);
1139 ib->btx_ring [entry].length = (-len) | 0xf000;
1140 ib->btx_ring [entry].misc = 0;
1144 ib->btx_ring [entry].tmd1_bits = (LE_T1_POK | LE_T1_OWN);