#include <core/client.h>
#include <core/device.h>
#include <core/option.h>
#include <nvif/class.h>
#include <nvif/event.h>
#include <nvif/if0000.h>
#include <nvif/unpack.h>
static int
nvkm_uclient_new(const struct nvkm_oclass *oclass, void *argv, u32 argc,
struct nvkm_object **pobject)
{ … }
static const struct nvkm_sclass
nvkm_uclient_sclass = …;
static const struct nvkm_object_func nvkm_client;
struct nvkm_client *
nvkm_client_search(struct nvkm_client *client, u64 handle)
{ … }
static int
nvkm_client_mthd_devlist(struct nvkm_client *client, void *data, u32 size)
{ … }
static int
nvkm_client_mthd(struct nvkm_object *object, u32 mthd, void *data, u32 size)
{ … }
static int
nvkm_client_child_new(const struct nvkm_oclass *oclass,
void *data, u32 size, struct nvkm_object **pobject)
{ … }
static int
nvkm_client_child_get(struct nvkm_object *object, int index,
struct nvkm_oclass *oclass)
{ … }
static int
nvkm_client_fini(struct nvkm_object *object, bool suspend)
{ … }
static void *
nvkm_client_dtor(struct nvkm_object *object)
{ … }
static const struct nvkm_object_func
nvkm_client = …;
int
nvkm_client_new(const char *name, u64 device, const char *cfg, const char *dbg,
int (*event)(u64, void *, u32), struct nvkm_client **pclient)
{ … }