Lines Matching refs:jme
27 #define DRV_NAME "jme"
452 struct jme_adapter *jme;
453 jme = container_of(napi, struct jme_adapter, napi);
454 return jme;
1116 static inline void reg_dbg(const struct jme_adapter *jme,
1133 printk(KERN_DEBUG "%s: %-20s %08x@%s\n", jme->dev->name,
1137 static inline void reg_dbg(const struct jme_adapter *jme,
1144 static inline u32 jread32(struct jme_adapter *jme, u32 reg)
1146 return readl(jme->regs + reg);
1149 static inline void jwrite32(struct jme_adapter *jme, u32 reg, u32 val)
1151 reg_dbg(jme, "REG WRITE", val, reg);
1152 writel(val, jme->regs + reg);
1153 reg_dbg(jme, "VAL AFTER WRITE", readl(jme->regs + reg), reg);
1156 static inline void jwrite32f(struct jme_adapter *jme, u32 reg, u32 val)
1161 reg_dbg(jme, "REG WRITE FLUSH", val, reg);
1162 writel(val, jme->regs + reg);
1163 readl(jme->regs + reg);
1164 reg_dbg(jme, "VAL AFTER WRITE", readl(jme->regs + reg), reg);