Searched refs:brx_ring (Results 1 – 5 of 5) sorted by relevance
/linux-5.19.10/drivers/net/ethernet/amd/ |
D | 7990.c | 100 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 …]
|
D | a2065.c | 96 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()
|
D | sunlance.c | 222 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() 356 ib->brx_ring [i].length = -RX_BUFF_SIZE | 0xf000; in lance_init_ring_dvma() 357 ib->brx_ring [i].mblength = 0; in lance_init_ring_dvma() 363 leptr = LANCE_ADDR(aib + libdesc_offset(brx_ring, 0)); in lance_init_ring_dvma() 411 sbus_writew(leptr, &ib->brx_ring [i].rmd0); in lance_init_ring_pio() 412 sbus_writeb(leptr >> 16,&ib->brx_ring [i].rmd1_hadr); in lance_init_ring_pio() 413 sbus_writeb(LE_R1_OWN, &ib->brx_ring [i].rmd1_bits); in lance_init_ring_pio() [all …]
|
D | declance.c | 222 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 …]
|
D | 7990.h | 88 volatile struct lance_rx_desc brx_ring[RX_RING_SIZE]; member
|