Lines Matching refs:media
127 struct timer_list media; member
1311 smc->media.function = &media_check; in smc_open()
1312 smc->media.data = (u_long)smc; in smc_open()
1313 smc->media.expires = jiffies + HZ; in smc_open()
1314 add_timer(&smc->media); in smc_open()
1345 del_timer(&smc->media); in smc_close()
1976 u_short i, media, saved_bank; in media_check() local
1993 media = inw(ioaddr + EPH) & EPH_LINK_OK; in media_check()
1995 media |= (inw(ioaddr + CONFIG) & CFG_AUI_SELECT) ? 2 : 1; in media_check()
2007 smc->media.expires = jiffies + 1; in media_check()
2008 add_timer(&smc->media); in media_check()
2048 media |= EPH_16COL; in media_check()
2052 if (media != smc->media_status) { in media_check()
2053 if ((media & smc->media_status & 1) && in media_check()
2054 ((smc->media_status ^ media) & EPH_LINK_OK)) in media_check()
2057 else if ((media & smc->media_status & 2) && in media_check()
2058 ((smc->media_status ^ media) & EPH_16COL)) in media_check()
2060 (media & EPH_16COL ? "problem" : "ok")); in media_check()
2062 if (media & 1) { in media_check()
2063 if (media & EPH_LINK_OK) in media_check()
2069 if (media & EPH_16COL) in media_check()
2076 smc->media_status = media; in media_check()
2080 smc->media.expires = jiffies + HZ; in media_check()
2081 add_timer(&smc->media); in media_check()