#include <drm/drm_print.h>
#include "sti_awg_utils.h"
#define AWG_DELAY …
#define AWG_OPCODE_OFFSET …
#define AWG_MAX_ARG …
enum opcode { … };
static int awg_generate_instr(enum opcode opcode,
long int arg,
long int mux_sel,
long int data_en,
struct awg_code_generation_params *fwparams)
{ … }
static int awg_generate_line_signal(
struct awg_code_generation_params *fwparams,
struct awg_timing *timing)
{ … }
int sti_awg_generate_code_data_enable_mode(
struct awg_code_generation_params *fwparams,
struct awg_timing *timing)
{ … }