Home
last modified time | relevance | path

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

/linux-2.6.39/drivers/net/
D7990.c120 int leptr; in load_csrs() local
122 leptr = LANCE_ADDR (aib); in load_csrs()
125 WRITERDP(lp, leptr & 0xFFFF); in load_csrs()
127 WRITERDP(lp, leptr >> 16); in load_csrs()
143 int leptr; in lance_init_ring() local
181 leptr = LANCE_ADDR(&aib->tx_buf[i][0]); in lance_init_ring()
182 ib->btx_ring [i].tmd0 = leptr; in lance_init_ring()
183 ib->btx_ring [i].tmd1_hadr = leptr >> 16; in lance_init_ring()
188 printk ("%d: 0x%8.8x\n", i, leptr); in lance_init_ring()
195 leptr = LANCE_ADDR(&aib->rx_buf[i][0]); in lance_init_ring()
[all …]
Da2065.c144 int leptr; in load_csrs() local
146 leptr = LANCE_ADDR (aib); in load_csrs()
149 ll->rdp = (leptr & 0xFFFF); in load_csrs()
151 ll->rdp = leptr >> 16; in load_csrs()
167 int leptr; in lance_init_ring() local
194 leptr = LANCE_ADDR(&aib->tx_buf[i][0]); in lance_init_ring()
195 ib->btx_ring [i].tmd0 = leptr; in lance_init_ring()
196 ib->btx_ring [i].tmd1_hadr = leptr >> 16; in lance_init_ring()
201 printk(KERN_DEBUG "%d: 0x%8.8x\n", i, leptr); in lance_init_ring()
208 leptr = LANCE_ADDR(&aib->rx_buf[i][0]); in lance_init_ring()
[all …]
Dsunlance.c303 u32 leptr; in load_csrs() local
306 leptr = 0; in load_csrs()
308 leptr = LANCE_ADDR(lp->init_block_dvma); in load_csrs()
311 sbus_writew(leptr & 0xffff, lp->lregs + RDP); in load_csrs()
313 sbus_writew(leptr >> 16, lp->lregs + RDP); in load_csrs()
327 __u32 leptr; in lance_init_ring_dvma() local
347 leptr = LANCE_ADDR(aib + libbuff_offset(tx_buf, i)); in lance_init_ring_dvma()
348 ib->btx_ring [i].tmd0 = leptr; in lance_init_ring_dvma()
349 ib->btx_ring [i].tmd1_hadr = leptr >> 16; in lance_init_ring_dvma()
357 leptr = LANCE_ADDR(aib + libbuff_offset(rx_buf, i)); in lance_init_ring_dvma()
[all …]
Ddeclance.c305 uint leptr; in load_csrs() local
310 leptr = 0; in load_csrs()
313 writereg(&ll->rdp, (leptr & 0xFFFF)); in load_csrs()
315 writereg(&ll->rdp, leptr >> 16); in load_csrs()
447 uint leptr; in lance_init_ring() local
467 leptr = offsetof(struct lance_init_block, brx_ring); in lance_init_ring()
469 (leptr >> 16); in lance_init_ring()
470 *lib_ptr(ib, rx_ptr, lp->type) = leptr; in lance_init_ring()
473 leptr, lib_off(brx_ring, lp->type)); in lance_init_ring()
476 leptr = offsetof(struct lance_init_block, btx_ring); in lance_init_ring()
[all …]