2013-10-24 09:39:05 +10:00
|
|
|
#ifndef __NVKM_BUS_NV04_H__
|
|
|
|
|
#define __NVKM_BUS_NV04_H__
|
|
|
|
|
#include <subdev/bus.h>
|
|
|
|
|
|
|
|
|
|
struct nv04_bus_priv {
|
2015-01-14 14:40:22 +10:00
|
|
|
struct nvkm_bus base;
|
2013-10-24 09:39:05 +10:00
|
|
|
};
|
|
|
|
|
|
2015-01-14 14:40:22 +10:00
|
|
|
int nv04_bus_ctor(struct nvkm_object *, struct nvkm_object *,
|
|
|
|
|
struct nvkm_oclass *, void *, u32,
|
|
|
|
|
struct nvkm_object **);
|
|
|
|
|
int nv50_bus_init(struct nvkm_object *);
|
|
|
|
|
void nv50_bus_intr(struct nvkm_subdev *);
|
2013-10-24 09:39:05 +10:00
|
|
|
|
|
|
|
|
struct nv04_bus_impl {
|
2015-01-14 14:40:22 +10:00
|
|
|
struct nvkm_oclass base;
|
|
|
|
|
void (*intr)(struct nvkm_subdev *);
|
|
|
|
|
int (*hwsq_exec)(struct nvkm_bus *, u32 *, u32);
|
2013-10-15 10:49:39 +10:00
|
|
|
u32 hwsq_size;
|
2013-10-24 09:39:05 +10:00
|
|
|
};
|
|
|
|
|
#endif
|