kernel_samsung_a34x-permissive/drivers/misc/mediatek/lpm/mtk_lpm_registry.h

24 lines
384 B
C
Raw Normal View History

/* SPDX-License-Identifier: GPL-2.0 */
/*
* Copyright (c) 2019 MediaTek Inc.
*/
#ifndef __MTK_LPM_REGISTRY_H__
#define __MTK_LPM_REGISTRY_H__
#include <linux/cpumask.h>
#include <mtk_lpm.h>
typedef int (*blockcall)(int cpu, void *p);
enum MTK_LPM_REG_TYPE {
MTK_LPM_REG_PER_CPU,
MTK_LPM_REG_ALL_ONLINE,
};
int mtk_lpm_do_work(int type, blockcall call, void *dest);
#endif