Lines Matching refs:mbox
2633 static unsigned int octeon_irq_ciu3_mbox_intsn_for_core(int core, unsigned int mbox) in octeon_irq_ciu3_mbox_intsn_for_core() argument
2635 return octeon_irq_ciu3_base_mbox_intsn(core) + mbox; in octeon_irq_ciu3_mbox_intsn_for_core()
2638 static unsigned int octeon_irq_ciu3_mbox_intsn_for_cpu(int cpu, unsigned int mbox) in octeon_irq_ciu3_mbox_intsn_for_cpu() argument
2642 return octeon_irq_ciu3_mbox_intsn_for_core(local_core, mbox); in octeon_irq_ciu3_mbox_intsn_for_cpu()
2659 int mbox = intsn - octeon_irq_ciu3_base_mbox_intsn(core); in octeon_irq_ciu3_mbox() local
2661 if (likely(mbox >= 0 && mbox < CIU3_MBOX_PER_CORE)) { in octeon_irq_ciu3_mbox()
2662 do_IRQ(mbox + OCTEON_IRQ_MBOX0); in octeon_irq_ciu3_mbox()
2678 void octeon_ciu3_mbox_send(int cpu, unsigned int mbox) in octeon_ciu3_mbox_send() argument
2685 if (WARN_ON_ONCE(mbox >= CIU3_MBOX_PER_CORE)) in octeon_ciu3_mbox_send()
2688 intsn = octeon_irq_ciu3_mbox_intsn_for_cpu(cpu, mbox); in octeon_ciu3_mbox_send()
2705 unsigned int mbox = data->irq - OCTEON_IRQ_MBOX0; in octeon_irq_ciu3_mbox_set_enable() local
2707 intsn = octeon_irq_ciu3_mbox_intsn_for_cpu(cpu, mbox); in octeon_irq_ciu3_mbox_set_enable()
2731 unsigned int mbox = data->irq - OCTEON_IRQ_MBOX0; in octeon_irq_ciu3_mbox_enable() local
2733 WARN_ON(mbox >= CIU3_MBOX_PER_CORE); in octeon_irq_ciu3_mbox_enable()
2742 unsigned int mbox = data->irq - OCTEON_IRQ_MBOX0; in octeon_irq_ciu3_mbox_disable() local
2744 WARN_ON(mbox >= CIU3_MBOX_PER_CORE); in octeon_irq_ciu3_mbox_disable()
2756 unsigned int mbox = data->irq - OCTEON_IRQ_MBOX0; in octeon_irq_ciu3_mbox_ack() local
2758 intsn = octeon_irq_ciu3_mbox_intsn_for_core(cvmx_get_local_core_num(), mbox); in octeon_irq_ciu3_mbox_ack()