Searched refs:media_status (Results 1 – 8 of 8) sorted by relevance
133 u16 media_status; member407 lp->media_status = ((dev->if_port == 0) ? 0x8000 : 0x4000); in tc589_set_xcvr()409 lp->media_status = ((dev->if_port == 0) ? 0x4010 : 0x8800); in tc589_set_xcvr()711 if (errs || (lp->media_status & 0x0010)) media |= 0x0010; in media_check()714 if (media != lp->media_status) { in media_check()715 if ((media & lp->media_status & 0x8000) && in media_check()716 ((lp->media_status ^ media) & 0x0800)) in media_check()718 (lp->media_status & 0x0800 ? "lost" : "found")); in media_check()719 else if ((media & lp->media_status & 0x4000) && in media_check()720 ((lp->media_status ^ media) & 0x0010)) in media_check()[all …]
205 unsigned short media_status; member900 if (media != lp->media_status) { in media_check()901 if ((media ^ lp->media_status) & 0x0004) in media_check()903 (lp->media_status & 0x0004) ? "lost" : "found"); in media_check()904 if ((media ^ lp->media_status) & 0x0020) { in media_check()906 if (lp->media_status & 0x0020) { in media_check()929 lp->media_status = media; in media_check()
889 int media_status; in corkscrew_timer() local891 media_status = inw(ioaddr + Wn4_Media); in corkscrew_timer()896 if (media_status & Media_LnkBeat) { in corkscrew_timer()902 media_status); in corkscrew_timer()907 media_status); in corkscrew_timer()915 media_status); in corkscrew_timer()941 outw((media_status & ~(Media_10TP | Media_SQE)) | in corkscrew_timer()
1806 int media_status; in vortex_timer() local1814 media_status = window_read16(vp, 4, Wn4_Media); in vortex_timer()1817 if (media_status & Media_LnkBeat) { in vortex_timer()1822 dev->name, media_tbl[dev->if_port].name, media_status); in vortex_timer()1827 dev->name, media_tbl[dev->if_port].name, media_status); in vortex_timer()1840 dev->name, media_tbl[dev->if_port].name, media_status); in vortex_timer()1870 (media_status & ~(Media_10TP|Media_SQE)) | in vortex_timer()
234 int media_status; /* media present ? WP ? */ member291 pf->media_status = PF_NM; in pf_init_units()313 if (pf->media_status == PF_NM) in pf_open()317 if ((pf->media_status == PF_RO) && (mode & FMODE_WRITE)) in pf_open()575 pf->media_status = PF_RW; in pf_mode_sense()577 pf->media_status = PF_RO; in pf_mode_sense()611 pf->media_status = PF_NM; in pf_get_capacity()661 if (pf->media_status == PF_NM) in pf_identify()664 if (pf->media_status == PF_RO) in pf_identify()
111 u_short media_status; member1629 smc->media_status = ((dev->if_port == 0) ? 0x0001 : 0x0002); in smc_set_xcvr()1635 smc->media_status = ((dev->if_port == 0) ? 0x0012 : 0x4001); in smc_set_xcvr()1800 if (smc->tx_err || (smc->media_status & EPH_16COL)) in media_check()1805 if (media != smc->media_status) { in media_check()1806 if ((media & smc->media_status & 1) && in media_check()1807 ((smc->media_status ^ media) & EPH_LINK_OK)) in media_check()1809 smc->media_status & EPH_LINK_OK ? "lost" : "found"); in media_check()1810 else if ((media & smc->media_status & 2) && in media_check()1811 ((smc->media_status ^ media) & EPH_16COL)) in media_check()[all …]
546 __le32 media_status; member
393 enum i2400m_media_status status = le32_to_cpu(ms->media_status); in i2400m_report_tlv_media_status()461 tag, le32_to_cpu(ms->media_status)); in i2400m_report_state_parse_tlv()