Lines Matching defs:conn
22 #include <nvif/conn.h>
30 nvif_conn_event_ctor(struct nvif_conn *conn, const char *name, nvif_event_func func, u8 types,
35 struct nvif_conn_event_v0 conn;
39 args.conn.version = 0;
40 args.conn.types = types;
42 ret = nvif_event_ctor_(&conn->object, name ?: "nvifConnHpd", nvif_conn_id(conn),
44 NVIF_DEBUG(&conn->object, "[NEW EVENT:HPD types:%02x]", types);
49 nvif_conn_hpd_status(struct nvif_conn *conn)
56 ret = nvif_mthd(&conn->object, NVIF_CONN_V0_HPD_STATUS, &args, sizeof(args));
57 NVIF_ERRON(ret, &conn->object, "[HPD_STATUS] support:%d present:%d",
63 nvif_conn_dtor(struct nvif_conn *conn)
65 nvif_object_dtor(&conn->object);
69 nvif_conn_ctor(struct nvif_disp *disp, const char *name, int id, struct nvif_conn *conn)
78 &args, sizeof(args), &conn->object);
79 NVIF_ERRON(ret, &disp->object, "[NEW conn id:%d]", id);