Lines Matching refs:msgr
37 * @msgr: the message register to return
44 extern void mpic_msgr_put(struct mpic_msgr *msgr);
48 * @msgr: the message register to enable
53 extern void mpic_msgr_enable(struct mpic_msgr *msgr);
57 * @msgr: the message register to disable
62 extern void mpic_msgr_disable(struct mpic_msgr *msgr);
66 * @msgr: the message register to write to
73 static inline void mpic_msgr_write(struct mpic_msgr *msgr, u32 message)
75 out_be32(msgr->base, message);
80 * @msgr: the message register to read from
86 static inline u32 mpic_msgr_read(struct mpic_msgr *msgr)
88 return in_be32(msgr->base);
93 * @msgr: the message register to clear
97 static inline void mpic_msgr_clear(struct mpic_msgr *msgr)
99 (void) mpic_msgr_read(msgr);
104 * @msgr: the message register whose destination is to be set
110 static inline void mpic_msgr_set_destination(struct mpic_msgr *msgr,
113 out_be32(msgr->base, 1 << get_hard_smp_processor_id(cpu_num));
117 * @msgr: the message register whose IRQ is to be returned
124 static inline int mpic_msgr_get_irq(struct mpic_msgr *msgr)
126 return msgr->irq;