Searched refs:PHY_REG (Results 1 – 7 of 7) sorted by relevance
/Linux-v5.4/drivers/net/ethernet/intel/e1000e/ |
D | ich8lan.h | 107 #define PHY_REG(page, reg) (((page) << PHY_PAGE_SHIFT) | \ macro 109 #define IGP3_KMRN_DIAG PHY_REG(770, 19) /* KMRN Diagnostic */ 110 #define IGP3_VR_CTRL PHY_REG(776, 18) /* Voltage Regulator Control */ 117 #define BM_PORT_GEN_CFG PHY_REG(BM_PORT_CTRL_PAGE, 17) 118 #define BM_RCTL PHY_REG(BM_WUC_PAGE, 0) 119 #define BM_WUC PHY_REG(BM_WUC_PAGE, 1) 120 #define BM_WUFC PHY_REG(BM_WUC_PAGE, 2) 121 #define BM_WUS PHY_REG(BM_WUC_PAGE, 3) 136 #define HV_LED_CONFIG PHY_REG(768, 30) /* LED Configuration */ 137 #define HV_MUX_DATA_CTRL PHY_REG(776, 16) [all …]
|
D | ethtool.c | 1354 e1e_rphy(hw, PHY_REG(2, 21), &phy_reg); in e1000_integrated_phy_loopback() 1357 e1e_wphy(hw, PHY_REG(2, 21), phy_reg); in e1000_integrated_phy_loopback() 1362 e1e_rphy(hw, PHY_REG(769, 16), &phy_reg); in e1000_integrated_phy_loopback() 1363 e1e_wphy(hw, PHY_REG(769, 16), phy_reg | 0x000C); in e1000_integrated_phy_loopback() 1365 e1e_rphy(hw, PHY_REG(776, 16), &phy_reg); in e1000_integrated_phy_loopback() 1366 e1e_wphy(hw, PHY_REG(776, 16), phy_reg | 0x0040); in e1000_integrated_phy_loopback() 1368 e1e_rphy(hw, PHY_REG(769, 16), &phy_reg); in e1000_integrated_phy_loopback() 1369 e1e_wphy(hw, PHY_REG(769, 16), phy_reg | 0x0040); in e1000_integrated_phy_loopback() 1371 e1e_rphy(hw, PHY_REG(769, 20), &phy_reg); in e1000_integrated_phy_loopback() 1372 e1e_wphy(hw, PHY_REG(769, 20), phy_reg | 0x0400); in e1000_integrated_phy_loopback() [all …]
|
D | ich8lan.c | 1458 PHY_REG(776, 20), in e1000_check_for_copper_link_ich8lan() 1471 PHY_REG(776, 20), in e1000_check_for_copper_link_ich8lan() 1483 PHY_REG(776, 20), in e1000_check_for_copper_link_ich8lan() 2235 ret_val = e1e_wphy_locked(hw, PHY_REG(770, 19), 0x0100); in e1000_k1_gig_workaround_hv() 2241 ret_val = e1e_wphy_locked(hw, PHY_REG(770, 19), 0x4100); in e1000_k1_gig_workaround_hv() 2418 ret_val = e1e_wphy(hw, PHY_REG(769, 25), 0x4431); in e1000_hv_phy_workarounds_ich8lan() 2533 e1e_rphy(hw, PHY_REG(769, 20), &phy_reg); in e1000_lv_jumbo_workaround_ich8lan() 2534 ret_val = e1e_wphy(hw, PHY_REG(769, 20), phy_reg | BIT(14)); in e1000_lv_jumbo_workaround_ich8lan() 2597 e1e_rphy(hw, PHY_REG(769, 23), &data); in e1000_lv_jumbo_workaround_ich8lan() 2600 ret_val = e1e_wphy(hw, PHY_REG(769, 23), data); in e1000_lv_jumbo_workaround_ich8lan() [all …]
|
D | netdev.c | 3077 e1e_rphy(hw, PHY_REG(770, 26), &phy_data); in e1000_setup_rctl() 3080 e1e_wphy(hw, PHY_REG(770, 26), phy_data); in e1000_setup_rctl()
|
/Linux-v5.4/drivers/net/dsa/ |
D | lan9303_mdio.c | 18 #define PHY_REG(x) (((x) >> 1) & 0x1f) macro 27 mdio->bus->write(mdio->bus, PHY_ADDR(reg), PHY_REG(reg), val); in lan9303_mdio_real_write() 45 return mdio->bus->read(mdio->bus, PHY_ADDR(reg), PHY_REG(reg)); in lan9303_mdio_real_read()
|
/Linux-v5.4/drivers/net/ethernet/intel/e1000/ |
D | e1000_hw.h | 2915 #define PHY_REG(page, reg) \ macro 2919 PHY_REG(769, 17) /* Port General Configuration */ 2921 PHY_REG(769, 25) /* Rate Adapter Control Register */ 2924 PHY_REG(770, 16) /* KMRN FIFO's control/status register */ 2926 PHY_REG(770, 17) /* KMRN Power Management Control Register */ 2928 PHY_REG(770, 18) /* KMRN Inband Control Register */ 2930 PHY_REG(770, 19) /* KMRN Diagnostic register */ 2933 PHY_REG(770, 20) /* KMRN Acknowledge Timeouts register */ 2936 PHY_REG(776, 18) /* Voltage regulator control register */ 2941 PHY_REG(776, 19) /* IGP3 Capability Register */ [all …]
|
/Linux-v5.4/drivers/net/wireless/realtek/rtlwifi/rtl8192se/ |
D | reg.h | 230 #define PHY_REG 0x02F3 macro
|