Searched refs:media_status (Results 1 – 11 of 11) sorted by relevance
/linux/drivers/net/ethernet/3com/ |
A D | 3c589_cs.c | 136 u16 media_status; member 420 lp->media_status = ((dev->if_port == 0) ? 0x8000 : 0x4000); in tc589_set_xcvr() 727 if (errs || (lp->media_status & 0x0010)) in media_check() 731 if (media != lp->media_status) { in media_check() 732 if ((media & lp->media_status & 0x8000) && in media_check() 733 ((lp->media_status ^ media) & 0x0800)) in media_check() 735 (lp->media_status & 0x0800 ? "lost" : "found")); in media_check() 736 else if ((media & lp->media_status & 0x4000) && in media_check() 737 ((lp->media_status ^ media) & 0x0010)) in media_check() 739 (lp->media_status & 0x0010 ? "ok" : "problem")); in media_check() [all …]
|
A D | 3c574_cs.c | 204 unsigned short media_status; member 895 if (media != lp->media_status) { in media_check() 896 if ((media ^ lp->media_status) & 0x0004) in media_check() 898 (lp->media_status & 0x0004) ? "lost" : "found"); in media_check() 899 if ((media ^ lp->media_status) & 0x0020) { in media_check() 901 if (lp->media_status & 0x0020) { in media_check() 924 lp->media_status = media; in media_check()
|
A D | 3c515.c | 877 int media_status; in corkscrew_timer() local 879 media_status = inw(ioaddr + Wn4_Media); in corkscrew_timer() 884 if (media_status & Media_LnkBeat) { in corkscrew_timer() 890 media_status); in corkscrew_timer() 895 media_status); in corkscrew_timer() 903 media_status); in corkscrew_timer() 929 outw((media_status & ~(Media_10TP | Media_SQE)) | in corkscrew_timer()
|
A D | 3c59x.c | 1791 int media_status; in vortex_timer() local 1799 media_status = window_read16(vp, 4, Wn4_Media); in vortex_timer() 1802 if (media_status & Media_LnkBeat) { in vortex_timer() 1807 dev->name, media_tbl[dev->if_port].name, media_status); in vortex_timer() 1812 dev->name, media_tbl[dev->if_port].name, media_status); in vortex_timer() 1825 dev->name, media_tbl[dev->if_port].name, media_status); in vortex_timer() 1855 (media_status & ~(Media_10TP|Media_SQE)) | in vortex_timer()
|
/linux/drivers/block/paride/ |
A D | pf.c | 234 int media_status; /* media present ? WP ? */ member 296 if (pf->media_status == PF_NM) in pf_open() 300 if ((pf->media_status == PF_RO) && (mode & FMODE_WRITE)) in pf_open() 557 pf->media_status = PF_RW; in pf_mode_sense() 559 pf->media_status = PF_RO; in pf_mode_sense() 593 pf->media_status = PF_NM; in pf_get_capacity() 643 if (pf->media_status == PF_NM) in pf_identify() 646 if (pf->media_status == PF_RO) in pf_identify() 954 pf->media_status = PF_NM; in pf_init_unit()
|
/linux/drivers/net/ethernet/smsc/ |
A D | smc91c92_cs.c | 110 u_short media_status; member 1628 smc->media_status = ((dev->if_port == 0) ? 0x0001 : 0x0002); in smc_set_xcvr() 1634 smc->media_status = ((dev->if_port == 0) ? 0x0012 : 0x4001); in smc_set_xcvr() 1799 if (smc->tx_err || (smc->media_status & EPH_16COL)) in media_check() 1804 if (media != smc->media_status) { in media_check() 1805 if ((media & smc->media_status & 1) && in media_check() 1806 ((smc->media_status ^ media) & EPH_LINK_OK)) in media_check() 1808 smc->media_status & EPH_LINK_OK ? "lost" : "found"); in media_check() 1809 else if ((media & smc->media_status & 2) && in media_check() 1810 ((smc->media_status ^ media) & EPH_16COL)) in media_check() [all …]
|
/linux/drivers/net/wireless/realtek/rtlwifi/btcoexist/ |
A D | halbtcoutsrc.h | 762 enum rt_media_status media_status);
|
A D | halbtcoutsrc.c | 1598 enum rt_media_status media_status) in exhalbtc_mediastatus_notify() argument 1608 if (RT_MEDIA_CONNECT == media_status) in exhalbtc_mediastatus_notify()
|
/linux/drivers/staging/r8188eu/core/ |
A D | rtw_mlme.c | 1245 u16 media_status; in rtw_stadel_event_callback() local 1246 media_status = (mac_id << 8) | 0; /* MACID|OPMODE:0 means disconnect */ in rtw_stadel_event_callback() 1248 SetHwReg8188EU(adapter, HW_VAR_H2C_MEDIA_STATUS_RPT, (u8 *)&media_status); in rtw_stadel_event_callback()
|
A D | rtw_mlme_ext.c | 6991 u16 media_status; in mlmeext_joinbss_event_callback() local 7045 media_status = (psta->mac_id << 8) | 1; /* MACID|OPMODE: 1 means connect */ in mlmeext_joinbss_event_callback() 7046 SetHwReg8188EU(padapter, HW_VAR_H2C_MEDIA_STATUS_RPT, (u8 *)&media_status); in mlmeext_joinbss_event_callback()
|
/linux/drivers/staging/rtl8723bs/core/ |
A D | rtw_mlme.c | 1421 u16 media_status; in rtw_stadel_event_callback() local 1423 media_status = (mac_id<<8)|0; /* MACID|OPMODE:0 means disconnect */ in rtw_stadel_event_callback() 1425 rtw_hal_set_hwreg(adapter, HW_VAR_H2C_MEDIA_STATUS_RPT, (u8 *)&media_status); in rtw_stadel_event_callback()
|
Completed in 59 milliseconds