Searched refs:media (Results 1 - 25 of 159) sorted by path

1234567

/freebsd-11-stable/cddl/contrib/opensolaris/cmd/zpool/
H A Dzpool_vdev.c187 dm_descriptor_t *drive, *media, *slice; local
203 if ((media = dm_get_associated_descriptors(*drive, DM_MEDIA,
214 * It is possible that the user has specified a removable media drive,
215 * and the media is not present.
217 if (*media == NULL) {
218 dm_free_descriptors(media);
219 vdev_error(gettext("'%s' has no media in drive\n"), name);
223 if ((slice = dm_get_associated_descriptors(*media, DM_SLICE,
225 dm_free_descriptors(media);
231 dm_free_descriptors(media);
[all...]
/freebsd-11-stable/contrib/ngatm/snmp_atm/
H A Dsnmp_atm.c483 value->v.integer = aif->pub.mib->media;
H A Dsnmp_atm.h68 u_int media; /* physical media (see MIB) */ member in struct:atmif_mib
/freebsd-11-stable/lib/libefivar/
H A Defivar-dp-xlate.c132 const_efidp media, file, walker; local
140 walker = media = dp;
163 len = efidp_format_device_path_node(buf, sizeof(buf), media);
280 * Walk through the device_path until we find either a media device path.
284 * If we find a media descriptor, we search through the geom mesh to see if we
332 * Find the first media device path we can. If we go too far,
334 * then we didn't find a media device path, so signal that error.
347 * There's several types of media paths. We're only interested in the
408 * Create a media device path node.
409 * append the relative path from the mountpoint to the media devic
[all...]
/freebsd-11-stable/sbin/atm/atmconfig/
H A Datmconfig_device.c61 SNMP_SYNTAX_INTEGER, offsetof(struct atmif, media) },
H A Datmconfig_device.h51 int32_t media; member in struct:atmif
H A Ddiag.c470 u_int media; member in struct:__anon7007
475 if (aif->mib.media == medias[i].media)
/freebsd-11-stable/sbin/devd/
H A Ddevd.hh99 * media is the subclass used to match an individual variable. Its
102 class media : public eps class in inherits:eps
105 media(config &, const char *var, const char *type);
106 virtual ~media();
/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.conf18 media "-link0 -link1 -link2", "link0 link1";
H A Ddhcpd.h163 struct string_list *media; member in struct:client_config
/freebsd-11-stable/stand/i386/boot2/
H A Dboot1.S71 .byte 0 # media type (W)
/freebsd-11-stable/stand/pc98/boot2/
H A Dboot2.c276 int media = ((unsigned *)PTOV(0x460))[unit & 0x0F] & 0x1F; local
278 if (media == 7 && hds++ == bunit) /* SCSI MO */
/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/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/bxe/
H A Dbxe.c4404 * Called by the OS to set various media options (i.e. link, speed, etc.) when
4405 * the user runs "ifconfig bxe media ..." or "ifconfig bxe mediaopt ...".
4415 /* We only support Ethernet media type. */
4428 /* We don't support changing the media type. */
4429 BLOGD(sc, DBG_LOAD, "Invalid media type (%d)\n",
4438 * Called by the OS to get the current media status (i.e. link, speed, etc.).
4476 ifmr->ifm_active |= sc->media;
4701 /* set/get interface media */
13049 /* ifconfig entrypoint for media type/status reporting */
13055 ifmedia_add(&sc->ifmedia, (IFM_ETHER | IFM_FDX | sc->media),
[all...]
H A Dbxe.h1340 struct ifmedia ifmedia; /* network interface media structure */
1341 int media; member in struct:bxe_softc
/freebsd-11-stable/sys/dev/cs/
H A Dif_csvar.h47 struct ifmedia media; /* Media information */ member in struct:cs_softc
/freebsd-11-stable/sys/dev/cxgb/
H A Dcxgb_adapter.h101 struct ifmedia media; member in struct:port_info
/freebsd-11-stable/sys/dev/cxgbe/
H A Dt4_tracer.c192 ifmedia_init(&sc->media, IFM_IMASK, tracer_media_change,
194 ifmedia_add(&sc->media, IFM_ETHER | IFM_FDX | IFM_NONE, 0, NULL);
195 ifmedia_set(&sc->media, IFM_ETHER | IFM_FDX | IFM_NONE);
221 ifmedia_removeall(&sc->media);
268 ifmedia_removeall(&sc->media);
481 rc = ifmedia_ioctl(ifp, ifr, &sc->media, cmd);
/freebsd-11-stable/sys/dev/dc/
H A Dif_dc.c70 * three kinds of media attachments:
1384 dc_setcfg(struct dc_softc *sc, int media) argument
1388 if (IFM_SUBTYPE(media) == IFM_NONE)
1397 if (IFM_SUBTYPE(media) == IFM_100_TX) {
1430 if (IFM_SUBTYPE(media) == IFM_10_T) {
1462 if ((media & IFM_GMASK) == IFM_FDX)
1480 if (IFM_SUBTYPE(media) == IFM_HPNA_1) {
1488 if ((media & IFM_GMASK) == IFM_FDX) {
1590 dc_apply_fixup(struct dc_softc *sc, int media) argument
1600 if (m->dc_media == media)
[all...]
/freebsd-11-stable/sys/dev/de/
H A Dif_devar.h166 * Various physical media types supported.
280 #define TULIP_MEDIAINFO_SIA_INIT(sc, mi, chipid, media) do { \
282 sc->tulip_mediums[TULIP_MEDIA_ ## media] = (mi); \
283 (mi)->mi_sia_connectivity = TULIP_ ## chipid ## _SIACONN_ ## media; \
284 (mi)->mi_sia_tx_rx = TULIP_ ## chipid ## _SIATXRX_ ## media; \
285 (mi)->mi_sia_general = TULIP_ ## chipid ## _SIAGEN_ ## media; \
288 #define TULIP_MEDIAINFO_ADD_CAPABILITY(sc, mi, media) do { \
289 if ((sc)->tulip_mediums[TULIP_MEDIA_ ## media] == NULL \
290 && ((mi)->mi_capabilities & PHYSTS_ ## media)) { \
291 (sc)->tulip_mediums[TULIP_MEDIA_ ## media]
[all...]
/freebsd-11-stable/sys/dev/e1000/
H A Dif_igb.h447 struct ifmedia media; member in struct:adapter
/freebsd-11-stable/sys/dev/ed/
H A Dif_ed_pccard.c32 * Notes for adding media support. Each chipset is somewhat different
1073 * external PHYs set for things like HomeNET media. When accessing
1200 int media = 0; local
1205 media = mii->mii_media_status;
1208 media != mii->mii_media_status) {
/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,

Completed in 520 milliseconds

1234567