tag | line | file | source code |
media | 501 | drivers/block/ide.c | if (drive->media != ide_disk) |
media | 526 | drivers/block/ide.c | if (drive->present && drive->media == ide_cdrom) |
media | 530 | drivers/block/ide.c | if (drive->present && drive->media == ide_tape) |
media | 534 | drivers/block/ide.c | if (!drive->present || drive->media != ide_disk) { |
media | 695 | drivers/block/ide.c | if (drive->media != ide_disk) { |
media | 795 | drivers/block/ide.c | if (drive->media == ide_disk) { |
media | 816 | drivers/block/ide.c | if (drive->media == ide_disk) { |
media | 882 | drivers/block/ide.c | if (rq->cmd != READ && rq->cmd != WRITE && drive->media != ide_cdrom) { |
media | 890 | drivers/block/ide.c | if (drive->media == ide_disk && (stat & ERR_STAT)) { |
media | 1148 | drivers/block/ide.c | if (drive->media == ide_disk) { |
media | 1157 | drivers/block/ide.c | if (drive->media == ide_disk) { |
media | 1162 | drivers/block/ide.c | if (drive->media == ide_disk) { |
media | 1371 | drivers/block/ide.c | switch (drive->media) { |
media | 1389 | drivers/block/ide.c | drive->name, drive->media); |
media | 1720 | drivers/block/ide.c | if (drive->media == ide_cdrom) |
media | 1724 | drivers/block/ide.c | if (drive->media == ide_tape) |
media | 1755 | drivers/block/ide.c | if (drive->media == ide_cdrom) { |
media | 1761 | drivers/block/ide.c | if (drive->media == ide_tape) { |
media | 1817 | drivers/block/ide.c | if (drive->media == ide_disk) |
media | 1853 | drivers/block/ide.c | if (!loc || drive->media != ide_disk) return -EINVAL; |
media | 1912 | drivers/block/ide.c | if (drive->media != ide_disk) |
media | 2005 | drivers/block/ide.c | if (drive->media == ide_cdrom) |
media | 2009 | drivers/block/ide.c | if (drive->media == ide_tape) |
media | 2023 | drivers/block/ide.c | if (drive->media == ide_cdrom) |
media | 2105 | drivers/block/ide.c | drive->media = ide_cdrom; |
media | 2117 | drivers/block/ide.c | drive->media = ide_tape; |
media | 2144 | drivers/block/ide.c | drive->media = ide_disk; |
media | 2308 | drivers/block/ide.c | if ((drive->media != ide_disk) && (cmd == WIN_IDENTIFY)) |
media | 2314 | drivers/block/ide.c | drive->name, drive->present, drive->media, |
media | 2365 | drivers/block/ide.c | if (drive->media == ide_disk) { |
media | 2370 | drivers/block/ide.c | else if (drive->media == ide_cdrom) { |
media | 2379 | drivers/block/ide.c | if (drive->media == ide_disk && !drive->select.b.lba) { |
media | 2659 | drivers/block/ide.c | drive->media = ide_cdrom; |
media | 2666 | drivers/block/ide.c | drive->media = ide_disk; |
media | 325 | 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 | 279 | 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) */ |