Lines Matching refs:leptr
136 int leptr = LANCE_ADDR(aib); in load_csrs() local
139 ll->rdp = (leptr & 0xFFFF); in load_csrs()
141 ll->rdp = leptr >> 16; in load_csrs()
156 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 netdev_dbg(dev, "%d: 0x%08x\n", i, leptr); in lance_init_ring()
192 leptr = LANCE_ADDR(&aib->rx_buf[i][0]); in lance_init_ring()
194 ib->brx_ring[i].rmd0 = leptr; in lance_init_ring()
195 ib->brx_ring[i].rmd1_hadr = leptr >> 16; in lance_init_ring()
200 netdev_dbg(dev, "%d: 0x%08x\n", i, leptr); in lance_init_ring()
206 leptr = LANCE_ADDR(&aib->brx_ring); in lance_init_ring()
207 ib->rx_len = (lp->lance_log_rx_bufs << 13) | (leptr >> 16); in lance_init_ring()
208 ib->rx_ptr = leptr; in lance_init_ring()
209 netdev_dbg(dev, "RX ptr: %08x\n", leptr); in lance_init_ring()
212 leptr = LANCE_ADDR(&aib->btx_ring); in lance_init_ring()
213 ib->tx_len = (lp->lance_log_tx_bufs << 13) | (leptr >> 16); in lance_init_ring()
214 ib->tx_ptr = leptr; in lance_init_ring()
215 netdev_dbg(dev, "TX ptr: %08x\n", leptr); in lance_init_ring()