Searched refs:leptr (Results 1 – 4 of 4) sorted by relevance
/linux-2.4.37.9/drivers/net/ |
D | 7990.c | 85 int leptr; in load_csrs() local 88 leptr = LANCE_ADDR (aib); in load_csrs() 91 WRITERDP(leptr & 0xFFFF); in load_csrs() 93 WRITERDP(leptr >> 16); in load_csrs() 109 int leptr; in lance_init_ring() local 147 leptr = LANCE_ADDR(&aib->tx_buf[i][0]); in lance_init_ring() 148 ib->btx_ring [i].tmd0 = leptr; in lance_init_ring() 149 ib->btx_ring [i].tmd1_hadr = leptr >> 16; in lance_init_ring() 154 printk ("%d: 0x%8.8x\n", i, leptr); in lance_init_ring() 161 leptr = LANCE_ADDR(&aib->rx_buf[i][0]); in lance_init_ring() [all …]
|
D | a2065.c | 157 int leptr; in load_csrs() local 159 leptr = LANCE_ADDR (aib); in load_csrs() 162 ll->rdp = (leptr & 0xFFFF); in load_csrs() 164 ll->rdp = leptr >> 16; in load_csrs() 180 int leptr; in lance_init_ring() local 207 leptr = LANCE_ADDR(&aib->tx_buf[i][0]); in lance_init_ring() 208 ib->btx_ring [i].tmd0 = leptr; in lance_init_ring() 209 ib->btx_ring [i].tmd1_hadr = leptr >> 16; in lance_init_ring() 214 if (ZERO) printk ("%d: 0x%8.8x\n", i, leptr); in lance_init_ring() 221 leptr = LANCE_ADDR(&aib->rx_buf[i][0]); in lance_init_ring() [all …]
|
D | sunlance.c | 300 u32 leptr; in load_csrs() local 303 leptr = 0; in load_csrs() 305 leptr = LANCE_ADDR(lp->init_block_dvma); in load_csrs() 308 sbus_writew(leptr & 0xffff, lp->lregs + RDP); in load_csrs() 310 sbus_writew(leptr >> 16, lp->lregs + RDP); in load_csrs() 324 __u32 leptr; in lance_init_ring_dvma() local 344 leptr = LANCE_ADDR(aib + libbuff_offset(tx_buf, i)); in lance_init_ring_dvma() 345 ib->btx_ring [i].tmd0 = leptr; in lance_init_ring_dvma() 346 ib->btx_ring [i].tmd1_hadr = leptr >> 16; in lance_init_ring_dvma() 354 leptr = LANCE_ADDR(aib + libbuff_offset(rx_buf, i)); in lance_init_ring_dvma() [all …]
|
D | declance.c | 300 int leptr; in load_csrs() local 305 leptr = 0; in load_csrs() 308 writereg(&ll->rdp, (leptr & 0xFFFF)); in load_csrs() 310 writereg(&ll->rdp, leptr >> 16); in load_csrs() 438 int leptr; in lance_init_ring() local 460 leptr = LANCE_ADDR(libdesc_offset(brx_ring, 0)); in lance_init_ring() 461 ib->rx_len = (LANCE_LOG_RX_BUFFERS << 13) | (leptr >> 16); in lance_init_ring() 462 ib->rx_ptr = leptr; in lance_init_ring() 464 printk("RX ptr: %8.8x(%8.8x)\n", leptr, libdesc_offset(brx_ring, 0)); in lance_init_ring() 467 leptr = LANCE_ADDR(libdesc_offset(btx_ring, 0)); in lance_init_ring() [all …]
|