mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-31 16:38:12 +00:00
6b99076ced
Based on 1 normalized pattern(s): this program is free software you can redistribute it and or modify it under the terms of the gnu general public license version 2 as published by the free software foundation this program is distributed in the hope that it will be useful but without any warranty without even the implied warranty of mergchantability or fitness for a particular purpose see the gnu general public license for more details extracted by the scancode license scanner the SPDX license identifier GPL-2.0-only has been chosen to replace the boilerplate/reference in 2 file(s). Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Reviewed-by: Allison Randal <allison@lohutok.net> Reviewed-by: Enrico Weigelt <info@metux.net> Cc: linux-spdx@vger.kernel.org Link: https://lkml.kernel.org/r/20190604081202.997941624@linutronix.de Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
25 lines
629 B
C
25 lines
629 B
C
/* SPDX-License-Identifier: GPL-2.0-only */
|
|
/*
|
|
* SBEFIFO FSI Client device driver
|
|
*
|
|
* Copyright (C) IBM Corporation 2017
|
|
*/
|
|
|
|
#ifndef LINUX_FSI_SBEFIFO_H
|
|
#define LINUX_FSI_SBEFIFO_H
|
|
|
|
#define SBEFIFO_CMD_PUT_OCC_SRAM 0xa404
|
|
#define SBEFIFO_CMD_GET_OCC_SRAM 0xa403
|
|
#define SBEFIFO_CMD_GET_SBE_FFDC 0xa801
|
|
|
|
#define SBEFIFO_MAX_FFDC_SIZE 0x2000
|
|
|
|
struct device;
|
|
|
|
int sbefifo_submit(struct device *dev, const __be32 *command, size_t cmd_len,
|
|
__be32 *response, size_t *resp_len);
|
|
|
|
int sbefifo_parse_status(struct device *dev, u16 cmd, __be32 *response,
|
|
size_t resp_len, size_t *data_len);
|
|
|
|
#endif /* LINUX_FSI_SBEFIFO_H */
|