tag | line | file | source code |
media | 462 | drivers/block/ide.c | if (drive->media != disk) |
media | 487 | drivers/block/ide.c | if (drive->present && drive->media == cdrom) |
media | 491 | drivers/block/ide.c | if (!drive->present || drive->media != disk) { |
media | 695 | drivers/block/ide.c | if (drive->media == cdrom) { |
media | 785 | drivers/block/ide.c | if (drive->media == disk) { |
media | 806 | drivers/block/ide.c | if (drive->media == disk) { |
media | 882 | drivers/block/ide.c | if (drive->media == disk && (stat & ERR_STAT)) { |
media | 1155 | drivers/block/ide.c | if (drive->media == disk) { |
media | 1164 | drivers/block/ide.c | if (drive->media == disk) { |
media | 1169 | drivers/block/ide.c | if (drive->media == disk) { |
media | 1370 | drivers/block/ide.c | switch (drive->media) { |
media | 1379 | drivers/block/ide.c | drive->name, drive->media); |
media | 1674 | drivers/block/ide.c | if (drive->media == cdrom) |
media | 1697 | drivers/block/ide.c | if (drive->media == cdrom) |
media | 1749 | drivers/block/ide.c | if (drive->media == disk) |
media | 1783 | drivers/block/ide.c | if (!loc || drive->media != disk) return -EINVAL; |
media | 1842 | drivers/block/ide.c | if (drive->media != disk) |
media | 1930 | drivers/block/ide.c | if (drive->media == cdrom) |
media | 1944 | drivers/block/ide.c | if (drive->media == cdrom) |
media | 2022 | drivers/block/ide.c | drive->media = cdrom; |
media | 2042 | drivers/block/ide.c | drive->media = disk; |
media | 2200 | drivers/block/ide.c | if ((drive->media == cdrom) && (cmd == WIN_IDENTIFY)) |
media | 2206 | drivers/block/ide.c | drive->name, drive->present, drive->media ? "cdrom":"disk", |
media | 2257 | drivers/block/ide.c | if (drive->media == disk) { |
media | 2262 | drivers/block/ide.c | else if (drive->media == cdrom) { |
media | 2271 | drivers/block/ide.c | if (drive->media == disk && !drive->select.b.lba) { |
media | 2601 | drivers/block/ide.c | drive->media = cdrom; |
media | 2608 | drivers/block/ide.c | drive->media = disk; |
media | 269 | drivers/block/ide.h | media_t media; /* disk, cdrom, tape */ |
media | 381 | drivers/net/de4x5.c | int media; /* Media (eg TP), mode (eg 100B)*/ |
media | 1284 | drivers/net/de4x5.c | if (((lp->media == _100Mb) && (gep & GEP_SLNK)) || |
media | 1285 | drivers/net/de4x5.c | ((lp->media == _10Mb) && (gep & GEP_LNP)) || |
media | 1286 | drivers/net/de4x5.c | ((lp->media == _10Mb) && !(gep & GEP_SLNK)) || |
media | 1287 | drivers/net/de4x5.c | (lp->media == NC)) { |
media | 1288 | drivers/net/de4x5.c | if (lp->linkProb || ((lp->media == NC) && (!(gep & GEP_LNP)))) { |
media | 1293 | drivers/net/de4x5.c | switch(lp->media) { |
media | 1772 | drivers/net/de4x5.c | lp->media = (lp->autosense == AUTO ? TP : lp->autosense); |
media | 1775 | drivers/net/de4x5.c | lp->media = (lp->autosense == AUTO ? TP_NW : lp->autosense); |
media | 1779 | drivers/net/de4x5.c | lp->media = (lp->autosense == AUTO ? _10Mb : lp->autosense); |
media | 1785 | drivers/net/de4x5.c | printk("media is %s\n", (lp->media == NC ? "unconnected!" : |
media | 1786 | drivers/net/de4x5.c | (lp->media == TP ? "TP." : |
media | 1787 | drivers/net/de4x5.c | (lp->media == ANS ? "TP/Nway." : |
media | 1788 | drivers/net/de4x5.c | (lp->media == BNC ? "BNC." : |
media | 1789 | drivers/net/de4x5.c | (lp->media == AUI ? "AUI." : |
media | 1793 | drivers/net/de4x5.c | printk("mode is %s\n",(lp->media == NC ? "link down.": |
media | 1794 | drivers/net/de4x5.c | (lp->media == _100Mb ? "100Mb/s." : |
media | 1795 | drivers/net/de4x5.c | (lp->media == _10Mb ? "10Mb/s." : |
media | 1801 | drivers/net/de4x5.c | if (lp->media) { |
media | 1804 | drivers/net/de4x5.c | if ((lp->media == TP) || (lp->media == ANS)) { |
media | 1810 | drivers/net/de4x5.c | return (lp->media); |
media | 1820 | drivers/net/de4x5.c | switch (lp->media) { |
media | 1828 | drivers/net/de4x5.c | lp->media = BNC_AUI; |
media | 1840 | drivers/net/de4x5.c | lp->media = NC; |
media | 1870 | drivers/net/de4x5.c | switch (lp->media) { |
media | 1878 | drivers/net/de4x5.c | lp->media = ANS; |
media | 1880 | drivers/net/de4x5.c | lp->media = AUI; |
media | 1890 | drivers/net/de4x5.c | lp->media = TP; |
media | 1903 | drivers/net/de4x5.c | lp->media = AUI; |
media | 1905 | drivers/net/de4x5.c | lp->media = BNC; |
media | 1918 | drivers/net/de4x5.c | lp->media = BNC; |
media | 1930 | drivers/net/de4x5.c | lp->media = NC; |
media | 1932 | drivers/net/de4x5.c | if (ping_media(dev)) lp->media = NC; |
media | 1955 | drivers/net/de4x5.c | switch(lp->media) { |
media | 273 | fs/msdos/inode.c | "se=%d,ts=%ld,ls=%d]\n",b->media,MSDOS_SB(sb)->cluster_size, |
media | 77 | include/linux/msdos_fs.h | __u8 media; /* media code (unused) */ |