mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-01-24 09:09:36 +07:00
3c910ecbdd
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 you should have received a copy of the gnu general public license along with this program if not see http www gnu org licenses extracted by the scancode license scanner the SPDX license identifier GPL-2.0-only has been chosen to replace the boilerplate/reference in 30 file(s). Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Reviewed-by: Allison Randal <allison@lohutok.net> Cc: linux-spdx@vger.kernel.org Link: https://lkml.kernel.org/r/20190531190115.962665879@linutronix.de Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
27 lines
712 B
C
27 lines
712 B
C
/* SPDX-License-Identifier: GPL-2.0-only */
|
|
/*
|
|
* Copyright (C) 2016 Endless Mobile, Inc.
|
|
* Author: Carlo Caione <carlo@endlessm.com>
|
|
*/
|
|
|
|
#ifndef _MESON_SM_FW_H_
|
|
#define _MESON_SM_FW_H_
|
|
|
|
enum {
|
|
SM_EFUSE_READ,
|
|
SM_EFUSE_WRITE,
|
|
SM_EFUSE_USER_MAX,
|
|
SM_GET_CHIP_ID,
|
|
};
|
|
|
|
struct meson_sm_firmware;
|
|
|
|
int meson_sm_call(unsigned int cmd_index, u32 *ret, u32 arg0, u32 arg1,
|
|
u32 arg2, u32 arg3, u32 arg4);
|
|
int meson_sm_call_write(void *buffer, unsigned int b_size, unsigned int cmd_index,
|
|
u32 arg0, u32 arg1, u32 arg2, u32 arg3, u32 arg4);
|
|
int meson_sm_call_read(void *buffer, unsigned int bsize, unsigned int cmd_index,
|
|
u32 arg0, u32 arg1, u32 arg2, u32 arg3, u32 arg4);
|
|
|
|
#endif /* _MESON_SM_FW_H_ */
|