1 /* SPDX-License-Identifier: MIT */
2 #ifndef __NV04_FIFO_H__
3 #define __NV04_FIFO_H__
4 #define nv04_fifo(p) container_of((p), struct nv04_fifo, base)
7 struct nv04_fifo_ramfc
{
16 struct nvkm_fifo base
;
17 const struct nv04_fifo_ramfc
*ramfc
;
20 int nv04_fifo_new_(const struct nvkm_fifo_func
*, struct nvkm_device
*,
21 int index
, int nr
, const struct nv04_fifo_ramfc
*,
23 void nv04_fifo_init(struct nvkm_fifo
*);