Lines Matching refs:error
130 int error;
147 error = clocksource_register_hz(&riscv_clocksource, riscv_timebase);
148 if (error) {
149 pr_err("RISCV timer registration failed [%d]\n", error);
150 return error;
155 error = request_percpu_irq(riscv_clock_event_irq,
158 if (error) {
159 pr_err("registering percpu irq failed [%d]\n", error);
160 return error;
168 error = cpuhp_setup_state(CPUHP_AP_RISCV_TIMER_STARTING,
171 if (error)
173 error);
175 return error;
180 int cpuid, error;
184 error = riscv_of_processor_hartid(n, &hartid);
185 if (error < 0) {
186 pr_warn("Invalid hartid for node [%pOF] error = [%lu]\n",
188 return error;