conn.h (95983aea80038539ebc70e41e73e9bb4eabd1a92) conn.h (32dd9236698bcd2ffdb69954b167a851fd50182a)
1/* SPDX-License-Identifier: MIT */
2#ifndef __NVIF_CONN_H__
3#define __NVIF_CONN_H__
4#include <nvif/object.h>
5struct nvif_disp;
6
7struct nvif_conn {
8 struct nvif_object object;
9};
10
11int nvif_conn_ctor(struct nvif_disp *, const char *name, int id, struct nvif_conn *);
12void nvif_conn_dtor(struct nvif_conn *);
1/* SPDX-License-Identifier: MIT */
2#ifndef __NVIF_CONN_H__
3#define __NVIF_CONN_H__
4#include <nvif/object.h>
5struct nvif_disp;
6
7struct nvif_conn {
8 struct nvif_object object;
9};
10
11int nvif_conn_ctor(struct nvif_disp *, const char *name, int id, struct nvif_conn *);
12void nvif_conn_dtor(struct nvif_conn *);
13
14#define NVIF_CONN_HPD_STATUS_UNSUPPORTED 0 /* negative if query fails */
15#define NVIF_CONN_HPD_STATUS_NOT_PRESENT 1
16#define NVIF_CONN_HPD_STATUS_PRESENT 2
17int nvif_conn_hpd_status(struct nvif_conn *);
13#endif
18#endif