Lines Matching refs:adapter_name
182 char *adapter_name; member
1164 static char *adapter_name[MAX_SSIF_BMCS]; variable
1166 module_param_array(adapter_name, charp, &num_adapter_names, 0);
1167 MODULE_PARM_DESC(adapter_name, "The string name of the I2C device that has the BMC. By default all…
1407 char *adapter_name, in ssif_info_find() argument
1415 if (info->addr_src == SI_SMBIOS && !info->adapter_name) in ssif_info_find()
1416 info->adapter_name = kstrdup(adapter_name, in ssif_info_find()
1419 if (info->adapter_name || adapter_name) { in ssif_info_find()
1420 if (!info->adapter_name != !adapter_name) { in ssif_info_find()
1424 if (adapter_name && in ssif_info_find()
1425 strcmp_nospace(info->adapter_name, in ssif_info_find()
1426 adapter_name)) in ssif_info_find()
1437 adapter_name = NULL; in ssif_info_find()
1614 info->adapter_name = kstrdup(client->adapter->name, GFP_KERNEL); in ssif_add_infos()
1615 if (!info->adapter_name) { in ssif_add_infos()
1638 if (!strcmp(info->adapter_name, client->adapter->name) && in ssif_check_and_remove()
1941 static int new_ssif_client(int addr, char *adapter_name, in new_ssif_client() argument
1950 if (ssif_info_find(addr, adapter_name, false)) { in new_ssif_client()
1961 if (adapter_name) { in new_ssif_client()
1962 addr_info->adapter_name = kstrdup(adapter_name, GFP_KERNEL); in new_ssif_client()
1963 if (!addr_info->adapter_name) { in new_ssif_client()
1998 kfree(info->adapter_name); in free_ssif_clients()
2133 rv = new_ssif_client(addr[i], adapter_name[i], in init_ipmi_ssif()