Lines Matching full:adr
19 static inline u32 ddblreadl(struct ddb_link *link, u32 adr) in ddblreadl() argument
21 return readl(link->dev->regs + adr); in ddblreadl()
24 static inline void ddblwritel(struct ddb_link *link, u32 val, u32 adr) in ddblwritel() argument
26 writel(val, link->dev->regs + adr); in ddblwritel()
29 static inline u32 ddbreadl(struct ddb *dev, u32 adr) in ddbreadl() argument
31 return readl(dev->regs + adr); in ddbreadl()
34 static inline void ddbwritel(struct ddb *dev, u32 val, u32 adr) in ddbwritel() argument
36 writel(val, dev->regs + adr); in ddbwritel()
39 static inline void ddbcpyto(struct ddb *dev, u32 adr, void *src, long count) in ddbcpyto() argument
41 memcpy_toio(dev->regs + adr, src, count); in ddbcpyto()
44 static inline void ddbcpyfrom(struct ddb *dev, void *dst, u32 adr, long count) in ddbcpyfrom() argument
46 memcpy_fromio(dst, dev->regs + adr, count); in ddbcpyfrom()
49 static inline u32 safe_ddbreadl(struct ddb *dev, u32 adr) in safe_ddbreadl() argument
51 u32 val = ddbreadl(dev, adr); in safe_ddbreadl()
55 dev_err(&dev->pdev->dev, "ddbreadl failure, adr=%08x\n", adr); in safe_ddbreadl()