/kernel/linux/linux-5.10/include/drm/ |
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, 65 enum drm_connector_status (*detect)(struct drm_encoder *encoder, 67 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); 99 struct drm_encoder { struct 190 #define obj_to_encoder(x) container_of(x, struct drm_encoder, base) argument 194 struct drm_encoder *encoder, 205 static inline unsigned int drm_encoder_index(const struct drm_encoder *encoder) in drm_encoder_index() 217 static inline u32 drm_encoder_mask(const struct drm_encoder *encoder) in drm_encoder_mask() [all …]
|
D | drm_modeset_helper_vtables.h | 536 void (*dpms)(struct drm_encoder *encoder, int mode); 569 enum drm_mode_status (*mode_valid)(struct drm_encoder *crtc, 612 bool (*mode_fixup)(struct drm_encoder *encoder, 629 void (*prepare)(struct drm_encoder *encoder); 644 void (*commit)(struct drm_encoder *encoder); 668 void (*mode_set)(struct drm_encoder *encoder, 691 void (*atomic_mode_set)(struct drm_encoder *encoder, 710 enum drm_connector_status (*detect)(struct drm_encoder *encoder, 733 void (*atomic_disable)(struct drm_encoder *encoder, 756 void (*atomic_enable)(struct drm_encoder *encoder, [all …]
|
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/disp/dpu1/ |
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, 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 …]
|
/kernel/linux/linux-5.10/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 | radeon_mode.h | 364 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 …]
|
D | radeon_audio.c | 41 void dce3_2_afmt_write_sad_regs(struct drm_encoder *encoder, 43 void evergreen_hdmi_write_sad_regs(struct drm_encoder *encoder, 45 void dce6_afmt_write_sad_regs(struct drm_encoder *encoder, 47 void dce3_2_afmt_hdmi_write_speaker_allocation(struct drm_encoder *encoder, 49 void dce3_2_afmt_dp_write_speaker_allocation(struct drm_encoder *encoder, 51 void dce4_afmt_hdmi_write_speaker_allocation(struct drm_encoder *encoder, 53 void dce4_afmt_dp_write_speaker_allocation(struct drm_encoder *encoder, 55 void dce6_afmt_hdmi_write_speaker_allocation(struct drm_encoder *encoder, 57 void dce6_afmt_dp_write_speaker_allocation(struct drm_encoder *encoder, 59 void dce4_afmt_write_latency_fields(struct drm_encoder *encoder, [all …]
|
D | radeon_encoders.c | 44 static uint32_t radeon_encoder_clones(struct drm_encoder *encoder) in radeon_encoder_clones() 49 struct drm_encoder *clone_encoder; in radeon_encoder_clones() 82 struct drm_encoder *encoder; in radeon_setup_encoder_clones() 209 struct drm_encoder *encoder; in radeon_link_encoder_connector() 226 void radeon_encoder_set_active_device(struct drm_encoder *encoder) in radeon_encoder_set_active_device() 244 radeon_get_connector_for_encoder(struct drm_encoder *encoder) in radeon_get_connector_for_encoder() 269 radeon_get_connector_for_encoder_init(struct drm_encoder *encoder) in radeon_get_connector_for_encoder_init() 284 struct drm_encoder *radeon_get_external_encoder(struct drm_encoder *encoder) in radeon_get_external_encoder() 288 struct drm_encoder *other_encoder; in radeon_get_external_encoder() 305 u16 radeon_encoder_get_dp_bridge_encoder_id(struct drm_encoder *encoder) in radeon_encoder_get_dp_bridge_encoder_id() [all …]
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/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 …]
|
/kernel/linux/linux-5.10/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 …]
|
/kernel/linux/linux-5.10/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 | 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() 74 static int pingpong_tearcheck_enable(struct drm_encoder *encoder) in pingpong_tearcheck_enable() 100 static void pingpong_tearcheck_disable(struct drm_encoder *encoder) in pingpong_tearcheck_disable() 110 void mdp5_cmd_encoder_mode_set(struct drm_encoder *encoder, in mdp5_cmd_encoder_mode_set() 121 void mdp5_cmd_encoder_disable(struct drm_encoder *encoder) in mdp5_cmd_encoder_disable() 139 void mdp5_cmd_encoder_enable(struct drm_encoder *encoder) in mdp5_cmd_encoder_enable() 159 int mdp5_cmd_encoder_set_split_display(struct drm_encoder *encoder, in mdp5_cmd_encoder_set_split_display() 160 struct drm_encoder *slave_encoder) in mdp5_cmd_encoder_set_split_display()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/exynos/ |
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()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/gma500/ |
D | mdfld_dsi_dpi.h | 66 extern void mdfld_dsi_dpi_dpms(struct drm_encoder *encoder, int mode); 67 extern bool mdfld_dsi_dpi_mode_fixup(struct drm_encoder *encoder, 70 extern void mdfld_dsi_dpi_prepare(struct drm_encoder *encoder); 71 extern void mdfld_dsi_dpi_commit(struct drm_encoder *encoder); 72 extern void mdfld_dsi_dpi_mode_set(struct drm_encoder *encoder,
|
/kernel/linux/linux-5.10/drivers/gpu/drm/omapdrm/ |
D | omap_encoder.c | 28 struct drm_encoder base; 32 static void omap_encoder_destroy(struct drm_encoder *encoder) in omap_encoder_destroy() 72 static void omap_encoder_mode_set(struct drm_encoder *encoder, in omap_encoder_mode_set() 120 static void omap_encoder_disable(struct drm_encoder *encoder) in omap_encoder_disable() 136 static void omap_encoder_enable(struct drm_encoder *encoder) in omap_encoder_enable() 152 static int omap_encoder_atomic_check(struct drm_encoder *encoder, in omap_encoder_atomic_check() 178 struct drm_encoder *omap_encoder_init(struct drm_device *dev, in omap_encoder_init() 181 struct drm_encoder *encoder = NULL; in omap_encoder_init()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/disp/mdp4/ |
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()
|
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()
|
/kernel/linux/linux-5.10/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 …]
|
/kernel/linux/linux-5.10/drivers/gpu/drm/tilcdc/ |
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 …]
|
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/dispnv04/ |
D | dac.c | 41 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 …]
|
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/ |
D | msm_drv.h | 196 struct drm_encoder *encoders[MAX_ENCODERS]; 357 struct drm_encoder *encoder); 365 struct drm_encoder *encoder); 372 struct drm_encoder *encoder); 382 struct drm_encoder *encoder) in msm_dsi_modeset_init() 392 struct drm_encoder *encoder); 393 int msm_dp_display_enable(struct msm_dp *dp, struct drm_encoder *encoder); 394 int msm_dp_display_disable(struct msm_dp *dp, struct drm_encoder *encoder); 395 int msm_dp_display_pre_disable(struct msm_dp *dp, struct drm_encoder *encoder); 396 void msm_dp_display_mode_set(struct msm_dp *dp, struct drm_encoder *encoder, [all …]
|
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/ |
D | nouveau_encoder.h | 86 void (*enc_save)(struct drm_encoder *encoder); 87 void (*enc_restore)(struct drm_encoder *encoder); 110 static inline struct nouveau_encoder *nouveau_encoder(struct drm_encoder *enc) in nouveau_encoder() 117 static inline struct drm_encoder *to_drm_encoder(struct nouveau_encoder *enc) in to_drm_encoder() 123 get_slave_funcs(struct drm_encoder *enc) in get_slave_funcs()
|