Searched refs:byte_offs (Results 1 - 2 of 2) sorted by relevance

/linux-4.1.27/drivers/misc/genwqe/
H A Dcard_utils.c49 * @byte_offs: byte offset within BAR
54 int __genwqe_writeq(struct genwqe_dev *cd, u64 byte_offs, u64 val) __genwqe_writeq() argument
67 __raw_writeq((__force u64)cpu_to_be64(val), cd->mmio + byte_offs); __genwqe_writeq()
74 * @byte_offs: offset within BAR
78 u64 __genwqe_readq(struct genwqe_dev *cd, u64 byte_offs) __genwqe_readq() argument
84 (byte_offs == IO_SLC_CFGREG_GFIR)) __genwqe_readq()
88 (byte_offs == IO_SLC_CFGREG_GFIR)) __genwqe_readq()
94 return be64_to_cpu((__force __be64)__raw_readq(cd->mmio + byte_offs)); __genwqe_readq()
100 * @byte_offs: byte offset within BAR
105 int __genwqe_writel(struct genwqe_dev *cd, u64 byte_offs, u32 val) __genwqe_writel() argument
118 __raw_writel((__force u32)cpu_to_be32(val), cd->mmio + byte_offs); __genwqe_writel()
125 * @byte_offs: offset within BAR
129 u32 __genwqe_readl(struct genwqe_dev *cd, u64 byte_offs) __genwqe_readl() argument
137 return be32_to_cpu((__force __be32)__raw_readl(cd->mmio + byte_offs)); __genwqe_readl()
H A Dcard_base.h534 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);

Completed in 104 milliseconds