Lines Matching defs:ov
263 struct acc_ov *ov;
308 static inline u32 acc_ov_read32(struct acc_ov *ov, unsigned short offs)
310 return ioread32be(ov->addr + offs);
313 static inline void acc_ov_write32(struct acc_ov *ov,
316 iowrite32be(v, ov->addr + offs);
319 static inline void acc_ov_set_bits(struct acc_ov *ov,
322 u32 v = acc_ov_read32(ov, offs);
325 acc_ov_write32(ov, offs, v);
328 static inline void acc_ov_clear_bits(struct acc_ov *ov,
331 u32 v = acc_ov_read32(ov, offs);
334 acc_ov_write32(ov, offs, v);
337 static inline void acc_reset_fpga(struct acc_ov *ov)
339 acc_ov_write32(ov, ACC_OV_OF_MODE, ACC_OV_REG_MODE_MASK_FPGA_RESET);
342 acc_ov_set_bits(ov, ACC_OV_OF_MODE, ACC_OV_REG_MODE_MASK_I2C_ENABLE);
346 void acc_init_ov(struct acc_ov *ov, struct device *dev);
347 void acc_init_bm_ptr(struct acc_ov *ov, struct acc_core *cores,
356 irqreturn_t acc_card_interrupt(struct acc_ov *ov, struct acc_core *cores);