Home
last modified time | relevance | path

Searched refs:drm_encoder (Results 1 – 25 of 58) sorted by relevance

123

/linux-2.6.39/include/drm/
Ddrm_encoder_slave.h49 void (*set_config)(struct drm_encoder *encoder,
52 void (*destroy)(struct drm_encoder *encoder);
53 void (*dpms)(struct drm_encoder *encoder, int mode);
54 void (*save)(struct drm_encoder *encoder);
55 void (*restore)(struct drm_encoder *encoder);
56 bool (*mode_fixup)(struct drm_encoder *encoder,
59 int (*mode_valid)(struct drm_encoder *encoder,
61 void (*mode_set)(struct drm_encoder *encoder,
65 enum drm_connector_status (*detect)(struct drm_encoder *encoder,
67 int (*get_modes)(struct drm_encoder *encoder,
[all …]
Ddrm_crtc_helper.h80 void (*dpms)(struct drm_encoder *encoder, int mode);
81 void (*save)(struct drm_encoder *encoder);
82 void (*restore)(struct drm_encoder *encoder);
84 bool (*mode_fixup)(struct drm_encoder *encoder,
87 void (*prepare)(struct drm_encoder *encoder);
88 void (*commit)(struct drm_encoder *encoder);
89 void (*mode_set)(struct drm_encoder *encoder,
92 struct drm_crtc *(*get_crtc)(struct drm_encoder *encoder);
94 enum drm_connector_status (*detect)(struct drm_encoder *encoder,
97 void (*disable)(struct drm_encoder *encoder);
[all …]
Ddrm_crtc.h273 struct drm_encoder;
421 void (*reset)(struct drm_encoder *encoder);
422 void (*destroy)(struct drm_encoder *encoder);
433 struct drm_encoder { struct
518 struct drm_encoder *encoder; /* currently active encoder */
622 #define obj_to_encoder(x) container_of(x, struct drm_encoder, base)
642 struct drm_encoder *encoder,
646 extern void drm_encoder_cleanup(struct drm_encoder *encoder);
726 extern char *drm_get_encoder_name(struct drm_encoder *encoder);
729 struct drm_encoder *encoder);
[all …]
/linux-2.6.39/drivers/gpu/drm/radeon/
Dradeon_mode.h372 struct drm_encoder base;
465 radeon_get_connector_for_encoder(struct drm_encoder *encoder);
473 extern void dp_link_train(struct drm_encoder *encoder,
477 extern void atombios_dig_encoder_setup(struct drm_encoder *encoder, int action);
478 extern void atombios_dig_transmitter_setup(struct drm_encoder *encoder,
513 extern struct drm_encoder *radeon_best_encoder(struct drm_connector *connector);
540 struct drm_encoder *radeon_encoder_legacy_lvds_add(struct drm_device *dev, int bios_index);
541 struct drm_encoder *radeon_encoder_legacy_primary_dac_add(struct drm_device *dev, int bios_index, i…
542 struct drm_encoder *radeon_encoder_legacy_tv_dac_add(struct drm_device *dev, int bios_index, int wi…
543 struct drm_encoder *radeon_encoder_legacy_tmds_int_add(struct drm_device *dev, int bios_index);
[all …]
Dr600_hdmi.c97 static void r600_hdmi_update_ACR(struct drm_encoder *encoder, uint32_t clock) in r600_hdmi_update_ACR()
146 struct drm_encoder *encoder, in r600_hdmi_videoinfoframe()
214 struct drm_encoder *encoder, in r600_hdmi_audioinfoframe()
254 static int r600_hdmi_is_audio_buffer_filled(struct drm_encoder *encoder) in r600_hdmi_is_audio_buffer_filled()
266 int r600_hdmi_buffer_status_changed(struct drm_encoder *encoder) in r600_hdmi_buffer_status_changed()
284 void r600_hdmi_audio_workaround(struct drm_encoder *encoder) in r600_hdmi_audio_workaround()
310 void r600_hdmi_setmode(struct drm_encoder *encoder, struct drm_display_mode *mode) in r600_hdmi_setmode()
352 void r600_hdmi_update_audio_settings(struct drm_encoder *encoder) in r600_hdmi_update_audio_settings()
420 struct drm_encoder *encoder; in r600_hdmi_find_free_block()
451 static void r600_hdmi_assign_block(struct drm_encoder *encoder) in r600_hdmi_assign_block()
[all …]
Dradeon_encoders.c38 static uint32_t radeon_encoder_clones(struct drm_encoder *encoder) in radeon_encoder_clones()
43 struct drm_encoder *clone_encoder; in radeon_encoder_clones()
76 struct drm_encoder *encoder; in radeon_setup_encoder_clones()
159 static inline bool radeon_encoder_is_digital(struct drm_encoder *encoder) in radeon_encoder_is_digital()
185 struct drm_encoder *encoder; in radeon_link_encoder_connector()
199 void radeon_encoder_set_active_device(struct drm_encoder *encoder) in radeon_encoder_set_active_device()
217 radeon_get_connector_for_encoder(struct drm_encoder *encoder) in radeon_get_connector_for_encoder()
232 struct drm_encoder *radeon_atom_get_external_encoder(struct drm_encoder *encoder) in radeon_atom_get_external_encoder()
236 struct drm_encoder *other_encoder; in radeon_atom_get_external_encoder()
253 void radeon_panel_mode_fixup(struct drm_encoder *encoder, in radeon_panel_mode_fixup()
[all …]
Dradeon_legacy_encoders.c36 static void radeon_legacy_encoder_disable(struct drm_encoder *encoder) in radeon_legacy_encoder_disable()
46 static void radeon_legacy_lvds_update(struct drm_encoder *encoder, int mode) in radeon_legacy_lvds_update()
135 static void radeon_legacy_lvds_dpms(struct drm_encoder *encoder, int mode) in radeon_legacy_lvds_dpms()
154 static void radeon_legacy_lvds_prepare(struct drm_encoder *encoder) in radeon_legacy_lvds_prepare()
165 static void radeon_legacy_lvds_commit(struct drm_encoder *encoder) in radeon_legacy_lvds_commit()
176 static void radeon_legacy_lvds_mode_set(struct drm_encoder *encoder, in radeon_legacy_lvds_mode_set()
246 static bool radeon_legacy_mode_fixup(struct drm_encoder *encoder, in radeon_legacy_mode_fixup()
474 static void radeon_lvds_enc_destroy(struct drm_encoder *encoder) in radeon_lvds_enc_destroy()
490 static void radeon_legacy_primary_dac_dpms(struct drm_encoder *encoder, int mode) in radeon_legacy_primary_dac_dpms()
530 static void radeon_legacy_primary_dac_prepare(struct drm_encoder *encoder) in radeon_legacy_primary_dac_prepare()
[all …]
Dradeon_connectors.c36 struct drm_encoder *encoder,
40 struct drm_encoder *encoder,
69 static void radeon_property_change_mode(struct drm_encoder *encoder) in radeon_property_change_mode()
83 struct drm_encoder *best_encoder = NULL; in radeon_connector_update_scratch_regs()
84 struct drm_encoder *encoder = NULL; in radeon_connector_update_scratch_regs()
117 struct drm_encoder *radeon_find_encoder(struct drm_connector *connector, int encoder_type) in radeon_find_encoder()
120 struct drm_encoder *encoder; in radeon_find_encoder()
138 struct drm_encoder *radeon_best_single_encoder(struct drm_connector *connector) in radeon_best_single_encoder()
142 struct drm_encoder *encoder; in radeon_best_single_encoder()
163 struct drm_encoder *encoder, in radeon_connector_analog_encoder_conflict_solve()
[all …]
Dr600_audio.c131 struct drm_encoder *encoder; in r600_audio_update_hdmi()
196 void r600_audio_enable_polling(struct drm_encoder *encoder) in r600_audio_enable_polling()
215 void r600_audio_disable_polling(struct drm_encoder *encoder) in r600_audio_disable_polling()
226 void r600_audio_set_clock(struct drm_encoder *encoder, int clock) in r600_audio_set_clock()
/linux-2.6.39/drivers/gpu/drm/nouveau/
Dnv50_dac.c40 nv50_dac_disconnect(struct drm_encoder *encoder) in nv50_dac_disconnect()
67 nv50_dac_detect(struct drm_encoder *encoder, struct drm_connector *connector) in nv50_dac_detect()
122 nv50_dac_dpms(struct drm_encoder *encoder, int mode) in nv50_dac_dpms()
166 nv50_dac_save(struct drm_encoder *encoder) in nv50_dac_save()
172 nv50_dac_restore(struct drm_encoder *encoder) in nv50_dac_restore()
178 nv50_dac_mode_fixup(struct drm_encoder *encoder, struct drm_display_mode *mode, in nv50_dac_mode_fixup()
203 nv50_dac_prepare(struct drm_encoder *encoder) in nv50_dac_prepare()
208 nv50_dac_commit(struct drm_encoder *encoder) in nv50_dac_commit()
213 nv50_dac_mode_set(struct drm_encoder *encoder, struct drm_display_mode *mode, in nv50_dac_mode_set()
259 nv50_dac_crtc_get(struct drm_encoder *encoder) in nv50_dac_crtc_get()
[all …]
Dnv50_sor.c40 nv50_sor_disconnect(struct drm_encoder *encoder) in nv50_sor_disconnect()
68 nv50_sor_dpms(struct drm_encoder *encoder, int mode) in nv50_sor_dpms()
72 struct drm_encoder *enc; in nv50_sor_dpms()
136 nv50_sor_save(struct drm_encoder *encoder) in nv50_sor_save()
142 nv50_sor_restore(struct drm_encoder *encoder) in nv50_sor_restore()
148 nv50_sor_mode_fixup(struct drm_encoder *encoder, struct drm_display_mode *mode, in nv50_sor_mode_fixup()
173 nv50_sor_prepare(struct drm_encoder *encoder) in nv50_sor_prepare()
178 nv50_sor_commit(struct drm_encoder *encoder) in nv50_sor_commit()
183 nv50_sor_mode_set(struct drm_encoder *encoder, struct drm_display_mode *mode, in nv50_sor_mode_set()
242 nv50_sor_crtc_get(struct drm_encoder *encoder) in nv50_sor_crtc_get()
[all …]
Dnv04_dac.c37 int nv04_dac_output_offset(struct drm_encoder *encoder) in nv04_dac_output_offset()
118 static enum drm_connector_status nv04_dac_detect(struct drm_encoder *encoder, in nv04_dac_detect()
219 uint32_t nv17_dac_sample_load(struct drm_encoder *encoder) in nv17_dac_sample_load()
316 nv17_dac_detect(struct drm_encoder *encoder, struct drm_connector *connector) in nv17_dac_detect()
334 static bool nv04_dac_mode_fixup(struct drm_encoder *encoder, in nv04_dac_mode_fixup()
344 static void nv04_dac_prepare(struct drm_encoder *encoder) in nv04_dac_prepare()
355 static void nv04_dac_mode_set(struct drm_encoder *encoder, in nv04_dac_mode_set()
364 struct drm_encoder *rebind; in nv04_dac_mode_set()
392 static void nv04_dac_commit(struct drm_encoder *encoder) in nv04_dac_commit()
406 void nv04_dac_update_dacclk(struct drm_encoder *encoder, bool enable) in nv04_dac_update_dacclk()
[all …]
Dnv04_dfp.c111 void nv04_dfp_update_fp_control(struct drm_encoder *encoder, int mode) in nv04_dfp_update_fp_control()
151 static struct drm_encoder *get_tmds_slave(struct drm_encoder *encoder) in get_tmds_slave()
155 struct drm_encoder *slave; in get_tmds_slave()
181 static bool nv04_dfp_mode_fixup(struct drm_encoder *encoder, in nv04_dfp_mode_fixup()
244 static void nv04_dfp_prepare(struct drm_encoder *encoder) in nv04_dfp_prepare()
280 static void nv04_dfp_mode_set(struct drm_encoder *encoder, in nv04_dfp_mode_set()
436 static void nv04_dfp_commit(struct drm_encoder *encoder) in nv04_dfp_commit()
445 struct drm_encoder *slave_encoder; in nv04_dfp_commit()
476 static void nv04_dfp_update_backlight(struct drm_encoder *encoder, int mode) in nv04_dfp_update_backlight()
502 static void nv04_lvds_dpms(struct drm_encoder *encoder, int mode) in nv04_lvds_dpms()
[all …]
Dnv17_tv.c36 static uint32_t nv42_tv_sample_load(struct drm_encoder *encoder) in nv42_tv_sample_load()
140 nv17_tv_detect(struct drm_encoder *encoder, struct drm_connector *connector) in nv17_tv_detect()
196 static int nv17_tv_get_ld_modes(struct drm_encoder *encoder, in nv17_tv_get_ld_modes()
226 static int nv17_tv_get_hd_modes(struct drm_encoder *encoder, in nv17_tv_get_hd_modes()
288 static int nv17_tv_get_modes(struct drm_encoder *encoder, in nv17_tv_get_modes()
299 static int nv17_tv_mode_valid(struct drm_encoder *encoder, in nv17_tv_mode_valid()
340 static bool nv17_tv_mode_fixup(struct drm_encoder *encoder, in nv17_tv_mode_fixup()
357 static void nv17_tv_dpms(struct drm_encoder *encoder, int mode) in nv17_tv_dpms()
392 static void nv17_tv_prepare(struct drm_encoder *encoder) in nv17_tv_prepare()
412 struct drm_encoder *enc; in nv17_tv_prepare()
[all …]
Dnouveau_encoder.h63 static inline struct nouveau_encoder *nouveau_encoder(struct drm_encoder *enc) in nouveau_encoder()
70 static inline struct drm_encoder *to_drm_encoder(struct nouveau_encoder *enc) in to_drm_encoder()
76 get_slave_funcs(struct drm_encoder *enc) in get_slave_funcs()
Dnv04_tv.c64 static void nv04_tv_dpms(struct drm_encoder *encoder, int mode) in nv04_tv_dpms()
115 static void nv04_tv_prepare(struct drm_encoder *encoder) in nv04_tv_prepare()
131 static void nv04_tv_mode_set(struct drm_encoder *encoder, in nv04_tv_mode_set()
156 static void nv04_tv_commit(struct drm_encoder *encoder) in nv04_tv_commit()
170 static void nv04_tv_destroy(struct drm_encoder *encoder) in nv04_tv_destroy()
187 struct drm_encoder *encoder; in nv04_tv_create()
Dnouveau_dp.c33 auxch_rd(struct drm_encoder *encoder, int address, uint8_t *buf, int size) in auxch_rd()
52 auxch_wr(struct drm_encoder *encoder, int address, uint8_t *buf, int size) in auxch_wr()
68 nouveau_dp_lane_count_set(struct drm_encoder *encoder, uint8_t cmd) in nouveau_dp_lane_count_set()
87 nouveau_dp_link_bw_set(struct drm_encoder *encoder, uint8_t cmd) in nouveau_dp_link_bw_set()
104 nouveau_dp_link_train_set(struct drm_encoder *encoder, int pattern) in nouveau_dp_link_train_set()
127 nouveau_dp_max_voltage_swing(struct drm_encoder *encoder) in nouveau_dp_max_voltage_swing()
149 nouveau_dp_max_pre_emphasis(struct drm_encoder *encoder, int vs) in nouveau_dp_max_pre_emphasis()
174 nouveau_dp_link_train_adjust(struct drm_encoder *encoder, uint8_t *config) in nouveau_dp_link_train_adjust()
222 nouveau_dp_link_train_commit(struct drm_encoder *encoder, uint8_t *config) in nouveau_dp_link_train_commit()
270 nouveau_dp_link_train(struct drm_encoder *encoder) in nouveau_dp_link_train()
[all …]
Dnv17_tv.h124 void nv17_tv_update_properties(struct drm_encoder *encoder);
125 void nv17_tv_update_rescaler(struct drm_encoder *encoder);
126 void nv17_ctv_update_rescaler(struct drm_encoder *encoder);
/linux-2.6.39/drivers/gpu/drm/i2c/
Dsil164_drv.c207 sil164_encoder_set_config(struct drm_encoder *encoder, void *params) in sil164_encoder_set_config()
215 sil164_encoder_dpms(struct drm_encoder *encoder, int mode) in sil164_encoder_dpms()
228 sil164_encoder_save(struct drm_encoder *encoder) in sil164_encoder_save()
241 sil164_encoder_restore(struct drm_encoder *encoder) in sil164_encoder_restore()
254 sil164_encoder_mode_fixup(struct drm_encoder *encoder, in sil164_encoder_mode_fixup()
262 sil164_encoder_mode_valid(struct drm_encoder *encoder, in sil164_encoder_mode_valid()
278 sil164_encoder_mode_set(struct drm_encoder *encoder, in sil164_encoder_mode_set()
296 sil164_encoder_detect(struct drm_encoder *encoder, in sil164_encoder_detect()
308 sil164_encoder_get_modes(struct drm_encoder *encoder, in sil164_encoder_get_modes()
315 sil164_encoder_create_resources(struct drm_encoder *encoder, in sil164_encoder_create_resources()
[all …]
Dch7006_drv.c31 static void ch7006_encoder_set_config(struct drm_encoder *encoder, in ch7006_encoder_set_config()
39 static void ch7006_encoder_destroy(struct drm_encoder *encoder) in ch7006_encoder_destroy()
51 static void ch7006_encoder_dpms(struct drm_encoder *encoder, int mode) in ch7006_encoder_dpms()
68 static void ch7006_encoder_save(struct drm_encoder *encoder) in ch7006_encoder_save()
78 static void ch7006_encoder_restore(struct drm_encoder *encoder) in ch7006_encoder_restore()
88 static bool ch7006_encoder_mode_fixup(struct drm_encoder *encoder, in ch7006_encoder_mode_fixup()
102 static int ch7006_encoder_mode_valid(struct drm_encoder *encoder, in ch7006_encoder_mode_valid()
111 static void ch7006_encoder_mode_set(struct drm_encoder *encoder, in ch7006_encoder_mode_set()
175 static enum drm_connector_status ch7006_encoder_detect(struct drm_encoder *encoder, in ch7006_encoder_detect()
223 static int ch7006_encoder_get_modes(struct drm_encoder *encoder, in ch7006_encoder_get_modes()
[all …]
Dch7006_priv.h113 struct ch7006_mode *ch7006_lookup_mode(struct drm_encoder *encoder,
116 void ch7006_setup_levels(struct drm_encoder *encoder);
117 void ch7006_setup_subcarrier(struct drm_encoder *encoder);
118 void ch7006_setup_pll(struct drm_encoder *encoder);
119 void ch7006_setup_power_state(struct drm_encoder *encoder);
120 void ch7006_setup_properties(struct drm_encoder *encoder);
/linux-2.6.39/drivers/gpu/drm/
Ddrm_encoder_slave.c112 void drm_i2c_encoder_destroy(struct drm_encoder *drm_encoder) in drm_i2c_encoder_destroy() argument
114 struct drm_encoder_slave *encoder = to_encoder_slave(drm_encoder); in drm_i2c_encoder_destroy()
115 struct i2c_client *client = drm_i2c_encoder_get_client(drm_encoder); in drm_i2c_encoder_destroy()
Ddrm_crtc_helper.c174 bool drm_helper_encoder_in_use(struct drm_encoder *encoder) in drm_helper_encoder_in_use()
199 struct drm_encoder *encoder; in drm_helper_crtc_in_use()
210 drm_encoder_disable(struct drm_encoder *encoder) in drm_encoder_disable()
232 struct drm_encoder *encoder; in drm_helper_disable_unused_functions()
272 static bool drm_encoder_crtc_ok(struct drm_encoder *encoder, in drm_encoder_crtc_ok()
303 struct drm_encoder *encoder; in drm_crtc_prepare_encoders()
343 struct drm_encoder *encoder; in drm_crtc_helper_set_mode()
475 struct drm_encoder *save_encoders, *new_encoder, *encoder; in drm_crtc_helper_set_config()
521 sizeof(struct drm_encoder), GFP_KERNEL); in drm_crtc_helper_set_config()
721 static int drm_helper_choose_encoder_dpms(struct drm_encoder *encoder) in drm_helper_choose_encoder_dpms()
[all …]
/linux-2.6.39/drivers/staging/gma500/
Dpsb_intel_drv.h116 struct drm_encoder enc;
210 extern void psb_intel_encoder_prepare(struct drm_encoder *encoder);
211 extern void psb_intel_encoder_commit(struct drm_encoder *encoder);
213 extern struct drm_encoder *psb_intel_best_encoder(struct drm_connector
236 extern bool psb_intel_lvds_mode_fixup(struct drm_encoder *encoder,
/linux-2.6.39/drivers/gpu/drm/i915/
Dintel_drv.h141 struct drm_encoder base;
257 extern bool intel_encoder_is_pch_edp(struct drm_encoder *encoder);
275 extern void intel_encoder_prepare (struct drm_encoder *encoder);
276 extern void intel_encoder_commit (struct drm_encoder *encoder);
277 extern void intel_encoder_destroy(struct drm_encoder *encoder);
286 extern struct drm_encoder *intel_best_encoder(struct drm_connector *connector);

123