Lines Matching refs:ipmi
136 struct aem_ipmi_data ipmi; member
356 struct aem_ipmi_data *ipmi = &data->ipmi; in aem_read_sensor() local
376 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()
482 ipmi_destroy_user(data->ipmi.user); in aem_delete()
558 res = aem_init_ipmi_data(&data->ipmi, probe->interface, in aem_init_aem1_inst()
588 dev_info(data->ipmi.bmc_device, "Found AEM v%d.%d at 0x%X\n", in aem_init_aem1_inst()
598 ipmi_destroy_user(data->ipmi.user); in aem_init_aem1_inst()
700 res = aem_init_ipmi_data(&data->ipmi, probe->interface, in aem_init_aem2_inst()
730 dev_info(data->ipmi.bmc_device, "Found AEM v%d.%d at 0x%X\n", in aem_init_aem2_inst()
740 ipmi_destroy_user(data->ipmi.user); in aem_init_aem2_inst()
800 if (p1->ipmi.interface == iface) in aem_bmc_gone()