media 501 block/partitions/msdos.c && fat_valid_media(fb->media)) { media 1088 drivers/atm/he.c he_dev->media = read_prom_byte(he_dev, MEDIA); media 1094 drivers/atm/he.c he_dev->media & 0x40 ? "SM" : "MM", dev->esi); media 2722 drivers/atm/he.c he_dev->prod_id, he_dev->media & 0x40 ? "SM" : "MM"); media 259 drivers/atm/he.h int media; media 347 drivers/atm/he.h #define he_is622(dev) ((dev)->media & 0x1) media 348 drivers/atm/he.h #define he_isMM(dev) ((dev)->media & 0x20) media 1143 drivers/gpu/drm/i915/i915_irq.c u32 render, media; media 1155 drivers/gpu/drm/i915/i915_irq.c media = now.media_c0 - prev->media_c0; media 1156 drivers/gpu/drm/i915/i915_irq.c c0 = max(render, media); media 126 drivers/ide/alim15x3.c ali_fifo_control(hwif, drive, (drive->media == ide_disk) ? 0x05 : 0x00); media 146 drivers/ide/alim15x3.c if (drive->media != ide_disk) media 212 drivers/ide/alim15x3.c if (m5229_revision < 0xC2 && drive->media != ide_disk) { media 71 drivers/ide/falconide.c if (drive->media == ide_disk && cmd && (cmd->tf_flags & IDE_TFLAG_FS)) { media 84 drivers/ide/falconide.c if (drive->media == ide_disk && cmd && (cmd->tf_flags & IDE_TFLAG_FS)) { media 132 drivers/ide/ht6560b.c if (drive->media != ide_disk || media 30 drivers/ide/ide-atapi.c return drive->media == ide_cdrom || drive->media == ide_optical; media 52 drivers/ide/ide-atapi.c if (drive->media == ide_floppy && device_type == 5 && media 61 drivers/ide/ide-atapi.c else if ((drive->media == ide_floppy && device_type != 0) || media 62 drivers/ide/ide-atapi.c (drive->media == ide_tape && device_type != 1)) media 68 drivers/ide/ide-atapi.c else if (drive->media == ide_floppy && drq_type == 3) media 108 drivers/ide/ide-atapi.c if (drive->media == ide_tape) media 137 drivers/ide/ide-atapi.c if (drive->media == ide_tape) media 163 drivers/ide/ide-atapi.c if (drive->media == ide_floppy) { media 181 drivers/ide/ide-atapi.c switch (drive->media) { media 230 drivers/ide/ide-atapi.c if (drive->media == ide_tape) media 282 drivers/ide/ide-atapi.c if (drive->media == ide_tape) media 430 drivers/ide/ide-atapi.c timeout = (drive->media == ide_floppy) ? WAIT_FLOPPY_CMD media 443 drivers/ide/ide-atapi.c if (rc || (drive->media == ide_tape && (stat & ATA_ERR))) { media 444 drivers/ide/ide-atapi.c if (drive->media == ide_floppy) media 466 drivers/ide/ide-atapi.c if (drive->media == ide_tape && media 474 drivers/ide/ide-atapi.c if (drive->media != ide_tape) media 654 drivers/ide/ide-atapi.c timeout = (drive->media == ide_floppy) ? WAIT_FLOPPY_CMD media 660 drivers/ide/ide-atapi.c if (drive->media == ide_tape) media 721 drivers/ide/ide-atapi.c bcount = ((drive->media == ide_tape) ? bytes media 739 drivers/ide/ide-atapi.c timeout = (drive->media == ide_floppy) ? WAIT_FLOPPY_CMD media 1320 drivers/ide/ide-cd.c drive->media, drive->atapi_flags); media 1326 drivers/ide/ide-cd.c if (drive->media == ide_optical) { media 1751 drivers/ide/ide-cd.c drive->driver_req, drive->media); media 1756 drivers/ide/ide-cd.c if (drive->media != ide_cdrom && drive->media != ide_optical) media 26 drivers/ide/ide-dma-sff.c if (drive->media != ide_disk) { media 318 drivers/ide/ide-dma.c if (drive->media != ide_disk) { media 97 drivers/ide/ide-eh.c if (drive->media == ide_disk) media 292 drivers/ide/ide-eh.c if (drive->media == ide_disk) media 352 drivers/ide/ide-eh.c if (drive->media != ide_disk && !do_not_try_atapi) { media 150 drivers/ide/ide-gd.c return (drive->media == ide_disk) ? ide_disk_proc : ide_floppy_proc; media 155 drivers/ide/ide-gd.c return (drive->media == ide_disk) ? ide_disk_settings media 366 drivers/ide/ide-gd.c if (drive->media == ide_disk) media 370 drivers/ide/ide-gd.c if (drive->media == ide_floppy) media 149 drivers/ide/ide-io.c u8 media = drive->media; media 153 drivers/ide/ide-io.c if ((media == ide_floppy || media == ide_tape) && drv_req) { media 156 drivers/ide/ide-io.c if (media == ide_tape) media 203 drivers/ide/ide-io.c if (drive->media != ide_disk) { media 102 drivers/ide/ide-ioctls.c (drive->media != ide_tape)) media 261 drivers/ide/ide-ioctls.c if (drive->media == ide_disk) media 135 drivers/ide/ide-lib.c if (drive->media == ide_disk) media 140 drivers/ide/ide-park.c if (drive->media == ide_disk) media 107 drivers/ide/ide-pm.c if (drive->media != ide_disk) media 136 drivers/ide/ide-pm.c if (drive->media != ide_disk) media 157 drivers/ide/ide-pm.c if (drive->media != ide_disk) media 115 drivers/ide/ide-probe.c drive->media = ide_disk; media 138 drivers/ide/ide-probe.c if (drive->media != ide_cdrom) { media 172 drivers/ide/ide-probe.c drive->media = type; media 391 drivers/ide/ide-probe.c if (present && drive->media != ide_disk && cmd == ATA_CMD_ID_ATA) media 396 drivers/ide/ide-probe.c drive->name, present, drive->media, media 502 drivers/ide/ide-probe.c if (drive->media == ide_disk) { media 506 drivers/ide/ide-probe.c } else if (drive->media == ide_cdrom) { media 530 drivers/ide/ide-probe.c if (drive->media == ide_disk) { media 920 drivers/ide/ide-probe.c if (drive->media == ide_disk) media 922 drivers/ide/ide-probe.c if (drive->media == ide_cdrom || drive->media == ide_optical) media 924 drivers/ide/ide-probe.c if (drive->media == ide_tape) media 926 drivers/ide/ide-probe.c if (drive->media == ide_floppy) media 1203 drivers/ide/ide-probe.c drive->media = ide_disk; media 439 drivers/ide/ide-proc.c const char *media; media 441 drivers/ide/ide-proc.c switch (drive->media) { media 442 drivers/ide/ide-proc.c case ide_disk: media = "disk\n"; break; media 443 drivers/ide/ide-proc.c case ide_cdrom: media = "cdrom\n"; break; media 444 drivers/ide/ide-proc.c case ide_tape: media = "tape\n"; break; media 445 drivers/ide/ide-proc.c case ide_floppy: media = "floppy\n"; break; media 446 drivers/ide/ide-proc.c case ide_optical: media = "optical\n"; break; media 447 drivers/ide/ide-proc.c default: media = "UNKNOWN\n"; break; media 449 drivers/ide/ide-proc.c seq_puts(m, media); media 7 drivers/ide/ide-sysfs.c switch (drive->media) { media 29 drivers/ide/ide-sysfs.c static DEVICE_ATTR_RO(media); media 1951 drivers/ide/ide-tape.c if (drive->media != ide_tape) media 65 drivers/ide/ide-taskfile.c if (drive->media == ide_disk) media 311 drivers/ide/ide.c drive->media = ide_cdrom; media 325 drivers/ide/ide.c drive->media = ide_disk; media 66 drivers/ide/it8172.c if (drive->media == ide_disk) media 52 drivers/ide/it8213.c if (drive->media != ide_disk) media 64 drivers/ide/pdc202xx_old.c if (drive->media == ide_disk) media 151 drivers/ide/pdc202xx_old.c if (drive->media != ide_disk || (drive->dev_flags & IDE_DFLAG_LBA48)) { media 171 drivers/ide/pdc202xx_old.c if (drive->media != ide_disk || (drive->dev_flags & IDE_DFLAG_LBA48)) { media 99 drivers/ide/piix.c if (drive->media == ide_disk) media 78 drivers/ide/q40ide.c if (drive->media == ide_disk && cmd && (cmd->tf_flags & IDE_TFLAG_FS)) { media 91 drivers/ide/q40ide.c if (drive->media == ide_disk && cmd && (cmd->tf_flags & IDE_TFLAG_FS)) { media 252 drivers/ide/qd65xx.c if (!hwif->channel && drive->media != ide_disk) { media 439 drivers/ide/siimage.c if (drive->media == ide_disk) { media 286 drivers/ide/sis5513.c if (drive->media == ide_disk) media 47 drivers/ide/slc90e66.c if (drive->media == ide_disk) media 160 drivers/media/platform/coda/trace.h #define TRACE_INCLUDE_PATH ../../drivers/media/platform/coda media 1179 drivers/media/usb/uvc/uvc_driver.c term->media.bControlSize = n; media 1180 drivers/media/usb/uvc/uvc_driver.c term->media.bmControls = (u8 *)term + sizeof(*term); media 1181 drivers/media/usb/uvc/uvc_driver.c term->media.bTransportModeSize = p; media 1182 drivers/media/usb/uvc/uvc_driver.c term->media.bmTransportModes = (u8 *)term media 1184 drivers/media/usb/uvc/uvc_driver.c memcpy(term->media.bmControls, &buffer[9], n); media 1185 drivers/media/usb/uvc/uvc_driver.c memcpy(term->media.bmTransportModes, &buffer[10+n], p); media 325 drivers/media/usb/uvc/uvcvideo.h } media; media 203 drivers/net/ethernet/3com/3c574_cs.c struct timer_list media; media 380 drivers/net/ethernet/3com/3c574_cs.c timer_setup(&lp->media, media_check, 0); media 684 drivers/net/ethernet/3com/3c574_cs.c lp->media.expires = jiffies + HZ; media 685 drivers/net/ethernet/3com/3c574_cs.c add_timer(&lp->media); media 862 drivers/net/ethernet/3com/3c574_cs.c struct el3_private *lp = from_timer(lp, t, media); media 866 drivers/net/ethernet/3com/3c574_cs.c unsigned short /* cable, */ media, partner; media 885 drivers/net/ethernet/3com/3c574_cs.c lp->media.expires = jiffies + 2*HZ/100; media 886 drivers/net/ethernet/3com/3c574_cs.c add_timer(&lp->media); media 892 drivers/net/ethernet/3com/3c574_cs.c media = mdio_read(ioaddr, lp->phys, 1); media 896 drivers/net/ethernet/3com/3c574_cs.c if (media != lp->media_status) { media 897 drivers/net/ethernet/3com/3c574_cs.c if ((media ^ lp->media_status) & 0x0004) media 900 drivers/net/ethernet/3com/3c574_cs.c if ((media ^ lp->media_status) & 0x0020) { media 921 drivers/net/ethernet/3com/3c574_cs.c if (media & 0x0010) media 923 drivers/net/ethernet/3com/3c574_cs.c if (media & 0x0002) media 925 drivers/net/ethernet/3com/3c574_cs.c lp->media_status = media; media 930 drivers/net/ethernet/3com/3c574_cs.c lp->media.expires = jiffies + HZ; media 931 drivers/net/ethernet/3com/3c574_cs.c add_timer(&lp->media); media 1144 drivers/net/ethernet/3com/3c574_cs.c del_timer_sync(&lp->media); media 136 drivers/net/ethernet/3com/3c589_cs.c struct timer_list media; media 520 drivers/net/ethernet/3com/3c589_cs.c timer_setup(&lp->media, media_check, 0); media 521 drivers/net/ethernet/3com/3c589_cs.c mod_timer(&lp->media, jiffies + HZ); media 681 drivers/net/ethernet/3com/3c589_cs.c struct el3_private *lp = from_timer(lp, t, media); media 684 drivers/net/ethernet/3com/3c589_cs.c u16 media, errs; media 706 drivers/net/ethernet/3com/3c589_cs.c lp->media.expires = jiffies + HZ/100; media 707 drivers/net/ethernet/3com/3c589_cs.c add_timer(&lp->media); media 717 drivers/net/ethernet/3com/3c589_cs.c media = inw(ioaddr+WN4_MEDIA) & 0xc810; media 721 drivers/net/ethernet/3com/3c589_cs.c media &= ~0x0010; media 730 drivers/net/ethernet/3com/3c589_cs.c media |= 0x0010; media 733 drivers/net/ethernet/3com/3c589_cs.c if (media != lp->media_status) { media 734 drivers/net/ethernet/3com/3c589_cs.c if ((media & lp->media_status & 0x8000) && media 735 drivers/net/ethernet/3com/3c589_cs.c ((lp->media_status ^ media) & 0x0800)) media 738 drivers/net/ethernet/3com/3c589_cs.c else if ((media & lp->media_status & 0x4000) && media 739 drivers/net/ethernet/3com/3c589_cs.c ((lp->media_status ^ media) & 0x0010)) media 743 drivers/net/ethernet/3com/3c589_cs.c if (media & 0x8000) { media 744 drivers/net/ethernet/3com/3c589_cs.c if (media & 0x0800) media 748 drivers/net/ethernet/3com/3c589_cs.c } else if (media & 0x4000) { media 749 drivers/net/ethernet/3com/3c589_cs.c if (media & 0x0010) media 755 drivers/net/ethernet/3com/3c589_cs.c lp->media_status = media; media 762 drivers/net/ethernet/3com/3c589_cs.c lp->media.expires = jiffies + HZ; media 763 drivers/net/ethernet/3com/3c589_cs.c add_timer(&lp->media); media 942 drivers/net/ethernet/3com/3c589_cs.c del_timer_sync(&lp->media); media 1604 drivers/net/ethernet/amd/pcnet32.c int i, media; media 1686 drivers/net/ethernet/amd/pcnet32.c media = a->read_bcr(ioaddr, 49); media 1687 drivers/net/ethernet/amd/pcnet32.c media &= ~3; /* default to 10Mb ethernet */ media 1689 drivers/net/ethernet/amd/pcnet32.c media |= 1; /* switch to home wiring mode */ media 1692 drivers/net/ethernet/amd/pcnet32.c (media & 1) ? "1" : "10"); media 1693 drivers/net/ethernet/amd/pcnet32.c a->write_bcr(ioaddr, 49, media); media 1988 drivers/net/ethernet/broadcom/bcm63xx_enet.c int val, j, up, advertise, lpa, speed, duplex, media; media 2032 drivers/net/ethernet/broadcom/bcm63xx_enet.c media = mii_nway_result(lpa & advertise); media 2033 drivers/net/ethernet/broadcom/bcm63xx_enet.c duplex = (media & ADVERTISE_FULL) ? 1 : 0; media 2035 drivers/net/ethernet/broadcom/bcm63xx_enet.c if (media & (ADVERTISE_100FULL | ADVERTISE_100HALF)) media 94 drivers/net/ethernet/broadcom/bnxt/bnxt_fw_hdr.h u8 media; /* enum SUPPORTED_MEDIA */ media 215 drivers/net/ethernet/brocade/bna/bfa_defs.h char media[8]; /* xfi/xaui */ media 1699 drivers/net/ethernet/cirrus/cs89x0.c static char media[8]; media 1709 drivers/net/ethernet/cirrus/cs89x0.c module_param_string(media, media, sizeof(media), 0); media 1721 drivers/net/ethernet/cirrus/cs89x0.c MODULE_PARM_DESC(media, "Set cs89x0 adapter(s) media type(s) (rj45,bnc,aui)"); media 1789 drivers/net/ethernet/cirrus/cs89x0.c if (!strcmp(media, "rj45")) media 1791 drivers/net/ethernet/cirrus/cs89x0.c else if (!strcmp(media, "aui")) media 1793 drivers/net/ethernet/cirrus/cs89x0.c else if (!strcmp(media, "bnc")) media 189 drivers/net/ethernet/dec/tulip/21142.c if (tp->mtable->mleaf[i].media == dev->if_port) { media 322 drivers/net/ethernet/dec/tulip/de2104x.c struct media_info media[DE_MAX_MEDIA]; media 915 drivers/net/ethernet/dec/tulip/de2104x.c unsigned media = de->media_type; media 924 drivers/net/ethernet/dec/tulip/de2104x.c dw32(CSR14, de->media[media].csr14); media 925 drivers/net/ethernet/dec/tulip/de2104x.c dw32(CSR15, de->media[media].csr15); media 926 drivers/net/ethernet/dec/tulip/de2104x.c dw32(CSR13, de->media[media].csr13); media 933 drivers/net/ethernet/dec/tulip/de2104x.c if (media == DE_MEDIA_TP_FD) media 938 drivers/net/ethernet/dec/tulip/de2104x.c netif_info(de, link, de->dev, "set link %s\n", media_name[media]); media 943 drivers/net/ethernet/dec/tulip/de2104x.c macmode, de->media[media].csr13, media 944 drivers/net/ethernet/dec/tulip/de2104x.c de->media[media].csr14, de->media[media].csr15); media 949 drivers/net/ethernet/dec/tulip/de2104x.c static void de_next_media (struct de_private *de, const u32 *media, media 955 drivers/net/ethernet/dec/tulip/de2104x.c if (de_ok_to_advertise(de, media[i])) { media 956 drivers/net/ethernet/dec/tulip/de2104x.c de->media_type = media[i]; media 1743 drivers/net/ethernet/dec/tulip/de2104x.c de->media[i].type = i; media 1744 drivers/net/ethernet/dec/tulip/de2104x.c de->media[i].csr13 = t21040_csr13[i]; media 1745 drivers/net/ethernet/dec/tulip/de2104x.c de->media[i].csr14 = t21040_csr14[i]; media 1746 drivers/net/ethernet/dec/tulip/de2104x.c de->media[i].csr15 = t21040_csr15[i]; media 1749 drivers/net/ethernet/dec/tulip/de2104x.c de->media[i].type = DE_MEDIA_INVALID; media 1850 drivers/net/ethernet/dec/tulip/de2104x.c de->media[i].type = DE_MEDIA_INVALID; media 1851 drivers/net/ethernet/dec/tulip/de2104x.c de->media[i].csr13 = 0xffff; media 1852 drivers/net/ethernet/dec/tulip/de2104x.c de->media[i].csr14 = 0xffff; media 1853 drivers/net/ethernet/dec/tulip/de2104x.c de->media[i].csr15 = 0xffff; media 1870 drivers/net/ethernet/dec/tulip/de2104x.c de->media[DE_MEDIA_TP_AUTO].type = DE_MEDIA_TP_AUTO; media 1884 drivers/net/ethernet/dec/tulip/de2104x.c de->media[DE_MEDIA_TP_AUTO].type = DE_MEDIA_TP_AUTO; media 1890 drivers/net/ethernet/dec/tulip/de2104x.c de->media[idx].type = idx; media 1895 drivers/net/ethernet/dec/tulip/de2104x.c media_name[de->media[idx].type]); media 1900 drivers/net/ethernet/dec/tulip/de2104x.c de->media[idx].csr13 = get_unaligned(&ib->csr13); media 1901 drivers/net/ethernet/dec/tulip/de2104x.c de->media[idx].csr14 = get_unaligned(&ib->csr14); media 1902 drivers/net/ethernet/dec/tulip/de2104x.c de->media[idx].csr15 = get_unaligned(&ib->csr15); media 1908 drivers/net/ethernet/dec/tulip/de2104x.c de->media[idx].csr13, media 1909 drivers/net/ethernet/dec/tulip/de2104x.c de->media[idx].csr14, media 1910 drivers/net/ethernet/dec/tulip/de2104x.c de->media[idx].csr15); media 1926 drivers/net/ethernet/dec/tulip/de2104x.c if (de->media[i].csr13 == 0xffff) media 1927 drivers/net/ethernet/dec/tulip/de2104x.c de->media[i].csr13 = t21041_csr13[i]; media 1928 drivers/net/ethernet/dec/tulip/de2104x.c if (de->media[i].csr14 == 0xffff) { media 1932 drivers/net/ethernet/dec/tulip/de2104x.c de->media[i].csr14 = t21041_csr14_brk[i]; media 1934 drivers/net/ethernet/dec/tulip/de2104x.c de->media[i].csr14 = t21041_csr14[i]; media 1936 drivers/net/ethernet/dec/tulip/de2104x.c if (de->media[i].csr15 == 0xffff) media 1937 drivers/net/ethernet/dec/tulip/de2104x.c de->media[i].csr15 = t21041_csr15[i]; media 1947 drivers/net/ethernet/dec/tulip/de2104x.c de->media[i].type = i; media 810 drivers/net/ethernet/dec/tulip/de4x5.c int media; /* Media (eg TP), mode (eg 100B)*/ media 2368 drivers/net/ethernet/dec/tulip/de4x5.c lp->media = INIT; media 2373 drivers/net/ethernet/dec/tulip/de4x5.c return lp->media; media 2396 drivers/net/ethernet/dec/tulip/de4x5.c switch (lp->media) { media 2403 drivers/net/ethernet/dec/tulip/de4x5.c lp->media = TP; media 2405 drivers/net/ethernet/dec/tulip/de4x5.c lp->media = BNC_AUI; media 2407 drivers/net/ethernet/dec/tulip/de4x5.c lp->media = EXT_SIA; media 2409 drivers/net/ethernet/dec/tulip/de4x5.c lp->media = NC; media 2447 drivers/net/ethernet/dec/tulip/de4x5.c if (lp->media != lp->c_media) { media 2449 drivers/net/ethernet/dec/tulip/de4x5.c lp->c_media = lp->media; media 2451 drivers/net/ethernet/dec/tulip/de4x5.c lp->media = INIT; media 2483 drivers/net/ethernet/dec/tulip/de4x5.c lp->media = next_state; media 2489 drivers/net/ethernet/dec/tulip/de4x5.c lp->media = suspect_state; media 2510 drivers/net/ethernet/dec/tulip/de4x5.c lp->media = prev_state; media 2523 drivers/net/ethernet/dec/tulip/de4x5.c lp->media = prev_state; media 2525 drivers/net/ethernet/dec/tulip/de4x5.c lp->media = INIT; media 2550 drivers/net/ethernet/dec/tulip/de4x5.c switch (lp->media) { media 2557 drivers/net/ethernet/dec/tulip/de4x5.c lp->media = TP; /* On chip auto negotiation is broken */ media 2559 drivers/net/ethernet/dec/tulip/de4x5.c lp->media = TP; media 2561 drivers/net/ethernet/dec/tulip/de4x5.c lp->media = BNC; media 2563 drivers/net/ethernet/dec/tulip/de4x5.c lp->media = AUI; media 2565 drivers/net/ethernet/dec/tulip/de4x5.c lp->media = NC; media 2583 drivers/net/ethernet/dec/tulip/de4x5.c lp->media = ANS; media 2585 drivers/net/ethernet/dec/tulip/de4x5.c lp->media = AUI; media 2600 drivers/net/ethernet/dec/tulip/de4x5.c lp->media = TP; media 2608 drivers/net/ethernet/dec/tulip/de4x5.c lp->media = ANS_SUSPECT; media 2631 drivers/net/ethernet/dec/tulip/de4x5.c lp->media = AUI; /* Non selected port activity */ media 2633 drivers/net/ethernet/dec/tulip/de4x5.c lp->media = BNC; media 2642 drivers/net/ethernet/dec/tulip/de4x5.c lp->media = TP_SUSPECT; media 2664 drivers/net/ethernet/dec/tulip/de4x5.c lp->media = BNC; media 2672 drivers/net/ethernet/dec/tulip/de4x5.c lp->media = AUI_SUSPECT; media 2706 drivers/net/ethernet/dec/tulip/de4x5.c lp->media = NC; media 2712 drivers/net/ethernet/dec/tulip/de4x5.c lp->media = BNC_SUSPECT; media 2727 drivers/net/ethernet/dec/tulip/de4x5.c if (lp->media != lp->c_media) { media 2729 drivers/net/ethernet/dec/tulip/de4x5.c lp->c_media = lp->media; media 2731 drivers/net/ethernet/dec/tulip/de4x5.c lp->media = INIT; media 2752 drivers/net/ethernet/dec/tulip/de4x5.c switch(lp->media) { media 2777 drivers/net/ethernet/dec/tulip/de4x5.c lp->media = _100Mb; media 2779 drivers/net/ethernet/dec/tulip/de4x5.c lp->media = _10Mb; media 2785 drivers/net/ethernet/dec/tulip/de4x5.c lp->media = ANS; media 2787 drivers/net/ethernet/dec/tulip/de4x5.c lp->media = SPD_DET; media 2789 drivers/net/ethernet/dec/tulip/de4x5.c lp->media = _100Mb; media 2791 drivers/net/ethernet/dec/tulip/de4x5.c lp->media = NC; media 2811 drivers/net/ethernet/dec/tulip/de4x5.c lp->media = SPD_DET; media 2823 drivers/net/ethernet/dec/tulip/de4x5.c lp->media = SPD_DET; media 2833 drivers/net/ethernet/dec/tulip/de4x5.c lp->media = _100Mb; media 2837 drivers/net/ethernet/dec/tulip/de4x5.c lp->media = _10Mb; media 2857 drivers/net/ethernet/dec/tulip/de4x5.c lp->media = _100Mb; media 2859 drivers/net/ethernet/dec/tulip/de4x5.c lp->media = _10Mb; media 2861 drivers/net/ethernet/dec/tulip/de4x5.c lp->media = NC; media 2875 drivers/net/ethernet/dec/tulip/de4x5.c lp->media = INIT; media 2893 drivers/net/ethernet/dec/tulip/de4x5.c lp->media = INIT; media 2902 drivers/net/ethernet/dec/tulip/de4x5.c if (lp->media != lp->c_media) { media 2904 drivers/net/ethernet/dec/tulip/de4x5.c lp->c_media = lp->media; media 2906 drivers/net/ethernet/dec/tulip/de4x5.c lp->media = INIT; media 2936 drivers/net/ethernet/dec/tulip/de4x5.c switch (lp->media) { media 2946 drivers/net/ethernet/dec/tulip/de4x5.c if (lp->media != lp->params.autosense) { media 2948 drivers/net/ethernet/dec/tulip/de4x5.c lp->media = INIT; media 2951 drivers/net/ethernet/dec/tulip/de4x5.c lp->media = INIT; media 2958 drivers/net/ethernet/dec/tulip/de4x5.c lp->media = _100Mb; media 2960 drivers/net/ethernet/dec/tulip/de4x5.c lp->media = _10Mb; media 2962 drivers/net/ethernet/dec/tulip/de4x5.c lp->media = TP; media 2964 drivers/net/ethernet/dec/tulip/de4x5.c lp->media = BNC; media 2966 drivers/net/ethernet/dec/tulip/de4x5.c lp->media = AUI; media 2968 drivers/net/ethernet/dec/tulip/de4x5.c lp->media = SPD_DET; media 2974 drivers/net/ethernet/dec/tulip/de4x5.c lp->media = ANS; media 2994 drivers/net/ethernet/dec/tulip/de4x5.c lp->media = SPD_DET; media 3007 drivers/net/ethernet/dec/tulip/de4x5.c lp->media = SPD_DET; media 3017 drivers/net/ethernet/dec/tulip/de4x5.c lp->media = _100Mb; media 3020 drivers/net/ethernet/dec/tulip/de4x5.c lp->media = _10Mb; media 3043 drivers/net/ethernet/dec/tulip/de4x5.c lp->media = BNC; media 3051 drivers/net/ethernet/dec/tulip/de4x5.c lp->media = AUI_SUSPECT; media 3086 drivers/net/ethernet/dec/tulip/de4x5.c lp->media = INIT; media 3092 drivers/net/ethernet/dec/tulip/de4x5.c lp->media = BNC_SUSPECT; media 3106 drivers/net/ethernet/dec/tulip/de4x5.c lp->media = INIT; media 3109 drivers/net/ethernet/dec/tulip/de4x5.c if (lp->media == _100Mb) { media 3111 drivers/net/ethernet/dec/tulip/de4x5.c lp->media = SPD_DET; media 3116 drivers/net/ethernet/dec/tulip/de4x5.c lp->media = SPD_DET; media 3120 drivers/net/ethernet/dec/tulip/de4x5.c if (lp->media == ANS) { /* Do MII parallel detection */ media 3122 drivers/net/ethernet/dec/tulip/de4x5.c lp->media = _100Mb; media 3124 drivers/net/ethernet/dec/tulip/de4x5.c lp->media = _10Mb; media 3127 drivers/net/ethernet/dec/tulip/de4x5.c } else if (((lp->media == _100Mb) && is_100_up(dev)) || media 3128 drivers/net/ethernet/dec/tulip/de4x5.c (((lp->media == _10Mb) || (lp->media == TP) || media 3129 drivers/net/ethernet/dec/tulip/de4x5.c (lp->media == BNC) || (lp->media == AUI)) && media 3134 drivers/net/ethernet/dec/tulip/de4x5.c lp->media = INIT; media 3146 drivers/net/ethernet/dec/tulip/de4x5.c lp->media = INIT; media 3162 drivers/net/ethernet/dec/tulip/de4x5.c lp->media = INIT; media 3172 drivers/net/ethernet/dec/tulip/de4x5.c printk("Huh?: media:%02x\n", lp->media); media 3173 drivers/net/ethernet/dec/tulip/de4x5.c lp->media = INIT; media 3199 drivers/net/ethernet/dec/tulip/de4x5.c if (lp->infoblock_media == lp->media) media 3211 drivers/net/ethernet/dec/tulip/de4x5.c lp->media = _10Mb; media 3213 drivers/net/ethernet/dec/tulip/de4x5.c lp->media = TP; media 3218 drivers/net/ethernet/dec/tulip/de4x5.c lp->media = BNC; media 3222 drivers/net/ethernet/dec/tulip/de4x5.c lp->media = AUI; media 3232 drivers/net/ethernet/dec/tulip/de4x5.c lp->media = _100Mb; media 3236 drivers/net/ethernet/dec/tulip/de4x5.c lp->media = _100Mb; media 3246 drivers/net/ethernet/dec/tulip/de4x5.c lp->media = _100Mb; media 3250 drivers/net/ethernet/dec/tulip/de4x5.c lp->media = ANS; media 3270 drivers/net/ethernet/dec/tulip/de4x5.c if (lp->media != lp->c_media) { media 3272 drivers/net/ethernet/dec/tulip/de4x5.c lp->c_media = lp->media; /* Stop scrolling media messages */ media 4445 drivers/net/ethernet/dec/tulip/de4x5.c lp->media = NC; media 4446 drivers/net/ethernet/dec/tulip/de4x5.c if (lp->media != lp->c_media) { media 4448 drivers/net/ethernet/dec/tulip/de4x5.c lp->c_media = lp->media; media 4450 drivers/net/ethernet/dec/tulip/de4x5.c lp->media = INIT; media 4480 drivers/net/ethernet/dec/tulip/de4x5.c lp->media = NC; media 4481 drivers/net/ethernet/dec/tulip/de4x5.c if (lp->media != lp->c_media) { media 4483 drivers/net/ethernet/dec/tulip/de4x5.c lp->c_media = lp->media; media 4485 drivers/net/ethernet/dec/tulip/de4x5.c lp->media = INIT; media 4514 drivers/net/ethernet/dec/tulip/de4x5.c lp->media = NC; media 4515 drivers/net/ethernet/dec/tulip/de4x5.c if (lp->media != lp->c_media) { media 4517 drivers/net/ethernet/dec/tulip/de4x5.c lp->c_media = lp->media; media 4519 drivers/net/ethernet/dec/tulip/de4x5.c lp->media = INIT; media 4546 drivers/net/ethernet/dec/tulip/de4x5.c if ((lp->media == INIT) && (lp->timeout < 0)) { media 4586 drivers/net/ethernet/dec/tulip/de4x5.c if ((lp->media == INIT) && (lp->timeout < 0)) { media 4637 drivers/net/ethernet/dec/tulip/de4x5.c } else if ((lp->media == INIT) && (lp->timeout < 0)) { media 4665 drivers/net/ethernet/dec/tulip/de4x5.c if ((lp->media == INIT) && (lp->timeout < 0)) { media 4719 drivers/net/ethernet/dec/tulip/de4x5.c } else if ((lp->media == INIT) && (lp->timeout < 0)) { media 4748 drivers/net/ethernet/dec/tulip/de4x5.c if ((lp->media == INIT) && (lp->timeout < 0)) { media 4794 drivers/net/ethernet/dec/tulip/de4x5.c if ((lp->state == INITIALISED) || (lp->media == INIT)) { media 5296 drivers/net/ethernet/dec/tulip/de4x5.c if (lp->media != lp->c_media) { media 5299 drivers/net/ethernet/dec/tulip/de4x5.c (lp->media == NC ? "unconnected, link down or incompatible connection" : media 5300 drivers/net/ethernet/dec/tulip/de4x5.c (lp->media == TP ? "TP" : media 5301 drivers/net/ethernet/dec/tulip/de4x5.c (lp->media == ANS ? "TP/Nway" : media 5302 drivers/net/ethernet/dec/tulip/de4x5.c (lp->media == BNC ? "BNC" : media 5303 drivers/net/ethernet/dec/tulip/de4x5.c (lp->media == AUI ? "AUI" : media 5304 drivers/net/ethernet/dec/tulip/de4x5.c (lp->media == BNC_AUI ? "BNC/AUI" : media 5305 drivers/net/ethernet/dec/tulip/de4x5.c (lp->media == EXT_SIA ? "EXT SIA" : media 5306 drivers/net/ethernet/dec/tulip/de4x5.c (lp->media == _100Mb ? "100Mb/s" : media 5307 drivers/net/ethernet/dec/tulip/de4x5.c (lp->media == _10Mb ? "10Mb/s" : media 5311 drivers/net/ethernet/dec/tulip/de4x5.c lp->c_media = lp->media; media 134 drivers/net/ethernet/dec/tulip/eeprom.c tp->mtable->mleaf[0].media = 11; media 212 drivers/net/ethernet/dec/tulip/eeprom.c u16 media = get_u16(p); media 231 drivers/net/ethernet/dec/tulip/eeprom.c mtable->defaultmedia = media; media 239 drivers/net/ethernet/dec/tulip/eeprom.c media & 0x0800 ? "Autosense" media 240 drivers/net/ethernet/dec/tulip/eeprom.c : medianame[media & MEDIA_MASK]); media 246 drivers/net/ethernet/dec/tulip/eeprom.c leaf->media = p[0] & 0x3f; media 255 drivers/net/ethernet/dec/tulip/eeprom.c leaf->media = p[2] & 0x0f; media 268 drivers/net/ethernet/dec/tulip/eeprom.c leaf->media = 11; media 274 drivers/net/ethernet/dec/tulip/eeprom.c leaf->media = p[2] & MEDIA_MASK; media 276 drivers/net/ethernet/dec/tulip/eeprom.c if (tp->chip_id == DM910X && leaf->media == 1) media 277 drivers/net/ethernet/dec/tulip/eeprom.c leaf->media = 3; media 278 drivers/net/ethernet/dec/tulip/eeprom.c switch (leaf->media) { media 285 drivers/net/ethernet/dec/tulip/eeprom.c if (p[1] == 2 && leaf->media == 0) { media 301 drivers/net/ethernet/dec/tulip/eeprom.c if (tulip_debug > 1 && leaf->media == 11) { media 311 drivers/net/ethernet/dec/tulip/eeprom.c i, medianame[leaf->media & 15], leaf->media, media 65 drivers/net/ethernet/dec/tulip/timer.c if (mleaf->media == 3 && (csr12 & 0x02)) media 80 drivers/net/ethernet/dec/tulip/timer.c medianame[mleaf->media & MEDIA_MASK]); media 94 drivers/net/ethernet/dec/tulip/timer.c dev->if_port = tp->mtable->mleaf[tp->cur_index].media; media 99 drivers/net/ethernet/dec/tulip/timer.c medianame[mleaf->media & MEDIA_MASK], media 100 drivers/net/ethernet/dec/tulip/timer.c medianame[tp->mtable->mleaf[tp->cur_index].media]); media 370 drivers/net/ethernet/dec/tulip/tulip.h u8 media; media 390 drivers/net/ethernet/dec/tulip/tulip_core.c if (tp->mtable->mleaf[i].media == looking_for) { media 400 drivers/net/ethernet/dec/tulip/tulip_core.c if (tp->mtable->mleaf[i].media == looking_for) { media 409 drivers/net/ethernet/dec/tulip/tulip_core.c (tulip_media_cap[tp->mtable->mleaf[i].media] & MediaAlwaysFD) && i > 0; i--) media 1676 drivers/net/ethernet/dec/tulip/tulip_core.c if (tp->mtable->mleaf[i].media == 11) { media 29 drivers/net/ethernet/dlink/dl2k.c static char *media[MAX_UNITS]; media 42 drivers/net/ethernet/dlink/dl2k.c module_param_array(media, charp, NULL, 0); media 165 drivers/net/ethernet/dlink/dl2k.c if (media[card_idx] != NULL) { media 167 drivers/net/ethernet/dlink/dl2k.c if (strcmp (media[card_idx], "auto") == 0 || media 168 drivers/net/ethernet/dlink/dl2k.c strcmp (media[card_idx], "autosense") == 0 || media 169 drivers/net/ethernet/dlink/dl2k.c strcmp (media[card_idx], "0") == 0 ) { media 171 drivers/net/ethernet/dlink/dl2k.c } else if (strcmp (media[card_idx], "100mbps_fd") == 0 || media 172 drivers/net/ethernet/dlink/dl2k.c strcmp (media[card_idx], "4") == 0) { media 175 drivers/net/ethernet/dlink/dl2k.c } else if (strcmp (media[card_idx], "100mbps_hd") == 0 || media 176 drivers/net/ethernet/dlink/dl2k.c strcmp (media[card_idx], "3") == 0) { media 179 drivers/net/ethernet/dlink/dl2k.c } else if (strcmp (media[card_idx], "10mbps_fd") == 0 || media 180 drivers/net/ethernet/dlink/dl2k.c strcmp (media[card_idx], "2") == 0) { media 183 drivers/net/ethernet/dlink/dl2k.c } else if (strcmp (media[card_idx], "10mbps_hd") == 0 || media 184 drivers/net/ethernet/dlink/dl2k.c strcmp (media[card_idx], "1") == 0) { media 187 drivers/net/ethernet/dlink/dl2k.c } else if (strcmp (media[card_idx], "1000mbps_fd") == 0 || media 188 drivers/net/ethernet/dlink/dl2k.c strcmp (media[card_idx], "6") == 0) { media 191 drivers/net/ethernet/dlink/dl2k.c } else if (strcmp (media[card_idx], "1000mbps_hd") == 0 || media 192 drivers/net/ethernet/dlink/dl2k.c strcmp (media[card_idx], "5") == 0) { media 57 drivers/net/ethernet/dlink/sundance.c static char *media[MAX_UNITS]; media 115 drivers/net/ethernet/dlink/sundance.c module_param_array(media, charp, NULL, 0); media 637 drivers/net/ethernet/dlink/sundance.c if (media[card_idx] != NULL) { media 639 drivers/net/ethernet/dlink/sundance.c if (strcmp (media[card_idx], "100mbps_fd") == 0 || media 640 drivers/net/ethernet/dlink/sundance.c strcmp (media[card_idx], "4") == 0) { media 643 drivers/net/ethernet/dlink/sundance.c } else if (strcmp (media[card_idx], "100mbps_hd") == 0 || media 644 drivers/net/ethernet/dlink/sundance.c strcmp (media[card_idx], "3") == 0) { media 647 drivers/net/ethernet/dlink/sundance.c } else if (strcmp (media[card_idx], "10mbps_fd") == 0 || media 648 drivers/net/ethernet/dlink/sundance.c strcmp (media[card_idx], "2") == 0) { media 651 drivers/net/ethernet/dlink/sundance.c } else if (strcmp (media[card_idx], "10mbps_hd") == 0 || media 652 drivers/net/ethernet/dlink/sundance.c strcmp (media[card_idx], "1") == 0) { media 1144 drivers/net/ethernet/intel/i40e/i40e_common.c enum i40e_media_type media; media 1155 drivers/net/ethernet/intel/i40e/i40e_common.c media = I40E_MEDIA_TYPE_FIBER; media 1162 drivers/net/ethernet/intel/i40e/i40e_common.c media = I40E_MEDIA_TYPE_BASET; media 1174 drivers/net/ethernet/intel/i40e/i40e_common.c media = I40E_MEDIA_TYPE_DA; media 1182 drivers/net/ethernet/intel/i40e/i40e_common.c media = I40E_MEDIA_TYPE_BACKPLANE; media 1190 drivers/net/ethernet/intel/i40e/i40e_common.c media = I40E_MEDIA_TYPE_UNKNOWN; media 1194 drivers/net/ethernet/intel/i40e/i40e_common.c return media; media 162 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp.h enum nfp_eth_media media; media 149 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp_eth.c dst->media = FIELD_GET(NSP_ETH_STATE_MEDIA, state); media 214 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp_eth.c if (entry->media == NFP_MEDIA_FIBRE) media 147 drivers/net/ethernet/realtek/8139too.c static int media[MAX_UNITS] = {-1, -1, -1, -1, -1, -1, -1, -1}; media 631 drivers/net/ethernet/realtek/8139too.c module_param_array(media, int, NULL, 0); media 636 drivers/net/ethernet/realtek/8139too.c MODULE_PARM_DESC (media, "8139too: Bits 4+9: force full duplex, bit 5: 100Mbps"); media 1077 drivers/net/ethernet/realtek/8139too.c option = (board_idx >= MAX_UNITS) ? 0 : media[board_idx]; media 26 drivers/net/ethernet/sfc/mcdi_port.c u32 media; media 61 drivers/net/ethernet/sfc/mcdi_port.c cfg->media = MCDI_DWORD(outbuf, GET_PHY_CFG_OUT_MEDIA_TYPE); media 171 drivers/net/ethernet/sfc/mcdi_port.c static void mcdi_to_ethtool_linkset(u32 media, u32 cap, unsigned long *linkset) media 177 drivers/net/ethernet/sfc/mcdi_port.c switch (media) { media 304 drivers/net/ethernet/sfc/mcdi_port.c static u8 mcdi_to_ethtool_media(u32 media) media 306 drivers/net/ethernet/sfc/mcdi_port.c switch (media) { media 449 drivers/net/ethernet/sfc/mcdi_port.c mcdi_to_ethtool_linkset(phy_data->media, caps, media 599 drivers/net/ethernet/sfc/mcdi_port.c cmd->base.port = mcdi_to_ethtool_media(phy_cfg->media); media 605 drivers/net/ethernet/sfc/mcdi_port.c mcdi_to_ethtool_linkset(phy_cfg->media, phy_cfg->supported_cap, media 615 drivers/net/ethernet/sfc/mcdi_port.c mcdi_to_ethtool_linkset(phy_cfg->media, media 997 drivers/net/ethernet/sfc/mcdi_port.c if (phy_data->media != MC_CMD_MEDIA_QSFP_PLUS) media 998 drivers/net/ethernet/sfc/mcdi_port.c return phy_data->media; media 51 drivers/net/ethernet/silan/sc92031.c static int media; media 52 drivers/net/ethernet/silan/sc92031.c module_param(media, int, 0); media 53 drivers/net/ethernet/silan/sc92031.c MODULE_PARM_DESC(media, "Media type (0x00 = autodetect," media 559 drivers/net/ethernet/silan/sc92031.c switch (media) { media 108 drivers/net/ethernet/smsc/smc91c92_cs.c struct timer_list media; media 1073 drivers/net/ethernet/smsc/smc91c92_cs.c timer_setup(&smc->media, media_check, 0); media 1074 drivers/net/ethernet/smsc/smc91c92_cs.c mod_timer(&smc->media, jiffies + HZ); media 1105 drivers/net/ethernet/smsc/smc91c92_cs.c del_timer_sync(&smc->media); media 1713 drivers/net/ethernet/smsc/smc91c92_cs.c struct smc_private *smc = from_timer(smc, t, media); media 1716 drivers/net/ethernet/smsc/smc91c92_cs.c u_short i, media, saved_bank; media 1736 drivers/net/ethernet/smsc/smc91c92_cs.c media = inw(ioaddr + EPH) & EPH_LINK_OK; media 1738 drivers/net/ethernet/smsc/smc91c92_cs.c media |= (inw(ioaddr + CONFIG) & CFG_AUI_SELECT) ? 2 : 1; media 1755 drivers/net/ethernet/smsc/smc91c92_cs.c smc->media.expires = jiffies + HZ/100; media 1756 drivers/net/ethernet/smsc/smc91c92_cs.c add_timer(&smc->media); media 1797 drivers/net/ethernet/smsc/smc91c92_cs.c media |= EPH_16COL; media 1801 drivers/net/ethernet/smsc/smc91c92_cs.c if (media != smc->media_status) { media 1802 drivers/net/ethernet/smsc/smc91c92_cs.c if ((media & smc->media_status & 1) && media 1803 drivers/net/ethernet/smsc/smc91c92_cs.c ((smc->media_status ^ media) & EPH_LINK_OK)) media 1806 drivers/net/ethernet/smsc/smc91c92_cs.c else if ((media & smc->media_status & 2) && media 1807 drivers/net/ethernet/smsc/smc91c92_cs.c ((smc->media_status ^ media) & EPH_16COL)) media 1809 drivers/net/ethernet/smsc/smc91c92_cs.c media & EPH_16COL ? "problem" : "ok"); media 1811 drivers/net/ethernet/smsc/smc91c92_cs.c if (media & 1) { media 1812 drivers/net/ethernet/smsc/smc91c92_cs.c if (media & EPH_LINK_OK) media 1817 drivers/net/ethernet/smsc/smc91c92_cs.c if (media & EPH_16COL) media 1823 drivers/net/ethernet/smsc/smc91c92_cs.c smc->media_status = media; media 1827 drivers/net/ethernet/smsc/smc91c92_cs.c smc->media.expires = jiffies + HZ; media 1828 drivers/net/ethernet/smsc/smc91c92_cs.c add_timer(&smc->media); media 84 drivers/net/ethernet/ti/tlan.c static const char * const media[] = { media 2312 drivers/net/ethernet/ti/tlan.c media[i-5]); media 261 drivers/net/ethernet/tundra/tsi108_eth.c int advert, lpa, val, media; media 274 drivers/net/ethernet/tundra/tsi108_eth.c media = mii_nway_result(advert & lpa); media 280 drivers/net/ethernet/tundra/tsi108_eth.c (media & (ADVERTISE_100FULL | ADVERTISE_100HALF) ? 100 : 10); media 509 drivers/net/mii.c int advertise, lpa, media, duplex; media 553 drivers/net/mii.c media = mii_nway_result(lpa & advertise); media 554 drivers/net/mii.c duplex = (media & ADVERTISE_FULL) ? 1 : 0; media 561 drivers/net/mii.c media & (ADVERTISE_100FULL | ADVERTISE_100HALF) ? media 612 drivers/scsi/bfa/bfa_defs.h char media[8]; /*!< xfi/xaui */ media 3654 drivers/scsi/bfa/bfa_ioc.c if (sfp->media) { media 3659 drivers/scsi/bfa/bfa_ioc.c sfp->media = NULL; media 3913 drivers/scsi/bfa/bfa_ioc.c enum bfa_defs_sfp_media_e *media = sfp->media; media 3915 drivers/scsi/bfa/bfa_ioc.c *media = BFA_SFP_MEDIA_UNKNOWN; media 3918 drivers/scsi/bfa/bfa_ioc.c *media = BFA_SFP_MEDIA_UNSUPPORT; media 3932 drivers/scsi/bfa/bfa_ioc.c *media = BFA_SFP_MEDIA_CU; media 3935 drivers/scsi/bfa/bfa_ioc.c *media = BFA_SFP_MEDIA_EL; media 3938 drivers/scsi/bfa/bfa_ioc.c *media = BFA_SFP_MEDIA_LW; media 3942 drivers/scsi/bfa/bfa_ioc.c *media = BFA_SFP_MEDIA_SW; media 3945 drivers/scsi/bfa/bfa_ioc.c *media = BFA_SFP_MEDIA_SW; media 3947 drivers/scsi/bfa/bfa_ioc.c *media = BFA_SFP_MEDIA_LW; media 3949 drivers/scsi/bfa/bfa_ioc.c *media = BFA_SFP_MEDIA_UNKNOWN; media 4038 drivers/scsi/bfa/bfa_ioc.c sfp->media = NULL; media 4102 drivers/scsi/bfa/bfa_ioc.c bfa_sfp_media(struct bfa_sfp_s *sfp, enum bfa_defs_sfp_media_e *media, media 4110 drivers/scsi/bfa/bfa_ioc.c sfp->media = media; media 432 drivers/scsi/bfa/bfa_ioc.h enum bfa_defs_sfp_media_e *media; media 459 drivers/scsi/bfa/bfa_ioc.h enum bfa_defs_sfp_media_e *media, media 1472 drivers/scsi/bfa/bfad_bsg.c iocmd->status = bfa_sfp_media(BFA_SFP_MOD(&bfad->bfa), &iocmd->media, media 537 drivers/scsi/bfa/bfad_bsg.h enum bfa_defs_sfp_media_e media; media 93 drivers/staging/media/tegra-vde/trace.h #define TRACE_INCLUDE_PATH ../../drivers/staging/media/tegra-vde media 70 fs/fat/inode.c unsigned media; media 77 fs/fat/inode.c .media = 0xFE, media 84 fs/fat/inode.c .media = 0xFC, media 91 fs/fat/inode.c .media = 0xFF, media 98 fs/fat/inode.c .media = 0xFD, media 1445 fs/fat/inode.c if (b->media) media 1499 fs/fat/inode.c if (!fat_valid_media(b->media)) { media 1502 fs/fat/inode.c (unsigned)b->media); media 567 include/linux/ide.h u8 media; /* disk, cdrom, tape, floppy, ... */ media 8 include/linux/msdos_fs.h static inline int fat_valid_media(u8 media) media 10 include/linux/msdos_fs.h return 0xf8 <= media || media == 0xf0; media 318 include/pcmcia/cistpl.h u_char media; media 57 include/uapi/linux/atmbr2684.h int media; /* BR2684_MEDIA_*, flags in upper bits */ media 118 include/uapi/linux/msdos_fs.h __u8 media; /* media code */ media 674 net/atm/br2684.c if (ni.media & BR2684_FLAG_ROUTED) media 678 net/atm/br2684.c ni.media &= 0xffff; /* strip flags */ media 680 net/atm/br2684.c if (ni.media != BR2684_MEDIA_ETHERNET || ni.mtu != 1500) media 828 net/netfilter/nf_conntrack_sip.c static void flush_expectations(struct nf_conn *ct, bool media) media 836 net/netfilter/nf_conntrack_sip.c if ((exp->class != SIP_EXPECT_SIGNALLING) ^ media) media 840 net/netfilter/nf_conntrack_sip.c if (!media) media 121 net/phonet/af_phonet.c u8 *media = skb_push(skb, 1); media 128 net/phonet/af_phonet.c *media = *(const u8 *)saddr; media 134 net/phonet/af_phonet.c const u8 *media = skb_mac_header(skb); media 135 net/phonet/af_phonet.c *haddr = *media; media 303 net/tipc/bearer.c b->media = m; media 367 net/tipc/bearer.c b->media->disable_media(b); media 380 net/tipc/bearer.c int hwaddr_len = b->media->hwaddr_len; media 417 net/tipc/bearer.c b->bcast_addr.media_id = b->media->type_id; media 420 net/tipc/bearer.c b->media->raw2addr(b, &b->addr, (char *)dev->dev_addr); media 508 net/tipc/bearer.c b->media->send_msg(net, skb, b, dest); media 533 net/tipc/bearer.c b->media->send_msg(net, skb, b, dst); media 560 net/tipc/bearer.c b->media->send_msg(net, skb, b, &b->bcast_addr); media 640 net/tipc/bearer.c b->media->raw2addr(b, &b->addr, media 770 net/tipc/bearer.c if (bearer->media->type_id == TIPC_MEDIA_TYPE_UDP) media 777 net/tipc/bearer.c if (bearer->media->type_id == TIPC_MEDIA_TYPE_UDP) { media 1062 net/tipc/bearer.c if (b->media->type_id != TIPC_MEDIA_TYPE_UDP) media 1089 net/tipc/bearer.c struct tipc_media *media, int nlflags) media 1104 net/tipc/bearer.c if (nla_put_string(msg->skb, TIPC_NLA_MEDIA_NAME, media->name)) media 1110 net/tipc/bearer.c if (nla_put_u32(msg->skb, TIPC_NLA_PROP_PRIO, media->priority)) media 1112 net/tipc/bearer.c if (nla_put_u32(msg->skb, TIPC_NLA_PROP_TOL, media->tolerance)) media 1114 net/tipc/bearer.c if (nla_put_u32(msg->skb, TIPC_NLA_PROP_WIN, media->window)) media 1116 net/tipc/bearer.c if (media->type_id == TIPC_MEDIA_TYPE_UDP) media 1117 net/tipc/bearer.c if (nla_put_u32(msg->skb, TIPC_NLA_PROP_MTU, media->mtu)) media 1167 net/tipc/bearer.c struct tipc_media *media; media 1193 net/tipc/bearer.c media = tipc_media_find(name); media 1194 net/tipc/bearer.c if (!media) { media 1199 net/tipc/bearer.c err = __tipc_nl_add_media(&msg, media, 0); media 156 net/tipc/bearer.h struct tipc_media *media; media 96 net/tipc/discover.c b->media->addr2msg(msg_media_addr(hdr), &b->addr); media 219 net/tipc/discover.c err = b->media->msg2addr(b, &maddr, msg_media_addr(hdr)); media 695 net/tipc/netlink_compat.c struct nlattr *media; media 700 net/tipc/netlink_compat.c media = nla_nest_start_noflag(skb, TIPC_NLA_MEDIA); media 701 net/tipc/netlink_compat.c if (!media) media 713 net/tipc/netlink_compat.c nla_nest_end(skb, media); media 778 net/tipc/netlink_compat.c struct tipc_media *media; media 792 net/tipc/netlink_compat.c media = tipc_media_find(lc->name); media 793 net/tipc/netlink_compat.c if (media) { media 1066 net/tipc/netlink_compat.c struct nlattr *media[TIPC_NLA_MEDIA_MAX + 1]; media 1072 net/tipc/netlink_compat.c err = nla_parse_nested_deprecated(media, TIPC_NLA_MEDIA_MAX, media 1078 net/tipc/netlink_compat.c nla_data(media[TIPC_NLA_MEDIA_NAME]), media 1079 net/tipc/netlink_compat.c nla_len(media[TIPC_NLA_MEDIA_NAME])); media 741 net/tipc/udp_media.c b->mtu = b->media->mtu; media 157 sound/soc/intel/boards/bytcht_cx2072x.c SND_SOC_DAILINK_DEF(media, media 181 sound/soc/intel/boards/bytcht_cx2072x.c SND_SOC_DAILINK_REG(media, dummy, platform), media 156 sound/soc/intel/boards/bytcht_da7213.c SND_SOC_DAILINK_DEF(media, media 180 sound/soc/intel/boards/bytcht_da7213.c SND_SOC_DAILINK_REG(media, dummy, platform), media 305 sound/soc/intel/boards/bytcht_es8316.c SND_SOC_DAILINK_DEF(media, media 328 sound/soc/intel/boards/bytcht_es8316.c SND_SOC_DAILINK_REG(media, dummy, platform), media 103 sound/soc/intel/boards/bytcht_nocodec.c SND_SOC_DAILINK_DEF(media, media 125 sound/soc/intel/boards/bytcht_nocodec.c SND_SOC_DAILINK_REG(media, dummy, platform), media 1041 sound/soc/intel/boards/bytcr_rt5640.c SND_SOC_DAILINK_DEF(media, media 1067 sound/soc/intel/boards/bytcr_rt5640.c SND_SOC_DAILINK_REG(media, dummy, platform), media 743 sound/soc/intel/boards/bytcr_rt5651.c SND_SOC_DAILINK_DEF(media, media 766 sound/soc/intel/boards/bytcr_rt5651.c SND_SOC_DAILINK_REG(media, dummy, platform), media 335 sound/soc/intel/boards/cht_bsw_max98090_ti.c SND_SOC_DAILINK_DEF(media, media 358 sound/soc/intel/boards/cht_bsw_max98090_ti.c SND_SOC_DAILINK_REG(media, dummy, platform), media 173 sound/soc/intel/boards/cht_bsw_nau8824.c SND_SOC_DAILINK_DEF(media, media 201 sound/soc/intel/boards/cht_bsw_nau8824.c SND_SOC_DAILINK_REG(media, dummy, platform), media 432 sound/soc/intel/boards/cht_bsw_rt5645.c SND_SOC_DAILINK_DEF(media, media 455 sound/soc/intel/boards/cht_bsw_rt5645.c SND_SOC_DAILINK_REG(media, dummy, platform), media 294 sound/soc/intel/boards/cht_bsw_rt5672.c SND_SOC_DAILINK_DEF(media, media 319 sound/soc/intel/boards/cht_bsw_rt5672.c SND_SOC_DAILINK_REG(media, dummy, platform),