Searched refs:ipmi (Results 1 – 5 of 5) sorted by relevance
218 struct ipmi_smi_powernv *ipmi; in ipmi_powernv_probe() local228 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 …]
163 struct acpi_ipmi_device *ipmi = in ipmi_dev_release_kref() local166 ipmi_dev_release(ipmi); in ipmi_dev_release_kref()203 struct acpi_ipmi_device *ipmi; in ipmi_msg_alloc() local206 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() argument350 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 …]
149 struct aem_ipmi_data ipmi; member369 struct aem_ipmi_data *ipmi = &data->ipmi; in aem_read_sensor() local389 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 …]
24 obj-y += char/ipmi/
195 source "drivers/char/ipmi/Kconfig"