• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10/IONetworkingFamily-101/

Lines Matching defs:medium

253 // - Publishing a medium dictionary.
304 // Allocate a mutex lock to serialize access to the medium dictionary.
1699 // Report the link status and the active medium.
1784 // Returns the medium dictionary published by the driver through
1786 // of the medium dictionary.
1788 // Returns the published medium dictionary, or 0 if the driver has not
1789 // yet published a medium dictionary through publishMediumDictionary().
1797 // Returns a copy of the medium dictionary published by the driver.
1799 // Use getMediumDictionary() to get a reference to the published medium
1802 // Returns a copy of the medium dictionary, or 0 if the driver has not
1803 // published a medium dictionary through publishMediumDictionary().
1828 IOReturn IONetworkController::selectMedium(const IONetworkMedium * medium)
1834 // Private function to lookup a key in the medium dictionary and call
1836 // clients to change the medium selection by passing a name for the desired
1837 // medium.
1855 // no medium dictionary, bail out.
1860 // Lookup the new medium in the dictionary.
1871 // Lookup the current medium key to avoid unnecessary
1872 // medium changes.
1887 // Call the driver's selectMedium() without holding the medium lock.
1901 // Designate an entry in the published medium dictionary as
1902 // the current selected medium.
1904 bool IONetworkController::setSelectedMedium(const IONetworkMedium * medium)
1908 const OSSymbol * name = medium ? medium->getName() : gIONullMediumName;
1934 // Get the current selected medium.
1938 IONetworkMedium * medium = 0;
1945 if (!mediumDict) // no medium dictionary, bail out.
1948 // Fetch the current medium name from the property table.
1952 // Make sure the current medium name points to an entry in
1953 // the medium dictionary.
1955 medium = (IONetworkMedium *) mediumDict->getObject(mediumName);
1957 // Invalid current medium, try the default medium.
1959 if ( medium == 0 )
1969 medium = (IONetworkMedium *) mediumDict->getObject(aString);
1976 return medium;
1980 // A private function to verify a medium dictionary. Returns true if the
2003 verifyOk = false; // non-medium object in dictionary
2026 // from adding/removing entries after the medium dictionary is added
2267 bool IONetworkController::setCurrentMedium(const IONetworkMedium * medium)
2269 return setSelectedMedium(medium);