Lines Matching +full:ipmi +full:- +full:bt
1 // SPDX-License-Identifier: GPL-2.0+
5 * Handling for dynamically adding/removing IPMI devices through
12 #include <linux/ipmi.h>
21 "Add and remove interfaces. See Documentation/driver-api/ipmi.rst in the kernel sources for the gory details.");
25 * add|remove,kcs|bt|smic,mem|i/o,<address>[,<opt1>[,<opt2>[,...]]]
48 { "bt", SI_BT },
67 return -EINVAL;
80 return -EINVAL;
91 return -EINVAL;
96 return -EINVAL;
110 h->iftype = IPMI_PLAT_IF_SI;
119 h->type = ival;
124 h->space = ival;
131 rv = kstrtoul(curr, 0, &h->addr);
149 rv = check_hotmod_int_op(curr, o, "rsp", &h->regspacing);
154 rv = check_hotmod_int_op(curr, o, "rsi", &h->regsize);
159 rv = check_hotmod_int_op(curr, o, "rsh", &h->regshift);
164 rv = check_hotmod_int_op(curr, o, "irq", &h->irq);
169 rv = check_hotmod_int_op(curr, o, "ipmb", &h->slave_addr);
176 return -EINVAL;
179 h->addr_source = SI_HOTMOD;
193 return -ENOMEM;
211 ipmi_platform_add("hotmod-ipmi-si",
222 if (strcmp(pdev->name, "hotmod-ipmi-si") == 0)
236 ipmi_remove_platform_device_by_name("hotmod-ipmi-si");