Lines Matching defs:media
39 * BSD/OS-compatible network interface media selection.
114 * Add a media configuration to the list of supported media
149 * Add an array of media configurations to the list of
150 * supported media for a specific interface instance.
166 * Set the default active media.
169 * selected the default media in hardware. We do _not_ call the
170 * media-change callback.
200 * Given a media word, return one suitable for an application
204 compat_media(int media)
207 if (IFM_TYPE(media) == IFM_ETHER && IFM_SUBTYPE(media) > IFM_OTHER) {
208 media &= ~(IFM_ETH_XTYPE|IFM_TMASK);
209 media |= IFM_OTHER;
211 return (media);
215 * Device-independent media ioctl support function.
234 * Set the current media.
247 "ifmedia_ioctl: no media found for 0x%x\n",
257 * Keep going in case the connected media changed.
267 * Make sure to preserve our old media type in case the
290 * Get list of available media and current media on interface.
340 * Find media entry matching a given ifm word.
370 * Compute the interface `baudrate' from the media, for the interface
469 * print a media word.