tag | line | file | source code |
media | 503 | drivers/block/ide.c | if (drive->media != ide_disk) |
media | 528 | drivers/block/ide.c | if (drive->present && drive->media == ide_cdrom) |
media | 532 | drivers/block/ide.c | if (drive->present && drive->media == ide_tape) |
media | 536 | drivers/block/ide.c | if (!drive->present || drive->media != ide_disk) { |
media | 697 | drivers/block/ide.c | if (drive->media != ide_disk) { |
media | 797 | drivers/block/ide.c | if (drive->media == ide_disk) { |
media | 818 | drivers/block/ide.c | if (drive->media == ide_disk) { |
media | 891 | drivers/block/ide.c | if (drive->media == ide_disk && (stat & ERR_STAT)) { |
media | 1149 | drivers/block/ide.c | if (drive->media == ide_disk) { |
media | 1158 | drivers/block/ide.c | if (drive->media == ide_disk) { |
media | 1163 | drivers/block/ide.c | if (drive->media == ide_disk) { |
media | 1372 | drivers/block/ide.c | switch (drive->media) { |
media | 1390 | drivers/block/ide.c | drive->name, drive->media); |
media | 1721 | drivers/block/ide.c | if (drive->media == ide_cdrom) |
media | 1725 | drivers/block/ide.c | if (drive->media == ide_tape) |
media | 1756 | drivers/block/ide.c | if (drive->media == ide_cdrom) { |
media | 1762 | drivers/block/ide.c | if (drive->media == ide_tape) { |
media | 1818 | drivers/block/ide.c | if (drive->media == ide_disk) |
media | 1854 | drivers/block/ide.c | if (!loc || drive->media != ide_disk) return -EINVAL; |
media | 1913 | drivers/block/ide.c | if (drive->media != ide_disk) |
media | 2006 | drivers/block/ide.c | if (drive->media == ide_cdrom) |
media | 2010 | drivers/block/ide.c | if (drive->media == ide_tape) |
media | 2024 | drivers/block/ide.c | if (drive->media == ide_cdrom) |
media | 2106 | drivers/block/ide.c | drive->media = ide_cdrom; |
media | 2118 | drivers/block/ide.c | drive->media = ide_tape; |
media | 2145 | drivers/block/ide.c | drive->media = ide_disk; |
media | 2306 | drivers/block/ide.c | if ((drive->media != ide_disk) && (cmd == WIN_IDENTIFY)) |
media | 2312 | drivers/block/ide.c | drive->name, drive->present, drive->media, |
media | 2363 | drivers/block/ide.c | if (drive->media == ide_disk) { |
media | 2368 | drivers/block/ide.c | else if (drive->media == ide_cdrom) { |
media | 2377 | drivers/block/ide.c | if (drive->media == ide_disk && !drive->select.b.lba) { |
media | 2661 | drivers/block/ide.c | drive->media = ide_cdrom; |
media | 2668 | drivers/block/ide.c | drive->media = ide_disk; |
media | 324 | drivers/block/ide.h | ide_media_t media; /* disk, cdrom, tape */ |
media | 374 | drivers/net/de4x5.c | int media; /* Media (eg TP), mode (eg 100B)*/ |
media | 1275 | drivers/net/de4x5.c | if (((lp->media == _100Mb) && (gep & GEP_SLNK)) || |
media | 1276 | drivers/net/de4x5.c | ((lp->media == _10Mb) && (gep & GEP_LNP)) || |
media | 1277 | drivers/net/de4x5.c | ((lp->media == _10Mb) && !(gep & GEP_SLNK)) || |
media | 1278 | drivers/net/de4x5.c | (lp->media == NC)) { |
media | 1279 | drivers/net/de4x5.c | if (lp->linkProb || ((lp->media == NC) && (!(gep & GEP_LNP)))) { |
media | 1284 | drivers/net/de4x5.c | switch(lp->media) { |
media | 1760 | drivers/net/de4x5.c | lp->media = (lp->autosense == AUTO ? TP : lp->autosense); |
media | 1763 | drivers/net/de4x5.c | lp->media = (lp->autosense == AUTO ? TP_NW : lp->autosense); |
media | 1767 | drivers/net/de4x5.c | lp->media = (lp->autosense == AUTO ? _10Mb : lp->autosense); |
media | 1773 | drivers/net/de4x5.c | printk("media is %s\n", (lp->media == NC ? "unconnected!" : |
media | 1774 | drivers/net/de4x5.c | (lp->media == TP ? "TP." : |
media | 1775 | drivers/net/de4x5.c | (lp->media == ANS ? "TP/Nway." : |
media | 1776 | drivers/net/de4x5.c | (lp->media == BNC ? "BNC." : |
media | 1777 | drivers/net/de4x5.c | (lp->media == AUI ? "AUI." : |
media | 1781 | drivers/net/de4x5.c | printk("mode is %s\n",(lp->media == NC ? "link down.": |
media | 1782 | drivers/net/de4x5.c | (lp->media == _100Mb ? "100Mb/s." : |
media | 1783 | drivers/net/de4x5.c | (lp->media == _10Mb ? "10Mb/s." : |
media | 1789 | drivers/net/de4x5.c | if (lp->media) { |
media | 1792 | drivers/net/de4x5.c | if ((lp->media == TP) || (lp->media == ANS)) { |
media | 1798 | drivers/net/de4x5.c | return (lp->media); |
media | 1808 | drivers/net/de4x5.c | switch (lp->media) { |
media | 1816 | drivers/net/de4x5.c | lp->media = BNC_AUI; |
media | 1828 | drivers/net/de4x5.c | lp->media = EXT_SIA; |
media | 1838 | drivers/net/de4x5.c | lp->media = NC; |
media | 1868 | drivers/net/de4x5.c | switch (lp->media) { |
media | 1876 | drivers/net/de4x5.c | lp->media = ANS; |
media | 1878 | drivers/net/de4x5.c | lp->media = AUI; |
media | 1888 | drivers/net/de4x5.c | lp->media = TP; |
media | 1901 | drivers/net/de4x5.c | lp->media = AUI; |
media | 1903 | drivers/net/de4x5.c | lp->media = BNC; |
media | 1916 | drivers/net/de4x5.c | lp->media = BNC; |
media | 1928 | drivers/net/de4x5.c | lp->media = NC; |
media | 1930 | drivers/net/de4x5.c | if (ping_media(dev)) lp->media = NC; |
media | 1953 | drivers/net/de4x5.c | switch(lp->media) { |
media | 275 | fs/msdos/inode.c | "se=%d,ts=%ld,ls=%d]\n",b->media,MSDOS_SB(sb)->cluster_size, |
media | 82 | include/linux/msdos_fs.h | __u8 media; /* media code (unused) */ |