Home
last modified time | relevance | path

Searched refs:xsdfec (Results 1 – 1 of 1) sorted by relevance

/Linux-v6.1/drivers/misc/
Dxilinx_sdfec.c234 static inline void xsdfec_regwrite(struct xsdfec_dev *xsdfec, u32 addr, in xsdfec_regwrite() argument
237 dev_dbg(xsdfec->dev, "Writing 0x%x to offset 0x%x", value, addr); in xsdfec_regwrite()
238 iowrite32(value, xsdfec->regs + addr); in xsdfec_regwrite()
241 static inline u32 xsdfec_regread(struct xsdfec_dev *xsdfec, u32 addr) in xsdfec_regread() argument
245 rval = ioread32(xsdfec->regs + addr); in xsdfec_regread()
246 dev_dbg(xsdfec->dev, "Read value = 0x%x from offset 0x%x", rval, addr); in xsdfec_regread()
250 static void update_bool_config_from_reg(struct xsdfec_dev *xsdfec, in update_bool_config_from_reg() argument
257 reg_val = xsdfec_regread(xsdfec, reg_offset); in update_bool_config_from_reg()
261 static void update_config_from_hw(struct xsdfec_dev *xsdfec) in update_config_from_hw() argument
267 reg_value = xsdfec_regread(xsdfec, XSDFEC_ORDER_ADDR); in update_config_from_hw()
[all …]