Lines Matching refs:smbios_table
53 static void *smbios_table; variable
241 static void * get_subsequent_smbios_entry(void *smbios_start, void *smbios_table, void *curr) in get_subsequent_smbios_entry() argument
248 if (!smbios_table || !curr) in get_subsequent_smbios_entry()
252 p_max = smbios_start + readw(smbios_table + ST_LENGTH); in get_subsequent_smbios_entry()
289 static void *get_SMBIOS_entry (void *smbios_start, void *smbios_table, u8 type, void * previous) in get_SMBIOS_entry() argument
291 if (!smbios_table) in get_SMBIOS_entry()
297 previous = get_subsequent_smbios_entry(smbios_start, smbios_table, previous); in get_SMBIOS_entry()
302 previous = get_subsequent_smbios_entry(smbios_start, smbios_table, previous); in get_SMBIOS_entry()
312 static int ctrl_slot_setup (struct controller * ctrl, void *smbios_start, void *smbios_table) in ctrl_slot_setup() argument
366 slot_entry = get_SMBIOS_entry(smbios_start, smbios_table, 9, slot_entry); in ctrl_slot_setup()
369 slot_entry = get_SMBIOS_entry(smbios_start, smbios_table, 9, slot_entry); in ctrl_slot_setup()
1169 rc = ctrl_slot_setup(ctrl, smbios_start, smbios_table); in cpqhpc_probe()
1327 smbios_table = detect_SMBIOS_pointer(cpqhp_rom_start, cpqhp_rom_start + ROM_PHY_LEN); in one_time_init()
1328 if (!smbios_table) { in one_time_init()
1334 smbios_start = ioremap(readl(smbios_table + ST_ADDRESS), readw(smbios_table + ST_LENGTH)); in one_time_init()