Lines Matching refs:init

146 	struct lance_init_block	init;  member
343 MEM->init.hwaddr[0] = dev->dev_addr[1]; in lance_probe()
344 MEM->init.hwaddr[1] = dev->dev_addr[0]; in lance_probe()
345 MEM->init.hwaddr[2] = dev->dev_addr[3]; in lance_probe()
346 MEM->init.hwaddr[3] = dev->dev_addr[2]; in lance_probe()
347 MEM->init.hwaddr[4] = dev->dev_addr[5]; in lance_probe()
348 MEM->init.hwaddr[5] = dev->dev_addr[4]; in lance_probe()
353 MEM->init.mode = 0x0000; in lance_probe()
354 MEM->init.filter[0] = 0x00000000; in lance_probe()
355 MEM->init.filter[1] = 0x00000000; in lance_probe()
356 MEM->init.rdra = dvma_vtob(MEM->rx_head); in lance_probe()
357 MEM->init.rlen = (RX_LOG_RING_SIZE << 13) | in lance_probe()
359 MEM->init.tdra = dvma_vtob(MEM->tx_head); in lance_probe()
360 MEM->init.tlen = (TX_LOG_RING_SIZE << 13) | in lance_probe()
364 dvma_vtob(&(MEM->init)), dvma_vtob(MEM->rx_head), in lance_probe()
453 MEM->init.hwaddr[0] = dev->dev_addr[1]; in lance_init_ring()
454 MEM->init.hwaddr[1] = dev->dev_addr[0]; in lance_init_ring()
455 MEM->init.hwaddr[2] = dev->dev_addr[3]; in lance_init_ring()
456 MEM->init.hwaddr[3] = dev->dev_addr[2]; in lance_init_ring()
457 MEM->init.hwaddr[4] = dev->dev_addr[5]; in lance_init_ring()
458 MEM->init.hwaddr[5] = dev->dev_addr[4]; in lance_init_ring()
460 MEM->init.mode = 0x0000; in lance_init_ring()
461 MEM->init.filter[0] = 0x00000000; in lance_init_ring()
462 MEM->init.filter[1] = 0x00000000; in lance_init_ring()
463 MEM->init.rdra = dvma_vtob(MEM->rx_head); in lance_init_ring()
464 MEM->init.rlen = (RX_LOG_RING_SIZE << 13) | in lance_init_ring()
466 MEM->init.tdra = dvma_vtob(MEM->tx_head); in lance_init_ring()
467 MEM->init.tlen = (TX_LOG_RING_SIZE << 13) | in lance_init_ring()
472 REGA(CSR1) = dvma_vtob(&(MEM->init)); in lance_init_ring()
473 REGA(CSR2) = dvma_vtob(&(MEM->init)) >> 16; in lance_init_ring()