/kernel/linux/linux-5.10/drivers/input/misc/ |
D | rotary_encoder.c | 56 static unsigned int rotary_encoder_get_state(struct rotary_encoder *encoder) in rotary_encoder_get_state() argument 61 for (i = 0; i < encoder->gpios->ndescs; ++i) { in rotary_encoder_get_state() 62 int val = gpiod_get_value_cansleep(encoder->gpios->desc[i]); in rotary_encoder_get_state() 65 if (encoder->encoding == ROTENC_GRAY && ret & 1) in rotary_encoder_get_state() 74 static void rotary_encoder_report_event(struct rotary_encoder *encoder) in rotary_encoder_report_event() argument 76 if (encoder->relative_axis) { in rotary_encoder_report_event() 77 input_report_rel(encoder->input, in rotary_encoder_report_event() 78 encoder->axis, encoder->dir); in rotary_encoder_report_event() 80 unsigned int pos = encoder->pos; in rotary_encoder_report_event() 82 if (encoder->dir < 0) { in rotary_encoder_report_event() [all …]
|
/kernel/linux/linux-5.10/drivers/media/i2c/ |
D | bt856.c | 55 static inline int bt856_write(struct bt856 *encoder, u8 reg, u8 value) in bt856_write() argument 57 struct i2c_client *client = v4l2_get_subdevdata(&encoder->sd); in bt856_write() 59 encoder->reg[reg - BT856_REG_OFFSET] = value; in bt856_write() 63 static inline int bt856_setbit(struct bt856 *encoder, u8 reg, u8 bit, u8 value) in bt856_setbit() argument 65 return bt856_write(encoder, reg, in bt856_setbit() 66 (encoder->reg[reg - BT856_REG_OFFSET] & ~(1 << bit)) | in bt856_setbit() 70 static void bt856_dump(struct bt856 *encoder) in bt856_dump() argument 74 v4l2_info(&encoder->sd, "register dump:\n"); in bt856_dump() 76 printk(KERN_CONT " %02x", encoder->reg[i]); in bt856_dump() 84 struct bt856 *encoder = to_bt856(sd); in bt856_init() local [all …]
|
/kernel/linux/linux-5.10/drivers/gpu/drm/ |
D | drm_encoder.c | 71 struct drm_encoder *encoder; in drm_encoder_register_all() local 74 drm_for_each_encoder(encoder, dev) { in drm_encoder_register_all() 75 if (encoder->funcs->late_register) in drm_encoder_register_all() 76 ret = encoder->funcs->late_register(encoder); in drm_encoder_register_all() 86 struct drm_encoder *encoder; in drm_encoder_unregister_all() local 88 drm_for_each_encoder(encoder, dev) { in drm_encoder_unregister_all() 89 if (encoder->funcs->early_unregister) in drm_encoder_unregister_all() 90 encoder->funcs->early_unregister(encoder); in drm_encoder_unregister_all() 110 struct drm_encoder *encoder, in drm_encoder_init() argument 120 ret = drm_mode_object_add(dev, &encoder->base, DRM_MODE_OBJECT_ENCODER); in drm_encoder_init() [all …]
|
D | drm_encoder_slave.c | 53 struct drm_encoder_slave *encoder, in drm_i2c_encoder_init() argument 76 encoder->bus_priv = client; in drm_i2c_encoder_init() 80 err = encoder_drv->encoder_init(client, dev, encoder); in drm_i2c_encoder_init() 85 encoder->slave_funcs->set_config(&encoder->base, in drm_i2c_encoder_init() 107 struct drm_encoder_slave *encoder = to_encoder_slave(drm_encoder); in drm_i2c_encoder_destroy() local 112 encoder->bus_priv = NULL; in drm_i2c_encoder_destroy() 128 void drm_i2c_encoder_dpms(struct drm_encoder *encoder, int mode) in drm_i2c_encoder_dpms() argument 130 get_slave_funcs(encoder)->dpms(encoder, mode); in drm_i2c_encoder_dpms() 134 bool drm_i2c_encoder_mode_fixup(struct drm_encoder *encoder, in drm_i2c_encoder_mode_fixup() argument 138 if (!get_slave_funcs(encoder)->mode_fixup) in drm_i2c_encoder_mode_fixup() [all …]
|
D | drm_crtc_helper.c | 95 bool drm_helper_encoder_in_use(struct drm_encoder *encoder) in drm_helper_encoder_in_use() argument 99 struct drm_device *dev = encoder->dev; in drm_helper_encoder_in_use() 115 if (connector->encoder == encoder) { in drm_helper_encoder_in_use() 138 struct drm_encoder *encoder; in drm_helper_crtc_in_use() local 150 drm_for_each_encoder(encoder, dev) in drm_helper_crtc_in_use() 151 if (encoder->crtc == crtc && drm_helper_encoder_in_use(encoder)) in drm_helper_crtc_in_use() 158 drm_encoder_disable(struct drm_encoder *encoder) in drm_encoder_disable() argument 160 const struct drm_encoder_helper_funcs *encoder_funcs = encoder->helper_private; in drm_encoder_disable() 166 (*encoder_funcs->disable)(encoder); in drm_encoder_disable() 168 (*encoder_funcs->dpms)(encoder, DRM_MODE_DPMS_OFF); in drm_encoder_disable() [all …]
|
D | drm_bridge.c | 175 int drm_bridge_attach(struct drm_encoder *encoder, struct drm_bridge *bridge, in drm_bridge_attach() argument 181 if (!encoder || !bridge) in drm_bridge_attach() 184 if (previous && (!previous->dev || previous->encoder != encoder)) in drm_bridge_attach() 190 bridge->dev = encoder->dev; in drm_bridge_attach() 191 bridge->encoder = encoder; in drm_bridge_attach() 196 list_add(&bridge->chain_node, &encoder->bridge_chain); in drm_bridge_attach() 226 bridge->encoder = NULL; in drm_bridge_attach() 358 struct drm_encoder *encoder; in drm_bridge_chain_mode_fixup() local 363 encoder = bridge->encoder; in drm_bridge_chain_mode_fixup() 364 list_for_each_entry_from(bridge, &encoder->bridge_chain, chain_node) { in drm_bridge_chain_mode_fixup() [all …]
|
/kernel/linux/linux-5.10/drivers/gpu/drm/radeon/ |
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_legacy_encoders.c | 43 static void radeon_legacy_encoder_disable(struct drm_encoder *encoder) in radeon_legacy_encoder_disable() argument 45 struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); in radeon_legacy_encoder_disable() 48 encoder_funcs = encoder->helper_private; in radeon_legacy_encoder_disable() 49 encoder_funcs->dpms(encoder, DRM_MODE_DPMS_OFF); in radeon_legacy_encoder_disable() 53 static void radeon_legacy_lvds_update(struct drm_encoder *encoder, int mode) in radeon_legacy_lvds_update() argument 55 struct drm_device *dev = encoder->dev; in radeon_legacy_lvds_update() 57 struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); in radeon_legacy_lvds_update() 136 radeon_atombios_encoder_dpms_scratch_regs(encoder, (mode == DRM_MODE_DPMS_ON) ? true : false); in radeon_legacy_lvds_update() 138 radeon_combios_encoder_dpms_scratch_regs(encoder, (mode == DRM_MODE_DPMS_ON) ? true : false); in radeon_legacy_lvds_update() 142 static void radeon_legacy_lvds_dpms(struct drm_encoder *encoder, int mode) in radeon_legacy_lvds_dpms() argument [all …]
|
D | atombios_encoders.c | 95 struct drm_encoder *encoder = &radeon_encoder->base; in atombios_set_backlight_level() local 131 atombios_dig_transmitter_setup(encoder, ATOM_TRANSMITTER_ACTION_LCD_BLOFF, 0, 0); in atombios_set_backlight_level() 133 atombios_dig_transmitter_setup(encoder, ATOM_TRANSMITTER_ACTION_BL_BRIGHTNESS_CONTROL, 0, 0); in atombios_set_backlight_level() 134 atombios_dig_transmitter_setup(encoder, ATOM_TRANSMITTER_ACTION_LCD_BLON, 0, 0); in atombios_set_backlight_level() 163 struct radeon_encoder *radeon_encoder = pdata->encoder; in radeon_atom_backlight_update_status() 173 struct radeon_encoder *radeon_encoder = pdata->encoder; in radeon_atom_backlight_get_brightness() 231 pdata->encoder = radeon_encoder; in radeon_atom_backlight_init() 290 void radeon_atom_backlight_init(struct radeon_encoder *encoder) in radeon_atom_backlight_init() argument 294 static void radeon_atom_backlight_exit(struct radeon_encoder *encoder) in radeon_atom_backlight_exit() argument 304 static bool radeon_atom_mode_fixup(struct drm_encoder *encoder, in radeon_atom_mode_fixup() argument [all …]
|
D | radeon_encoders.c | 44 static uint32_t radeon_encoder_clones(struct drm_encoder *encoder) in radeon_encoder_clones() argument 46 struct drm_device *dev = encoder->dev; in radeon_encoder_clones() 48 struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); in radeon_encoder_clones() 68 if (clone_encoder == encoder) in radeon_encoder_clones() 82 struct drm_encoder *encoder; in radeon_setup_encoder_clones() local 84 list_for_each_entry(encoder, &dev->mode_config.encoder_list, head) { in radeon_setup_encoder_clones() 85 encoder->possible_clones = radeon_encoder_clones(encoder); in radeon_setup_encoder_clones() 209 struct drm_encoder *encoder; in radeon_link_encoder_connector() local 215 list_for_each_entry(encoder, &dev->mode_config.encoder_list, head) { in radeon_link_encoder_connector() 216 radeon_encoder = to_radeon_encoder(encoder); in radeon_link_encoder_connector() [all …]
|
/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 | 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); 194 struct drm_encoder *encoder, 205 static inline unsigned int drm_encoder_index(const struct drm_encoder *encoder) in drm_encoder_index() argument 207 return encoder->index; in drm_encoder_index() 217 static inline u32 drm_encoder_mask(const struct drm_encoder *encoder) in drm_encoder_mask() argument 219 return 1 << drm_encoder_index(encoder); in drm_encoder_mask() 229 static inline bool drm_encoder_crtc_ok(struct drm_encoder *encoder, in drm_encoder_crtc_ok() argument [all …]
|
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/dispnv04/ |
D | tvnv04.c | 74 static void nv04_tv_dpms(struct drm_encoder *encoder, int mode) in nv04_tv_dpms() argument 76 struct drm_device *dev = encoder->dev; in nv04_tv_dpms() 78 struct nouveau_encoder *nv_encoder = nouveau_encoder(encoder); in nv04_tv_dpms() 88 int head = nouveau_crtc(encoder->crtc)->index; in nv04_tv_dpms() 102 get_slave_funcs(encoder)->dpms(encoder, mode); in nv04_tv_dpms() 124 static void nv04_tv_prepare(struct drm_encoder *encoder) in nv04_tv_prepare() argument 126 struct drm_device *dev = encoder->dev; in nv04_tv_prepare() 127 int head = nouveau_crtc(encoder->crtc)->index; in nv04_tv_prepare() 128 const struct drm_encoder_helper_funcs *helper = encoder->helper_private; in nv04_tv_prepare() 130 helper->dpms(encoder, DRM_MODE_DPMS_OFF); in nv04_tv_prepare() [all …]
|
D | tvnv17.c | 45 static uint32_t nv42_tv_sample_load(struct drm_encoder *encoder) in nv42_tv_sample_load() argument 47 struct drm_device *dev = encoder->dev; in nv42_tv_sample_load() 50 uint32_t testval, regoffset = nv04_dac_output_offset(encoder); in nv42_tv_sample_load() 144 nv17_tv_detect(struct drm_encoder *encoder, struct drm_connector *connector) in nv17_tv_detect() argument 146 struct drm_device *dev = encoder->dev; in nv17_tv_detect() 149 struct nv17_tv_encoder *tv_enc = to_tv_enc(encoder); in nv17_tv_detect() 153 if (nv04_dac_in_use(encoder)) in nv17_tv_detect() 160 nv42_tv_sample_load(encoder) >> 28 & 0xe; in nv17_tv_detect() 163 nv17_dac_sample_load(encoder) >> 28 & 0xe; in nv17_tv_detect() 200 static int nv17_tv_get_ld_modes(struct drm_encoder *encoder, in nv17_tv_get_ld_modes() argument [all …]
|
D | dac.c | 41 int nv04_dac_output_offset(struct drm_encoder *encoder) in nv04_dac_output_offset() argument 43 struct dcb_output *dcb = nouveau_encoder(encoder)->dcb; in nv04_dac_output_offset() 132 static enum drm_connector_status nv04_dac_detect(struct drm_encoder *encoder, in nv04_dac_detect() argument 135 struct drm_device *dev = encoder->dev; in nv04_dac_detect() 235 uint32_t nv17_dac_sample_load(struct drm_encoder *encoder) in nv17_dac_sample_load() argument 237 struct drm_device *dev = encoder->dev; in nv17_dac_sample_load() 241 struct dcb_output *dcb = nouveau_encoder(encoder)->dcb; in nv17_dac_sample_load() 242 uint32_t sample, testval, regoffset = nv04_dac_output_offset(encoder); in nv17_dac_sample_load() 336 nv17_dac_detect(struct drm_encoder *encoder, struct drm_connector *connector) in nv17_dac_detect() argument 338 struct nouveau_drm *drm = nouveau_drm(encoder->dev); in nv17_dac_detect() [all …]
|
D | dfp.c | 113 void nv04_dfp_update_fp_control(struct drm_encoder *encoder, int mode) in nv04_dfp_update_fp_control() argument 115 struct drm_device *dev = encoder->dev; in nv04_dfp_update_fp_control() 121 nv_crtc = nouveau_crtc(encoder->crtc); in nv04_dfp_update_fp_control() 132 nv_crtc->fp_users |= 1 << nouveau_encoder(encoder)->dcb->index; in nv04_dfp_update_fp_control() 139 nv_crtc->fp_users &= ~(1 << nouveau_encoder(encoder)->dcb->index); in nv04_dfp_update_fp_control() 152 static struct drm_encoder *get_tmds_slave(struct drm_encoder *encoder) in get_tmds_slave() argument 154 struct drm_device *dev = encoder->dev; in get_tmds_slave() 155 struct dcb_output *dcb = nouveau_encoder(encoder)->dcb; in get_tmds_slave() 182 static bool nv04_dfp_mode_fixup(struct drm_encoder *encoder, in nv04_dfp_mode_fixup() argument 186 struct nouveau_encoder *nv_encoder = nouveau_encoder(encoder); in nv04_dfp_mode_fixup() [all …]
|
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/disp/mdp5/ |
D | mdp5_encoder.c | 13 static struct mdp5_kms *get_kms(struct drm_encoder *encoder) in get_kms() argument 15 struct msm_drm_private *priv = encoder->dev->dev_private; in get_kms() 19 static void mdp5_encoder_destroy(struct drm_encoder *encoder) in mdp5_encoder_destroy() argument 21 struct mdp5_encoder *mdp5_encoder = to_mdp5_encoder(encoder); in mdp5_encoder_destroy() 22 drm_encoder_cleanup(encoder); in mdp5_encoder_destroy() 30 static void mdp5_vid_encoder_mode_set(struct drm_encoder *encoder, in mdp5_vid_encoder_mode_set() argument 34 struct mdp5_encoder *mdp5_encoder = to_mdp5_encoder(encoder); in mdp5_vid_encoder_mode_set() 35 struct mdp5_kms *mdp5_kms = get_kms(encoder); in mdp5_vid_encoder_mode_set() 36 struct drm_device *dev = encoder->dev; in mdp5_vid_encoder_mode_set() 64 if (connector->encoder == encoder) { in mdp5_vid_encoder_mode_set() [all …]
|
D | mdp5_cmd_encoder.c | 11 static struct mdp5_kms *get_kms(struct drm_encoder *encoder) in get_kms() argument 13 struct msm_drm_private *priv = encoder->dev->dev_private; in get_kms() 18 static int pingpong_tearcheck_setup(struct drm_encoder *encoder, in pingpong_tearcheck_setup() argument 21 struct mdp5_kms *mdp5_kms = get_kms(encoder); in pingpong_tearcheck_setup() 22 struct device *dev = encoder->dev->dev; in pingpong_tearcheck_setup() 25 struct mdp5_hw_mixer *mixer = mdp5_crtc_get_mixer(encoder->crtc); in pingpong_tearcheck_setup() 74 static int pingpong_tearcheck_enable(struct drm_encoder *encoder) in pingpong_tearcheck_enable() argument 76 struct mdp5_kms *mdp5_kms = get_kms(encoder); in pingpong_tearcheck_enable() 77 struct mdp5_hw_mixer *mixer = mdp5_crtc_get_mixer(encoder->crtc); in pingpong_tearcheck_enable() 84 DRM_DEV_ERROR(encoder->dev->dev, in pingpong_tearcheck_enable() [all …]
|
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/display/ |
D | intel_ddi.c | 746 bdw_get_buf_trans_edp(struct intel_encoder *encoder, int *n_entries) in bdw_get_buf_trans_edp() argument 748 struct drm_i915_private *dev_priv = to_i915(encoder->base.dev); in bdw_get_buf_trans_edp() 760 skl_get_buf_trans_dp(struct intel_encoder *encoder, int *n_entries) in skl_get_buf_trans_dp() argument 762 struct drm_i915_private *dev_priv = to_i915(encoder->base.dev); in skl_get_buf_trans_dp() 777 kbl_get_buf_trans_dp(struct intel_encoder *encoder, int *n_entries) in kbl_get_buf_trans_dp() argument 779 struct drm_i915_private *dev_priv = to_i915(encoder->base.dev); in kbl_get_buf_trans_dp() 798 skl_get_buf_trans_edp(struct intel_encoder *encoder, int *n_entries) in skl_get_buf_trans_edp() argument 800 struct drm_i915_private *dev_priv = to_i915(encoder->base.dev); in skl_get_buf_trans_edp() 824 return kbl_get_buf_trans_dp(encoder, n_entries); in skl_get_buf_trans_edp() 826 return skl_get_buf_trans_dp(encoder, n_entries); in skl_get_buf_trans_edp() [all …]
|
D | icl_dsi.c | 77 static void wait_for_cmds_dispatched_to_panel(struct intel_encoder *encoder) in wait_for_cmds_dispatched_to_panel() argument 79 struct drm_i915_private *dev_priv = to_i915(encoder->base.dev); in wait_for_cmds_dispatched_to_panel() 80 struct intel_dsi *intel_dsi = enc_to_intel_dsi(encoder); in wait_for_cmds_dispatched_to_panel() 208 static void dsi_program_swing_and_deemphasis(struct intel_encoder *encoder) in dsi_program_swing_and_deemphasis() argument 210 struct drm_i915_private *dev_priv = to_i915(encoder->base.dev); in dsi_program_swing_and_deemphasis() 211 struct intel_dsi *intel_dsi = enc_to_intel_dsi(encoder); in dsi_program_swing_and_deemphasis() 274 static void configure_dual_link_mode(struct intel_encoder *encoder, in configure_dual_link_mode() argument 277 struct drm_i915_private *dev_priv = to_i915(encoder->base.dev); in configure_dual_link_mode() 278 struct intel_dsi *intel_dsi = enc_to_intel_dsi(encoder); in configure_dual_link_mode() 315 static int afe_clk(struct intel_encoder *encoder, in afe_clk() argument [all …]
|
/kernel/linux/linux-5.10/drivers/gpu/drm/i2c/ |
D | ch7006_drv.c | 33 static void ch7006_encoder_set_config(struct drm_encoder *encoder, in ch7006_encoder_set_config() argument 36 struct ch7006_priv *priv = to_ch7006_priv(encoder); in ch7006_encoder_set_config() 41 static void ch7006_encoder_destroy(struct drm_encoder *encoder) in ch7006_encoder_destroy() argument 43 struct ch7006_priv *priv = to_ch7006_priv(encoder); in ch7006_encoder_destroy() 45 drm_property_destroy(encoder->dev, priv->scale_property); in ch7006_encoder_destroy() 48 to_encoder_slave(encoder)->slave_priv = NULL; in ch7006_encoder_destroy() 50 drm_i2c_encoder_destroy(encoder); in ch7006_encoder_destroy() 53 static void ch7006_encoder_dpms(struct drm_encoder *encoder, int mode) in ch7006_encoder_dpms() argument 55 struct i2c_client *client = drm_i2c_encoder_get_client(encoder); in ch7006_encoder_dpms() 56 struct ch7006_priv *priv = to_ch7006_priv(encoder); in ch7006_encoder_dpms() [all …]
|
/kernel/linux/linux-5.10/drivers/gpu/drm/omapdrm/ |
D | omap_encoder.c | 32 static void omap_encoder_destroy(struct drm_encoder *encoder) in omap_encoder_destroy() argument 34 struct omap_encoder *omap_encoder = to_omap_encoder(encoder); in omap_encoder_destroy() 36 drm_encoder_cleanup(encoder); in omap_encoder_destroy() 72 static void omap_encoder_mode_set(struct drm_encoder *encoder, in omap_encoder_mode_set() argument 76 struct omap_encoder *omap_encoder = to_omap_encoder(encoder); in omap_encoder_mode_set() 79 struct drm_device *dev = encoder->dev; in omap_encoder_mode_set() 86 if (connector->encoder == encoder) in omap_encoder_mode_set() 120 static void omap_encoder_disable(struct drm_encoder *encoder) in omap_encoder_disable() argument 122 struct omap_encoder *omap_encoder = to_omap_encoder(encoder); in omap_encoder_disable() 124 struct drm_device *dev = encoder->dev; in omap_encoder_disable() [all …]
|
/kernel/linux/linux-5.10/drivers/gpu/drm/exynos/ |
D | exynos_drm_dpi.c | 25 struct drm_encoder encoder; member 39 return container_of(e, struct exynos_dpi, encoder); in encoder_to_dpi() 93 static int exynos_dpi_create_connector(struct drm_encoder *encoder) in exynos_dpi_create_connector() argument 95 struct exynos_dpi *ctx = encoder_to_dpi(encoder); in exynos_dpi_create_connector() 101 ret = drm_connector_init(encoder->dev, connector, in exynos_dpi_create_connector() 111 drm_connector_attach_encoder(connector, encoder); in exynos_dpi_create_connector() 116 static void exynos_dpi_mode_set(struct drm_encoder *encoder, in exynos_dpi_mode_set() argument 122 static void exynos_dpi_enable(struct drm_encoder *encoder) in exynos_dpi_enable() argument 124 struct exynos_dpi *ctx = encoder_to_dpi(encoder); in exynos_dpi_enable() 132 static void exynos_dpi_disable(struct drm_encoder *encoder) in exynos_dpi_disable() argument [all …]
|
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/disp/mdp4/ |
D | mdp4_dsi_encoder.c | 21 static struct mdp4_kms *get_kms(struct drm_encoder *encoder) in get_kms() argument 23 struct msm_drm_private *priv = encoder->dev->dev_private; in get_kms() 27 static void mdp4_dsi_encoder_destroy(struct drm_encoder *encoder) in mdp4_dsi_encoder_destroy() argument 29 struct mdp4_dsi_encoder *mdp4_dsi_encoder = to_mdp4_dsi_encoder(encoder); in mdp4_dsi_encoder_destroy() 31 drm_encoder_cleanup(encoder); in mdp4_dsi_encoder_destroy() 39 static void mdp4_dsi_encoder_mode_set(struct drm_encoder *encoder, in mdp4_dsi_encoder_mode_set() argument 43 struct mdp4_kms *mdp4_kms = get_kms(encoder); in mdp4_dsi_encoder_mode_set() 93 static void mdp4_dsi_encoder_disable(struct drm_encoder *encoder) in mdp4_dsi_encoder_disable() argument 95 struct mdp4_dsi_encoder *mdp4_dsi_encoder = to_mdp4_dsi_encoder(encoder); in mdp4_dsi_encoder_disable() 96 struct mdp4_kms *mdp4_kms = get_kms(encoder); in mdp4_dsi_encoder_disable() [all …]
|
D | mdp4_dtv_encoder.c | 22 static struct mdp4_kms *get_kms(struct drm_encoder *encoder) in get_kms() argument 24 struct msm_drm_private *priv = encoder->dev->dev_private; in get_kms() 28 static void mdp4_dtv_encoder_destroy(struct drm_encoder *encoder) in mdp4_dtv_encoder_destroy() argument 30 struct mdp4_dtv_encoder *mdp4_dtv_encoder = to_mdp4_dtv_encoder(encoder); in mdp4_dtv_encoder_destroy() 31 drm_encoder_cleanup(encoder); in mdp4_dtv_encoder_destroy() 39 static void mdp4_dtv_encoder_mode_set(struct drm_encoder *encoder, in mdp4_dtv_encoder_mode_set() argument 43 struct mdp4_dtv_encoder *mdp4_dtv_encoder = to_mdp4_dtv_encoder(encoder); in mdp4_dtv_encoder_mode_set() 44 struct mdp4_kms *mdp4_kms = get_kms(encoder); in mdp4_dtv_encoder_mode_set() 97 static void mdp4_dtv_encoder_disable(struct drm_encoder *encoder) in mdp4_dtv_encoder_disable() argument 99 struct mdp4_dtv_encoder *mdp4_dtv_encoder = to_mdp4_dtv_encoder(encoder); in mdp4_dtv_encoder_disable() [all …]
|