Lines Matching defs:ov
265 struct acc_ov *ov;
310 static inline u32 acc_ov_read32(struct acc_ov *ov, unsigned short offs)
312 return ioread32be(ov->addr + offs);
315 static inline void acc_ov_write32(struct acc_ov *ov,
318 iowrite32be(v, ov->addr + offs);
321 static inline void acc_ov_set_bits(struct acc_ov *ov,
324 u32 v = acc_ov_read32(ov, offs);
327 acc_ov_write32(ov, offs, v);
330 static inline void acc_ov_clear_bits(struct acc_ov *ov,
333 u32 v = acc_ov_read32(ov, offs);
336 acc_ov_write32(ov, offs, v);
339 static inline void acc_reset_fpga(struct acc_ov *ov)
341 acc_ov_write32(ov, ACC_OV_OF_MODE, ACC_OV_REG_MODE_MASK_FPGA_RESET);
344 acc_ov_set_bits(ov, ACC_OV_OF_MODE, ACC_OV_REG_MODE_MASK_I2C_ENABLE);
348 void acc_init_ov(struct acc_ov *ov, struct device *dev);
349 void acc_init_bm_ptr(struct acc_ov *ov, struct acc_core *cores,
358 irqreturn_t acc_card_interrupt(struct acc_ov *ov, struct acc_core *cores);