aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/cec.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/cec.h')
-rw-r--r--include/linux/cec.h15
1 files changed, 14 insertions, 1 deletions
diff --git a/include/linux/cec.h b/include/linux/cec.h
index 16d96133..2d3bac54 100644
--- a/include/linux/cec.h
+++ b/include/linux/cec.h
@@ -405,6 +405,17 @@ struct cec_connector_info {
};
};
+/**
+ * struct cec_enum_connector_info - enumerate connector info
+ * @conn_info: connector info
+ * @index: get connector info at index @index
+ */
+struct cec_enum_connector_info {
+ struct cec_connector_info conn_info;
+ __u32 index;
+ char name[32];
+};
+
/* Events */
/* Event that occurs when the adapter state changes */
@@ -513,8 +524,10 @@ struct cec_event {
#define CEC_G_MODE _IOR('a', 8, __u32)
#define CEC_S_MODE _IOW('a', 9, __u32)
-/* Get the connector info */
+/* Get and set the connector info */
#define CEC_ADAP_G_CONNECTOR_INFO _IOR('a', 10, struct cec_connector_info)
+#define CEC_ADAP_S_CONNECTOR_INFO _IOW('a', 11, struct cec_connector_info)
+#define CEC_ADAP_ENUM_CONNECTOR_INFO _IOWR('a', 12, struct cec_enum_connector_info)
/*
* The remainder of this header defines all CEC messages and operands.

Privacy Policy