Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/amd/
H A 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()
290 ib->brx_ring[i].rmd1_bits & LE_R1_OWN ? "." : "1"); in lance_rx()
[all …]
H A Da2065.c96 struct lance_rx_desc brx_ring[RX_RING_SIZE]; member
190 ib->brx_ring[i].rmd0 = leptr; in lance_init_ring()
191 ib->brx_ring[i].rmd1_hadr = leptr >> 16; in lance_init_ring()
192 ib->brx_ring[i].rmd1_bits = LE_R1_OWN; in lance_init_ring()
193 ib->brx_ring[i].length = -RX_BUFF_SIZE | 0xf000; in lance_init_ring()
194 ib->brx_ring[i].mblength = 0; in lance_init_ring()
202 leptr = LANCE_ADDR(&aib->brx_ring); in lance_init_ring()
254 char r1_own = ib->brx_ring[i].rmd1_bits & LE_R1_OWN; in lance_rx()
266 for (rd = &ib->brx_ring[lp->rx_new]; in lance_rx()
268 rd = &ib->brx_ring[lp->rx_new]) { in lance_rx()
H A Dsunlance.c222 struct lance_rx_desc brx_ring[RX_RING_SIZE]; member
353 ib->brx_ring [i].rmd0 = leptr; in lance_init_ring_dvma()
354 ib->brx_ring [i].rmd1_hadr = leptr >> 16; in lance_init_ring_dvma()
355 ib->brx_ring [i].rmd1_bits = LE_R1_OWN; in lance_init_ring_dvma()
357 ib->brx_ring [i].mblength = 0; in lance_init_ring_dvma()
415 &ib->brx_ring [i].length); in lance_init_ring_pio()
422 leptr = libdesc_offset(brx_ring, 0); in lance_init_ring_pio()
512 for (rd = &ib->brx_ring [entry]; in lance_rx_dvma()
514 rd = &ib->brx_ring [entry]) { in lance_rx_dvma()
682 for (rd = &ib->brx_ring [entry]; in lance_rx_pio()
[all …]
H A 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 …]
H A D7990.h88 volatile struct lance_rx_desc brx_ring[RX_RING_SIZE]; member