Lines Matching refs:send_msg

120 					  struct kernel_ipmi_msg *send_msg)  in ipmi_request_wait_for_response()  argument
127 rv = ipmi_request_supply_msgs(user, addr, 0, send_msg, &comp, in ipmi_request_wait_for_response()
140 struct kernel_ipmi_msg *send_msg) in ipmi_request_in_rc_mode() argument
145 rv = ipmi_request_supply_msgs(user, addr, 0, send_msg, NULL, in ipmi_request_in_rc_mode()
183 struct kernel_ipmi_msg send_msg; in pps_poweroff_atca() local
194 send_msg.netfn = IPMI_NETFN_OEM; in pps_poweroff_atca()
195 send_msg.cmd = IPMI_ATCA_PPS_GRACEFUL_RESTART; in pps_poweroff_atca()
196 send_msg.data = IPMI_ATCA_PPS_IANA; in pps_poweroff_atca()
197 send_msg.data_len = 3; in pps_poweroff_atca()
200 &send_msg); in pps_poweroff_atca()
210 struct kernel_ipmi_msg send_msg; in ipmi_atca_detect() local
224 send_msg.netfn = IPMI_NETFN_ATCA; in ipmi_atca_detect()
225 send_msg.cmd = IPMI_ATCA_GET_ADDR_INFO_CMD; in ipmi_atca_detect()
227 send_msg.data = data; in ipmi_atca_detect()
228 send_msg.data_len = sizeof(data); in ipmi_atca_detect()
231 &send_msg); in ipmi_atca_detect()
245 struct kernel_ipmi_msg send_msg; in ipmi_poweroff_atca() local
261 send_msg.netfn = IPMI_NETFN_ATCA; in ipmi_poweroff_atca()
262 send_msg.cmd = IPMI_ATCA_SET_POWER_CMD; in ipmi_poweroff_atca()
267 send_msg.data = data; in ipmi_poweroff_atca()
268 send_msg.data_len = sizeof(data); in ipmi_poweroff_atca()
271 &send_msg); in ipmi_poweroff_atca()
316 struct kernel_ipmi_msg send_msg; in ipmi_poweroff_cpi1() local
336 send_msg.netfn = IPMI_NETFN_OEM_8 >> 2; in ipmi_poweroff_cpi1()
337 send_msg.cmd = OEM_GRP_CMD_GET_SLOT_GA; in ipmi_poweroff_cpi1()
338 send_msg.data = NULL; in ipmi_poweroff_cpi1()
339 send_msg.data_len = 0; in ipmi_poweroff_cpi1()
342 &send_msg); in ipmi_poweroff_cpi1()
351 send_msg.netfn = IPMI_NETFN_SENSOR_EVT >> 2; in ipmi_poweroff_cpi1()
352 send_msg.cmd = IPMI_CMD_GET_EVENT_RECEIVER; in ipmi_poweroff_cpi1()
353 send_msg.data = NULL; in ipmi_poweroff_cpi1()
354 send_msg.data_len = 0; in ipmi_poweroff_cpi1()
357 &send_msg); in ipmi_poweroff_cpi1()
374 send_msg.netfn = IPMI_NETFN_OEM_8 >> 2; in ipmi_poweroff_cpi1()
375 send_msg.cmd = OEM_GRP_CMD_REQUEST_HOTSWAP_CTRL; in ipmi_poweroff_cpi1()
376 send_msg.data = &hotswap_ipmb; in ipmi_poweroff_cpi1()
377 send_msg.data_len = 1; in ipmi_poweroff_cpi1()
380 &send_msg); in ipmi_poweroff_cpi1()
385 send_msg.netfn = IPMI_NETFN_OEM_1 >> 2; in ipmi_poweroff_cpi1()
386 send_msg.cmd = OEM_GRP_CMD_SET_RESET_STATE; in ipmi_poweroff_cpi1()
387 send_msg.data = data; in ipmi_poweroff_cpi1()
389 send_msg.data_len = 1; in ipmi_poweroff_cpi1()
392 &send_msg); in ipmi_poweroff_cpi1()
399 send_msg.netfn = IPMI_NETFN_OEM_1 >> 2; in ipmi_poweroff_cpi1()
400 send_msg.cmd = OEM_GRP_CMD_SET_POWER_STATE; in ipmi_poweroff_cpi1()
401 send_msg.data = data; in ipmi_poweroff_cpi1()
403 send_msg.data_len = 1; in ipmi_poweroff_cpi1()
406 &send_msg); in ipmi_poweroff_cpi1()
467 struct kernel_ipmi_msg send_msg; in ipmi_poweroff_chassis() local
485 send_msg.netfn = IPMI_NETFN_CHASSIS_REQUEST; in ipmi_poweroff_chassis()
486 send_msg.cmd = IPMI_CHASSIS_CONTROL_CMD; in ipmi_poweroff_chassis()
491 send_msg.data = data; in ipmi_poweroff_chassis()
492 send_msg.data_len = sizeof(data); in ipmi_poweroff_chassis()
495 &send_msg); in ipmi_poweroff_chassis()
555 struct kernel_ipmi_msg send_msg; in ipmi_po_new_smi() local
582 send_msg.netfn = IPMI_NETFN_APP_REQUEST; in ipmi_po_new_smi()
583 send_msg.cmd = IPMI_GET_DEVICE_ID_CMD; in ipmi_po_new_smi()
584 send_msg.data = NULL; in ipmi_po_new_smi()
585 send_msg.data_len = 0; in ipmi_po_new_smi()
588 &send_msg); in ipmi_po_new_smi()