Lines Matching refs:mpt

185 static void __init smp_dump_mptable(struct mpc_table *mpc, unsigned char *mpt)  in smp_dump_mptable()  argument
188 pr_cont("type %x\n", *mpt); in smp_dump_mptable()
199 unsigned char *mpt = ((unsigned char *)mpc) + count; in smp_read_mpc() local
213 switch (*mpt) { in smp_read_mpc()
217 MP_processor_info((struct mpc_cpu *)mpt); in smp_read_mpc()
218 skip_entry(&mpt, &count, sizeof(struct mpc_cpu)); in smp_read_mpc()
221 MP_bus_info((struct mpc_bus *)mpt); in smp_read_mpc()
222 skip_entry(&mpt, &count, sizeof(struct mpc_bus)); in smp_read_mpc()
225 MP_ioapic_info((struct mpc_ioapic *)mpt); in smp_read_mpc()
226 skip_entry(&mpt, &count, sizeof(struct mpc_ioapic)); in smp_read_mpc()
229 mp_save_irq((struct mpc_intsrc *)mpt); in smp_read_mpc()
230 skip_entry(&mpt, &count, sizeof(struct mpc_intsrc)); in smp_read_mpc()
233 MP_lintsrc_info((struct mpc_lintsrc *)mpt); in smp_read_mpc()
234 skip_entry(&mpt, &count, sizeof(struct mpc_lintsrc)); in smp_read_mpc()
238 smp_dump_mptable(mpc, mpt); in smp_read_mpc()
735 unsigned char *mpt = ((unsigned char *)mpc) + count; in replace_intsrc_all() local
739 switch (*mpt) { in replace_intsrc_all()
741 skip_entry(&mpt, &count, sizeof(struct mpc_cpu)); in replace_intsrc_all()
744 skip_entry(&mpt, &count, sizeof(struct mpc_bus)); in replace_intsrc_all()
747 skip_entry(&mpt, &count, sizeof(struct mpc_ioapic)); in replace_intsrc_all()
750 check_irq_src((struct mpc_intsrc *)mpt, &nr_m_spare); in replace_intsrc_all()
751 skip_entry(&mpt, &count, sizeof(struct mpc_intsrc)); in replace_intsrc_all()
754 skip_entry(&mpt, &count, sizeof(struct mpc_lintsrc)); in replace_intsrc_all()
758 smp_dump_mptable(mpc, mpt); in replace_intsrc_all()
781 struct mpc_intsrc *m = (struct mpc_intsrc *)mpt; in replace_intsrc_all()
787 mpt += sizeof(struct mpc_intsrc); in replace_intsrc_all()