Lines Matching defs:to

23 *    along with this program; if not, write to the Free Software
47 /* to get some global routines like printf */
49 /* to get the interface to the body of the program */
51 /* to get the PCI support functions, if this is a PCI NIC */
266 * stuctures to be reset.
269 * the TLAN lists to their initial values.
322 * dev Pointer to device structure of adapter
323 * to be reset.
327 * Programmer's Guide" for details. The routine tries to
372 /* 6. Unreset the MII by setting NMRST (in NetSio) to 1. */
531 /* return true if there's an ethernet packet ready to read */
589 return (1); /* initially as this is called to flush the input */
617 u32 to;
653 /* send the packet to destination */
723 to = currticks() + TX_TIME_OUT;
724 while ((tail_list->cStat == TLAN_CSTAT_READY) && currticks() < to);
768 if (currticks() >= to) {
789 * This allows etherboot to reinitialize the interface
828 PROBE - Look for an adapter, this routine's visible to the outside
861 /* Point to private storage */
914 /* point to NIC specific routines */
952 * TLAN device with the EEPROM to
955 * This function sends a start cycle to an EEPROM attached
956 * to a TLAN chip.
984 * TLAN device with the EEPROM to
986 * data The 8 bits of information to
987 * send to the EEPROM.
994 * driving the clock to send each bit. The function then
1044 * TLAN device with the EEPROM to
1046 * data An address to a char to hold the
1055 * ack and a stop bit. This function is used to retrieve
1105 * TLAN device with the EEPROM to
1108 * EEPROM whose contents are to be
1110 * data An address to a char to hold the
1172 * phy The address of the PHY to be queried.
1173 * reg The register whose contents are to be
1175 * val A pointer to a variable to store the
1178 * This function uses the TLAN's MII bus to retreive the contents
1254 * dev The address of the PHY to be queried.
1255 * data The value to be placed on the MII bus.
1256 * num_bits The number of bits in data that are to
1332 * to write to.
1333 * phy The address of the PHY to be written to.
1334 * reg The register whose contents are to be
1336 * val The value to be written to the register.
1338 * This function uses the TLAN's MII bus to write the contents of a
1382 * dev Pointer to device structure of adapter
1383 * on which to change the AREG.
1384 * areg The AREG to set the address in (0 - 3).
1385 * mac A pointer to an array of chars. Each
1389 * This function transfers a MAC address to one of the
1391 * the register on writing to offset 0 and unlocks the
1392 * register after writing to offset 5. If NULL is passed
1420 * dev A pointer to the device structure of the adapter
1495 * This is abitrary. It is intended to make sure the
1542 * I've changed this to 50ms, as it seems long enough.
1562 printf("%s: Trying to activate link.\n", priv->nic_name);
1592 * to complete. The max spec time is less than this
1593 * but the card need additional time to start AN.
1635 /* Wait for 2 sec to give the tranceiver time
1636 * to establish link.
1661 /* Wait for 8 sec to give the process
1670 ("TLAN: been properly connected to a HUB or Switch.\n");
1672 ("TLAN: Trying to establish link in the background...\n");
1743 * register via the MII bus. This can be used to give info
1744 * about link changes (up/down), and possible switch to alternate