Lines Matching defs:reg_addr
110 static int e1000_read_phy_reg(struct e1000_hw *hw, uint32_t reg_addr, uint16_t *phy_data);
111 static int e1000_read_phy_reg_ex(struct e1000_hw *hw, uint32_t reg_addr, uint16_t *phy_data);
112 static int e1000_write_phy_reg(struct e1000_hw *hw, uint32_t reg_addr, uint16_t phy_data);
113 static int e1000_write_phy_reg_ex(struct e1000_hw *hw, uint32_t reg_addr, uint16_t phy_data);
2810 * reg_addr - address of the PHY register to read
2814 uint32_t reg_addr,
2822 (reg_addr > MAX_PHY_MULTI_PAGE_REG)) {
2824 (uint16_t)reg_addr)))
2828 ret_val = e1000_read_phy_reg_ex(hw, IGP01E1000_PHY_PAGE_SELECT & reg_addr,
2836 uint32_t reg_addr,
2845 if(reg_addr > MAX_PHY_REG_ADDRESS) {
2846 DEBUGOUT1("PHY Address %d is out of range\n", reg_addr);
2855 mdic = ((reg_addr << E1000_MDIC_REG_SHIFT) |
2894 mdic = ((reg_addr) | (phy_addr << 5) |
2912 * reg_addr - address of the PHY register to write
2917 uint32_t reg_addr,
2925 (reg_addr > MAX_PHY_MULTI_PAGE_REG)) {
2927 (uint16_t)reg_addr)))
2931 ret_val = e1000_write_phy_reg_ex(hw, IGP01E1000_PHY_PAGE_SELECT & reg_addr,
2939 uint32_t reg_addr,
2948 if(reg_addr > MAX_PHY_REG_ADDRESS) {
2949 DEBUGOUT1("PHY Address %d is out of range\n", reg_addr);
2959 (reg_addr << E1000_MDIC_REG_SHIFT) |
2989 mdic = ((PHY_TURNAROUND) | (reg_addr << 2) | (phy_addr << 7) |