Lines Matching refs:lance
47 struct lance_private lance; member
146 lp->lance.name = (char*)name; /* discards const, shut up gcc */ in hplance_init()
147 lp->lance.ll = (struct lance_regs *)(va + HPLANCE_REGOFF); in hplance_init()
148 lp->lance.init_block = (struct lance_init_block *)(va + HPLANCE_MEMOFF); /* CPU addr */ in hplance_init()
149 lp->lance.lance_init_block = 0; /* LANCE addr of same RAM */ in hplance_init()
150 lp->lance.busmaster_regval = LE_C3_BSWP; /* we're bigendian */ in hplance_init()
151 lp->lance.irq = dio_scodetoipl(scode); in hplance_init()
152 lp->lance.writerap = hplance_writerap; in hplance_init()
153 lp->lance.writerdp = hplance_writerdp; in hplance_init()
154 lp->lance.readrdp = hplance_readrdp; in hplance_init()
155 lp->lance.lance_log_rx_bufs = LANCE_LOG_RX_BUFFERS; in hplance_init()
156 lp->lance.lance_log_tx_bufs = LANCE_LOG_TX_BUFFERS; in hplance_init()
157 lp->lance.rx_ring_mod_mask = RX_RING_MOD_MASK; in hplance_init()
158 lp->lance.tx_ring_mod_mask = TX_RING_MOD_MASK; in hplance_init()
162 printk(", irq %d\n", lp->lance.irq); in hplance_init()
182 lp->lance.ll->rap = value; in hplance_writerap()
191 lp->lance.ll->rdp = value; in hplance_writerdp()
201 val = lp->lance.ll->rdp; in hplance_readrdp()