Home | History | Annotate | Download | only in netboot

Lines Matching defs:ioaddr

195 static unsigned long ioaddr;
243 * leaves the ioaddress of the natsemi chip in the variable ioaddr.
261 ioaddr = *io_addrs & ~3;
281 prev_eedata = eeprom_read(ioaddr, 6);
283 int eedata = eeprom_read(ioaddr, i + 7);
289 printf("\nnatsemi_probe: MAC addr %! at ioaddr %#hX\n",
290 nic->node_addr, ioaddr);
294 outl(ChipReset, ioaddr + ChipCmd);
298 u32 chip_config = inl(ioaddr + ChipConfig);
307 nic_name, (int)inl(ioaddr + 0x84), advertising);
315 SavedClkRun = inl(ioaddr + ClkRun);
316 outl(SavedClkRun & ~0x100, ioaddr + ClkRun);
394 return inl(ioaddr + 0x80 + (location<<2)) & 0xffff;
420 outl(SavedClkRun & ~0x100, ioaddr + ClkRun);
430 if (inl(ioaddr + ChipConfig) & 0x20000000) { /* Full duplex */
437 outl(tx_config, ioaddr + TxConfig);
438 outl(rx_config, ioaddr + RxConfig);
443 outl(RxOn, ioaddr + ChipCmd);
458 outl(ChipReset, ioaddr + ChipCmd);
465 if (inl(ioaddr + SiliconRev) == 0x302) {
466 outw(0x0001, ioaddr + PGSEL);
467 outw(0x189C, ioaddr + PMDCSR);
468 outw(0x0000, ioaddr + TSTDAT);
469 outw(0x5040, ioaddr + DSPCFG);
470 outw(0x008C, ioaddr + SDCFG);
473 outl(0, ioaddr + IntrMask);
474 outl(0, ioaddr + IntrEnable);
492 outl(i, ioaddr + RxFilterAddr);
493 outw(nic->node_addr[i] + (nic->node_addr[i+1] << 8), ioaddr + RxFilterData);
515 outl((u32) &txd, ioaddr + TxRingPtr);
518 inl(ioaddr + TxRingPtr));
548 outl((u32) &rxd[0], ioaddr + RxRingPtr);
552 inl(ioaddr + RxRingPtr));
570 outl(rx_mode, ioaddr + RxFilterAddr);
575 int duplex = inl(ioaddr + ChipConfig) & 0x20000000 ? 1 : 0;
588 outl(tx_config, ioaddr + TxConfig);
589 outl(rx_config, ioaddr + RxConfig);
615 outl(TxOff, ioaddr + ChipCmd);
618 outl((u32) &txd, ioaddr + TxRingPtr);
621 inl(ioaddr + TxRingPtr));
644 outl(TxOn, ioaddr + ChipCmd);
714 outl(RxOn, ioaddr + ChipCmd);
732 outl(0, ioaddr + IntrMask);
733 outl(0, ioaddr + IntrEnable);
736 outl(RxOff | TxOff, ioaddr + ChipCmd);
739 outl(SavedClkRun, ioaddr + ClkRun);