kernel-brax3-ubuntu-touch/drivers/misc/mediatek/adsp/adsp_semaphore.h
erascape f319b992b1 kernel-5.15: Initial import brax3 UT kernel
* halium configs enabled

Signed-off-by: erascape <erascape@proton.me>
2025-09-23 15:17:10 +00:00

19 lines
415 B
C

/* SPDX-License-Identifier: GPL-2.0 */
/*
* Copyright (c) 2019 MediaTek Inc.
*/
#ifndef __ADSP_SEMAPHORE_H
#define __ADSP_SEMAPHORE_H
int get_adsp_semaphore(unsigned int flags);
int release_adsp_semaphore(unsigned int flags);
int adsp_semaphore_init(unsigned int way_bits,
unsigned int ctrl_bit,
unsigned int timeout);
int get_adsp_clock_semaphore(void);
int release_adsp_clock_semaphore(void);
#endif