Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/net/ethernet/amd/
D7990.c100 t, ib->brx_ring[t].rmd1_hadr, ib->brx_ring[t].rmd0, \
101 ib->brx_ring[t].length, \
102 ib->brx_ring[t].mblength, ib->brx_ring[t].rmd1_bits); \
196 ib->brx_ring[i].rmd0 = leptr; in lance_init_ring()
197 ib->brx_ring[i].rmd1_hadr = leptr >> 16; in lance_init_ring()
198 ib->brx_ring[i].rmd1_bits = LE_R1_OWN; in lance_init_ring()
200 ib->brx_ring[i].length = -RX_BUFF_SIZE | 0xf000; in lance_init_ring()
201 ib->brx_ring[i].mblength = 0; in lance_init_ring()
209 leptr = LANCE_ADDR(&aib->brx_ring); in lance_init_ring()
287 ib->brx_ring[i].rmd1_bits & LE_R1_OWN ? "_" : "X"); in lance_rx()
[all …]
Da2065.c96 struct lance_rx_desc brx_ring[RX_RING_SIZE]; member
194 ib->brx_ring[i].rmd0 = leptr; in lance_init_ring()
195 ib->brx_ring[i].rmd1_hadr = leptr >> 16; in lance_init_ring()
196 ib->brx_ring[i].rmd1_bits = LE_R1_OWN; in lance_init_ring()
197 ib->brx_ring[i].length = -RX_BUFF_SIZE | 0xf000; in lance_init_ring()
198 ib->brx_ring[i].mblength = 0; in lance_init_ring()
206 leptr = LANCE_ADDR(&aib->brx_ring); in lance_init_ring()
258 char r1_own = ib->brx_ring[i].rmd1_bits & LE_R1_OWN; in lance_rx()
270 for (rd = &ib->brx_ring[lp->rx_new]; in lance_rx()
272 rd = &ib->brx_ring[lp->rx_new]) { in lance_rx()
Dsunlance.c227 struct lance_rx_desc brx_ring[RX_RING_SIZE]; member
358 ib->brx_ring [i].rmd0 = leptr; in lance_init_ring_dvma()
359 ib->brx_ring [i].rmd1_hadr = leptr >> 16; in lance_init_ring_dvma()
360 ib->brx_ring [i].rmd1_bits = LE_R1_OWN; in lance_init_ring_dvma()
361 ib->brx_ring [i].length = -RX_BUFF_SIZE | 0xf000; in lance_init_ring_dvma()
362 ib->brx_ring [i].mblength = 0; in lance_init_ring_dvma()
368 leptr = LANCE_ADDR(aib + libdesc_offset(brx_ring, 0)); in lance_init_ring_dvma()
416 sbus_writew(leptr, &ib->brx_ring [i].rmd0); in lance_init_ring_pio()
417 sbus_writeb(leptr >> 16,&ib->brx_ring [i].rmd1_hadr); in lance_init_ring_pio()
418 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
474 leptr = offsetof(struct lance_init_block, brx_ring); in lance_init_ring()
480 leptr, (uint)lib_off(brx_ring, lp->type)); in lance_init_ring()
513 *lib_ptr(ib, brx_ring[i].rmd0, lp->type) = leptr; in lance_init_ring()
514 *lib_ptr(ib, brx_ring[i].rmd1, lp->type) = ((leptr >> 16) & in lance_init_ring()
517 *lib_ptr(ib, brx_ring[i].length, lp->type) = -RX_BUFF_SIZE | in lance_init_ring()
519 *lib_ptr(ib, brx_ring[i].mblength, lp->type) = 0; in lance_init_ring()
572 printk("%s", *lib_ptr(ib, brx_ring[i].rmd1, in lance_rx()
576 printk("%s", *lib_ptr(ib, brx_ring[i].rmd1, in lance_rx()
584 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