Lines Matching refs:btx_ring

224 	struct lance_tx_desc btx_ring[TX_RING_SIZE];  member
345 ib->btx_ring [i].tmd0 = leptr; in lance_init_ring_dvma()
346 ib->btx_ring [i].tmd1_hadr = leptr >> 16; in lance_init_ring_dvma()
347 ib->btx_ring [i].tmd1_bits = 0; in lance_init_ring_dvma()
348 ib->btx_ring [i].length = 0xf000; /* The ones required by tmd2 */ in lance_init_ring_dvma()
349 ib->btx_ring [i].misc = 0; in lance_init_ring_dvma()
371 leptr = LANCE_ADDR(aib + libdesc_offset(btx_ring, 0)); in lance_init_ring_dvma()
401 sbus_writew(leptr, &ib->btx_ring [i].tmd0); in lance_init_ring_pio()
402 sbus_writeb(leptr >> 16,&ib->btx_ring [i].tmd1_hadr); in lance_init_ring_pio()
403 sbus_writeb(0, &ib->btx_ring [i].tmd1_bits); in lance_init_ring_pio()
406 sbus_writew(0xf000, &ib->btx_ring [i].length); in lance_init_ring_pio()
407 sbus_writew(0, &ib->btx_ring [i].misc); in lance_init_ring_pio()
431 leptr = libdesc_offset(btx_ring, 0); in lance_init_ring_pio()
579 volatile struct lance_tx_desc *td = &ib->btx_ring [i]; in lance_tx_dvma()
751 volatile struct lance_tx_desc *td = &ib->btx_ring [i]; in lance_tx_pio()
901 sbus_writew((-ETH_ZLEN) | 0xf000, &ib->btx_ring[entry].length); in build_fake_packet()
902 sbus_writew(0, &ib->btx_ring[entry].misc); in build_fake_packet()
903 sbus_writeb(LE_T1_POK|LE_T1_OWN, &ib->btx_ring[entry].tmd1_bits); in build_fake_packet()
910 ib->btx_ring[entry].length = (-ETH_ZLEN) | 0xf000; in build_fake_packet()
911 ib->btx_ring[entry].misc = 0; in build_fake_packet()
912 ib->btx_ring[entry].tmd1_bits = (LE_T1_POK|LE_T1_OWN); in build_fake_packet()
1132 sbus_writew((-len) | 0xf000, &ib->btx_ring[entry].length); in lance_start_xmit()
1133 sbus_writew(0, &ib->btx_ring[entry].misc); in lance_start_xmit()
1137 sbus_writeb(LE_T1_POK | LE_T1_OWN, &ib->btx_ring[entry].tmd1_bits); in lance_start_xmit()
1139 ib->btx_ring [entry].length = (-len) | 0xf000; in lance_start_xmit()
1140 ib->btx_ring [entry].misc = 0; in lance_start_xmit()
1144 ib->btx_ring [entry].tmd1_bits = (LE_T1_POK | LE_T1_OWN); in lance_start_xmit()