linux/drivers/misc/ibmasm/dot_command.h

/* SPDX-License-Identifier: GPL-2.0-or-later */
/*
 * IBM ASM Service Processor Device Driver
 *
 * Copyright (C) IBM Corporation, 2004
 *
 * Author: Max Asböck <[email protected]>
 */

#ifndef __DOT_COMMAND_H__
#define __DOT_COMMAND_H__

/*
 * dot commands are the protocol used to communicate with the service
 * processor.
 * They consist of header, a command of variable length and data of
 * variable length.
 */

/* dot command types */
#define sp_write
#define sp_write_next
#define sp_read
#define sp_read_next
#define sp_command_response
#define sp_event
#define sp_heartbeat

#pragma pack(1)
struct dot_command_header {};
#pragma pack()

static inline size_t get_dot_command_size(void *buffer)
{}

static inline unsigned int get_dot_command_timeout(void *buffer)
{}

#endif /* __DOT_COMMAND_H__ */