Lines Matching refs:init_block
239 struct lance_init_block init_block; member
570 lp->init_block.mode = 0x0003; /* Disable Rx and Tx. */ in lance_probe1()
572 lp->init_block.phys_addr[i] = dev->dev_addr[i]; in lance_probe1()
573 lp->init_block.filter[0] = 0x00000000; in lance_probe1()
574 lp->init_block.filter[1] = 0x00000000; in lance_probe1()
575 lp->init_block.rx_ring = ((u32)isa_virt_to_bus(lp->rx_ring) & 0xffffff) | RX_RING_LEN_BITS; in lance_probe1()
576 lp->init_block.tx_ring = ((u32)isa_virt_to_bus(lp->tx_ring) & 0xffffff) | TX_RING_LEN_BITS; in lance_probe1()
580 outw((short) (u32) isa_virt_to_bus(&lp->init_block), ioaddr+LANCE_DATA); in lance_probe1()
583 outw(((u32)isa_virt_to_bus(&lp->init_block)) >> 16, ioaddr+LANCE_DATA); in lance_probe1()
791 (u32) isa_virt_to_bus(&lp->init_block)); in lance_open()
796 outw((short) (u32) isa_virt_to_bus(&lp->init_block), ioaddr+LANCE_DATA); in lance_open()
798 outw(((u32)isa_virt_to_bus(&lp->init_block)) >> 16, ioaddr+LANCE_DATA); in lance_open()
820 dev->name, i, (u32) isa_virt_to_bus(&lp->init_block), inw(ioaddr+LANCE_DATA)); in lance_open()
894 lp->init_block.mode = 0x0000; in lance_init_ring()
896 lp->init_block.phys_addr[i] = dev->dev_addr[i]; in lance_init_ring()
897 lp->init_block.filter[0] = 0x00000000; in lance_init_ring()
898 lp->init_block.filter[1] = 0x00000000; in lance_init_ring()
899 lp->init_block.rx_ring = ((u32)isa_virt_to_bus(lp->rx_ring) & 0xffffff) | RX_RING_LEN_BITS; in lance_init_ring()
900 lp->init_block.tx_ring = ((u32)isa_virt_to_bus(lp->tx_ring) & 0xffffff) | TX_RING_LEN_BITS; in lance_init_ring()