Lines Matching refs:ctr
26 struct op_counter_config *ctr, in common_reg_setup() argument
47 unsigned long event = ctr[i].event; in common_reg_setup()
48 if (!ctr[i].enabled) in common_reg_setup()
91 unsigned long max, hilo, count = ctr[i].count; in common_reg_setup()
92 if (!ctr[i].enabled) in common_reg_setup()
103 ctr[i].count = count; in common_reg_setup()
117 struct op_counter_config *ctr, in ev5_reg_setup() argument
120 common_reg_setup(reg, ctr, sys, 19, 22); in ev5_reg_setup()
125 struct op_counter_config *ctr, in pca56_reg_setup() argument
128 common_reg_setup(reg, ctr, sys, 8, 11); in pca56_reg_setup()
157 ev5_reset_ctr(struct op_register_config *reg, unsigned long ctr) in ev5_reset_ctr() argument
161 mask = (ctr == 0 ? 0xfffful << 48 in ev5_reset_ctr()
162 : ctr == 1 ? 0xfffful << 32 in ev5_reset_ctr()
184 struct op_counter_config *ctr) in ev5_handle_interrupt() argument