* t4_write_reg - write a HW register with barrier * @adapter: the adapter * @reg_addr: the register address * @val: the value to write * * Write a 32-bit value into the given HW register. */
| 467 | * Write a 32-bit value into the given HW register. |
| 468 | */ |
| 469 | static inline void t4_write_reg(struct adapter *adapter, u32 reg_addr, u32 val) |
| 470 | { |
| 471 | CXGBE_WRITE_REG(adapter, reg_addr, val); |
| 472 | } |
| 473 | |
| 474 | /** |
| 475 | * t4_write_reg_relaxed - write a HW register with no barrier |
no outgoing calls
no test coverage detected