Home
last modified time | relevance | path

Searched refs:xtmr_manager (Results 1 – 1 of 1) sorted by relevance

/linux-6.6.21/drivers/misc/
Dxilinx_tmr_manager.c60 static inline void xtmr_manager_write(struct xtmr_manager_dev *xtmr_manager, in xtmr_manager_write() argument
63 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() argument
69 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() argument
75 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() argument
80 xtmr_manager->err_cnt++; in xmb_manager_update_errcnt()
86 struct xtmr_manager_dev *xtmr_manager = dev_get_drvdata(dev); in errcnt_show() local
88 return sysfs_emit(buf, "%x\n", xtmr_manager->err_cnt); in errcnt_show()
[all …]