Lines Matching refs:sp
65 int ibmasm_heartbeat_init(struct service_processor *sp)
67 sp->heartbeat = ibmasm_new_command(sp, HEARTBEAT_BUFFER_SIZE);
68 if (sp->heartbeat == NULL)
74 void ibmasm_heartbeat_exit(struct service_processor *sp)
79 ibmasm_wait_for_response(sp->heartbeat, IBMASM_CMD_TIMEOUT_NORMAL);
82 command_put(sp->heartbeat);
85 void ibmasm_receive_heartbeat(struct service_processor *sp, void *message, size_t size)
87 struct command *cmd = sp->heartbeat;
100 ibmasm_exec_command(sp, cmd);