Lines Matching defs:registers

203  * Dump all useful registers to the console
205 * @param registers CPU register to dump
207 static void __cvmx_interrupt_dump_registers(uint64_t *registers)
213 r1 = registers[reg]; r2 = registers[reg+16];
231 * cause decode and all relevant registers.
233 * @param registers Registers at time of the exception
238 void __cvmx_interrupt_default_exception_handler(uint64_t *registers)
252 __cvmx_interrupt_dump_registers(registers);
259 if (registers[35] == 0) {
262 registers[35] = registers[31] - 8;
266 registers[35] = 0;
306 * @param registers Register at the time of the interrupt
309 static void __cvmx_interrupt_default(int irq_number, uint64_t *registers, void *user_arg)
312 __cvmx_interrupt_dump_registers(registers);
357 * @param registers Registers at the time of the interrupt
360 static void __cvmx_interrupt_perf(int irq_number, uint64_t *registers, void *user_arg)
376 * @param registers Registers at the time of the interrupt
379 static void __cvmx_interrupt_ciu(int irq_number, uint64_t *registers, void *user_arg)
410 h->handler(irq, registers, h->data);
424 h->handler(irq, registers, h->data);
442 h->handler(irq, registers, h->data);
457 * @param registers Registers at the time of the interrupt
460 static void __cvmx_interrupt_ciu_cn61xx(int irq_number, uint64_t *registers, void *user_arg)
482 h->handler(irq, registers, h->data);
495 * @param registers Registers at the time of the interrupt
498 static void __cvmx_interrupt_ciu2(int irq_number, uint64_t *registers, void *user_arg)
524 h->handler(irq, registers, h->data);
549 h->handler(irq, registers, h->data);
559 /* CN68XX has an CIU-15786 errata that accessing the ACK registers
575 * @param registers Registers at the time of the interrupt
578 static void __cvmx_interrupt_ecc(int irq_number, uint64_t *registers, void *user_arg)
587 * @param registers Registers at time of interrupt / exception
591 void cvmx_interrupt_do_irq(uint64_t *registers);
592 void cvmx_interrupt_do_irq(uint64_t *registers)
612 exc_vec = (uint32_t)(registers[27] & 0x780); /* Mask off bits we need to ignore */
625 if (registers[34] & 0x1)
626 cvmx_safe_printf("Dcache error detected: core: %d, way: %d, va 7:3: 0x%x\n", i, (int)(registers[34] >> 8) & 0x3f, (int)(registers[34] >> 3) & 0x1f);
634 if (registers[34] & 0x1)
635 cvmx_safe_printf("Dcache error detected: core: %d, way: %d, va 9:7: 0x%x\n", i, (int)(registers[34] >> 10) & 0x1f, (int)(registers[34] >> 7) & 0x3);
650 if (registers[34] & 0x4)
655 else if (registers[34] & 0x2)
664 cvmx_interrupt_state.exception_handler(registers);
680 h->handler(i, registers, h->data);
686 __cvmx_interrupt_default_exception_handler(registers);
1100 /* We assume this relationship between the registers. */