Searched refs:media (Results 51 - 75 of 155) sorted by relevance

1234567

/freebsd-10-stable/sys/dev/ixgbe/
H A Dif_ix.c952 error = ifmedia_ioctl(ifp, ifr, &adapter->media, command);
2006 * XXX: These need to use the proper media types once
2086 * media/mediopt option with ifconfig.
2092 struct ifmedia *ifm = &adapter->media;
2106 * media types of the adapter; ifmedia will take care of
2165 device_printf(adapter->dev, "Invalid media type!\n");
2967 * Specify the media types supported by this adapter and register
2968 * callbacks to update media and link information
2970 ifmedia_init(&adapter->media, IFM_IMASK, ixgbe_media_change,
2976 /* Set autoselect media b
[all...]
/freebsd-10-stable/sys/dev/fe/
H A Dif_fevar.h36 /* Mapping between media bitmap (in fe_softc.mbitmap) and ifm_media. */
113 struct ifmedia media; /* used by if_media. */ member in struct:fe_softc
114 u_short mbitmap; /* bitmap for supported media; see bit2media */
115 int defmedia; /* default media */
116 void (* msel)(struct fe_softc *); /* media selector. */
H A Dif_fe.c190 /* Mapping between media bitmap (in fe_softc.mbitmap) and ifm_media. */
203 /* Mapping between media bitmap (in fe_softc.mbitmap) and ifm_media. */
299 /* Assume the board has no software-controllable media selection. */
323 * Generic media selection scheme for MB86965 based boards.
331 switch (IFM_SUBTYPE(sc->media.ifm_media)) {
799 ifmedia_init(&sc->media, 0, fe_medchange, fe_medstat);
802 ifmedia_add(&sc->media, bit2media[b], 0, NULL);
807 ifmedia_set(&sc->media, bit2media[b]);
1078 /* Select requested media, just before enabling DLC. */
1131 /* TURNED OFF, because the semi-auto media probe
[all...]
/freebsd-10-stable/sys/dev/mii/
H A Dmii.c252 * Don't add a PHY that was automatically identified by having media
340 int media = 0; local
342 /* Poke the parent in case it has any media of its own to add. */
347 media = m->ifm_media;
348 if (media == (IFM_ETHER | IFM_AUTO))
352 ifmedia_set(&mii->mii_media, media);
454 * so we test for media in the BMSR.
551 * If the media indicates a different PHY instance,
593 * Get media status from PHYs.
H A De1000phy.c415 /* Update the media status. */
487 e1000phy_mii_phy_auto(struct mii_softc *sc, int media) argument
496 if ((media & IFM_FLOW) != 0 ||
H A Drgephy.c271 /* Update the media status. */
276 * the DSP on the RealTek PHYs if the media changes.
416 rgephy_mii_phy_auto(struct mii_softc *sc, int media) argument
424 if ((media & IFM_FLOW) != 0 || (sc->mii_flags & MIIF_FORCEPAUSE) != 0)
/freebsd-10-stable/sys/dev/nve/
H A Dif_nvereg.h174 NV_UINT32 media; member in struct:nve_softc
/freebsd-10-stable/sys/dev/nxge/include/
H A Dxgehal-mgmt.h51 * @media: Fiber, copper.
70 char media[16]; member in struct:xge_hal_mgmt_about_info_t
H A Dxgehal-config.h478 * @media: Transponder type.
511 int media; member in struct:xge_hal_mac_config_t
/freebsd-10-stable/sys/dev/qlxgb/
H A Dqla_def.h149 struct ifmedia media; member in struct:qla_host
H A Dqla_os.c703 ifmedia_init(&ha->media, IFM_IMASK, qla_media_change, qla_media_status);
705 ifmedia_add(&ha->media, (IFM_ETHER | qla_get_optics(ha) | IFM_FDX), 0,
707 ifmedia_add(&ha->media, (IFM_ETHER | IFM_AUTO), 0, NULL);
709 ifmedia_set(&ha->media, (IFM_ETHER | IFM_AUTO));
907 ret = ifmedia_ioctl(ifp, ifr, &ha->media, cmd);
954 ifm = &ha->media;
/freebsd-10-stable/sys/dev/utopia/
H A Dutopia.h133 struct ifmedia *media; /* driver supplied */ member in struct:utopia
/freebsd-10-stable/sys/dev/patm/
H A Dif_patm_attach.c194 IFP2IFATM(sc->ifp)->mib.media = IFM_ATM_UNKNOWN;
304 utopia_attach(&sc->utopia, IFP2IFATM(sc->ifp), &sc->media, &sc->mtx,
326 IFP2IFATM(sc->ifp)->mib.media = IFM_ATM_UTP_25;
331 /* cannot really know which media */
334 IFP2IFATM(sc->ifp)->mib.media = IFM_ATM_MM_155;
345 IFP2IFATM(sc->ifp)->mib.media = IFM_ATM_UTP_25;
350 /* cannot really know which media */
353 IFP2IFATM(sc->ifp)->mib.media = IFM_ATM_MM_155;
/freebsd-10-stable/sbin/devd/
H A Ddevd.cc329 media::media(config &, const char *var, const char *type) function in class:media
348 media::~media()
353 media::do_match(config &c)
368 devdlog(LOG_DEBUG, "Testing media type of %s against 0x%x\n",
380 devdlog(LOG_DEBUG, "%s has media type 0x%x\n",
384 devdlog(LOG_DEBUG, "%s has unknown media type\n",
1142 eps *e = new media(cfg, var, re);
/freebsd-10-stable/contrib/wpa/src/drivers/
H A Ddriver_bsd.c218 bsd_set_if_media(void *priv, int media) argument
225 ifr.ifr_media = media;
239 int media = bsd_get_if_media(priv); local
241 if (media < 0)
243 media &= ~mask;
244 media |= mode;
245 if (bsd_set_if_media(priv, media) < 0)
/freebsd-10-stable/sys/mips/atheros/
H A Dif_arge.c452 * Get default media & duplex mode, by default its Base100T
456 "media", &hint) != 0)
841 uint32_t media, duplex; local
852 media = IFM_SUBTYPE(mii->mii_media_active);
853 if (media != IFM_NONE) {
856 ARGEDEBUG(sc, ARGE_DBG_MII, "%s: media=%d, duplex=%d\n",
858 media,
860 arge_set_pll(sc, media, duplex);
868 arge_set_pll(struct arge_softc *sc, int media, int duplex) argument
874 ARGEDEBUG(sc, ARGE_DBG_PLL, "set_pll(%04x, %s)\n", media,
[all...]
/freebsd-10-stable/sys/dev/ex/
H A Dif_ex.c999 int media; local
1001 media = ex_eeprom_read(sc, EE_W5);
1007 if ((current & TPE_bit) && (media & EE_W5_PORT_TPE))
1009 if ((current & BNC_bit) && (media & EE_W5_PORT_BNC))
1012 if (media & EE_W5_PORT_AUI)
/freebsd-10-stable/sys/dev/cxgb/
H A Dcxgb_main.c1059 /* Create a list of media supported by this port */
1060 ifmedia_init(&p->media, IFM_IMASK, cxgb_media_change,
1259 if (mod != pi->media.ifm_cur->ifm_data)
2045 error = ifmedia_ioctl(ifp, ifr, &p->media, command);
2061 * Translates phy->modtype to the correct Ethernet media subtype.
2088 * Rebuilds the ifmedia list for this port, and sets the current media.
2094 struct ifmedia *media = &p->media; local
2100 ifmedia_removeall(media);
2105 ifmedia_add(media,
[all...]
/freebsd-10-stable/sys/dev/qlxge/
H A Dqls_os.c780 ifmedia_init(&ha->media, IFM_IMASK, qls_media_change, qls_media_status);
782 ifmedia_add(&ha->media, (IFM_ETHER | qls_get_optics(ha) | IFM_FDX), 0,
784 ifmedia_add(&ha->media, (IFM_ETHER | IFM_AUTO), 0, NULL);
786 ifmedia_set(&ha->media, (IFM_ETHER | IFM_AUTO));
981 ret = ifmedia_ioctl(ifp, ifr, &ha->media, cmd);
1028 ifm = &ha->media;
/freebsd-10-stable/sys/boot/common/
H A Dhelp.common84 file sizes on some media may be very slow.
374 commands, so it is safe to source a file from removable media.
/freebsd-10-stable/sys/dev/nxge/xgehal/
H A Dxgehal-config.c342 if ((new_config->media < XGE_HAL_MIN_MEDIA) ||
343 (new_config->media > XGE_HAL_MAX_MEDIA)) {
/freebsd-10-stable/sys/dev/ixl/
H A Dif_ixl.c1075 error = ifmedia_ioctl(ifp, ifr, &vsi->media, command);
1567 * media/mediopt option with ifconfig.
1574 struct ifmedia *ifm = &vsi->media;
2454 /* Display supported media types */
2456 ifmedia_add(&vsi->media, IFM_ETHER | IFM_100_TX, 0, NULL);
2459 ifmedia_add(&vsi->media, IFM_ETHER | IFM_1000_T, 0, NULL);
2461 ifmedia_add(&vsi->media, IFM_ETHER | IFM_1000_SX, 0, NULL);
2463 ifmedia_add(&vsi->media, IFM_ETHER | IFM_1000_LX, 0, NULL);
2468 ifmedia_add(&vsi->media, IFM_ETHER | IFM_10G_TWINAX, 0, NULL);
2471 ifmedia_add(&vsi->media, IFM_ETHE
[all...]
/freebsd-10-stable/sys/dev/fatm/
H A Dif_fatmvar.h190 struct ifmedia media; /* media */ member in struct:fatm_softc
/freebsd-10-stable/sys/dev/ixgb/
H A Dif_ixgb.h284 struct ifmedia media; member in struct:adapter
/freebsd-10-stable/sys/dev/mxge/
H A Dif_mxge_var.h263 struct ifmedia media; member in struct:mxge_softc

Completed in 176 milliseconds

1234567