Searched refs:PHY_REG (Results 1 – 7 of 7) sorted by relevance
/Linux-v4.19/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 | 1356 e1e_rphy(hw, PHY_REG(2, 21), &phy_reg); in e1000_integrated_phy_loopback() 1359 e1e_wphy(hw, PHY_REG(2, 21), phy_reg); in e1000_integrated_phy_loopback() 1364 e1e_rphy(hw, PHY_REG(769, 16), &phy_reg); in e1000_integrated_phy_loopback() 1365 e1e_wphy(hw, PHY_REG(769, 16), phy_reg | 0x000C); in e1000_integrated_phy_loopback() 1367 e1e_rphy(hw, PHY_REG(776, 16), &phy_reg); in e1000_integrated_phy_loopback() 1368 e1e_wphy(hw, PHY_REG(776, 16), phy_reg | 0x0040); in e1000_integrated_phy_loopback() 1370 e1e_rphy(hw, PHY_REG(769, 16), &phy_reg); in e1000_integrated_phy_loopback() 1371 e1e_wphy(hw, PHY_REG(769, 16), phy_reg | 0x0040); in e1000_integrated_phy_loopback() 1373 e1e_rphy(hw, PHY_REG(769, 20), &phy_reg); in e1000_integrated_phy_loopback() 1374 e1e_wphy(hw, PHY_REG(769, 20), phy_reg | 0x0400); in e1000_integrated_phy_loopback() [all …]
|
D | ich8lan.c | 1448 PHY_REG(776, 20), in e1000_check_for_copper_link_ich8lan() 1461 PHY_REG(776, 20), in e1000_check_for_copper_link_ich8lan() 1473 PHY_REG(776, 20), in e1000_check_for_copper_link_ich8lan() 2225 ret_val = e1e_wphy_locked(hw, PHY_REG(770, 19), 0x0100); in e1000_k1_gig_workaround_hv() 2231 ret_val = e1e_wphy_locked(hw, PHY_REG(770, 19), 0x4100); in e1000_k1_gig_workaround_hv() 2408 ret_val = e1e_wphy(hw, PHY_REG(769, 25), 0x4431); in e1000_hv_phy_workarounds_ich8lan() 2523 e1e_rphy(hw, PHY_REG(769, 20), &phy_reg); in e1000_lv_jumbo_workaround_ich8lan() 2524 ret_val = e1e_wphy(hw, PHY_REG(769, 20), phy_reg | BIT(14)); in e1000_lv_jumbo_workaround_ich8lan() 2587 e1e_rphy(hw, PHY_REG(769, 23), &data); in e1000_lv_jumbo_workaround_ich8lan() 2590 ret_val = e1e_wphy(hw, PHY_REG(769, 23), data); in e1000_lv_jumbo_workaround_ich8lan() [all …]
|
D | netdev.c | 3073 e1e_rphy(hw, PHY_REG(770, 26), &phy_data); in e1000_setup_rctl() 3076 e1e_wphy(hw, PHY_REG(770, 26), phy_data); in e1000_setup_rctl()
|
/Linux-v4.19/drivers/net/dsa/ |
D | lan9303_mdio.c | 27 #define PHY_REG(x) (((x) >> 1) & 0x1f) macro 36 mdio->bus->write(mdio->bus, PHY_ADDR(reg), PHY_REG(reg), val); in lan9303_mdio_real_write() 54 return mdio->bus->read(mdio->bus, PHY_ADDR(reg), PHY_REG(reg)); in lan9303_mdio_real_read()
|
/Linux-v4.19/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-v4.19/drivers/net/wireless/realtek/rtlwifi/rtl8192se/ |
D | reg.h | 251 #define PHY_REG 0x02F3 macro
|