Lines Matching defs:core
262 struct acc_core *core;
266 static inline u32 acc_read32(struct acc_core *core, unsigned short offs)
268 return ioread32be(core->addr + offs);
271 static inline void acc_write32(struct acc_core *core,
274 iowrite32be(v, core->addr + offs);
277 static inline void acc_write32_noswap(struct acc_core *core,
280 iowrite32(v, core->addr + offs);
283 static inline void acc_set_bits(struct acc_core *core,
286 u32 v = acc_read32(core, offs);
289 acc_write32(core, offs, v);
292 static inline void acc_clear_bits(struct acc_core *core,
295 u32 v = acc_read32(core, offs);
298 acc_write32(core, offs, v);
301 static inline int acc_resetmode_entered(struct acc_core *core)
303 u32 ctrl = acc_read32(core, ACC_CORE_OF_CTRL_MODE);