mirror of
https://github.com/torvalds/linux.git
synced 2026-11-27 00:43:12 +00:00
The bulk SPDX addition made all these files into GPL-2.0 licensed files.
However the remainder of the project is MIT-licensed, these files
(primarily header files) were simply missing the boiler plate and got
caught up in the global update.
Fixes: b24413180f (License cleanup: add SPDX GPL-2.0 license identifier to files with no license)
Signed-off-by: Ilia Mirkin <[email protected]>
Acked-by: Emil Velikov <[email protected]>
Acked-by: Karol Herbst <[email protected]>
Signed-off-by: Ben Skeggs <[email protected]>
27 lines
968 B
C
27 lines
968 B
C
/* SPDX-License-Identifier: MIT */
|
|
#ifndef __NVKM_BUS_H__
|
|
#define __NVKM_BUS_H__
|
|
#include <core/subdev.h>
|
|
|
|
struct nvkm_bus {
|
|
const struct nvkm_bus_func *func;
|
|
struct nvkm_subdev subdev;
|
|
};
|
|
|
|
/* interface to sequencer */
|
|
struct nvkm_hwsq;
|
|
int nvkm_hwsq_init(struct nvkm_subdev *, struct nvkm_hwsq **);
|
|
int nvkm_hwsq_fini(struct nvkm_hwsq **, bool exec);
|
|
void nvkm_hwsq_wr32(struct nvkm_hwsq *, u32 addr, u32 data);
|
|
void nvkm_hwsq_setf(struct nvkm_hwsq *, u8 flag, int data);
|
|
void nvkm_hwsq_wait(struct nvkm_hwsq *, u8 flag, u8 data);
|
|
void nvkm_hwsq_wait_vblank(struct nvkm_hwsq *);
|
|
void nvkm_hwsq_nsec(struct nvkm_hwsq *, u32 nsec);
|
|
|
|
int nv04_bus_new(struct nvkm_device *, int, struct nvkm_bus **);
|
|
int nv31_bus_new(struct nvkm_device *, int, struct nvkm_bus **);
|
|
int nv50_bus_new(struct nvkm_device *, int, struct nvkm_bus **);
|
|
int g94_bus_new(struct nvkm_device *, int, struct nvkm_bus **);
|
|
int gf100_bus_new(struct nvkm_device *, int, struct nvkm_bus **);
|
|
#endif
|