Searched refs:byte_offs (Results 1 – 2 of 2) sorted by relevance
/drivers/misc/genwqe/ |
D | card_utils.c | 54 int __genwqe_writeq(struct genwqe_dev *cd, u64 byte_offs, u64 val) in __genwqe_writeq() argument 67 __raw_writeq((__force u64)cpu_to_be64(val), cd->mmio + byte_offs); in __genwqe_writeq() 78 u64 __genwqe_readq(struct genwqe_dev *cd, u64 byte_offs) in __genwqe_readq() argument 84 (byte_offs == IO_SLC_CFGREG_GFIR)) in __genwqe_readq() 88 (byte_offs == IO_SLC_CFGREG_GFIR)) in __genwqe_readq() 94 return be64_to_cpu((__force __be64)__raw_readq(cd->mmio + byte_offs)); in __genwqe_readq() 105 int __genwqe_writel(struct genwqe_dev *cd, u64 byte_offs, u32 val) in __genwqe_writel() argument 118 __raw_writel((__force u32)cpu_to_be32(val), cd->mmio + byte_offs); in __genwqe_writel() 129 u32 __genwqe_readl(struct genwqe_dev *cd, u64 byte_offs) in __genwqe_readl() argument 137 return be32_to_cpu((__force __be32)__raw_readl(cd->mmio + byte_offs)); in __genwqe_readl()
|
D | card_base.h | 534 int __genwqe_writeq(struct genwqe_dev *cd, u64 byte_offs, u64 val); 535 u64 __genwqe_readq(struct genwqe_dev *cd, u64 byte_offs); 536 int __genwqe_writel(struct genwqe_dev *cd, u64 byte_offs, u32 val); 537 u32 __genwqe_readl(struct genwqe_dev *cd, u64 byte_offs);
|