* t4_read_reg - read a HW register * @adapter: the adapter * @reg_addr: the register address * * Returns the 32-bit value of the given HW register. */
| 454 | * Returns the 32-bit value of the given HW register. |
| 455 | */ |
| 456 | static inline u32 t4_read_reg(struct adapter *adapter, u32 reg_addr) |
| 457 | { |
| 458 | return CXGBE_READ_REG(adapter, reg_addr); |
| 459 | } |
| 460 | |
| 461 | /** |
| 462 | * t4_write_reg - write a HW register with barrier |
no outgoing calls
no test coverage detected