/linux-6.1.9/drivers/gpu/drm/msm/disp/dpu1/ |
D | dpu_encoder.h | 47 void dpu_encoder_assign_crtc(struct drm_encoder *encoder, 57 void dpu_encoder_toggle_vblank_for_crtc(struct drm_encoder *encoder, 67 void dpu_encoder_register_frame_event_callback(struct drm_encoder *encoder, 77 void dpu_encoder_prepare_for_kickoff(struct drm_encoder *encoder); 84 void dpu_encoder_trigger_kickoff_pending(struct drm_encoder *encoder); 91 void dpu_encoder_kickoff(struct drm_encoder *encoder); 96 int dpu_encoder_vsync_time(struct drm_encoder *drm_enc, ktime_t *wakeup_time); 115 int dpu_encoder_wait_for_event(struct drm_encoder *drm_encoder, 122 enum dpu_intf_mode dpu_encoder_get_intf_mode(struct drm_encoder *encoder); 128 void dpu_encoder_virt_runtime_resume(struct drm_encoder *encoder); [all …]
|
/linux-6.1.9/include/drm/ |
D | drm_encoder_slave.h | 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, [all …]
|
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, 199 struct drm_encoder *encoder, 247 ((struct drm_encoder *) \ [all …]
|
D | drm_modeset_helper_vtables.h | 526 void (*dpms)(struct drm_encoder *encoder, int mode); 559 enum drm_mode_status (*mode_valid)(struct drm_encoder *crtc, 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, 700 enum drm_connector_status (*detect)(struct drm_encoder *encoder, 723 void (*atomic_disable)(struct drm_encoder *encoder, 746 void (*atomic_enable)(struct drm_encoder *encoder, [all …]
|
/linux-6.1.9/drivers/gpu/drm/radeon/ |
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, 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 …]
|
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); 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 …]
|
D | radeon_mode.h | 359 struct drm_encoder *encoder; 445 struct drm_encoder base; 692 struct drm_encoder *encoder, 696 struct drm_encoder *encoder, 700 radeon_get_connector_for_encoder(struct drm_encoder *encoder); 702 radeon_get_connector_for_encoder_init(struct drm_encoder *encoder); 703 extern bool radeon_dig_monitor_is_duallink(struct drm_encoder *encoder, 706 extern u16 radeon_encoder_get_dp_bridge_encoder_id(struct drm_encoder *encoder); 718 extern void radeon_dp_link_train(struct drm_encoder *encoder, 723 extern int radeon_dp_get_panel_mode(struct drm_encoder *encoder, [all …]
|
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);
|
D | radeon_encoders.c | 40 static uint32_t radeon_encoder_clones(struct drm_encoder *encoder) in radeon_encoder_clones() 45 struct drm_encoder *clone_encoder; in radeon_encoder_clones() 78 struct drm_encoder *encoder; in radeon_setup_encoder_clones() 212 struct drm_encoder *encoder; in radeon_link_encoder_connector() 229 void radeon_encoder_set_active_device(struct drm_encoder *encoder) in radeon_encoder_set_active_device() 247 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 …]
|
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);
|
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() 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 …]
|
/linux-6.1.9/drivers/gpu/drm/amd/amdgpu/ |
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 …]
|
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-6.1.9/drivers/gpu/drm/ |
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() 165 enum drm_connector_status drm_i2c_encoder_detect(struct drm_encoder *encoder, in drm_i2c_encoder_detect() [all …]
|
D | drm_encoder.c | 73 struct drm_encoder *encoder; in drm_encoder_register_all() 88 struct drm_encoder *encoder; in drm_encoder_unregister_all() 98 struct drm_encoder *encoder, in __drm_encoder_init() 160 struct drm_encoder *encoder, in drm_encoder_init() 183 void drm_encoder_cleanup(struct drm_encoder *encoder) in drm_encoder_cleanup() 208 struct drm_encoder *encoder = ptr; in drmm_encoder_alloc_release() 218 struct drm_encoder *encoder, in __drmm_encoder_init() 245 struct drm_encoder *encoder; in __drmm_encoder_alloc() 283 int drmm_encoder_init(struct drm_device *dev, struct drm_encoder *encoder, in drmm_encoder_init() 300 static struct drm_crtc *drm_encoder_get_crtc(struct drm_encoder *encoder) in drm_encoder_get_crtc() [all …]
|
/linux-6.1.9/drivers/gpu/drm/logicvc/ |
D | logicvc_interface.c | 28 container_of(c, struct logicvc_interface, drm_encoder) 32 static void logicvc_encoder_enable(struct drm_encoder *drm_encoder) in logicvc_encoder_enable() argument 34 struct logicvc_drm *logicvc = logicvc_drm(drm_encoder->dev); in logicvc_encoder_enable() 36 logicvc_interface_from_drm_encoder(drm_encoder); in logicvc_encoder_enable() 48 static void logicvc_encoder_disable(struct drm_encoder *drm_encoder) in logicvc_encoder_disable() argument 51 logicvc_interface_from_drm_encoder(drm_encoder); in logicvc_encoder_disable() 139 logicvc->interface->drm_encoder.possible_crtcs = possible_crtcs; in logicvc_interface_attach_crtc() 164 ret = drm_encoder_init(drm_dev, &interface->drm_encoder, in logicvc_interface_init() 171 drm_encoder_helper_add(&interface->drm_encoder, in logicvc_interface_init() 187 &interface->drm_encoder); in logicvc_interface_init() [all …]
|
/linux-6.1.9/drivers/gpu/drm/sti/ |
D | sti_tvout.c | 117 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 …]
|
/linux-6.1.9/drivers/gpu/drm/msm/disp/mdp5/ |
D | mdp5_kms.h | 162 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 …]
|
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() 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 …]
|
D | mdp5_cmd_encoder.c | 13 static struct mdp5_kms *get_kms(struct drm_encoder *encoder) in get_kms() 20 static int pingpong_tearcheck_setup(struct drm_encoder *encoder, in pingpong_tearcheck_setup() 77 static int pingpong_tearcheck_enable(struct drm_encoder *encoder) in pingpong_tearcheck_enable() 103 static void pingpong_tearcheck_disable(struct drm_encoder *encoder) in pingpong_tearcheck_disable() 113 void mdp5_cmd_encoder_mode_set(struct drm_encoder *encoder, in mdp5_cmd_encoder_mode_set() 124 void mdp5_cmd_encoder_disable(struct drm_encoder *encoder) in mdp5_cmd_encoder_disable() 142 void mdp5_cmd_encoder_enable(struct drm_encoder *encoder) in mdp5_cmd_encoder_enable() 162 int mdp5_cmd_encoder_set_split_display(struct drm_encoder *encoder, in mdp5_cmd_encoder_set_split_display() 163 struct drm_encoder *slave_encoder) in mdp5_cmd_encoder_set_split_display()
|
/linux-6.1.9/drivers/gpu/drm/exynos/ |
D | exynos_drm_dpi.c | 26 struct drm_encoder encoder; 38 static inline struct exynos_dpi *encoder_to_dpi(struct drm_encoder *e) in encoder_to_dpi() 94 static int exynos_dpi_create_connector(struct drm_encoder *encoder) in exynos_dpi_create_connector() 117 static void exynos_dpi_mode_set(struct drm_encoder *encoder, in exynos_dpi_mode_set() 123 static void exynos_dpi_enable(struct drm_encoder *encoder) in exynos_dpi_enable() 133 static void exynos_dpi_disable(struct drm_encoder *encoder) in exynos_dpi_disable() 193 int exynos_dpi_bind(struct drm_device *dev, struct drm_encoder *encoder) in exynos_dpi_bind() 216 struct drm_encoder *exynos_dpi_probe(struct device *dev) in exynos_dpi_probe() 242 int exynos_dpi_remove(struct drm_encoder *encoder) in exynos_dpi_remove()
|
/linux-6.1.9/drivers/gpu/drm/msm/disp/mdp4/ |
D | mdp4_dsi_encoder.c | 17 struct drm_encoder base; 23 static struct mdp4_kms *get_kms(struct drm_encoder *encoder) in get_kms() 29 static void mdp4_dsi_encoder_destroy(struct drm_encoder *encoder) in mdp4_dsi_encoder_destroy() 41 static void mdp4_dsi_encoder_mode_set(struct drm_encoder *encoder, in mdp4_dsi_encoder_mode_set() 95 static void mdp4_dsi_encoder_disable(struct drm_encoder *encoder) in mdp4_dsi_encoder_disable() 118 static void mdp4_dsi_encoder_enable(struct drm_encoder *encoder) in mdp4_dsi_encoder_enable() 149 struct drm_encoder *mdp4_dsi_encoder_init(struct drm_device *dev) in mdp4_dsi_encoder_init() 151 struct drm_encoder *encoder = NULL; in mdp4_dsi_encoder_init()
|
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-6.1.9/drivers/gpu/drm/i2c/ |
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-6.1.9/drivers/gpu/drm/tilcdc/ |
D | tilcdc_panel.c | 40 struct drm_encoder base; 45 static void panel_encoder_dpms(struct drm_encoder *encoder, int mode) in panel_encoder_dpms() 62 static void panel_encoder_prepare(struct drm_encoder *encoder) in panel_encoder_prepare() 67 static void panel_encoder_commit(struct drm_encoder *encoder) in panel_encoder_commit() 72 static void panel_encoder_mode_set(struct drm_encoder *encoder, in panel_encoder_mode_set() 86 static struct drm_encoder *panel_encoder_create(struct drm_device *dev, in panel_encoder_create() 90 struct drm_encoder *encoder; in panel_encoder_create() 123 struct drm_encoder *encoder; /* our connected encoder */ 167 static struct drm_encoder *panel_connector_best_encoder( in panel_connector_best_encoder() 188 struct panel_module *mod, struct drm_encoder *encoder) in panel_connector_create() [all …]
|