Lines Matching refs:leptr

297 	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()
353 ib->brx_ring [i].rmd0 = leptr; in lance_init_ring_dvma()
354 ib->brx_ring [i].rmd1_hadr = leptr >> 16; in lance_init_ring_dvma()
363 leptr = LANCE_ADDR(aib + libdesc_offset(brx_ring, 0)); in lance_init_ring_dvma()
364 ib->rx_len = (LANCE_LOG_RX_BUFFERS << 13) | (leptr >> 16); in lance_init_ring_dvma()
365 ib->rx_ptr = leptr; in lance_init_ring_dvma()
368 leptr = LANCE_ADDR(aib + libdesc_offset(btx_ring, 0)); in lance_init_ring_dvma()
369 ib->tx_len = (LANCE_LOG_TX_BUFFERS << 13) | (leptr >> 16); in lance_init_ring_dvma()
370 ib->tx_ptr = leptr; in lance_init_ring_dvma()
377 u32 leptr; in lance_init_ring_pio() local
397 leptr = libbuff_offset(tx_buf, i); in lance_init_ring_pio()
398 sbus_writew(leptr, &ib->btx_ring [i].tmd0); in lance_init_ring_pio()
399 sbus_writeb(leptr >> 16,&ib->btx_ring [i].tmd1_hadr); in lance_init_ring_pio()
409 leptr = libbuff_offset(rx_buf, i); in lance_init_ring_pio()
411 sbus_writew(leptr, &ib->brx_ring [i].rmd0); in lance_init_ring_pio()
412 sbus_writeb(leptr >> 16,&ib->brx_ring [i].rmd1_hadr); in lance_init_ring_pio()
422 leptr = libdesc_offset(brx_ring, 0); in lance_init_ring_pio()
423 sbus_writew((LANCE_LOG_RX_BUFFERS << 13) | (leptr >> 16), in lance_init_ring_pio()
425 sbus_writew(leptr, &ib->rx_ptr); in lance_init_ring_pio()
428 leptr = libdesc_offset(btx_ring, 0); in lance_init_ring_pio()
429 sbus_writew((LANCE_LOG_TX_BUFFERS << 13) | (leptr >> 16), in lance_init_ring_pio()
431 sbus_writew(leptr, &ib->tx_ptr); in lance_init_ring_pio()