Lines Matching refs:str
76 void __init default_mpc_oem_bus_info(struct mpc_bus *m, char *str) in default_mpc_oem_bus_info() argument
78 memcpy(str, m->bustype, 6); in default_mpc_oem_bus_info()
79 str[6] = 0; in default_mpc_oem_bus_info()
80 apic_printk(APIC_VERBOSE, "Bus #%d is %s\n", m->busid, str); in default_mpc_oem_bus_info()
85 char str[7]; in MP_bus_info() local
87 x86_init.mpparse.mpc_oem_bus_info(m, str); in MP_bus_info()
92 m->busid, str, MAX_MP_BUSSES - 1); in MP_bus_info()
98 if (strncmp(str, BUSTYPE_ISA, sizeof(BUSTYPE_ISA) - 1) == 0) { in MP_bus_info()
102 } else if (strncmp(str, BUSTYPE_PCI, sizeof(BUSTYPE_PCI) - 1) == 0) { in MP_bus_info()
109 } else if (strncmp(str, BUSTYPE_EISA, sizeof(BUSTYPE_EISA) - 1) == 0) { in MP_bus_info()
113 pr_warn("Unknown bustype %s - ignoring\n", str); in MP_bus_info()
157 static int __init smp_check_mpc(struct mpc_table *mpc, char *oem, char *str) in smp_check_mpc() argument
182 memcpy(str, mpc->productid, 12); in smp_check_mpc()
183 str[12] = 0; in smp_check_mpc()
185 pr_info("MPTABLE: Product ID: %s\n", str); in smp_check_mpc()
210 char str[16]; in smp_read_mpc() local
216 if (!smp_check_mpc(mpc, oem, str)) in smp_read_mpc()
803 static int __init update_mptable_setup(char *str) in update_mptable_setup() argument
840 char str[16]; in update_mp_table() local
863 if (!smp_check_mpc(mpc, oem, str)) in update_mp_table()