Lines Matching refs:jme
462 struct jme_adapter *jme; in jme_napi_priv() local
463 jme = container_of(napi, struct jme_adapter, napi); in jme_napi_priv()
464 return jme; in jme_napi_priv()
1172 static inline void reg_dbg(const struct jme_adapter *jme, in reg_dbg() argument
1189 printk(KERN_DEBUG "%s: %-20s %08x@%s\n", jme->dev->name, in reg_dbg()
1193 static inline void reg_dbg(const struct jme_adapter *jme, in reg_dbg() argument
1200 static inline u32 jread32(struct jme_adapter *jme, u32 reg) in jread32() argument
1202 return readl(jme->regs + reg); in jread32()
1205 static inline void jwrite32(struct jme_adapter *jme, u32 reg, u32 val) in jwrite32() argument
1207 reg_dbg(jme, "REG WRITE", val, reg); in jwrite32()
1208 writel(val, jme->regs + reg); in jwrite32()
1209 reg_dbg(jme, "VAL AFTER WRITE", readl(jme->regs + reg), reg); in jwrite32()
1212 static inline void jwrite32f(struct jme_adapter *jme, u32 reg, u32 val) in jwrite32f() argument
1217 reg_dbg(jme, "REG WRITE FLUSH", val, reg); in jwrite32f()
1218 writel(val, jme->regs + reg); in jwrite32f()
1219 readl(jme->regs + reg); in jwrite32f()
1220 reg_dbg(jme, "VAL AFTER WRITE", readl(jme->regs + reg), reg); in jwrite32f()