Lines Matching refs:vec
132 int vec,
141 if (vec < 0 || vec >= PCCTWOV_MAX) {
142 printf("pcctwo: illegal vector offset: 0x%x\n", vec);
149 if (sys_pcctwo->sc_vec2icsr[vec] == -1) {
150 printf("pcctwo: unsupported vector: %d\n", vec);
155 vec2icsr = sys_pcctwo->sc_vec2icsr[vec];
160 lvl, vec + sys_pcctwo->sc_vecbase, evcnt);
168 pcctwointr_disestablish(int vec)
172 if (vec < 0 || vec >= PCCTWOV_MAX) {
173 printf("pcctwo: illegal vector offset: 0x%x\n", vec);
176 if (sys_pcctwo->sc_vec2icsr[vec] == -1) {
177 printf("pcctwo: unsupported vector: %d\n", vec);
183 pcc2_reg_write(sys_pcctwo, sys_pcctwo->sc_vec2icsr[vec], 0);
186 vec + sys_pcctwo->sc_vecbase);