Lines Matching full:encoder
36 * struct drm_encoder_slave_funcs - Entry points exposed by a slave encoder driver
37 * @set_config: Initialize any encoder-specific modesetting parameters.
48 * if the encoder is the currently selected one for the connector.
51 void (*set_config)(struct drm_encoder *encoder,
54 void (*destroy)(struct drm_encoder *encoder);
55 void (*dpms)(struct drm_encoder *encoder, int mode);
56 void (*save)(struct drm_encoder *encoder);
57 void (*restore)(struct drm_encoder *encoder);
58 bool (*mode_fixup)(struct drm_encoder *encoder,
61 int (*mode_valid)(struct drm_encoder *encoder,
63 void (*mode_set)(struct drm_encoder *encoder,
67 enum drm_connector_status (*detect)(struct drm_encoder *encoder,
69 int (*get_modes)(struct drm_encoder *encoder,
71 int (*create_resources)(struct drm_encoder *encoder,
73 int (*set_property)(struct drm_encoder *encoder,
81 * struct drm_encoder_slave - Slave encoder struct
82 * @base: DRM encoder object.
83 * @slave_funcs: Slave encoder callbacks.
84 * @slave_priv: Slave encoder private data.
89 * CRTC code, it's just a convenience for splitting the encoder
107 struct drm_encoder_slave *encoder,
115 * Describes a device driver for an encoder connected to the GPU
118 * give the driver an opportunity to allocate any per-encoder data
120 * @slave_priv members of @encoder.
127 struct drm_encoder_slave *encoder);
135 * drm_i2c_encoder_get_client - Get the I2C client corresponding to an encoder
137 static inline struct i2c_client *drm_i2c_encoder_get_client(struct drm_encoder *encoder) in drm_i2c_encoder_get_client() argument
139 return (struct i2c_client *)to_encoder_slave(encoder)->bus_priv; in drm_i2c_encoder_get_client()
143 * drm_i2c_encoder_register - Register an I2C encoder driver
154 * drm_i2c_encoder_unregister - Unregister an I2C encoder driver
162 void drm_i2c_encoder_destroy(struct drm_encoder *encoder);
169 void drm_i2c_encoder_dpms(struct drm_encoder *encoder, int mode);
170 bool drm_i2c_encoder_mode_fixup(struct drm_encoder *encoder,
173 void drm_i2c_encoder_prepare(struct drm_encoder *encoder);
174 void drm_i2c_encoder_commit(struct drm_encoder *encoder);
175 void drm_i2c_encoder_mode_set(struct drm_encoder *encoder,
178 enum drm_connector_status drm_i2c_encoder_detect(struct drm_encoder *encoder,
180 void drm_i2c_encoder_save(struct drm_encoder *encoder);
181 void drm_i2c_encoder_restore(struct drm_encoder *encoder);