Home
last modified time | relevance | path

Searched refs:btx_ring (Results 1 – 5 of 5) sorted by relevance

/drivers/net/ethernet/amd/
D7990.c106 t, ib->btx_ring[t].tmd1_hadr, ib->btx_ring[t].tmd0, \
107 ib->btx_ring[t].length, \
108 ib->btx_ring[t].misc, ib->btx_ring[t].tmd1_bits); \
181 ib->btx_ring[i].tmd0 = leptr; in lance_init_ring()
182 ib->btx_ring[i].tmd1_hadr = leptr >> 16; in lance_init_ring()
183 ib->btx_ring[i].tmd1_bits = 0; in lance_init_ring()
184 ib->btx_ring[i].length = 0xf000; /* The ones required by tmd2 */ in lance_init_ring()
185 ib->btx_ring[i].misc = 0; in lance_init_ring()
216 leptr = LANCE_ADDR(&aib->btx_ring); in lance_init_ring()
369 td = &ib->btx_ring[i]; in lance_tx()
[all …]
Dsunlance.c223 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()
[all …]
Da2065.c97 struct lance_tx_desc btx_ring[TX_RING_SIZE]; member
176 ib->btx_ring[i].tmd0 = leptr; in lance_init_ring()
177 ib->btx_ring[i].tmd1_hadr = leptr >> 16; in lance_init_ring()
178 ib->btx_ring[i].tmd1_bits = 0; in lance_init_ring()
179 ib->btx_ring[i].length = 0xf000; /* The ones required by tmd2 */ in lance_init_ring()
180 ib->btx_ring[i].misc = 0; in lance_init_ring()
208 leptr = LANCE_ADDR(&aib->btx_ring); in lance_init_ring()
335 td = &ib->btx_ring[i]; in lance_tx()
555 ib->btx_ring[entry].length = (-skblen) | 0xf000; in lance_start_xmit()
556 ib->btx_ring[entry].misc = 0; in lance_start_xmit()
[all …]
Ddeclance.c223 struct lance_tx_desc btx_ring[TX_RING_SIZE]; member
483 leptr = offsetof(struct lance_init_block, btx_ring); in lance_init_ring()
489 leptr, (uint)lib_off(btx_ring, lp->type)); in lance_init_ring()
497 *lib_ptr(ib, btx_ring[i].tmd0, lp->type) = leptr; in lance_init_ring()
498 *lib_ptr(ib, btx_ring[i].tmd1, lp->type) = (leptr >> 16) & in lance_init_ring()
500 *lib_ptr(ib, btx_ring[i].length, lp->type) = 0xf000; in lance_init_ring()
502 *lib_ptr(ib, btx_ring[i].misc, lp->type) = 0; in lance_init_ring()
657 td = lib_ptr(ib, btx_ring[i], lp->type); in lance_tx()
919 *lib_ptr(ib, btx_ring[entry].length, lp->type) = (-len); in lance_start_xmit()
920 *lib_ptr(ib, btx_ring[entry].misc, lp->type) = 0; in lance_start_xmit()
[all …]
D7990.h87 volatile struct lance_tx_desc btx_ring[TX_RING_SIZE]; member