Home
last modified time | relevance | path

Searched refs:leptr (Results 1 – 4 of 4) sorted by relevance

/drivers/net/ethernet/amd/
D7990.c118 int leptr; in load_csrs() local
120 leptr = LANCE_ADDR(aib); in load_csrs()
123 WRITERDP(lp, leptr & 0xFFFF); in load_csrs()
125 WRITERDP(lp, leptr >> 16); in load_csrs()
141 int leptr; in lance_init_ring() local
179 leptr = LANCE_ADDR(&aib->tx_buf[i][0]); in lance_init_ring()
180 ib->btx_ring[i].tmd0 = leptr; in lance_init_ring()
181 ib->btx_ring[i].tmd1_hadr = leptr >> 16; in lance_init_ring()
186 printk("%d: 0x%8.8x\n", i, leptr); in lance_init_ring()
193 leptr = LANCE_ADDR(&aib->rx_buf[i][0]); in lance_init_ring()
[all …]
Da2065.c135 int leptr = LANCE_ADDR(aib); in load_csrs() local
138 ll->rdp = (leptr & 0xFFFF); in load_csrs()
140 ll->rdp = leptr >> 16; in load_csrs()
155 int leptr; in lance_init_ring() local
178 leptr = LANCE_ADDR(&aib->tx_buf[i][0]); in lance_init_ring()
179 ib->btx_ring[i].tmd0 = leptr; in lance_init_ring()
180 ib->btx_ring[i].tmd1_hadr = leptr >> 16; in lance_init_ring()
185 netdev_dbg(dev, "%d: 0x%08x\n", i, leptr); in lance_init_ring()
191 leptr = LANCE_ADDR(&aib->rx_buf[i][0]); in lance_init_ring()
193 ib->brx_ring[i].rmd0 = leptr; in lance_init_ring()
[all …]
Dsunlance.c301 u32 leptr; in load_csrs() local
304 leptr = 0; in load_csrs()
306 leptr = LANCE_ADDR(lp->init_block_dvma); in load_csrs()
309 sbus_writew(leptr & 0xffff, lp->lregs + RDP); in load_csrs()
311 sbus_writew(leptr >> 16, lp->lregs + RDP); in load_csrs()
325 __u32 leptr; in lance_init_ring_dvma() local
345 leptr = LANCE_ADDR(aib + libbuff_offset(tx_buf, i)); in lance_init_ring_dvma()
346 ib->btx_ring [i].tmd0 = leptr; in lance_init_ring_dvma()
347 ib->btx_ring [i].tmd1_hadr = leptr >> 16; in lance_init_ring_dvma()
355 leptr = LANCE_ADDR(aib + libbuff_offset(rx_buf, i)); in lance_init_ring_dvma()
[all …]
Ddeclance.c304 uint leptr; in load_csrs() local
309 leptr = 0; in load_csrs()
312 writereg(&ll->rdp, (leptr & 0xFFFF)); in load_csrs()
314 writereg(&ll->rdp, leptr >> 16); in load_csrs()
452 uint leptr; in lance_init_ring() local
472 leptr = offsetof(struct lance_init_block, brx_ring); in lance_init_ring()
474 (leptr >> 16); in lance_init_ring()
475 *lib_ptr(ib, rx_ptr, lp->type) = leptr; in lance_init_ring()
478 leptr, (uint)lib_off(brx_ring, lp->type)); in lance_init_ring()
481 leptr = offsetof(struct lance_init_block, btx_ring); in lance_init_ring()
[all …]