Lines Matching defs:media
39 * BSD/OS-compatible network interface media selection.
111 * Add a media configuration to the list of supported media
146 * Add an array of media configurations to the list of
147 * supported media for a specific interface instance.
163 * Set the default active media.
166 * selected the default media in hardware. We do _not_ call the
167 * media-change callback.
197 * Given a media word, return one suitable for an application
201 compat_media(int media)
204 if (IFM_TYPE(media) == IFM_ETHER && IFM_SUBTYPE(media) > IFM_OTHER) {
205 media &= ~(IFM_ETH_XTYPE|IFM_TMASK);
206 media |= IFM_OTHER;
208 return (media);
212 * Device-independent media ioctl support function.
231 * Set the current media.
244 "ifmedia_ioctl: no media found for 0x%x\n",
254 * Keep going in case the connected media changed.
264 * Make sure to preserve our old media type in case the
287 * Get list of available media and current media on interface.
337 * Get the media words from the interface's list.
381 * Find media entry matching a given ifm word.
411 * Compute the interface `baudrate' from the media, for the interface
510 * print a media word.