Lines Matching defs:gptu_w32
58 #define gptu_w32(x, y) ltq_w32((x), gptu_membase + (y))
76 gptu_w32(1 << timer, GPTU_IRNCR);
82 gptu_w32(0x00, GPTU_IRNEN);
83 gptu_w32(0xff, GPTU_IRNCR);
84 gptu_w32(CLC_RMC | CLC_SUSPEND, GPTU_CLC);
89 gptu_w32(0x00, GPTU_IRNEN);
90 gptu_w32(0xff, GPTU_IRNCR);
91 gptu_w32(CLC_DISABLE, GPTU_CLC);
103 gptu_w32(CON_CNT | CON_EDGE_ANY | CON_SYNC | CON_CLK_INT,
105 gptu_w32(1, GPTU_RLD(clk->bits));
106 gptu_w32(gptu_r32(GPTU_IRNEN) | BIT(clk->bits), GPTU_IRNEN);
107 gptu_w32(RUN_SEN | RUN_RL, GPTU_RUN(clk->bits));
113 gptu_w32(0, GPTU_RUN(clk->bits));
114 gptu_w32(0, GPTU_CON(clk->bits));
115 gptu_w32(0, GPTU_RLD(clk->bits));
116 gptu_w32(gptu_r32(GPTU_IRNEN) & ~BIT(clk->bits), GPTU_IRNEN);