Lines Matching refs:send_msg
123 struct kernel_ipmi_msg *send_msg) in ipmi_request_wait_for_response() argument
130 rv = ipmi_request_supply_msgs(user, addr, 0, send_msg, &comp, in ipmi_request_wait_for_response()
143 struct kernel_ipmi_msg *send_msg) in ipmi_request_in_rc_mode() argument
148 rv = ipmi_request_supply_msgs(user, addr, 0, send_msg, NULL, in ipmi_request_in_rc_mode()
186 struct kernel_ipmi_msg send_msg; in pps_poweroff_atca() local
197 send_msg.netfn = IPMI_NETFN_OEM; in pps_poweroff_atca()
198 send_msg.cmd = IPMI_ATCA_PPS_GRACEFUL_RESTART; in pps_poweroff_atca()
199 send_msg.data = IPMI_ATCA_PPS_IANA; in pps_poweroff_atca()
200 send_msg.data_len = 3; in pps_poweroff_atca()
203 &send_msg); in pps_poweroff_atca()
214 struct kernel_ipmi_msg send_msg; in ipmi_atca_detect() local
228 send_msg.netfn = IPMI_NETFN_ATCA; in ipmi_atca_detect()
229 send_msg.cmd = IPMI_ATCA_GET_ADDR_INFO_CMD; in ipmi_atca_detect()
231 send_msg.data = data; in ipmi_atca_detect()
232 send_msg.data_len = sizeof(data); in ipmi_atca_detect()
235 &send_msg); in ipmi_atca_detect()
251 struct kernel_ipmi_msg send_msg; in ipmi_poweroff_atca() local
267 send_msg.netfn = IPMI_NETFN_ATCA; in ipmi_poweroff_atca()
268 send_msg.cmd = IPMI_ATCA_SET_POWER_CMD; in ipmi_poweroff_atca()
273 send_msg.data = data; in ipmi_poweroff_atca()
274 send_msg.data_len = sizeof(data); in ipmi_poweroff_atca()
277 &send_msg); in ipmi_poweroff_atca()
322 struct kernel_ipmi_msg send_msg; in ipmi_poweroff_cpi1() local
342 send_msg.netfn = IPMI_NETFN_OEM_8 >> 2; in ipmi_poweroff_cpi1()
343 send_msg.cmd = OEM_GRP_CMD_GET_SLOT_GA; in ipmi_poweroff_cpi1()
344 send_msg.data = NULL; in ipmi_poweroff_cpi1()
345 send_msg.data_len = 0; in ipmi_poweroff_cpi1()
348 &send_msg); in ipmi_poweroff_cpi1()
357 send_msg.netfn = IPMI_NETFN_SENSOR_EVT >> 2; in ipmi_poweroff_cpi1()
358 send_msg.cmd = IPMI_CMD_GET_EVENT_RECEIVER; in ipmi_poweroff_cpi1()
359 send_msg.data = NULL; in ipmi_poweroff_cpi1()
360 send_msg.data_len = 0; in ipmi_poweroff_cpi1()
363 &send_msg); in ipmi_poweroff_cpi1()
380 send_msg.netfn = IPMI_NETFN_OEM_8 >> 2; in ipmi_poweroff_cpi1()
381 send_msg.cmd = OEM_GRP_CMD_REQUEST_HOTSWAP_CTRL; in ipmi_poweroff_cpi1()
382 send_msg.data = &hotswap_ipmb; in ipmi_poweroff_cpi1()
383 send_msg.data_len = 1; in ipmi_poweroff_cpi1()
386 &send_msg); in ipmi_poweroff_cpi1()
391 send_msg.netfn = IPMI_NETFN_OEM_1 >> 2; in ipmi_poweroff_cpi1()
392 send_msg.cmd = OEM_GRP_CMD_SET_RESET_STATE; in ipmi_poweroff_cpi1()
393 send_msg.data = data; in ipmi_poweroff_cpi1()
395 send_msg.data_len = 1; in ipmi_poweroff_cpi1()
398 &send_msg); in ipmi_poweroff_cpi1()
405 send_msg.netfn = IPMI_NETFN_OEM_1 >> 2; in ipmi_poweroff_cpi1()
406 send_msg.cmd = OEM_GRP_CMD_SET_POWER_STATE; in ipmi_poweroff_cpi1()
407 send_msg.data = data; in ipmi_poweroff_cpi1()
409 send_msg.data_len = 1; in ipmi_poweroff_cpi1()
412 &send_msg); in ipmi_poweroff_cpi1()
473 struct kernel_ipmi_msg send_msg; in ipmi_poweroff_chassis() local
491 send_msg.netfn = IPMI_NETFN_CHASSIS_REQUEST; in ipmi_poweroff_chassis()
492 send_msg.cmd = IPMI_CHASSIS_CONTROL_CMD; in ipmi_poweroff_chassis()
497 send_msg.data = data; in ipmi_poweroff_chassis()
498 send_msg.data_len = sizeof(data); in ipmi_poweroff_chassis()
501 &send_msg); in ipmi_poweroff_chassis()
561 struct kernel_ipmi_msg send_msg; in ipmi_po_new_smi() local
589 send_msg.netfn = IPMI_NETFN_APP_REQUEST; in ipmi_po_new_smi()
590 send_msg.cmd = IPMI_GET_DEVICE_ID_CMD; in ipmi_po_new_smi()
591 send_msg.data = NULL; in ipmi_po_new_smi()
592 send_msg.data_len = 0; in ipmi_po_new_smi()
595 &send_msg); in ipmi_po_new_smi()