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

/linux-4.1.27/drivers/net/ethernet/amd/
H A D7990.c99 t, ib->brx_ring[t].rmd1_hadr, ib->brx_ring[t].rmd0, \
100 ib->brx_ring[t].length, \
101 ib->brx_ring[t].mblength, ib->brx_ring[t].rmd1_bits); \
195 ib->brx_ring[i].rmd0 = leptr; lance_init_ring()
196 ib->brx_ring[i].rmd1_hadr = leptr >> 16; lance_init_ring()
197 ib->brx_ring[i].rmd1_bits = LE_R1_OWN; lance_init_ring()
199 ib->brx_ring[i].length = -RX_BUFF_SIZE | 0xf000; lance_init_ring()
200 ib->brx_ring[i].mblength = 0; lance_init_ring()
208 leptr = LANCE_ADDR(&aib->brx_ring); lance_init_ring()
286 ib->brx_ring[i].rmd1_bits & LE_R1_OWN ? "_" : "X"); lance_rx()
289 ib->brx_ring[i].rmd1_bits & LE_R1_OWN ? "." : "1"); lance_rx()
297 for (rd = &ib->brx_ring[lp->rx_new]; /* For each Rx ring we own... */ lance_rx()
299 rd = &ib->brx_ring[lp->rx_new]) { lance_rx()
H A Da2065.c96 struct lance_rx_desc brx_ring[RX_RING_SIZE]; member in struct:lance_init_block
193 ib->brx_ring[i].rmd0 = leptr; lance_init_ring()
194 ib->brx_ring[i].rmd1_hadr = leptr >> 16; lance_init_ring()
195 ib->brx_ring[i].rmd1_bits = LE_R1_OWN; lance_init_ring()
196 ib->brx_ring[i].length = -RX_BUFF_SIZE | 0xf000; lance_init_ring()
197 ib->brx_ring[i].mblength = 0; lance_init_ring()
205 leptr = LANCE_ADDR(&aib->brx_ring); lance_init_ring()
257 char r1_own = ib->brx_ring[i].rmd1_bits & LE_R1_OWN; lance_rx()
269 for (rd = &ib->brx_ring[lp->rx_new]; lance_rx()
271 rd = &ib->brx_ring[lp->rx_new]) { lance_rx()
H A Dsunlance.c226 struct lance_rx_desc brx_ring[RX_RING_SIZE]; member in struct:lance_init_block
357 ib->brx_ring [i].rmd0 = leptr; lance_init_ring_dvma()
358 ib->brx_ring [i].rmd1_hadr = leptr >> 16; lance_init_ring_dvma()
359 ib->brx_ring [i].rmd1_bits = LE_R1_OWN; lance_init_ring_dvma()
360 ib->brx_ring [i].length = -RX_BUFF_SIZE | 0xf000; lance_init_ring_dvma()
361 ib->brx_ring [i].mblength = 0; lance_init_ring_dvma()
367 leptr = LANCE_ADDR(aib + libdesc_offset(brx_ring, 0)); lance_init_ring_dvma()
415 sbus_writew(leptr, &ib->brx_ring [i].rmd0); lance_init_ring_pio()
416 sbus_writeb(leptr >> 16,&ib->brx_ring [i].rmd1_hadr); lance_init_ring_pio()
417 sbus_writeb(LE_R1_OWN, &ib->brx_ring [i].rmd1_bits); lance_init_ring_pio()
419 &ib->brx_ring [i].length); lance_init_ring_pio()
420 sbus_writew(0, &ib->brx_ring [i].mblength); lance_init_ring_pio()
426 leptr = libdesc_offset(brx_ring, 0); lance_init_ring_pio()
516 for (rd = &ib->brx_ring [entry]; lance_rx_dvma()
518 rd = &ib->brx_ring [entry]) { lance_rx_dvma()
686 for (rd = &ib->brx_ring [entry]; lance_rx_pio()
688 rd = &ib->brx_ring [entry]) { lance_rx_pio()
H A Ddeclance.c221 struct lance_rx_desc brx_ring[RX_RING_SIZE]; member in struct:lance_init_block
472 leptr = offsetof(struct lance_init_block, brx_ring); lance_init_ring()
478 leptr, (uint)lib_off(brx_ring, lp->type)); lance_init_ring()
511 *lib_ptr(ib, brx_ring[i].rmd0, lp->type) = leptr; lance_init_ring()
512 *lib_ptr(ib, brx_ring[i].rmd1, lp->type) = ((leptr >> 16) & lance_init_ring()
515 *lib_ptr(ib, brx_ring[i].length, lp->type) = -RX_BUFF_SIZE | lance_init_ring()
517 *lib_ptr(ib, brx_ring[i].mblength, lp->type) = 0; lance_init_ring()
570 printk("%s", *lib_ptr(ib, brx_ring[i].rmd1, lance_rx()
574 printk("%s", *lib_ptr(ib, brx_ring[i].rmd1, lance_rx()
582 for (rd = lib_ptr(ib, brx_ring[lp->rx_new], lp->type); lance_rx()
584 rd = lib_ptr(ib, brx_ring[lp->rx_new], lp->type)) { lance_rx()
H A D7990.h87 volatile struct lance_rx_desc brx_ring[RX_RING_SIZE]; member in struct:lance_init_block

Completed in 116 milliseconds