Lines Matching refs:leptr
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()
468 ib->tx_len = (LANCE_LOG_TX_BUFFERS << 13) | (leptr >> 16); in lance_init_ring()
469 ib->tx_ptr = leptr; in lance_init_ring()
471 printk("TX ptr: %8.8x(%8.8x)\n", leptr, libdesc_offset(btx_ring, 0)); in lance_init_ring()
478 leptr = (int) lp->tx_buf_ptr_lnc[i]; in lance_init_ring()
479 ib->btx_ring[i].tmd0 = leptr; in lance_init_ring()
480 ib->btx_ring[i].tmd1_hadr = leptr >> 16; in lance_init_ring()
485 printk("%d: 0x%8.8x(0x%8.8x)\n", i, leptr, (int) lp->tx_buf_ptr_cpu[i]); in lance_init_ring()
492 leptr = (int) lp->rx_buf_ptr_lnc[i]; in lance_init_ring()
493 ib->brx_ring[i].rmd0 = leptr; in lance_init_ring()
494 ib->brx_ring[i].rmd1_hadr = leptr >> 16; in lance_init_ring()
499 printk("%d: 0x%8.8x(0x%8.8x)\n", i, leptr, (int) lp->rx_buf_ptr_cpu[i]); in lance_init_ring()