Lines Matching refs:ioaddr
133 static unsigned long ioaddr;
156 static int read_eeprom(unsigned long ioaddr, int location, int addr_len);
219 io_dcr9 = ioaddr + CSR9;
263 io_dcr9 = ioaddr + CSR9;
358 outl(csr6, ioaddr + CSR6);
377 outl(csr6, ioaddr + CSR6);
393 static int read_eeprom(unsigned long ioaddr, int location, int addr_len)
397 long ee_addr = ioaddr + CSR9;
488 outl(inl(ioaddr + CSR6) & ~0x00002002, ioaddr + CSR6);
491 outl(0x00000001, ioaddr + CSR0);
496 outl(0x0C00000, ioaddr + CSR0); /* Sten 10/9 */
502 outl(virt_to_bus(&rxd[0]), ioaddr + CSR3);
503 outl(virt_to_bus(&txd[0]), ioaddr + CSR4); /* Sten 10/9 */
515 outl(inl(ioaddr + CSR6) | 0x00002000, ioaddr + CSR6);
517 outl(0, ioaddr + CSR1);
536 outl(inl(ioaddr + CSR6) | 0x00000002, ioaddr + CSR6);
538 outl(0, ioaddr + CSR2);
554 /* outl(inl(ioaddr + CSR6) & ~0x00002000, ioaddr + CSR6); */
569 outl(0, ioaddr + CSR1);
635 outl(0x00000000, ioaddr + CSR7);
638 outl(inl(ioaddr + CSR6) & ~0x00002002, ioaddr + CSR6);
641 (volatile unsigned long)inl(ioaddr + CSR8);
673 if (pci->ioaddr == 0)
678 ioaddr = pci->ioaddr & ~3;
681 nic->ioaddr = pci->ioaddr & ~3;
687 outl(inl(ioaddr + CSR6) & ~0x00002002, ioaddr + CSR6);
690 (volatile unsigned long)inl(ioaddr + CSR8);
696 le16_to_cpu(read_eeprom(ioaddr, i, EEPROM_ADDRLEN));
702 printf("Davicom %! at ioaddr %#hX\n", nic->node_addr, ioaddr);