Lines Matching refs:value

148 static inline void __raw_writeb(u8 value, volatile void __iomem *addr)  in __raw_writeb()  argument
150 *(volatile u8 __force *)addr = value; in __raw_writeb()
156 static inline void __raw_writew(u16 value, volatile void __iomem *addr) in __raw_writew() argument
158 *(volatile u16 __force *)addr = value; in __raw_writew()
164 static inline void __raw_writel(u32 value, volatile void __iomem *addr) in __raw_writel() argument
166 *(volatile u32 __force *)addr = value; in __raw_writel()
173 static inline void __raw_writeq(u64 value, volatile void __iomem *addr) in __raw_writeq() argument
175 *(volatile u64 __force *)addr = value; in __raw_writeq()
249 static inline void writeb(u8 value, volatile void __iomem *addr) in writeb() argument
251 log_write_mmio(value, 8, addr, _THIS_IP_, _RET_IP_); in writeb()
253 __raw_writeb(value, addr); in writeb()
255 log_post_write_mmio(value, 8, addr, _THIS_IP_, _RET_IP_); in writeb()
261 static inline void writew(u16 value, volatile void __iomem *addr) in writew() argument
263 log_write_mmio(value, 16, addr, _THIS_IP_, _RET_IP_); in writew()
265 __raw_writew((u16 __force)cpu_to_le16(value), addr); in writew()
267 log_post_write_mmio(value, 16, addr, _THIS_IP_, _RET_IP_); in writew()
273 static inline void writel(u32 value, volatile void __iomem *addr) in writel() argument
275 log_write_mmio(value, 32, addr, _THIS_IP_, _RET_IP_); in writel()
277 __raw_writel((u32 __force)__cpu_to_le32(value), addr); in writel()
279 log_post_write_mmio(value, 32, addr, _THIS_IP_, _RET_IP_); in writel()
286 static inline void writeq(u64 value, volatile void __iomem *addr) in writeq() argument
288 log_write_mmio(value, 64, addr, _THIS_IP_, _RET_IP_); in writeq()
290 __raw_writeq((u64 __force)__cpu_to_le64(value), addr); in writeq()
292 log_post_write_mmio(value, 64, addr, _THIS_IP_, _RET_IP_); in writeq()
356 static inline void writeb_relaxed(u8 value, volatile void __iomem *addr) in writeb_relaxed() argument
358 log_write_mmio(value, 8, addr, _THIS_IP_, _RET_IP_); in writeb_relaxed()
359 __raw_writeb(value, addr); in writeb_relaxed()
360 log_post_write_mmio(value, 8, addr, _THIS_IP_, _RET_IP_); in writeb_relaxed()
366 static inline void writew_relaxed(u16 value, volatile void __iomem *addr) in writew_relaxed() argument
368 log_write_mmio(value, 16, addr, _THIS_IP_, _RET_IP_); in writew_relaxed()
369 __raw_writew((u16 __force)cpu_to_le16(value), addr); in writew_relaxed()
370 log_post_write_mmio(value, 16, addr, _THIS_IP_, _RET_IP_); in writew_relaxed()
376 static inline void writel_relaxed(u32 value, volatile void __iomem *addr) in writel_relaxed() argument
378 log_write_mmio(value, 32, addr, _THIS_IP_, _RET_IP_); in writel_relaxed()
379 __raw_writel((u32 __force)__cpu_to_le32(value), addr); in writel_relaxed()
380 log_post_write_mmio(value, 32, addr, _THIS_IP_, _RET_IP_); in writel_relaxed()
386 static inline void writeq_relaxed(u64 value, volatile void __iomem *addr) in writeq_relaxed() argument
388 log_write_mmio(value, 64, addr, _THIS_IP_, _RET_IP_); in writeq_relaxed()
389 __raw_writeq((u64 __force)__cpu_to_le64(value), addr); in writeq_relaxed()
390 log_post_write_mmio(value, 64, addr, _THIS_IP_, _RET_IP_); in writeq_relaxed()
581 static inline void _outb(u8 value, unsigned long addr) in _outb() argument
584 __raw_writeb(value, PCI_IOBASE + addr); in _outb()
591 static inline void _outw(u16 value, unsigned long addr) in _outw() argument
594 __raw_writew((u16 __force)cpu_to_le16(value), PCI_IOBASE + addr); in _outw()
601 static inline void _outl(u32 value, unsigned long addr) in _outl() argument
604 __raw_writel((u32 __force)cpu_to_le32(value), PCI_IOBASE + addr); in _outl()
661 static inline void outb_p(u8 value, unsigned long addr) in outb_p() argument
663 outb(value, addr); in outb_p()
669 static inline void outw_p(u16 value, unsigned long addr) in outw_p() argument
671 outw(value, addr); in outw_p()
677 static inline void outl_p(u32 value, unsigned long addr) in outl_p() argument
679 outl(value, addr); in outl_p()
827 static inline void iowrite8(u8 value, volatile void __iomem *addr) in iowrite8() argument
829 writeb(value, addr); in iowrite8()
835 static inline void iowrite16(u16 value, volatile void __iomem *addr) in iowrite16() argument
837 writew(value, addr); in iowrite16()
843 static inline void iowrite32(u32 value, volatile void __iomem *addr) in iowrite32() argument
845 writel(value, addr); in iowrite32()
852 static inline void iowrite64(u64 value, volatile void __iomem *addr) in iowrite64() argument
854 writeq(value, addr); in iowrite64()
887 static inline void iowrite16be(u16 value, void volatile __iomem *addr) in iowrite16be() argument
889 writew(swab16(value), addr); in iowrite16be()
895 static inline void iowrite32be(u32 value, volatile void __iomem *addr) in iowrite32be() argument
897 writel(swab32(value), addr); in iowrite32be()
904 static inline void iowrite64be(u64 value, volatile void __iomem *addr) in iowrite64be() argument
906 writeq(swab64(value), addr); in iowrite64be()
1163 static inline void memset_io(volatile void __iomem *addr, int value, in memset_io() argument
1166 memset(__io_virt(addr), value, size); in memset_io()