Lines Matching refs:da_tokens
27 static struct calling_interface_token *da_tokens; variable
213 if (!da_tokens) { in dell_smbios_call_filter()
220 if (da_tokens[i].location != buffer->input[0]) in dell_smbios_call_filter()
222 t = da_tokens[i].tokenID; in dell_smbios_call_filter()
321 if (!da_tokens) in dell_smbios_find_token()
325 if (da_tokens[i].tokenID == tokenid) in dell_smbios_find_token()
326 return &da_tokens[i]; in dell_smbios_find_token()
371 new_da_tokens = krealloc(da_tokens, (da_num_tokens + tokens) * in parse_da_table()
377 da_tokens = new_da_tokens; in parse_da_table()
379 memcpy(da_tokens+da_num_tokens, table->tokens, in parse_da_table()
390 if (da_tokens[i].tokenID == 0) in zero_duplicates()
393 if (da_tokens[j].tokenID == 0) in zero_duplicates()
395 if (da_tokens[i].tokenID == da_tokens[j].tokenID) { in zero_duplicates()
397 da_tokens[j].tokenID, in zero_duplicates()
398 da_tokens[j].location, in zero_duplicates()
399 da_tokens[j].value); in zero_duplicates()
400 da_tokens[j].tokenID = 0; in zero_duplicates()
444 return sysfs_emit(buf, "%08x", da_tokens[i].location); in location_show()
458 return sysfs_emit(buf, "%08x", da_tokens[i].value); in value_show()
497 if (da_tokens[i].tokenID == 0) in build_tokens_sysfs()
501 da_tokens[i].tokenID); in build_tokens_sysfs()
512 da_tokens[i].tokenID); in build_tokens_sysfs()
601 if (da_tokens) { in dell_smbios_init()
625 kfree(da_tokens); in dell_smbios_init()
635 if (da_tokens) in dell_smbios_exit()
640 kfree(da_tokens); in dell_smbios_exit()