HomeSort by: relevance | last modified time | path
    Searched refs:media (Results 1 - 25 of 83) sorted by relevancy

1 2 3 4

  /src/sys/net/agr/
if_agrmonitor.c 46 u_int media; local in function:agrport_monitor
49 media = IFM_ETHER | IFM_NONE;
54 error = agr_port_getmedia(port, &media, &status);
63 media = IFM_ETHER | IFM_NONE; /* XXX ether */
65 if (media == IFM_NONE) {
70 media = IFM_ETHER | IFM_NONE; /* XXX ether */
73 if (port->port_media == media)
76 port->port_media = media;
ieee8023ad_lacp.c 261 u_int media = port->port_media; local in function:ieee8023ad_lacp_portstate
267 LACP_DPRINTF((lp, "media changed 0x%x -> 0x%x\n", lp->lp_media, media));
272 lp->lp_media = media;
273 if ((media & IFM_HDX) != 0) {
600 LACP_DPRINTF((lp, "speed 0? media=0x%x nports=%d\n",
670 u_int media = lp->lp_media; local in function:lacp_compose_key
673 KASSERT(IFM_TYPE(media) == IFM_ETHER);
688 u_int subtype = IFM_SUBTYPE(media);
690 KASSERT((media & IFM_HDX) == 0); /* should be handled above *
    [all...]
if_agrsubr.c 257 agr_port_getmedia(struct agr_port *port, u_int *media, u_int *status)
267 *media = ifmr.ifm_active;
  /src/sys/arch/shark/ofw/
if_cs_ofisa_machdep.c 138 cs_ofisa_md_media_fixup(device_t parent, device_t self, void *aux, int *media,
143 if (media == NULL) {
144 media = kmem_alloc(2 * sizeof(int), KM_SLEEP);
145 media[0] = IFM_ETHER | IFM_10_T;
146 media[1] = IFM_ETHER | IFM_10_T | IFM_FDX;
148 *defmediap = media[0];
151 return (media);
  /src/sys/arch/i386/stand/efiboot/
efidisk_ll.c 89 EFI_BLOCK_IO_MEDIA *media; local in function:set_geometry
95 media = edi->bio->Media;
97 d->secsize = media->BlockSize;
102 ed->totsec = media->LastBlock + 1;
103 ed->sbytes = media->BlockSize;
105 if (media->RemovableMedia)
efidisk.c 89 EFI_BLOCK_IO_MEDIA *media; local in function:efi_disk_probe
119 media = bio->Media;
120 if (media->LogicalPartition || !media->MediaPresent)
127 edi->media_id = media->MediaId;
223 EFI_BLOCK_IO_MEDIA *media; local in function:efi_disk_show
230 media = edi->bio->Media;
236 printf(" mediaId %u", media->MediaId)
    [all...]
  /src/usr.sbin/fstyp/
hammer2.c 58 warnx("hammer2: failed to seek media end");
64 warnx("hammer2: failed to tell media end");
141 hammer2_media_data_t *media; local in function:read_media
174 warnx("hammer2: failed to get media size");
183 warnx("hammer2: failed to seek media");
186 media = read_buf(fp, (off_t)io_base, io_bytes);
187 if (media == NULL) {
188 warnx("hammer2: failed to read media");
192 memcpy(media, (char *)media + boff, bytes)
200 hammer2_media_data_t *media; local in function:find_pfs
294 hammer2_media_data_t *vols[HAMMER2_NUM_VOLHDRS], *media; local in function:read_label
    [all...]
  /src/sys/dev/mca/
if_ep_mca.c 153 int pos4, pos5, iobase, irq, media; local in function:ep_mca_attach
226 * Set default media to be same as the one selected in POS.
231 media = IFM_10_T;
235 media = IFM_10_5;
239 media = IFM_NONE;
243 media = IFM_10_2;
246 aprint_error_dev(sc->sc_dev, " cannot determine media\n");
249 ifmedia_set(&sc->sc_mii.mii_media, IFM_ETHER|media);
  /src/etc/etc.ofppc/
Makefile.inc 34 # install links to boot and installation utilities for various media
  /src/sys/dev/ofisa/
if_cs_ofisa.c 99 int i, n, *media, nmedia, defmedia; local in function:cs_ofisa_attach
208 /* Dig media out of the firmware. */
209 media = of_network_decode_media(aa->oba.oba_phandle, &nmedia,
212 media = cs_ofisa_md_media_fixup(parent, self, aux, media, &nmedia,
215 if (media == NULL) {
216 aprint_error(": unable to get media information\n");
225 aprint_error_dev(self, "unable to get default media\n");
226 defmedia = media[0]; /* XXX What to do? */
244 cs_attach(sc, enaddr, media, nmedia, defmedia)
    [all...]
  /src/sys/arch/ews4800mips/sbd/
if_iee_sbdio.c 88 int media[2]; local in function:iee_sbdio_attach
110 media[0] = IFM_ETHER | IFM_MANUAL;
111 media[1] = IFM_ETHER | IFM_10_5;
115 iee_attach(sc, eaddr, media, 2, IFM_ETHER | IFM_10_5);
  /src/tests/net/if_shmif/
t_shmif.sh 36 atf_set "descr" "tests of ifconfig media on shmif"
51 -o match:"media: $auto" \
55 -o match:"media: $auto" \
57 # ifconfig media none makes the state DOWN
58 atf_check rump.ifconfig shmif0 media none
60 -o match:"media: $none" \
62 # ifconfig media auto makes the state UP
63 atf_check rump.ifconfig shmif0 media auto
65 -o match:"media: $auto" \
69 -o match:"media: $auto"
    [all...]
  /src/sys/arch/playstation2/dev/
emac3.c 33 * EMAC3 (Ethernet Media Access Controller)
355 int media; local in function:emac3_phy_statchg
358 media = sc->mii.mii_media_active;
364 switch (media & 0x1f) {
366 printf("unknown media type. %08x", media);
370 if (media & IFM_FDX)
376 if (media & IFM_FDX)
  /src/etc/etc.sparc/
Makefile.inc 45 # install links to boot and installation utilities for various media
  /src/sys/arch/hppa/gsc/
if_iee_gsc.c 204 int media[2]; local in function:iee_gsc_attach
260 media[0] = IFM_ETHER | IFM_MANUAL;
261 media[1] = IFM_ETHER | IFM_AUTO;
262 iee_attach(sc, ga->ga_ether_address, media, 2, IFM_ETHER | IFM_AUTO);
  /src/sys/arch/mvme68k/stand/sboot/
start.s 54 movl %d0, %a2 | media config block (NULL)
  /src/sys/arch/sun2/dev/
if_ie_mbmem.c 219 /* Supported media */
220 static int media[] = { variable in typeref:typename:int[]
223 #define NMEDIA __arraycount(media)
495 i82586_attach(sc, "multibus", myaddr, media, NMEDIA, media[0]);
if_ie_obio.c 129 /* Supported media */
130 static int media[] = { variable in typeref:typename:int[]
133 #define NMEDIA __arraycount(media)
391 i82586_attach(sc, "onboard", myaddr, media, NMEDIA, media[0]);
  /src/sys/arch/sparc/dev/
if_ie_obio.c 128 /* Supported media */
129 static int media[] = { variable in typeref:typename:int[]
132 #define NMEDIA __arraycount(media)
383 i82586_attach(sc, "onboard", myaddr, media, NMEDIA, media[0]);
  /src/sys/dev/mii/
ipgphy.c 104 aprint_naive(": Media interface\n");
156 * If the media indicates a different PHY instance,
248 /* Update the media status. */
324 ipgphy_mii_phy_auto(struct mii_softc *sc, u_int media)
327 u_int subtype = IFM_SUBTYPE(media);
349 if ((media & IFM_FDX) != 0)
smscphy.c 102 aprint_naive(": Media interface\n");
192 /* Update the media status. */
201 smscphy_auto(struct mii_softc *sc, int media)
207 if ((media & IFM_FLOW) != 0)
  /src/distrib/alpha/instkernel/ramdisk/
upgrade.sh 58 echo "sysinst utility. Both programs are on this installation media set.
  /src/sys/dev/vme/
if_ie_vme.c 217 /* Supported media */
218 static int media[] = { variable in typeref:typename:int[]
221 #define NMEDIA __arraycount(media)
557 i82586_attach(sc, "multibus/vme", myaddr, media, NMEDIA, media[0]);
  /src/usr.sbin/installboot/
installboot.h 75 IB_MEDIA = 1<<25, /* evb*: boot media type */
108 const char *media; /* boot media type */ member in struct:__anon78e59b4b0308
  /src/sbin/ifconfig/
media.c 3 __RCSID("$NetBSD: media.c,v 1.14 2022/04/04 19:33:44 andvar Exp $");
25 #include "media.h"
39 * Media stuff. Whenever a media command is first performed, the
40 * currently select media is grabbed for this interface. If `media'
41 * is given, the current media word is modified. `mediaopt' commands
43 * current media word later.
72 static struct pstr media = PSTR_INITIALIZER1(&media, "media", setmedia, "media" variable in typeref:struct:pstr
    [all...]

Completed in 20 milliseconds

1 2 3 4