Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/net/ethernet/amd/
D7990.c105 t, ib->btx_ring[t].tmd1_hadr, ib->btx_ring[t].tmd0, \
106 ib->btx_ring[t].length, \
107 ib->btx_ring[t].misc, ib->btx_ring[t].tmd1_bits); \
180 ib->btx_ring[i].tmd0 = leptr; in lance_init_ring()
181 ib->btx_ring[i].tmd1_hadr = leptr >> 16; in lance_init_ring()
182 ib->btx_ring[i].tmd1_bits = 0; in lance_init_ring()
183 ib->btx_ring[i].length = 0xf000; /* The ones required by tmd2 */ in lance_init_ring()
184 ib->btx_ring[i].misc = 0; in lance_init_ring()
215 leptr = LANCE_ADDR(&aib->btx_ring); in lance_init_ring()
368 td = &ib->btx_ring[i]; in lance_tx()
[all …]
Dsunlance.c227 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()
[all …]
Da2065.c97 struct lance_tx_desc btx_ring[TX_RING_SIZE]; member
180 ib->btx_ring[i].tmd0 = leptr; in lance_init_ring()
181 ib->btx_ring[i].tmd1_hadr = leptr >> 16; in lance_init_ring()
182 ib->btx_ring[i].tmd1_bits = 0; in lance_init_ring()
183 ib->btx_ring[i].length = 0xf000; /* The ones required by tmd2 */ in lance_init_ring()
184 ib->btx_ring[i].misc = 0; in lance_init_ring()
212 leptr = LANCE_ADDR(&aib->btx_ring); in lance_init_ring()
339 td = &ib->btx_ring[i]; in lance_tx()
560 ib->btx_ring[entry].length = (-skblen) | 0xf000; in lance_start_xmit()
561 ib->btx_ring[entry].misc = 0; in lance_start_xmit()
[all …]
Ddeclance.c222 struct lance_tx_desc btx_ring[TX_RING_SIZE]; member
482 leptr = offsetof(struct lance_init_block, btx_ring); in lance_init_ring()
488 leptr, (uint)lib_off(btx_ring, lp->type)); in lance_init_ring()
496 *lib_ptr(ib, btx_ring[i].tmd0, lp->type) = leptr; in lance_init_ring()
497 *lib_ptr(ib, btx_ring[i].tmd1, lp->type) = (leptr >> 16) & in lance_init_ring()
499 *lib_ptr(ib, btx_ring[i].length, lp->type) = 0xf000; in lance_init_ring()
501 *lib_ptr(ib, btx_ring[i].misc, lp->type) = 0; in lance_init_ring()
656 td = lib_ptr(ib, btx_ring[i], lp->type); in lance_tx()
918 *lib_ptr(ib, btx_ring[entry].length, lp->type) = (-len); in lance_start_xmit()
919 *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