blob: c04567ce1e4202ff30f04158f8264a13c02481de [file] [log] [blame]
/*
* Copyright (c) 2020, Arm Limited. All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
#ifndef FIFO3D_H
#define FIFO3D_H
#include <stddef.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "smcmalloc.h"
struct fifo3d {
char ***nnfifo;
char ***fnamefifo;
int **biasfifo;
int col;
int curr_col;
int *row;
};
/*
* Push function name string into raw data structure
*/
void push_3dfifo_fname(struct fifo3d *f3d, char *fname);
/*
* Push bias value into raw data structure
*/
void push_3dfifo_bias(struct fifo3d *f3d, int bias);
/*
* Create new column and/or row for raw data structure for newly
* found node from device tree
*/
void push_3dfifo_col(struct fifo3d *f3d, char *entry, struct memmod *mmod);
#endif /* FIFO3D_H */