Searched refs:dmt (Results 1 – 10 of 10) sorted by relevance
52 static inline void dmt_enable(struct pic32_dmt *dmt) in dmt_enable() argument54 writel(DMT_ON, PIC32_SET(dmt->regs + DMTCON_REG)); in dmt_enable()57 static inline void dmt_disable(struct pic32_dmt *dmt) in dmt_disable() argument59 writel(DMT_ON, PIC32_CLR(dmt->regs + DMTCON_REG)); in dmt_disable()67 static inline int dmt_bad_status(struct pic32_dmt *dmt) in dmt_bad_status() argument71 val = readl(dmt->regs + DMTSTAT_REG); in dmt_bad_status()79 static inline int dmt_keepalive(struct pic32_dmt *dmt) in dmt_keepalive() argument85 writel(DMT_STEP1_KEY << 8, dmt->regs + DMTPRECLR_REG); in dmt_keepalive()89 v = readl(dmt->regs + DMTSTAT_REG) & DMTSTAT_WINOPN; in dmt_keepalive()95 writel(DMT_STEP2_KEY, dmt->regs + DMTCLR_REG); in dmt_keepalive()[all …]
169 obj-$(CONFIG_PIC32_DMT) += pic32-dmt.o
1672 The module will be called pic32-dmt.
8 - compatible: must be "microchip,pic32mzda-dmt".16 compatible = "microchip,pic32mzda-dmt";
43 dmt_flag = dmt(); in vpe_run()154 mtflags = dmt(); in cleanup_tc()379 mtflags = dmt(); in vpe_module_init()405 mtflags = dmt(); in vpe_module_init()
209 dmt(); in vsmp_smp_setup()
367 dmt(); in cps_init_secondary()
242 dmt
41 mtflags = dmt(); \
236 static inline unsigned int dmt(void) in dmt() function