1
0
mirror of https://github.com/physwizz/a155-U-u1.git synced 2025-10-18 01:15:33 +00:00
Files
a155-U-u1/kernel-5.10/drivers/misc/mediatek/scp/rv/scp_ipi_wrapper.h
physwizz 99537be4e2 first
2024-03-11 06:53:12 +11:00

20 lines
380 B
C

/* SPDX-License-Identifier: GPL-2.0 */
/*
* Copyright (c) 2020 MediaTek Inc.
*/
#ifndef _SCP_IPI_WRAPPER_H_
#define _SCP_IPI_WRAPPER_H_
#include "scp_ipi_pin.h"
#include "scp_mbox_layout.h"
/* retry times * 1000 = 0x7FFF_FFFF, mbox wait maximum */
#define SCP_IPI_LEGACY_WAIT 0x20C49B
struct scp_ipi_desc {
void (*handler)(int id, void *data, unsigned int len);
};
#endif