1
0
mirror of https://github.com/physwizz/a155-U-u1.git synced 2025-09-26 19:04:54 +00:00
Files
a155-U-u1/kernel-5.10/drivers/misc/mediatek/vcp/rv/vcp_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 _VCP_IPI_WRAPPER_H_
#define _VCP_IPI_WRAPPER_H_
#include "vcp_ipi_pin.h"
#include "vcp_mbox_layout.h"
/* retry times * 1000 = 0x7FFF_FFFF, mbox wait maximum */
#define VCP_IPI_LEGACY_WAIT 0x20C49B
struct vcp_ipi_desc {
void (*handler)(int id, void *data, unsigned int len);
};
#endif