Lines Matching refs:media
203 struct timer_list media; member
380 timer_setup(&lp->media, media_check, 0); in tc574_config()
684 lp->media.expires = jiffies + HZ; in el3_open()
685 add_timer(&lp->media); in el3_open()
862 struct el3_private *lp = from_timer(lp, t, media); in media_check()
866 unsigned short /* cable, */ media, partner; in media_check() local
885 lp->media.expires = jiffies + 2*HZ/100; in media_check()
886 add_timer(&lp->media); in media_check()
892 media = mdio_read(ioaddr, lp->phys, 1); in media_check()
896 if (media != lp->media_status) { in media_check()
897 if ((media ^ lp->media_status) & 0x0004) in media_check()
900 if ((media ^ lp->media_status) & 0x0020) { in media_check()
921 if (media & 0x0010) in media_check()
923 if (media & 0x0002) in media_check()
925 lp->media_status = media; in media_check()
930 lp->media.expires = jiffies + HZ; in media_check()
931 add_timer(&lp->media); in media_check()
1144 del_timer_sync(&lp->media); in el3_close()