Merge branch 'for-linus-4.7' of git://git.kernel.org/pub/scm/linux/kernel/git/mason...
[deliverable/linux.git] / drivers / gpu / drm / nouveau / nvkm / subdev / bus / priv.h
CommitLineData
bb23f9d7
BS
1#ifndef __NVKM_BUS_PRIV_H__
2#define __NVKM_BUS_PRIV_H__
3#define nvkm_bus(p) container_of((p), struct nvkm_bus, subdev)
4#include <subdev/bus.h>
5
6struct nvkm_bus_func {
7 void (*init)(struct nvkm_bus *);
8 void (*intr)(struct nvkm_bus *);
9 int (*hwsq_exec)(struct nvkm_bus *, u32 *, u32);
10 u32 hwsq_size;
11};
12
13int nvkm_bus_new_(const struct nvkm_bus_func *, struct nvkm_device *, int,
14 struct nvkm_bus **);
15
16void nv50_bus_init(struct nvkm_bus *);
17void nv50_bus_intr(struct nvkm_bus *);
18#endif
This page took 0.069068 seconds and 5 git commands to generate.