Searched refs:ipmi (Results 1 – 6 of 6) sorted by relevance
213 struct ipmi_smi_powernv *ipmi; in ipmi_powernv_probe() local223 ipmi = devm_kzalloc(dev, sizeof(*ipmi), GFP_KERNEL); in ipmi_powernv_probe()224 if (!ipmi) in ipmi_powernv_probe()227 spin_lock_init(&ipmi->msg_lock); in ipmi_powernv_probe()235 ipmi->interface_id = prop; in ipmi_powernv_probe()243 ipmi->irq = irq_of_parse_and_map(dev->of_node, 0); in ipmi_powernv_probe()244 if (!ipmi->irq) { in ipmi_powernv_probe()246 ipmi->irq = opal_event_request(prop); in ipmi_powernv_probe()249 rc = request_irq(ipmi->irq, ipmi_opal_event, IRQ_TYPE_LEVEL_HIGH, in ipmi_powernv_probe()250 "opal-ipmi", ipmi); in ipmi_powernv_probe()[all …]
17 See <file:Documentation/driver-api/ipmi.rst> for more details on the driver.
150 struct acpi_ipmi_device *ipmi = in ipmi_dev_release_kref() local153 ipmi_dev_release(ipmi); in ipmi_dev_release_kref()190 struct acpi_ipmi_device *ipmi; in ipmi_msg_alloc() local193 ipmi = acpi_ipmi_dev_get(); in ipmi_msg_alloc()194 if (!ipmi) in ipmi_msg_alloc()199 acpi_ipmi_dev_put(ipmi); in ipmi_msg_alloc()206 ipmi_msg->device = ipmi; in ipmi_msg_alloc()324 static void ipmi_flush_tx_msg(struct acpi_ipmi_device *ipmi) in ipmi_flush_tx_msg() argument337 spin_lock_irqsave(&ipmi->tx_msg_lock, flags); in ipmi_flush_tx_msg()338 while (!list_empty(&ipmi->tx_msg_list)) { in ipmi_flush_tx_msg()[all …]
136 struct aem_ipmi_data ipmi; member356 struct aem_ipmi_data *ipmi = &data->ipmi; in aem_read_sensor() local376 ipmi->tx_message.cmd = AEM_ELEMENT_CMD; in aem_read_sensor()377 ipmi->tx_message.data = (char *)&rs_req; in aem_read_sensor()378 ipmi->tx_message.data_len = sizeof(rs_req); in aem_read_sensor()381 ipmi->rx_msg_data = rs_resp; in aem_read_sensor()382 ipmi->rx_msg_len = rs_size; in aem_read_sensor()384 aem_send_message(ipmi); in aem_read_sensor()386 res = wait_for_completion_timeout(&ipmi->read_complete, IPMI_TIMEOUT); in aem_read_sensor()392 if (ipmi->rx_result || ipmi->rx_msg_len != rs_size || in aem_read_sensor()[all …]
27 obj-y += char/ipmi/
133 source "drivers/char/ipmi/Kconfig"