Lines Matching refs:value
42 u32 value = readl(hw->mmio + reg); in aq_hw_read_reg() local
44 if (value == U32_MAX && in aq_hw_read_reg()
48 return value; in aq_hw_read_reg()
51 void aq_hw_write_reg(struct aq_hw_s *hw, u32 reg, u32 value) in aq_hw_write_reg() argument
53 writel(value, hw->mmio + reg); in aq_hw_write_reg()
62 u64 value = U64_MAX; in aq_hw_read_reg64() local
65 value = readq(hw->mmio + reg); in aq_hw_read_reg64()
67 value = lo_hi_readq(hw->mmio + reg); in aq_hw_read_reg64()
69 if (value == U64_MAX && in aq_hw_read_reg64()
73 return value; in aq_hw_read_reg64()
76 void aq_hw_write_reg64(struct aq_hw_s *hw, u32 reg, u64 value) in aq_hw_write_reg64() argument
79 writeq(value, hw->mmio + reg); in aq_hw_write_reg64()
81 lo_hi_writeq(value, hw->mmio + reg); in aq_hw_write_reg64()