Lines Matching defs:gptu_w32
59 #define gptu_w32(x, y) ltq_w32((x), gptu_membase + (y))
77 gptu_w32(1 << timer, GPTU_IRNCR);
83 gptu_w32(0x00, GPTU_IRNEN);
84 gptu_w32(0xff, GPTU_IRNCR);
85 gptu_w32(CLC_RMC | CLC_SUSPEND, GPTU_CLC);
90 gptu_w32(0x00, GPTU_IRNEN);
91 gptu_w32(0xff, GPTU_IRNCR);
92 gptu_w32(CLC_DISABLE, GPTU_CLC);
104 gptu_w32(CON_CNT | CON_EDGE_ANY | CON_SYNC | CON_CLK_INT,
106 gptu_w32(1, GPTU_RLD(clk->bits));
107 gptu_w32(gptu_r32(GPTU_IRNEN) | BIT(clk->bits), GPTU_IRNEN);
108 gptu_w32(RUN_SEN | RUN_RL, GPTU_RUN(clk->bits));
114 gptu_w32(0, GPTU_RUN(clk->bits));
115 gptu_w32(0, GPTU_CON(clk->bits));
116 gptu_w32(0, GPTU_RLD(clk->bits));
117 gptu_w32(gptu_r32(GPTU_IRNEN) & ~BIT(clk->bits), GPTU_IRNEN);