Lines Matching refs:btx_ring

227 	struct lance_tx_desc btx_ring[TX_RING_SIZE];  member
346 ib->btx_ring [i].tmd0 = leptr; in lance_init_ring_dvma()
347 ib->btx_ring [i].tmd1_hadr = leptr >> 16; in lance_init_ring_dvma()
348 ib->btx_ring [i].tmd1_bits = 0; in lance_init_ring_dvma()
349 ib->btx_ring [i].length = 0xf000; /* The ones required by tmd2 */ in lance_init_ring_dvma()
350 ib->btx_ring [i].misc = 0; in lance_init_ring_dvma()
372 leptr = LANCE_ADDR(aib + libdesc_offset(btx_ring, 0)); in lance_init_ring_dvma()
402 sbus_writew(leptr, &ib->btx_ring [i].tmd0); in lance_init_ring_pio()
403 sbus_writeb(leptr >> 16,&ib->btx_ring [i].tmd1_hadr); in lance_init_ring_pio()
404 sbus_writeb(0, &ib->btx_ring [i].tmd1_bits); in lance_init_ring_pio()
407 sbus_writew(0xf000, &ib->btx_ring [i].length); in lance_init_ring_pio()
408 sbus_writew(0, &ib->btx_ring [i].misc); in lance_init_ring_pio()
432 leptr = libdesc_offset(btx_ring, 0); in lance_init_ring_pio()
576 struct lance_tx_desc *td = &ib->btx_ring [i]; in lance_tx_dvma()
744 struct lance_tx_desc __iomem *td = &ib->btx_ring [i]; in lance_tx_pio()
894 sbus_writew((-ETH_ZLEN) | 0xf000, &ib->btx_ring[entry].length); in build_fake_packet()
895 sbus_writew(0, &ib->btx_ring[entry].misc); in build_fake_packet()
896 sbus_writeb(LE_T1_POK|LE_T1_OWN, &ib->btx_ring[entry].tmd1_bits); in build_fake_packet()
906 ib->btx_ring[entry].length = (-ETH_ZLEN) | 0xf000; in build_fake_packet()
907 ib->btx_ring[entry].misc = 0; in build_fake_packet()
908 ib->btx_ring[entry].tmd1_bits = (LE_T1_POK|LE_T1_OWN); in build_fake_packet()
1125 sbus_writew((-len) | 0xf000, &ib->btx_ring[entry].length); in lance_start_xmit()
1126 sbus_writew(0, &ib->btx_ring[entry].misc); in lance_start_xmit()
1130 sbus_writeb(LE_T1_POK | LE_T1_OWN, &ib->btx_ring[entry].tmd1_bits); in lance_start_xmit()
1133 ib->btx_ring [entry].length = (-len) | 0xf000; in lance_start_xmit()
1134 ib->btx_ring [entry].misc = 0; in lance_start_xmit()
1138 ib->btx_ring [entry].tmd1_bits = (LE_T1_POK | LE_T1_OWN); in lance_start_xmit()