Lines Matching defs:byte_offs
39 * @byte_offs: byte offset within BAR
44 int __genwqe_writeq(struct genwqe_dev *cd, u64 byte_offs, u64 val)
57 __raw_writeq((__force u64)cpu_to_be64(val), cd->mmio + byte_offs);
64 * @byte_offs: offset within BAR
68 u64 __genwqe_readq(struct genwqe_dev *cd, u64 byte_offs)
74 (byte_offs == IO_SLC_CFGREG_GFIR))
78 (byte_offs == IO_SLC_CFGREG_GFIR))
84 return be64_to_cpu((__force __be64)__raw_readq(cd->mmio + byte_offs));
90 * @byte_offs: byte offset within BAR
95 int __genwqe_writel(struct genwqe_dev *cd, u64 byte_offs, u32 val)
108 __raw_writel((__force u32)cpu_to_be32(val), cd->mmio + byte_offs);
115 * @byte_offs: offset within BAR
119 u32 __genwqe_readl(struct genwqe_dev *cd, u64 byte_offs)
127 return be32_to_cpu((__force __be32)__raw_readl(cd->mmio + byte_offs));