Searched refs:media_status (Results 1 – 11 of 11) sorted by relevance
/linux-6.6.21/drivers/net/ethernet/3com/ |
D | 3c589_cs.c | 136 u16 media_status; member 429 lp->media_status = ((dev->if_port == 0) ? 0x8000 : 0x4000); in tc589_set_xcvr() 431 lp->media_status = ((dev->if_port == 0) ? 0x4010 : 0x8800); in tc589_set_xcvr() 736 if (errs || (lp->media_status & 0x0010)) in media_check() 740 if (media != lp->media_status) { in media_check() 741 if ((media & lp->media_status & 0x8000) && in media_check() 742 ((lp->media_status ^ media) & 0x0800)) in media_check() 744 (lp->media_status & 0x0800 ? "lost" : "found")); in media_check() 745 else if ((media & lp->media_status & 0x4000) && in media_check() 746 ((lp->media_status ^ media) & 0x0010)) in media_check() [all …]
|
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()
|
D | 3c515.c | 879 int media_status; in corkscrew_timer() local 881 media_status = inw(ioaddr + Wn4_Media); in corkscrew_timer() 886 if (media_status & Media_LnkBeat) { in corkscrew_timer() 892 media_status); in corkscrew_timer() 897 media_status); in corkscrew_timer() 905 media_status); in corkscrew_timer() 931 outw((media_status & ~(Media_10TP | Media_SQE)) | in corkscrew_timer()
|
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-6.6.21/drivers/net/ethernet/smsc/ |
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-6.6.21/drivers/cxl/core/ |
D | trace.h | 562 __field(u8, media_status) 579 __entry->media_status = rec->info.media_status; 594 show_media_status(__entry->media_status),
|
/linux-6.6.21/tools/testing/cxl/test/ |
D | mem.c | 97 u8 media_status; member 405 .media_status = CXL_DHI_MS_ALL_DATA_LOST, 975 .media_status = 0x3, in mock_health_info()
|
/linux-6.6.21/drivers/cxl/ |
D | cxlmem.h | 692 u8 media_status; member
|
/linux-6.6.21/drivers/net/wireless/realtek/rtlwifi/btcoexist/ |
D | halbtcoutsrc.h | 762 enum rt_media_status media_status);
|
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-6.6.21/drivers/staging/rtl8723bs/core/ |
D | rtw_mlme.c | 1415 u16 media_status; in rtw_stadel_event_callback() local 1417 media_status = (mac_id<<8)|0; /* MACID|OPMODE:0 means disconnect */ in rtw_stadel_event_callback() 1419 rtw_hal_set_hwreg(adapter, HW_VAR_H2C_MEDIA_STATUS_RPT, (u8 *)&media_status); in rtw_stadel_event_callback()
|