Home
last modified time | relevance | path

Searched refs:MAX_PHY_REG_ADDRESS (Results 1 – 11 of 11) sorted by relevance

/Linux-v6.6/drivers/net/ethernet/intel/e1000e/
Dphy.h95 (((reg) & MAX_PHY_REG_ADDRESS) |\
97 (((reg) & ~MAX_PHY_REG_ADDRESS) << (PHY_UPPER_SHIFT - PHY_PAGE_SHIFT)))
101 ((u16)(((offset) & MAX_PHY_REG_ADDRESS) |\
103 ~MAX_PHY_REG_ADDRESS)))
Dphy.c124 if (offset > MAX_PHY_REG_ADDRESS) { in e1000e_read_phy_reg_mdic()
187 if (offset > MAX_PHY_REG_ADDRESS) { in e1000e_write_phy_reg_mdic()
255 ret_val = e1000e_read_phy_reg_mdic(hw, MAX_PHY_REG_ADDRESS & offset, in e1000e_read_phy_reg_m88()
280 ret_val = e1000e_write_phy_reg_mdic(hw, MAX_PHY_REG_ADDRESS & offset, in e1000e_write_phy_reg_m88()
337 MAX_PHY_REG_ADDRESS & offset, in __e1000e_read_phy_reg_igp()
403 ret_val = e1000e_write_phy_reg_mdic(hw, MAX_PHY_REG_ADDRESS & in __e1000e_write_phy_reg_igp()
2386 ret_val = e1000e_write_phy_reg_mdic(hw, MAX_PHY_REG_ADDRESS & offset, in e1000e_write_phy_reg_bm()
2444 ret_val = e1000e_read_phy_reg_mdic(hw, MAX_PHY_REG_ADDRESS & offset, in e1000e_read_phy_reg_bm()
2488 ret_val = e1000e_read_phy_reg_mdic(hw, MAX_PHY_REG_ADDRESS & offset, in e1000e_read_phy_reg_bm2()
2531 ret_val = e1000e_write_phy_reg_mdic(hw, MAX_PHY_REG_ADDRESS & offset, in e1000e_write_phy_reg_bm2()
[all …]
D80003es2lan.c352 if ((offset & MAX_PHY_REG_ADDRESS) < GG82563_MIN_ALT_REG) { in e1000_read_phy_reg_gg82563_80003es2lan()
386 MAX_PHY_REG_ADDRESS & offset, in e1000_read_phy_reg_gg82563_80003es2lan()
392 MAX_PHY_REG_ADDRESS & offset, in e1000_read_phy_reg_gg82563_80003es2lan()
421 if ((offset & MAX_PHY_REG_ADDRESS) < GG82563_MIN_ALT_REG) { in e1000_write_phy_reg_gg82563_80003es2lan()
455 MAX_PHY_REG_ADDRESS & in e1000_write_phy_reg_gg82563_80003es2lan()
461 MAX_PHY_REG_ADDRESS & in e1000_write_phy_reg_gg82563_80003es2lan()
Ddefines.h688 #define MAX_PHY_REG_ADDRESS 0x1F /* 5 bit address bus (0-0x1F) */ macro
770 (((page) << GG82563_PAGE_SHIFT) | ((reg) & MAX_PHY_REG_ADDRESS))
Dich8lan.h111 ((reg) & MAX_PHY_REG_ADDRESS))
/Linux-v6.6/drivers/net/ethernet/intel/igc/
Digc_phy.c553 if (offset > MAX_PHY_REG_ADDRESS) { in igc_read_phy_reg_mdic()
609 if (offset > MAX_PHY_REG_ADDRESS) { in igc_write_phy_reg_mdic()
Digc_defines.h601 #define MAX_PHY_REG_ADDRESS 0x1F /* 5 bit address bus (0-0x1F) */ macro
/Linux-v6.6/drivers/net/ethernet/intel/igb/
De1000_phy.c119 if (offset > MAX_PHY_REG_ADDRESS) { in igb_read_phy_reg_mdic()
175 if (offset > MAX_PHY_REG_ADDRESS) { in igb_write_phy_reg_mdic()
401 ret_val = igb_read_phy_reg_mdic(hw, MAX_PHY_REG_ADDRESS & offset, in igb_read_phy_reg_igp()
440 ret_val = igb_write_phy_reg_mdic(hw, MAX_PHY_REG_ADDRESS & offset, in igb_write_phy_reg_igp()
De1000_defines.h871 #define MAX_PHY_REG_ADDRESS 0x1F /* 5 bit address bus (0-0x1F) */ macro
/Linux-v6.6/drivers/net/ethernet/intel/e1000/
De1000_hw.c2799 ret_val = e1000_read_phy_reg_ex(hw, MAX_PHY_REG_ADDRESS & reg_addr, in e1000_read_phy_reg()
2814 if (reg_addr > MAX_PHY_REG_ADDRESS) { in e1000_read_phy_reg_ex()
2938 ret_val = e1000_write_phy_reg_ex(hw, MAX_PHY_REG_ADDRESS & reg_addr, in e1000_write_phy_reg()
2952 if (reg_addr > MAX_PHY_REG_ADDRESS) { in e1000_write_phy_reg_ex()
De1000_hw.h2491 #define MAX_PHY_REG_ADDRESS 0x1F /* 5 bit address bus (0-0x1F) */ macro
2913 (((page) << PHY_PAGE_SHIFT) | ((reg) & MAX_PHY_REG_ADDRESS))