• Home
  • Raw
  • Download

Lines Matching refs:leptr

301 	u32 leptr;  in load_csrs()  local
304 leptr = 0; in load_csrs()
306 leptr = LANCE_ADDR(lp->init_block_dvma); in load_csrs()
309 sbus_writew(leptr & 0xffff, lp->lregs + RDP); in load_csrs()
311 sbus_writew(leptr >> 16, lp->lregs + RDP); in load_csrs()
325 __u32 leptr; in lance_init_ring_dvma() local
345 leptr = LANCE_ADDR(aib + libbuff_offset(tx_buf, i)); in lance_init_ring_dvma()
346 ib->btx_ring [i].tmd0 = leptr; in lance_init_ring_dvma()
347 ib->btx_ring [i].tmd1_hadr = leptr >> 16; in lance_init_ring_dvma()
355 leptr = LANCE_ADDR(aib + libbuff_offset(rx_buf, i)); in lance_init_ring_dvma()
357 ib->brx_ring [i].rmd0 = leptr; in lance_init_ring_dvma()
358 ib->brx_ring [i].rmd1_hadr = leptr >> 16; in lance_init_ring_dvma()
367 leptr = LANCE_ADDR(aib + libdesc_offset(brx_ring, 0)); in lance_init_ring_dvma()
368 ib->rx_len = (LANCE_LOG_RX_BUFFERS << 13) | (leptr >> 16); in lance_init_ring_dvma()
369 ib->rx_ptr = leptr; in lance_init_ring_dvma()
372 leptr = LANCE_ADDR(aib + libdesc_offset(btx_ring, 0)); in lance_init_ring_dvma()
373 ib->tx_len = (LANCE_LOG_TX_BUFFERS << 13) | (leptr >> 16); in lance_init_ring_dvma()
374 ib->tx_ptr = leptr; in lance_init_ring_dvma()
381 u32 leptr; in lance_init_ring_pio() local
401 leptr = libbuff_offset(tx_buf, i); in lance_init_ring_pio()
402 sbus_writew(leptr, &ib->btx_ring [i].tmd0); in lance_init_ring_pio()
403 sbus_writeb(leptr >> 16,&ib->btx_ring [i].tmd1_hadr); in lance_init_ring_pio()
413 leptr = libbuff_offset(rx_buf, i); in lance_init_ring_pio()
415 sbus_writew(leptr, &ib->brx_ring [i].rmd0); in lance_init_ring_pio()
416 sbus_writeb(leptr >> 16,&ib->brx_ring [i].rmd1_hadr); in lance_init_ring_pio()
426 leptr = libdesc_offset(brx_ring, 0); in lance_init_ring_pio()
427 sbus_writew((LANCE_LOG_RX_BUFFERS << 13) | (leptr >> 16), in lance_init_ring_pio()
429 sbus_writew(leptr, &ib->rx_ptr); in lance_init_ring_pio()
432 leptr = libdesc_offset(btx_ring, 0); in lance_init_ring_pio()
433 sbus_writew((LANCE_LOG_TX_BUFFERS << 13) | (leptr >> 16), in lance_init_ring_pio()
435 sbus_writew(leptr, &ib->tx_ptr); in lance_init_ring_pio()