Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/ethernet/amd/
D7990.c119 int leptr; in load_csrs() local
121 leptr = LANCE_ADDR(aib); in load_csrs()
124 WRITERDP(lp, leptr & 0xFFFF); in load_csrs()
126 WRITERDP(lp, leptr >> 16); in load_csrs()
142 int leptr; in lance_init_ring() local
180 leptr = LANCE_ADDR(&aib->tx_buf[i][0]); in lance_init_ring()
181 ib->btx_ring[i].tmd0 = leptr; in lance_init_ring()
182 ib->btx_ring[i].tmd1_hadr = leptr >> 16; in lance_init_ring()
187 printk("%d: 0x%8.8x\n", i, leptr); in lance_init_ring()
194 leptr = LANCE_ADDR(&aib->rx_buf[i][0]); in lance_init_ring()
[all …]
Da2065.c132 int leptr = LANCE_ADDR(aib); in load_csrs() local
135 ll->rdp = (leptr & 0xFFFF); in load_csrs()
137 ll->rdp = leptr >> 16; in load_csrs()
152 int leptr; in lance_init_ring() local
175 leptr = LANCE_ADDR(&aib->tx_buf[i][0]); in lance_init_ring()
176 ib->btx_ring[i].tmd0 = leptr; in lance_init_ring()
177 ib->btx_ring[i].tmd1_hadr = leptr >> 16; in lance_init_ring()
182 netdev_dbg(dev, "%d: 0x%08x\n", i, leptr); in lance_init_ring()
188 leptr = LANCE_ADDR(&aib->rx_buf[i][0]); in lance_init_ring()
190 ib->brx_ring[i].rmd0 = leptr; in lance_init_ring()
[all …]
Dsunlance.c297 u32 leptr; in load_csrs() local
300 leptr = 0; in load_csrs()
302 leptr = LANCE_ADDR(lp->init_block_dvma); in load_csrs()
305 sbus_writew(leptr & 0xffff, lp->lregs + RDP); in load_csrs()
307 sbus_writew(leptr >> 16, lp->lregs + RDP); in load_csrs()
321 __u32 leptr; in lance_init_ring_dvma() local
341 leptr = LANCE_ADDR(aib + libbuff_offset(tx_buf, i)); in lance_init_ring_dvma()
342 ib->btx_ring [i].tmd0 = leptr; in lance_init_ring_dvma()
343 ib->btx_ring [i].tmd1_hadr = leptr >> 16; in lance_init_ring_dvma()
351 leptr = LANCE_ADDR(aib + libbuff_offset(rx_buf, i)); in lance_init_ring_dvma()
[all …]
Ddeclance.c306 uint leptr; in load_csrs() local
311 leptr = 0; in load_csrs()
314 writereg(&ll->rdp, (leptr & 0xFFFF)); in load_csrs()
316 writereg(&ll->rdp, leptr >> 16); in load_csrs()
454 uint leptr; in lance_init_ring() local
474 leptr = offsetof(struct lance_init_block, brx_ring); in lance_init_ring()
476 (leptr >> 16); in lance_init_ring()
477 *lib_ptr(ib, rx_ptr, lp->type) = leptr; in lance_init_ring()
480 leptr, (uint)lib_off(brx_ring, lp->type)); in lance_init_ring()
483 leptr = offsetof(struct lance_init_block, btx_ring); in lance_init_ring()
[all …]
/linux-6.1.9/drivers/net/ethernet/marvell/octeontx2/nic/
Dotx2_struct.h135 u64 leptr : 8; member