Searched refs:media (Results 126 - 150 of 159) sorted by relevance

1234567

/freebsd-11-stable/sys/dev/alc/
H A Dif_alc.c528 alc_dsp_fixup(struct alc_softc *sc, int media) argument
547 if ((media == IFM_1000_T && len > EXT_CLDCTL6_CAB_LEN_SHORT1G &&
549 (media == IFM_100_TX && len > DBG_AGC_LONG100M_LIMT &&
569 if (media == IFM_1000_T) {
579 } else if (media == IFM_100_TX)
1129 alc_aspm(struct alc_softc *sc, int init, int media) argument
1135 alc_aspm_813x(sc, media);
1139 alc_aspm_813x(struct alc_softc *sc, int media) argument
1191 if (media == IFM_100_TX || media
[all...]
/freebsd-11-stable/sys/dev/vxge/
H A Dvxge.c1617 * Initializes, adds and sets media
1622 ifmedia_init(&vdev->media,
1625 /* Add supported media */
1626 ifmedia_add(&vdev->media,
1630 /* Set media */
1631 ifmedia_add(&vdev->media, IFM_ETHER | IFM_AUTO, 0, NULL);
1632 ifmedia_set(&vdev->media, IFM_ETHER | IFM_AUTO);
1637 * Callback for interface media settings
1664 struct ifmedia *ifmediap = &vdev->media;
1915 ifmedia_removeall(&vdev->media);
[all...]
/freebsd-11-stable/sys/dev/cxgb/
H A Dcxgb_adapter.h101 struct ifmedia media; member in struct:port_info
/freebsd-11-stable/sys/dev/hatm/
H A Dif_hatmvar.h368 struct ifmedia media; /* media */ member in struct:hatm_softc
/freebsd-11-stable/sys/dev/qlnx/qlnxe/
H A Dqlnx_def.h389 struct ifmedia media; member in struct:qlnx_host
/freebsd-11-stable/sbin/dhclient/
H A Dclparse.c230 parse_string_list(cfile, &config->media, 1);
889 /* Find the last medium in the media list. */
899 parse_warn("Expecting media options.");
911 /* Store this medium at the end of the media list. */
H A Ddhclient.c1239 /* If we're selecting media, try the whole list before doing
1243 ip->client->config->media) {
1252 error("No valid media types for %s!", ip->name);
1253 ip->client->medium = ip->client->config->media;
1446 /* If we're in the reboot state, make sure the media is set up
/freebsd-11-stable/stand/i386/boot2/
H A Dboot1.S71 .byte 0 # media type (W)
/freebsd-11-stable/sys/dev/ixl/
H A Dif_ixl.c842 /* Remove all previously allocated media types */
843 ifmedia_removeall(&vsi->media);
H A Dixl.h549 struct ifmedia media; member in struct:ixl_vsi
H A Di40e_common.c1240 * i40e_get_media_type - Gets media type
1245 enum i40e_media_type media; local
1256 media = I40E_MEDIA_TYPE_FIBER;
1263 media = I40E_MEDIA_TYPE_BASET;
1275 media = I40E_MEDIA_TYPE_DA;
1283 media = I40E_MEDIA_TYPE_BACKPLANE;
1291 media = I40E_MEDIA_TYPE_UNKNOWN;
1295 return media;
/freebsd-11-stable/sys/dev/ixgbe/
H A Dixgbe.h425 struct ifmedia media; member in struct:adapter
/freebsd-11-stable/sys/dev/mxge/
H A Dif_mxge.c2917 ifmedia_add(&sc->media, IFM_ETHER | IFM_FDX | media_type,
2919 ifmedia_set(&sc->media, IFM_ETHER | IFM_FDX | media_type);
2921 sc->media.ifm_media = sc->media.ifm_cur->ifm_media;
2930 ifmedia_removeall(&sc->media);
2961 /* FreeBSD has no media type for Quad ribbon fiber */
2969 device_printf(sc->dev, "Unknown media type: %c\n", *ptr);
2974 * Determine the media type for a NIC. Some XFPs will identify
3007 /* nothing to do; media type cannot change */
3071 device_printf(sc->dev, "%s media
[all...]
/freebsd-11-stable/sys/dev/vxge/vxgehal/
H A Dvxgehal-config.c69 if ((port_config->media > VXGE_HAL_WIRE_PORT_MAX_MEDIA) &&
70 (port_config->media != VXGE_HAL_WIRE_PORT_MEDIA_DEFAULT))
2014 wire_port_config->media = VXGE_HAL_WIRE_PORT_MEDIA_DEFAULT;
H A Dvxgehal-mgmt.c97 vxge_os_strlcpy(about_info->media, VXGE_SUPPORTED_MEDIA_0,
98 sizeof(about_info->media));
H A Dvxgehal-mgmtaux.c111 __HAL_AUX_ENTRY("media", about_info.media, "%s");
508 __HAL_AUX_CONFIG_ENTRY("media",
509 mac_config->wire_port_config[i].media, "%u");
/freebsd-11-stable/sys/dev/vxge/include/
H A Dvxgehal-config.h67 * @media: Transponder type.
175 u32 media; member in struct:vxge_hal_wire_port_config_t
/freebsd-11-stable/sys/cam/scsi/
H A Dscsi_sa.h159 * Format tape media. The CDB opcode is the same as the disk-specific
1057 u_int8_t tag_action, int media,
/freebsd-11-stable/sys/dev/en/
H A Dmidway.c1588 error = ifmedia_ioctl(ifp, ifr, &sc->media, cmd);
2864 IFP2IFATM(sc->ifp)->mib.media = IFM_ATM_UTP_155;
2866 IFP2IFATM(sc->ifp)->mib.media = IFM_ATM_MM_155;
2925 utopia_attach(&sc->utopia, IFP2IFATM(sc->ifp), &sc->media, &sc->en_mtx,
/freebsd-11-stable/sys/dev/mlx4/mlx4_en/
H A Den.h620 struct ifmedia media; member in struct:mlx4_en_priv
/freebsd-11-stable/sys/dev/cxgbe/
H A Dt4_vf.c647 /* All VIs on this port share this media. */
648 ifmedia_init(&pi->media, IFM_IMASK, cxgbe_media_change,
/freebsd-11-stable/sys/dev/mlx5/mlx5_en/
H A Den.h997 struct ifmedia media; member in struct:mlx5e_priv
/freebsd-11-stable/sys/dev/ena/
H A Dena.c2284 rc = ifmedia_ioctl(ifp, ifr, &adapter->media, command);
2437 * Specify the media types supported by this adapter and register
2438 * callbacks to update media and link information
2440 ifmedia_init(&adapter->media, IFM_IMASK,
2442 ifmedia_add(&adapter->media, IFM_ETHER | IFM_AUTO, 0, NULL);
2443 ifmedia_set(&adapter->media, IFM_ETHER | IFM_AUTO);
/freebsd-11-stable/sys/dev/oce/
H A Doce_if.c481 rc = ifmedia_ioctl(ifp, ifr, &sc->media, command);
2172 ifmedia_init(&sc->media, IFM_IMASK, oce_media_change, oce_media_status);
2173 ifmedia_add(&sc->media, IFM_ETHER | IFM_AUTO, 0, NULL);
2174 ifmedia_set(&sc->media, IFM_ETHER | IFM_AUTO);
/freebsd-11-stable/sys/mips/rmi/dev/nlge/
H A Dif_nlge.c1779 struct mii_data *media; local
1796 media = (struct mii_data *)device_get_softc(

Completed in 289 milliseconds

1234567