/linux/include/drm/ |
A D | drm_encoder_slave.h | 49 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, 67 int (*get_modes)(struct drm_encoder *encoder, 71 int (*set_property)(struct drm_encoder *encoder, [all …]
|
A D | drm_encoder.h | 33 struct drm_encoder; 48 void (*reset)(struct drm_encoder *encoder); 57 void (*destroy)(struct drm_encoder *encoder); 72 int (*late_register)(struct drm_encoder *encoder); 83 void (*early_unregister)(struct drm_encoder *encoder); 98 struct drm_encoder { struct 189 #define obj_to_encoder(x) container_of(x, struct drm_encoder, base) argument 193 struct drm_encoder *encoder, 241 ((struct drm_encoder *) \ 242 __drmm_encoder_alloc(dev, sizeof(struct drm_encoder), \ [all …]
|
A D | drm_modeset_helper_vtables.h | 526 void (*dpms)(struct drm_encoder *encoder, int mode); 602 bool (*mode_fixup)(struct drm_encoder *encoder, 619 void (*prepare)(struct drm_encoder *encoder); 634 void (*commit)(struct drm_encoder *encoder); 658 void (*mode_set)(struct drm_encoder *encoder, 681 void (*atomic_mode_set)(struct drm_encoder *encoder, 723 void (*atomic_disable)(struct drm_encoder *encoder, 746 void (*atomic_enable)(struct drm_encoder *encoder, 780 void (*disable)(struct drm_encoder *encoder); 798 void (*enable)(struct drm_encoder *encoder); [all …]
|
/linux/drivers/gpu/drm/msm/disp/dpu1/ |
A D | dpu_encoder.h | 34 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, 72 void dpu_encoder_prepare_for_kickoff(struct drm_encoder *encoder); 86 void dpu_encoder_kickoff(struct drm_encoder *encoder); 110 int dpu_encoder_wait_for_event(struct drm_encoder *drm_encoder, 131 struct drm_encoder *dpu_encoder_init( 149 void dpu_encoder_prepare_commit(struct drm_encoder *drm_enc); 157 void dpu_encoder_set_idle_timeout(struct drm_encoder *drm_enc, 163 int dpu_encoder_get_linecount(struct drm_encoder *drm_enc); [all …]
|
/linux/drivers/gpu/drm/radeon/ |
A D | radeon_audio.h | 46 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, 64 void (*mode_set)(struct drm_encoder *encoder, 66 void (*dpms)(struct drm_encoder *encoder, bool mode); 71 struct drm_encoder *encoder, 79 void radeon_audio_mode_set(struct drm_encoder *encoder, 81 void radeon_audio_dpms(struct drm_encoder *encoder, int mode); [all …]
|
A D | evergreen_hdmi.h | 35 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); 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, 66 void dce4_set_audio_packet(struct drm_encoder *encoder, u32 offset); [all …]
|
A D | radeon_mode.h | 364 struct drm_encoder *encoder; 462 struct drm_encoder base; 725 struct drm_encoder *encoder, 729 struct drm_encoder *encoder, 777 extern struct drm_encoder *radeon_get_external_encoder(struct drm_encoder *encoder); 951 void radeon_enc_destroy(struct drm_encoder *encoder); 957 void radeon_panel_mode_fixup(struct drm_encoder *encoder, 976 void avivo_program_fmt(struct drm_encoder *encoder); 977 void dce3_program_fmt(struct drm_encoder *encoder); 978 void dce4_program_fmt(struct drm_encoder *encoder); [all …]
|
A D | dce6_afmt.h | 31 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);
|
A D | radeon_encoders.c | 38 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() 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() 317 void radeon_panel_mode_fixup(struct drm_encoder *encoder, in radeon_panel_mode_fixup() 364 bool radeon_dig_monitor_is_duallink(struct drm_encoder *encoder, in radeon_dig_monitor_is_duallink() [all …]
|
A D | r600.h | 44 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);
|
A D | radeon_audio.c | 39 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() 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() 443 static int radeon_audio_set_avi_packet(struct drm_encoder *encoder, in radeon_audio_set_avi_packet() 630 static void radeon_audio_hdmi_mode_set(struct drm_encoder *encoder, in radeon_audio_hdmi_mode_set() 668 static void radeon_audio_dp_mode_set(struct drm_encoder *encoder, in radeon_audio_dp_mode_set() 696 void radeon_audio_mode_set(struct drm_encoder *encoder, in radeon_audio_mode_set() [all …]
|
/linux/drivers/gpu/drm/amd/amdgpu/ |
A D | atombios_encoders.h | 41 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 …]
|
A D | amdgpu_encoders.c | 42 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()
|
/linux/drivers/gpu/drm/ |
A D | drm_encoder_slave.c | 105 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() 172 void drm_i2c_encoder_save(struct drm_encoder *encoder) in drm_i2c_encoder_save() [all …]
|
A D | drm_encoder.c | 72 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()
|
/linux/drivers/gpu/drm/sti/ |
A D | sti_tvout.c | 117 struct drm_encoder *hdmi; 118 struct drm_encoder *hda; 119 struct drm_encoder *dvo; 124 struct drm_encoder encoder; 656 static struct drm_encoder * 661 struct drm_encoder *drm_encoder; in sti_tvout_create_dvo_encoder() local 679 return drm_encoder; in sti_tvout_create_dvo_encoder() 713 struct drm_encoder *drm_encoder; in sti_tvout_create_hda_encoder() local 730 return drm_encoder; in sti_tvout_create_hda_encoder() 761 struct drm_encoder *drm_encoder; in sti_tvout_create_hdmi_encoder() local [all …]
|
/linux/drivers/gpu/drm/msm/disp/mdp5/ |
A D | mdp5_kms.h | 157 struct drm_encoder base; 287 struct drm_encoder *mdp5_encoder_init(struct drm_device *dev, 289 int mdp5_vid_encoder_set_split_display(struct drm_encoder *encoder, 290 struct drm_encoder *slave_encoder); 292 int mdp5_encoder_get_linecount(struct drm_encoder *encoder); 293 u32 mdp5_encoder_get_framecount(struct drm_encoder *encoder); 296 void mdp5_cmd_encoder_mode_set(struct drm_encoder *encoder, 299 void mdp5_cmd_encoder_disable(struct drm_encoder *encoder); 300 void mdp5_cmd_encoder_enable(struct drm_encoder *encoder); 302 struct drm_encoder *slave_encoder); [all …]
|
A D | mdp5_encoder.c | 13 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() 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() 259 int mdp5_encoder_get_linecount(struct drm_encoder *encoder) in mdp5_encoder_get_linecount() 268 u32 mdp5_encoder_get_framecount(struct drm_encoder *encoder) in mdp5_encoder_get_framecount() 278 struct drm_encoder *slave_encoder) in mdp5_vid_encoder_set_split_display() 337 struct drm_encoder *mdp5_encoder_init(struct drm_device *dev, in mdp5_encoder_init() [all …]
|
A D | mdp5_cmd_encoder.c | 11 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()
|
/linux/drivers/gpu/drm/exynos/ |
A D | exynos_drm_dpi.c | 25 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()
|
/linux/drivers/gpu/drm/msm/ |
A D | msm_drv.h | 220 struct drm_encoder *encoders[MAX_ENCODERS]; 334 struct drm_encoder *encoder); 342 struct drm_encoder *encoder); 349 struct drm_encoder *encoder); 363 struct drm_encoder *encoder) in msm_dsi_modeset_init() 388 struct drm_encoder *encoder); 410 struct drm_encoder *encoder) in msm_dp_modeset_init() 415 struct drm_encoder *encoder) in msm_dp_display_enable() 420 struct drm_encoder *encoder) in msm_dp_display_disable() 425 struct drm_encoder *encoder) in msm_dp_display_pre_disable() [all …]
|
/linux/drivers/gpu/drm/msm/disp/mdp4/ |
A D | mdp4_dsi_encoder.c | 15 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()
|
A D | mdp4_dtv_encoder.c | 13 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()
|
/linux/drivers/gpu/drm/i2c/ |
A D | sil164_drv.c | 210 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 …]
|
/linux/drivers/gpu/drm/tilcdc/ |
A D | tilcdc_panel.c | 39 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 …]
|