Home
last modified time | relevance | path

Searched refs:ipmi (Results 1 – 5 of 5) sorted by relevance

/drivers/char/ipmi/
Dipmi_powernv.c218 struct ipmi_smi_powernv *ipmi; in ipmi_powernv_probe() local
228 ipmi = devm_kzalloc(dev, sizeof(*ipmi), GFP_KERNEL); in ipmi_powernv_probe()
229 if (!ipmi) in ipmi_powernv_probe()
232 spin_lock_init(&ipmi->msg_lock); in ipmi_powernv_probe()
240 ipmi->interface_id = prop; in ipmi_powernv_probe()
248 ipmi->irq = irq_of_parse_and_map(dev->of_node, 0); in ipmi_powernv_probe()
249 if (!ipmi->irq) { in ipmi_powernv_probe()
251 ipmi->irq = opal_event_request(prop); in ipmi_powernv_probe()
254 if (request_irq(ipmi->irq, ipmi_opal_event, IRQ_TYPE_LEVEL_HIGH, in ipmi_powernv_probe()
255 "opal-ipmi", ipmi)) { in ipmi_powernv_probe()
[all …]
/drivers/acpi/
Dacpi_ipmi.c163 struct acpi_ipmi_device *ipmi = in ipmi_dev_release_kref() local
166 ipmi_dev_release(ipmi); in ipmi_dev_release_kref()
203 struct acpi_ipmi_device *ipmi; in ipmi_msg_alloc() local
206 ipmi = acpi_ipmi_dev_get(); in ipmi_msg_alloc()
207 if (!ipmi) in ipmi_msg_alloc()
212 acpi_ipmi_dev_put(ipmi); in ipmi_msg_alloc()
219 ipmi_msg->device = ipmi; in ipmi_msg_alloc()
337 static void ipmi_flush_tx_msg(struct acpi_ipmi_device *ipmi) in ipmi_flush_tx_msg() argument
350 spin_lock_irqsave(&ipmi->tx_msg_lock, flags); in ipmi_flush_tx_msg()
351 while (!list_empty(&ipmi->tx_msg_list)) { in ipmi_flush_tx_msg()
[all …]
/drivers/hwmon/
Dibmaem.c149 struct aem_ipmi_data ipmi; member
369 struct aem_ipmi_data *ipmi = &data->ipmi; in aem_read_sensor() local
389 ipmi->tx_message.cmd = AEM_ELEMENT_CMD; in aem_read_sensor()
390 ipmi->tx_message.data = (char *)&rs_req; in aem_read_sensor()
391 ipmi->tx_message.data_len = sizeof(rs_req); in aem_read_sensor()
394 ipmi->rx_msg_data = rs_resp; in aem_read_sensor()
395 ipmi->rx_msg_len = rs_size; in aem_read_sensor()
397 aem_send_message(ipmi); in aem_read_sensor()
399 res = wait_for_completion_timeout(&ipmi->read_complete, IPMI_TIMEOUT); in aem_read_sensor()
405 if (ipmi->rx_result || ipmi->rx_msg_len != rs_size || in aem_read_sensor()
[all …]
/drivers/
DMakefile24 obj-y += char/ipmi/
/drivers/char/
DKconfig195 source "drivers/char/ipmi/Kconfig"