Searched refs:xtmr_manager (Results 1 – 1 of 1) sorted by relevance
60 static inline void xtmr_manager_write(struct xtmr_manager_dev *xtmr_manager, in xtmr_manager_write() argument63 iowrite32(value, xtmr_manager->regs + addr); in xtmr_manager_write()66 static inline u32 xtmr_manager_read(struct xtmr_manager_dev *xtmr_manager, in xtmr_manager_read() argument69 return ioread32(xtmr_manager->regs + addr); in xtmr_manager_read()72 static void xmb_manager_reset_handler(struct xtmr_manager_dev *xtmr_manager) in xmb_manager_reset_handler() argument75 xtmr_manager_write(xtmr_manager, XTMR_MANAGER_FFR_OFFSET, 0); in xmb_manager_reset_handler()78 static void xmb_manager_update_errcnt(struct xtmr_manager_dev *xtmr_manager) in xmb_manager_update_errcnt() argument80 xtmr_manager->err_cnt++; in xmb_manager_update_errcnt()86 struct xtmr_manager_dev *xtmr_manager = dev_get_drvdata(dev); in errcnt_show() local88 return sysfs_emit(buf, "%x\n", xtmr_manager->err_cnt); in errcnt_show()[all …]