| /* |
| * Copyright (c) 2024, 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 **fidfifo; |
| int col; |
| int curr_col; |
| int *row; |
| }; |
| |
| /* |
| * Push function name string into the raw data structure |
| */ |
| void push_3dfifo_fname(struct fifo3d *f3d, char *fname); |
| |
| /* |
| * Push bias value into the raw data structure |
| */ |
| void push_3dfifo_bias(struct fifo3d *f3d, int bias); |
| |
| /* |
| * Push id for function value into the raw data structure |
| */ |
| void push_3dfifo_fid(struct fifo3d *f3d, int id); |
| |
| /* |
| * 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 */ |