| 1810 | } |
| 1811 | |
| 1812 | static inline u32 |
| 1813 | rd32(struct txgbe_hw *hw, u32 reg) |
| 1814 | { |
| 1815 | if (reg == TXGBE_REG_DUMMY) |
| 1816 | return 0; |
| 1817 | return txgbe_get32(TXGBE_REG_ADDR(hw, reg)); |
| 1818 | } |
| 1819 | |
| 1820 | static inline void |
| 1821 | wr32(struct txgbe_hw *hw, u32 reg, u32 val) |
no test coverage detected