hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
kernel/drivers/gpu/drm/amd/display/include/i2caux_interface.h
....@@ -40,9 +40,19 @@
4040 /* set following flag to write data,
4141 * reset it to read data */
4242 bool write;
43
+ bool mot;
4344 uint32_t address;
44
- uint8_t length;
45
+ uint32_t length;
4546 uint8_t *data;
47
+ /*
48
+ * used to return the reply type of the transaction
49
+ * ignored if NULL
50
+ */
51
+ uint8_t *reply;
52
+ /* expressed in milliseconds
53
+ * zero means "use default value"
54
+ */
55
+ uint32_t defer_delay;
4656 };
4757
4858 struct aux_command {
....@@ -65,28 +75,5 @@
6575 } bits;
6676 uint32_t raw;
6777 };
68
-
69
-struct i2caux;
70
-
71
-struct i2caux *dal_i2caux_create(
72
- struct dc_context *ctx);
73
-
74
-bool dal_i2caux_submit_i2c_command(
75
- struct i2caux *i2caux,
76
- struct ddc *ddc,
77
- struct i2c_command *cmd);
78
-
79
-bool dal_i2caux_submit_aux_command(
80
- struct i2caux *i2caux,
81
- struct ddc *ddc,
82
- struct aux_command *cmd);
83
-
84
-void dal_i2caux_configure_aux(
85
- struct i2caux *i2caux,
86
- struct ddc *ddc,
87
- union aux_config cfg);
88
-
89
-void dal_i2caux_destroy(
90
- struct i2caux **ptr);
9178
9279 #endif