2019-06-19 20:13:43 -04:00
|
|
|
/* SPDX-License-Identifier: MIT */
|
2014-08-10 04:10:21 +10:00
|
|
|
#ifndef __NVIF_CLIENT_H__
|
|
|
|
#define __NVIF_CLIENT_H__
|
|
|
|
|
2015-01-13 22:13:14 +10:00
|
|
|
#include <nvif/object.h>
|
2014-08-10 04:10:21 +10:00
|
|
|
|
|
|
|
struct nvif_client {
|
2015-08-20 14:54:15 +10:00
|
|
|
struct nvif_object object;
|
2014-08-10 04:10:21 +10:00
|
|
|
const struct nvif_driver *driver;
|
|
|
|
};
|
|
|
|
|
2024-07-26 14:38:10 +10:00
|
|
|
int nvif_client_ctor(struct nvif_client *parent, const char *name, struct nvif_client *);
|
2020-03-30 13:45:33 +10:00
|
|
|
void nvif_client_dtor(struct nvif_client *);
|
2014-08-10 04:10:21 +10:00
|
|
|
int nvif_client_suspend(struct nvif_client *);
|
|
|
|
int nvif_client_resume(struct nvif_client *);
|
|
|
|
|
|
|
|
/*XXX*/
|
|
|
|
#endif
|