Home
last modified time | relevance | path

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

/linux-2.6.39/drivers/net/
D7990.c101 t, ib->brx_ring[t].rmd1_hadr, ib->brx_ring[t].rmd0,\
102 ib->brx_ring[t].length,\
103 ib->brx_ring[t].mblength, ib->brx_ring[t].rmd1_bits);\
197 ib->brx_ring [i].rmd0 = leptr; in lance_init_ring()
198 ib->brx_ring [i].rmd1_hadr = leptr >> 16; in lance_init_ring()
199 ib->brx_ring [i].rmd1_bits = LE_R1_OWN; in lance_init_ring()
201 ib->brx_ring [i].length = -RX_BUFF_SIZE | 0xf000; in lance_init_ring()
202 ib->brx_ring [i].mblength = 0; in lance_init_ring()
210 leptr = LANCE_ADDR(&aib->brx_ring); in lance_init_ring()
288 ib->brx_ring [i].rmd1_bits & LE_R1_OWN ? "_" : "X"); in lance_rx()
[all …]
Da2065.c97 struct lance_rx_desc brx_ring[RX_RING_SIZE]; member
210 ib->brx_ring [i].rmd0 = leptr; in lance_init_ring()
211 ib->brx_ring [i].rmd1_hadr = leptr >> 16; in lance_init_ring()
212 ib->brx_ring [i].rmd1_bits = LE_R1_OWN; in lance_init_ring()
213 ib->brx_ring [i].length = -RX_BUFF_SIZE | 0xf000; in lance_init_ring()
214 ib->brx_ring [i].mblength = 0; in lance_init_ring()
222 leptr = LANCE_ADDR(&aib->brx_ring); in lance_init_ring()
278 ib->brx_ring [i].rmd1_bits & LE_R1_OWN ? "_" : "X"); in lance_rx()
281 ib->brx_ring [i].rmd1_bits & LE_R1_OWN ? "." : "1"); in lance_rx()
287 for (rd = &ib->brx_ring [lp->rx_new]; in lance_rx()
[all …]
Dsunlance.c228 struct lance_rx_desc brx_ring[RX_RING_SIZE]; member
359 ib->brx_ring [i].rmd0 = leptr; in lance_init_ring_dvma()
360 ib->brx_ring [i].rmd1_hadr = leptr >> 16; in lance_init_ring_dvma()
361 ib->brx_ring [i].rmd1_bits = LE_R1_OWN; in lance_init_ring_dvma()
362 ib->brx_ring [i].length = -RX_BUFF_SIZE | 0xf000; in lance_init_ring_dvma()
363 ib->brx_ring [i].mblength = 0; in lance_init_ring_dvma()
369 leptr = LANCE_ADDR(aib + libdesc_offset(brx_ring, 0)); in lance_init_ring_dvma()
417 sbus_writew(leptr, &ib->brx_ring [i].rmd0); in lance_init_ring_pio()
418 sbus_writeb(leptr >> 16,&ib->brx_ring [i].rmd1_hadr); in lance_init_ring_pio()
419 sbus_writeb(LE_R1_OWN, &ib->brx_ring [i].rmd1_bits); in lance_init_ring_pio()
[all …]
Ddeclance.c222 struct lance_rx_desc brx_ring[RX_RING_SIZE]; member
467 leptr = offsetof(struct lance_init_block, brx_ring); in lance_init_ring()
473 leptr, lib_off(brx_ring, lp->type)); in lance_init_ring()
506 *lib_ptr(ib, brx_ring[i].rmd0, lp->type) = leptr; in lance_init_ring()
507 *lib_ptr(ib, brx_ring[i].rmd1, lp->type) = ((leptr >> 16) & in lance_init_ring()
510 *lib_ptr(ib, brx_ring[i].length, lp->type) = -RX_BUFF_SIZE | in lance_init_ring()
512 *lib_ptr(ib, brx_ring[i].mblength, lp->type) = 0; in lance_init_ring()
565 printk("%s", *lib_ptr(ib, brx_ring[i].rmd1, in lance_rx()
569 printk("%s", *lib_ptr(ib, brx_ring[i].rmd1, in lance_rx()
577 for (rd = lib_ptr(ib, brx_ring[lp->rx_new], lp->type); in lance_rx()
[all …]
D7990.h88 volatile struct lance_rx_desc brx_ring[RX_RING_SIZE]; member