Lines Matching full:encoder

36  * struct drm_encoder_slave_funcs - Entry points exposed by a slave encoder driver
42 * if the encoder is the currently selected one for the connector.
46 * @set_config: Initialize any encoder-specific modesetting parameters.
52 void (*set_config)(struct drm_encoder *encoder,
58 void (*destroy)(struct drm_encoder *encoder);
64 void (*dpms)(struct drm_encoder *encoder, int mode);
69 void (*save)(struct drm_encoder *encoder);
74 void (*restore)(struct drm_encoder *encoder);
80 bool (*mode_fixup)(struct drm_encoder *encoder,
87 int (*mode_valid)(struct drm_encoder *encoder,
93 void (*mode_set)(struct drm_encoder *encoder,
101 enum drm_connector_status (*detect)(struct drm_encoder *encoder,
106 int (*get_modes)(struct drm_encoder *encoder,
111 int (*create_resources)(struct drm_encoder *encoder,
116 int (*set_property)(struct drm_encoder *encoder,
123 * struct drm_encoder_slave - Slave encoder struct
127 * CRTC code, it's just a convenience for splitting the encoder
137 * @base: DRM encoder object.
142 * @slave_funcs: Slave encoder callbacks.
147 * @slave_priv: Slave encoder private data.
159 struct drm_encoder_slave *encoder,
167 * Describes a device driver for an encoder connected to the GPU through an I2C
177 * @encoder_init: Callback to allocate any per-encoder data structures
179 * members of @encoder.
183 struct drm_encoder_slave *encoder);
191 * drm_i2c_encoder_get_client - Get the I2C client corresponding to an encoder
192 * @encoder: The encoder
194 static inline struct i2c_client *drm_i2c_encoder_get_client(struct drm_encoder *encoder) in drm_i2c_encoder_get_client() argument
196 return (struct i2c_client *)to_encoder_slave(encoder)->bus_priv; in drm_i2c_encoder_get_client()
200 * drm_i2c_encoder_register - Register an I2C encoder driver
211 * drm_i2c_encoder_unregister - Unregister an I2C encoder driver
219 void drm_i2c_encoder_destroy(struct drm_encoder *encoder);
226 void drm_i2c_encoder_dpms(struct drm_encoder *encoder, int mode);
227 bool drm_i2c_encoder_mode_fixup(struct drm_encoder *encoder,
230 void drm_i2c_encoder_prepare(struct drm_encoder *encoder);
231 void drm_i2c_encoder_commit(struct drm_encoder *encoder);
232 void drm_i2c_encoder_mode_set(struct drm_encoder *encoder,
235 enum drm_connector_status drm_i2c_encoder_detect(struct drm_encoder *encoder,
237 void drm_i2c_encoder_save(struct drm_encoder *encoder);
238 void drm_i2c_encoder_restore(struct drm_encoder *encoder);