| 1834 | } |
| 1835 | |
| 1836 | static inline void |
| 1837 | wr32m(struct txgbe_hw *hw, u32 reg, u32 mask, u32 field) |
| 1838 | { |
| 1839 | u32 val = rd32(hw, reg); |
| 1840 | val = ((val & ~mask) | (field & mask)); |
| 1841 | wr32(hw, reg, val); |
| 1842 | } |
| 1843 | |
| 1844 | static inline u64 |
| 1845 | rd64(struct txgbe_hw *hw, u32 reg) |
no test coverage detected