Home
last modified time | relevance | path

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

1234567891011

/drivers/gpu/drm/msm/disp/dpu1/
Ddpu_encoder.h34 void dpu_encoder_get_hw_resources(struct drm_encoder *encoder,
42 void dpu_encoder_assign_crtc(struct drm_encoder *encoder,
52 void dpu_encoder_toggle_vblank_for_crtc(struct drm_encoder *encoder,
62 void dpu_encoder_register_frame_event_callback(struct drm_encoder *encoder,
72 void dpu_encoder_prepare_for_kickoff(struct drm_encoder *encoder);
79 void dpu_encoder_trigger_kickoff_pending(struct drm_encoder *encoder);
86 void dpu_encoder_kickoff(struct drm_encoder *encoder);
91 int dpu_encoder_vsync_time(struct drm_encoder *drm_enc, ktime_t *wakeup_time);
110 int dpu_encoder_wait_for_event(struct drm_encoder *drm_encoder,
117 enum dpu_intf_mode dpu_encoder_get_intf_mode(struct drm_encoder *encoder);
[all …]
/drivers/gpu/drm/radeon/
Dradeon_audio.h46 void (*select_pin)(struct drm_encoder *encoder);
48 void (*write_latency_fields)(struct drm_encoder *encoder,
50 void (*write_sad_regs)(struct drm_encoder *encoder,
52 void (*write_speaker_allocation)(struct drm_encoder *encoder,
56 void (*update_acr)(struct drm_encoder *encoder, long offset,
58 void (*set_vbi_packet)(struct drm_encoder *encoder, u32 offset);
59 void (*set_color_depth)(struct drm_encoder *encoder, u32 offset, int bpc);
62 void (*set_audio_packet)(struct drm_encoder *encoder, u32 offset);
63 void (*set_mute)(struct drm_encoder *encoder, u32 offset, bool mute);
64 void (*mode_set)(struct drm_encoder *encoder,
[all …]
Devergreen_hdmi.h35 struct drm_encoder;
41 void evergreen_hdmi_write_sad_regs(struct drm_encoder *encoder,
45 void evergreen_hdmi_update_acr(struct drm_encoder *encoder, long offset,
47 void evergreen_hdmi_enable(struct drm_encoder *encoder, bool enable);
48 void evergreen_dp_enable(struct drm_encoder *encoder, bool enable);
52 void dce4_afmt_hdmi_write_speaker_allocation(struct drm_encoder *encoder,
54 void dce4_afmt_dp_write_speaker_allocation(struct drm_encoder *encoder,
56 void dce4_afmt_write_latency_fields(struct drm_encoder *encoder,
63 void dce4_set_vbi_packet(struct drm_encoder *encoder, u32 offset);
64 void dce4_hdmi_set_color_depth(struct drm_encoder *encoder,
[all …]
Dradeon_mode.h364 struct drm_encoder *encoder;
462 struct drm_encoder base;
725 struct drm_encoder *encoder,
729 struct drm_encoder *encoder,
733 radeon_get_connector_for_encoder(struct drm_encoder *encoder);
735 radeon_get_connector_for_encoder_init(struct drm_encoder *encoder);
736 extern bool radeon_dig_monitor_is_duallink(struct drm_encoder *encoder,
739 extern u16 radeon_encoder_get_dp_bridge_encoder_id(struct drm_encoder *encoder);
751 extern void radeon_dp_link_train(struct drm_encoder *encoder,
756 extern int radeon_dp_get_panel_mode(struct drm_encoder *encoder,
[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()
203 struct drm_encoder *encoder; in radeon_link_encoder_connector()
220 void radeon_encoder_set_active_device(struct drm_encoder *encoder) in radeon_encoder_set_active_device()
238 radeon_get_connector_for_encoder(struct drm_encoder *encoder) in radeon_get_connector_for_encoder()
263 radeon_get_connector_for_encoder_init(struct drm_encoder *encoder) in radeon_get_connector_for_encoder_init()
278 struct drm_encoder *radeon_get_external_encoder(struct drm_encoder *encoder) in radeon_get_external_encoder()
282 struct drm_encoder *other_encoder; in radeon_get_external_encoder()
299 u16 radeon_encoder_get_dp_bridge_encoder_id(struct drm_encoder *encoder) in radeon_encoder_get_dp_bridge_encoder_id()
[all …]
Ddce6_afmt.h31 struct drm_encoder;
37 void dce6_afmt_write_sad_regs(struct drm_encoder *encoder,
39 void dce6_afmt_hdmi_write_speaker_allocation(struct drm_encoder *encoder,
41 void dce6_afmt_dp_write_speaker_allocation(struct drm_encoder *encoder,
43 void dce6_afmt_write_latency_fields(struct drm_encoder *encoder,
46 void dce6_afmt_select_pin(struct drm_encoder *encoder);
Dr600.h44 void r600_set_audio_packet(struct drm_encoder *encoder, u32 offset);
45 void r600_set_mute(struct drm_encoder *encoder, u32 offset, bool mute);
50 void r600_hdmi_update_acr(struct drm_encoder *encoder, long offset,
52 void r600_set_vbi_packet(struct drm_encoder *encoder, u32 offset);
53 void r600_hdmi_enable(struct drm_encoder *encoder, bool enable);
Dradeon_audio.c39 static void radeon_audio_hdmi_mode_set(struct drm_encoder *encoder,
41 static void radeon_audio_dp_mode_set(struct drm_encoder *encoder,
186 struct drm_encoder *encoder; in radeon_audio_enable()
297 static void radeon_audio_write_sad_regs(struct drm_encoder *encoder) in radeon_audio_write_sad_regs()
320 static void radeon_audio_write_speaker_allocation(struct drm_encoder *encoder) in radeon_audio_write_speaker_allocation()
344 static void radeon_audio_write_latency_fields(struct drm_encoder *encoder, in radeon_audio_write_latency_fields()
357 struct r600_audio_pin* radeon_audio_get_pin(struct drm_encoder *encoder) in radeon_audio_get_pin()
368 static void radeon_audio_select_pin(struct drm_encoder *encoder) in radeon_audio_select_pin()
377 struct drm_encoder *encoder, in radeon_audio_detect()
433 static void radeon_audio_set_dto(struct drm_encoder *encoder, unsigned int clock) in radeon_audio_set_dto()
[all …]
/drivers/gpu/drm/amd/amdgpu/
Datombios_encoders.h41 bool amdgpu_atombios_encoder_is_digital(struct drm_encoder *encoder);
42 bool amdgpu_atombios_encoder_mode_fixup(struct drm_encoder *encoder,
45 int amdgpu_atombios_encoder_get_encoder_mode(struct drm_encoder *encoder);
47 amdgpu_atombios_encoder_setup_dig_encoder(struct drm_encoder *encoder,
50 amdgpu_atombios_encoder_setup_dig_transmitter(struct drm_encoder *encoder, int action,
56 amdgpu_atombios_encoder_dpms(struct drm_encoder *encoder, int mode);
58 amdgpu_atombios_encoder_set_crtc_source(struct drm_encoder *encoder);
62 amdgpu_atombios_encoder_dac_detect(struct drm_encoder *encoder,
65 amdgpu_atombios_encoder_dig_detect(struct drm_encoder *encoder,
68 amdgpu_atombios_encoder_setup_ext_encoder_ddc(struct drm_encoder *encoder);
[all …]
Damdgpu_encoders.c42 struct drm_encoder *encoder; in amdgpu_link_encoder_connector()
63 void amdgpu_encoder_set_active_device(struct drm_encoder *encoder) in amdgpu_encoder_set_active_device()
84 amdgpu_get_connector_for_encoder(struct drm_encoder *encoder) in amdgpu_get_connector_for_encoder()
105 amdgpu_get_connector_for_encoder_init(struct drm_encoder *encoder) in amdgpu_get_connector_for_encoder_init()
125 struct drm_encoder *amdgpu_get_external_encoder(struct drm_encoder *encoder) in amdgpu_get_external_encoder()
129 struct drm_encoder *other_encoder; in amdgpu_get_external_encoder()
146 u16 amdgpu_encoder_get_dp_bridge_encoder_id(struct drm_encoder *encoder) in amdgpu_encoder_get_dp_bridge_encoder_id()
148 struct drm_encoder *other_encoder = amdgpu_get_external_encoder(encoder); in amdgpu_encoder_get_dp_bridge_encoder_id()
164 void amdgpu_panel_mode_fixup(struct drm_encoder *encoder, in amdgpu_panel_mode_fixup()
205 bool amdgpu_dig_monitor_is_duallink(struct drm_encoder *encoder, in amdgpu_dig_monitor_is_duallink()
/drivers/gpu/drm/
Ddrm_encoder_slave.c105 void drm_i2c_encoder_destroy(struct drm_encoder *drm_encoder) in drm_i2c_encoder_destroy() argument
107 struct drm_encoder_slave *encoder = to_encoder_slave(drm_encoder); in drm_i2c_encoder_destroy()
108 struct i2c_client *client = drm_i2c_encoder_get_client(drm_encoder); in drm_i2c_encoder_destroy()
123 get_slave_funcs(struct drm_encoder *enc) in get_slave_funcs()
128 void drm_i2c_encoder_dpms(struct drm_encoder *encoder, int mode) in drm_i2c_encoder_dpms()
134 bool drm_i2c_encoder_mode_fixup(struct drm_encoder *encoder, in drm_i2c_encoder_mode_fixup()
145 void drm_i2c_encoder_prepare(struct drm_encoder *encoder) in drm_i2c_encoder_prepare()
151 void drm_i2c_encoder_commit(struct drm_encoder *encoder) in drm_i2c_encoder_commit()
157 void drm_i2c_encoder_mode_set(struct drm_encoder *encoder, in drm_i2c_encoder_mode_set()
165 enum drm_connector_status drm_i2c_encoder_detect(struct drm_encoder *encoder, in drm_i2c_encoder_detect()
[all …]
Ddrm_encoder.c72 struct drm_encoder *encoder; in drm_encoder_register_all()
87 struct drm_encoder *encoder; in drm_encoder_unregister_all()
97 struct drm_encoder *encoder, in __drm_encoder_init()
159 struct drm_encoder *encoder, in drm_encoder_init()
182 void drm_encoder_cleanup(struct drm_encoder *encoder) in drm_encoder_cleanup()
207 struct drm_encoder *encoder = ptr; in drmm_encoder_alloc_release()
220 struct drm_encoder *encoder; in __drmm_encoder_alloc()
247 static struct drm_crtc *drm_encoder_get_crtc(struct drm_encoder *encoder) in drm_encoder_get_crtc()
282 struct drm_encoder *encoder; in drm_mode_getencoder()
/drivers/gpu/drm/sti/
Dsti_tvout.c117 struct drm_encoder *hdmi;
118 struct drm_encoder *hda;
119 struct drm_encoder *dvo;
124 struct drm_encoder encoder;
585 static void sti_tvout_encoder_dpms(struct drm_encoder *encoder, int mode) in sti_tvout_encoder_dpms()
589 static void sti_tvout_encoder_mode_set(struct drm_encoder *encoder, in sti_tvout_encoder_mode_set()
595 static void sti_tvout_encoder_destroy(struct drm_encoder *encoder) in sti_tvout_encoder_destroy()
603 static int sti_tvout_late_register(struct drm_encoder *encoder) in sti_tvout_late_register()
616 static void sti_tvout_early_unregister(struct drm_encoder *encoder) in sti_tvout_early_unregister()
632 static void sti_dvo_encoder_enable(struct drm_encoder *encoder) in sti_dvo_encoder_enable()
[all …]
/drivers/gpu/drm/msm/disp/mdp5/
Dmdp5_kms.h162 struct drm_encoder base;
292 struct drm_encoder *mdp5_encoder_init(struct drm_device *dev,
294 int mdp5_vid_encoder_set_split_display(struct drm_encoder *encoder,
295 struct drm_encoder *slave_encoder);
296 void mdp5_encoder_set_intf_mode(struct drm_encoder *encoder, bool cmd_mode);
297 int mdp5_encoder_get_linecount(struct drm_encoder *encoder);
298 u32 mdp5_encoder_get_framecount(struct drm_encoder *encoder);
301 void mdp5_cmd_encoder_mode_set(struct drm_encoder *encoder,
304 void mdp5_cmd_encoder_disable(struct drm_encoder *encoder);
305 void mdp5_cmd_encoder_enable(struct drm_encoder *encoder);
[all …]
Dmdp5_encoder.c13 static struct mdp5_kms *get_kms(struct drm_encoder *encoder) in get_kms()
19 static void mdp5_encoder_destroy(struct drm_encoder *encoder) in mdp5_encoder_destroy()
30 static void mdp5_vid_encoder_mode_set(struct drm_encoder *encoder, in mdp5_vid_encoder_mode_set()
131 static void mdp5_vid_encoder_disable(struct drm_encoder *encoder) in mdp5_vid_encoder_disable()
165 static void mdp5_vid_encoder_enable(struct drm_encoder *encoder) in mdp5_vid_encoder_enable()
188 static void mdp5_encoder_mode_set(struct drm_encoder *encoder, in mdp5_encoder_mode_set()
201 static void mdp5_encoder_disable(struct drm_encoder *encoder) in mdp5_encoder_disable()
212 static void mdp5_encoder_enable(struct drm_encoder *encoder) in mdp5_encoder_enable()
227 static int mdp5_encoder_atomic_check(struct drm_encoder *encoder, in mdp5_encoder_atomic_check()
259 int mdp5_encoder_get_linecount(struct drm_encoder *encoder) in mdp5_encoder_get_linecount()
[all …]
Dmdp5_cmd_encoder.c11 static struct mdp5_kms *get_kms(struct drm_encoder *encoder) in get_kms()
18 static int pingpong_tearcheck_setup(struct drm_encoder *encoder, in pingpong_tearcheck_setup()
75 static int pingpong_tearcheck_enable(struct drm_encoder *encoder) in pingpong_tearcheck_enable()
101 static void pingpong_tearcheck_disable(struct drm_encoder *encoder) in pingpong_tearcheck_disable()
111 void mdp5_cmd_encoder_mode_set(struct drm_encoder *encoder, in mdp5_cmd_encoder_mode_set()
122 void mdp5_cmd_encoder_disable(struct drm_encoder *encoder) in mdp5_cmd_encoder_disable()
140 void mdp5_cmd_encoder_enable(struct drm_encoder *encoder) in mdp5_cmd_encoder_enable()
160 int mdp5_cmd_encoder_set_split_display(struct drm_encoder *encoder, in mdp5_cmd_encoder_set_split_display()
161 struct drm_encoder *slave_encoder) in mdp5_cmd_encoder_set_split_display()
/drivers/gpu/drm/exynos/
Dexynos_drm_dpi.c25 struct drm_encoder encoder;
37 static inline struct exynos_dpi *encoder_to_dpi(struct drm_encoder *e) in encoder_to_dpi()
93 static int exynos_dpi_create_connector(struct drm_encoder *encoder) in exynos_dpi_create_connector()
116 static void exynos_dpi_mode_set(struct drm_encoder *encoder, in exynos_dpi_mode_set()
122 static void exynos_dpi_enable(struct drm_encoder *encoder) in exynos_dpi_enable()
132 static void exynos_dpi_disable(struct drm_encoder *encoder) in exynos_dpi_disable()
192 int exynos_dpi_bind(struct drm_device *dev, struct drm_encoder *encoder) in exynos_dpi_bind()
215 struct drm_encoder *exynos_dpi_probe(struct device *dev) in exynos_dpi_probe()
241 int exynos_dpi_remove(struct drm_encoder *encoder) in exynos_dpi_remove()
/drivers/gpu/drm/msm/
Dmsm_drv.h213 struct drm_encoder *encoders[MAX_ENCODERS];
326 struct drm_encoder *encoder);
334 struct drm_encoder *encoder);
341 struct drm_encoder *encoder);
355 struct drm_encoder *encoder) in msm_dsi_modeset_init()
380 struct drm_encoder *encoder);
381 int msm_dp_display_enable(struct msm_dp *dp, struct drm_encoder *encoder);
382 int msm_dp_display_disable(struct msm_dp *dp, struct drm_encoder *encoder);
383 int msm_dp_display_pre_disable(struct msm_dp *dp, struct drm_encoder *encoder);
384 void msm_dp_display_mode_set(struct msm_dp *dp, struct drm_encoder *encoder,
[all …]
/drivers/gpu/drm/msm/disp/mdp4/
Dmdp4_dsi_encoder.c15 struct drm_encoder base;
21 static struct mdp4_kms *get_kms(struct drm_encoder *encoder) in get_kms()
27 static void mdp4_dsi_encoder_destroy(struct drm_encoder *encoder) in mdp4_dsi_encoder_destroy()
39 static void mdp4_dsi_encoder_mode_set(struct drm_encoder *encoder, in mdp4_dsi_encoder_mode_set()
93 static void mdp4_dsi_encoder_disable(struct drm_encoder *encoder) in mdp4_dsi_encoder_disable()
116 static void mdp4_dsi_encoder_enable(struct drm_encoder *encoder) in mdp4_dsi_encoder_enable()
147 struct drm_encoder *mdp4_dsi_encoder_init(struct drm_device *dev) in mdp4_dsi_encoder_init()
149 struct drm_encoder *encoder = NULL; in mdp4_dsi_encoder_init()
Dmdp4_dtv_encoder.c13 struct drm_encoder base;
22 static struct mdp4_kms *get_kms(struct drm_encoder *encoder) in get_kms()
28 static void mdp4_dtv_encoder_destroy(struct drm_encoder *encoder) in mdp4_dtv_encoder_destroy()
39 static void mdp4_dtv_encoder_mode_set(struct drm_encoder *encoder, in mdp4_dtv_encoder_mode_set()
97 static void mdp4_dtv_encoder_disable(struct drm_encoder *encoder) in mdp4_dtv_encoder_disable()
123 static void mdp4_dtv_encoder_enable(struct drm_encoder *encoder) in mdp4_dtv_encoder_enable()
167 long mdp4_dtv_round_pixclk(struct drm_encoder *encoder, unsigned long rate) in mdp4_dtv_round_pixclk()
174 struct drm_encoder *mdp4_dtv_encoder_init(struct drm_device *dev) in mdp4_dtv_encoder_init()
176 struct drm_encoder *encoder = NULL; in mdp4_dtv_encoder_init()
Dmdp4_kms.h197 long mdp4_dtv_round_pixclk(struct drm_encoder *encoder, unsigned long rate);
198 struct drm_encoder *mdp4_dtv_encoder_init(struct drm_device *dev);
200 long mdp4_lcdc_round_pixclk(struct drm_encoder *encoder, unsigned long rate);
201 struct drm_encoder *mdp4_lcdc_encoder_init(struct drm_device *dev,
205 struct device_node *panel_node, struct drm_encoder *encoder);
208 struct drm_encoder *mdp4_dsi_encoder_init(struct drm_device *dev);
210 static inline struct drm_encoder *mdp4_dsi_encoder_init(struct drm_device *dev) in mdp4_dsi_encoder_init()
Dmdp4_lcdc_encoder.c16 struct drm_encoder base;
27 static struct mdp4_kms *get_kms(struct drm_encoder *encoder) in get_kms()
33 static void mdp4_lcdc_encoder_destroy(struct drm_encoder *encoder) in mdp4_lcdc_encoder_destroy()
46 static struct drm_connector *get_connector(struct drm_encoder *encoder) in get_connector()
58 static void setup_phy(struct drm_encoder *encoder) in setup_phy()
213 static void mdp4_lcdc_encoder_mode_set(struct drm_encoder *encoder, in mdp4_lcdc_encoder_mode_set()
272 static void mdp4_lcdc_encoder_disable(struct drm_encoder *encoder) in mdp4_lcdc_encoder_disable()
313 static void mdp4_lcdc_encoder_enable(struct drm_encoder *encoder) in mdp4_lcdc_encoder_enable()
375 long mdp4_lcdc_round_pixclk(struct drm_encoder *encoder, unsigned long rate) in mdp4_lcdc_round_pixclk()
383 struct drm_encoder *mdp4_lcdc_encoder_init(struct drm_device *dev, in mdp4_lcdc_encoder_init()
[all …]
/drivers/gpu/drm/i2c/
Dsil164_drv.c210 sil164_encoder_set_config(struct drm_encoder *encoder, void *params) in sil164_encoder_set_config()
218 sil164_encoder_dpms(struct drm_encoder *encoder, int mode) in sil164_encoder_dpms()
231 sil164_encoder_save(struct drm_encoder *encoder) in sil164_encoder_save()
244 sil164_encoder_restore(struct drm_encoder *encoder) in sil164_encoder_restore()
257 sil164_encoder_mode_valid(struct drm_encoder *encoder, in sil164_encoder_mode_valid()
273 sil164_encoder_mode_set(struct drm_encoder *encoder, in sil164_encoder_mode_set()
291 sil164_encoder_detect(struct drm_encoder *encoder, in sil164_encoder_detect()
303 sil164_encoder_get_modes(struct drm_encoder *encoder, in sil164_encoder_get_modes()
310 sil164_encoder_create_resources(struct drm_encoder *encoder, in sil164_encoder_create_resources()
317 sil164_encoder_set_property(struct drm_encoder *encoder, in sil164_encoder_set_property()
[all …]
/drivers/gpu/drm/tilcdc/
Dtilcdc_panel.c39 struct drm_encoder base;
44 static void panel_encoder_dpms(struct drm_encoder *encoder, int mode) in panel_encoder_dpms()
61 static void panel_encoder_prepare(struct drm_encoder *encoder) in panel_encoder_prepare()
66 static void panel_encoder_commit(struct drm_encoder *encoder) in panel_encoder_commit()
71 static void panel_encoder_mode_set(struct drm_encoder *encoder, in panel_encoder_mode_set()
85 static struct drm_encoder *panel_encoder_create(struct drm_device *dev, in panel_encoder_create()
89 struct drm_encoder *encoder; in panel_encoder_create()
122 struct drm_encoder *encoder; /* our connected encoder */
166 static struct drm_encoder *panel_connector_best_encoder( in panel_connector_best_encoder()
187 struct panel_module *mod, struct drm_encoder *encoder) in panel_connector_create()
[all …]
/drivers/gpu/drm/nouveau/dispnv04/
Ddac.c41 int nv04_dac_output_offset(struct drm_encoder *encoder) in nv04_dac_output_offset()
132 static enum drm_connector_status nv04_dac_detect(struct drm_encoder *encoder, in nv04_dac_detect()
235 uint32_t nv17_dac_sample_load(struct drm_encoder *encoder) in nv17_dac_sample_load()
336 nv17_dac_detect(struct drm_encoder *encoder, struct drm_connector *connector) in nv17_dac_detect()
354 static bool nv04_dac_mode_fixup(struct drm_encoder *encoder, in nv04_dac_mode_fixup()
364 static void nv04_dac_prepare(struct drm_encoder *encoder) in nv04_dac_prepare()
375 static void nv04_dac_mode_set(struct drm_encoder *encoder, in nv04_dac_mode_set()
384 struct drm_encoder *rebind; in nv04_dac_mode_set()
412 static void nv04_dac_commit(struct drm_encoder *encoder) in nv04_dac_commit()
426 void nv04_dac_update_dacclk(struct drm_encoder *encoder, bool enable) in nv04_dac_update_dacclk()
[all …]

1234567891011