1 /* SPDX-License-Identifier: GPL-2.0 */
3 * Copyright (C) STMicroelectronics SA 2014
4 * Author: Vincent Abriou <vincent.abriou@st.com> for STMicroelectronics.
7 #ifndef _STI_AWG_UTILS_H_
8 #define _STI_AWG_UTILS_H_
10 #include <linux/types.h>
12 #define AWG_MAX_INST 64
14 struct awg_code_generation_params
{
16 u8 instruction_offset
;
31 int sti_awg_generate_code_data_enable_mode(
32 struct awg_code_generation_params
*fw_gen_params
,
33 struct awg_timing
*timing
);