Lines Matching refs:btx_ring

223 	struct lance_tx_desc btx_ring[TX_RING_SIZE];  member
342 ib->btx_ring [i].tmd0 = leptr; in lance_init_ring_dvma()
343 ib->btx_ring [i].tmd1_hadr = leptr >> 16; in lance_init_ring_dvma()
344 ib->btx_ring [i].tmd1_bits = 0; in lance_init_ring_dvma()
345 ib->btx_ring [i].length = 0xf000; /* The ones required by tmd2 */ in lance_init_ring_dvma()
346 ib->btx_ring [i].misc = 0; in lance_init_ring_dvma()
368 leptr = LANCE_ADDR(aib + libdesc_offset(btx_ring, 0)); in lance_init_ring_dvma()
398 sbus_writew(leptr, &ib->btx_ring [i].tmd0); in lance_init_ring_pio()
399 sbus_writeb(leptr >> 16,&ib->btx_ring [i].tmd1_hadr); in lance_init_ring_pio()
400 sbus_writeb(0, &ib->btx_ring [i].tmd1_bits); in lance_init_ring_pio()
403 sbus_writew(0xf000, &ib->btx_ring [i].length); in lance_init_ring_pio()
404 sbus_writew(0, &ib->btx_ring [i].misc); in lance_init_ring_pio()
428 leptr = libdesc_offset(btx_ring, 0); in lance_init_ring_pio()
572 struct lance_tx_desc *td = &ib->btx_ring [i]; in lance_tx_dvma()
740 struct lance_tx_desc __iomem *td = &ib->btx_ring [i]; in lance_tx_pio()
890 sbus_writew((-ETH_ZLEN) | 0xf000, &ib->btx_ring[entry].length); in build_fake_packet()
891 sbus_writew(0, &ib->btx_ring[entry].misc); in build_fake_packet()
892 sbus_writeb(LE_T1_POK|LE_T1_OWN, &ib->btx_ring[entry].tmd1_bits); in build_fake_packet()
902 ib->btx_ring[entry].length = (-ETH_ZLEN) | 0xf000; in build_fake_packet()
903 ib->btx_ring[entry].misc = 0; in build_fake_packet()
904 ib->btx_ring[entry].tmd1_bits = (LE_T1_POK|LE_T1_OWN); in build_fake_packet()
1121 sbus_writew((-len) | 0xf000, &ib->btx_ring[entry].length); in lance_start_xmit()
1122 sbus_writew(0, &ib->btx_ring[entry].misc); in lance_start_xmit()
1126 sbus_writeb(LE_T1_POK | LE_T1_OWN, &ib->btx_ring[entry].tmd1_bits); in lance_start_xmit()
1129 ib->btx_ring [entry].length = (-len) | 0xf000; in lance_start_xmit()
1130 ib->btx_ring [entry].misc = 0; in lance_start_xmit()
1134 ib->btx_ring [entry].tmd1_bits = (LE_T1_POK | LE_T1_OWN); in lance_start_xmit()