Home
last modified time | relevance | path

Searched full:encoder (Results 1 – 25 of 1031) sorted by relevance

12345678910>>...42

/Linux-v6.1/drivers/input/misc/
Drotary_encoder.c11 * See file:Documentation/input/devices/rotary-encoder.rst for more information
26 #define DRV_NAME "rotary-encoder"
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()
[all …]
/Linux-v6.1/drivers/gpu/drm/
Ddrm_encoder.c39 * generic sink entity, represented by &struct drm_connector). An encoder takes
73 struct drm_encoder *encoder; in drm_encoder_register_all() local
76 drm_for_each_encoder(encoder, dev) { in drm_encoder_register_all()
77 if (encoder->funcs && encoder->funcs->late_register) in drm_encoder_register_all()
78 ret = encoder->funcs->late_register(encoder); in drm_encoder_register_all()
88 struct drm_encoder *encoder; in drm_encoder_unregister_all() local
90 drm_for_each_encoder(encoder, dev) { in drm_encoder_unregister_all()
91 if (encoder->funcs && encoder->funcs->early_unregister) in drm_encoder_unregister_all()
92 encoder->funcs->early_unregister(encoder); in drm_encoder_unregister_all()
98 struct drm_encoder *encoder, in __drm_encoder_init() argument
[all …]
Ddrm_encoder_slave.c32 * drm_i2c_encoder_init - Initialize an I2C slave encoder
34 * @encoder: Encoder to be attached to the I2C device. You aren't
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()
99 * drm_i2c_encoder_destroy - Unregister the I2C device backing an encoder
100 * @drm_encoder: Encoder to be unregistered.
103 * encoder driver once I2C access is no longer needed.
107 struct drm_encoder_slave *encoder = to_encoder_slave(drm_encoder); in drm_i2c_encoder_destroy() local
[all …]
Ddrm_crtc_helper.c98 * drm_helper_encoder_in_use - check if a given encoder is in use
99 * @encoder: encoder to check
101 * Checks whether @encoder is with the current mode setting output configuration
106 * True if @encoder is used, false otherwise.
108 bool drm_helper_encoder_in_use(struct drm_encoder *encoder) in drm_helper_encoder_in_use() argument
112 struct drm_device *dev = encoder->dev; in drm_helper_encoder_in_use()
128 if (connector->encoder == encoder) { in drm_helper_encoder_in_use()
151 struct drm_encoder *encoder; in drm_helper_crtc_in_use() local
163 drm_for_each_encoder(encoder, dev) in drm_helper_crtc_in_use()
164 if (encoder->crtc == crtc && drm_helper_encoder_in_use(encoder)) in drm_helper_crtc_in_use()
[all …]
/Linux-v6.1/drivers/gpu/drm/i915/display/
Dintel_ddi.c84 static int intel_ddi_hdmi_level(struct intel_encoder *encoder, in intel_ddi_hdmi_level() argument
89 level = intel_bios_hdmi_level_shift(encoder); in intel_ddi_hdmi_level()
111 void hsw_prepare_dp_ddi_buffers(struct intel_encoder *encoder, in hsw_prepare_dp_ddi_buffers() argument
114 struct drm_i915_private *dev_priv = to_i915(encoder->base.dev); in hsw_prepare_dp_ddi_buffers()
117 enum port port = encoder->port; in hsw_prepare_dp_ddi_buffers()
120 trans = encoder->get_buf_trans(encoder, crtc_state, &n_entries); in hsw_prepare_dp_ddi_buffers()
126 intel_bios_encoder_dp_boost_level(encoder->devdata)) in hsw_prepare_dp_ddi_buffers()
142 static void hsw_prepare_hdmi_ddi_buffers(struct intel_encoder *encoder, in hsw_prepare_hdmi_ddi_buffers() argument
145 struct drm_i915_private *dev_priv = to_i915(encoder->base.dev); in hsw_prepare_hdmi_ddi_buffers()
146 int level = intel_ddi_level(encoder, crtc_state, 0); in hsw_prepare_hdmi_ddi_buffers()
[all …]
Dintel_modeset_verify.c5 * High level crtc/connector/encoder modeset state verification.
35 struct intel_encoder *encoder = intel_attached_encoder(connector); in intel_connector_verify_state() local
46 if (!encoder || encoder->type == INTEL_OUTPUT_DP_MST) in intel_connector_verify_state()
49 I915_STATE_WARN(conn_state->best_encoder != &encoder->base, in intel_connector_verify_state()
50 "atomic encoder doesn't match attached encoder\n"); in intel_connector_verify_state()
52 I915_STATE_WARN(conn_state->crtc != encoder->base.crtc, in intel_connector_verify_state()
53 "attached encoder crtc differs from connector crtc\n"); in intel_connector_verify_state()
58 "best encoder set without crtc!\n"); in intel_connector_verify_state()
71 struct drm_encoder *encoder = connector->encoder; in verify_connector_state() local
82 I915_STATE_WARN(new_conn_state->best_encoder != encoder, in verify_connector_state()
[all …]
Dintel_dp_link_training.c50 struct intel_encoder *encoder = &dp_to_dig_port(intel_dp)->base; in intel_dp_read_lttpr_phy_caps() local
55 "[ENCODER:%d:%s][%s] failed to read the PHY caps\n", in intel_dp_read_lttpr_phy_caps()
56 encoder->base.base.id, encoder->base.name, in intel_dp_read_lttpr_phy_caps()
62 "[ENCODER:%d:%s][%s] PHY capabilities: %*ph\n", in intel_dp_read_lttpr_phy_caps()
63 encoder->base.base.id, encoder->base.name, in intel_dp_read_lttpr_phy_caps()
72 struct intel_encoder *encoder = &dp_to_dig_port(intel_dp)->base; in intel_dp_read_lttpr_common_caps() local
81 "[ENCODER:%d:%s] LTTPR common capabilities: %*ph\n", in intel_dp_read_lttpr_common_caps()
82 encoder->base.base.id, encoder->base.name, in intel_dp_read_lttpr_common_caps()
108 struct intel_encoder *encoder = &dp_to_dig_port(intel_dp)->base; in intel_dp_init_lttpr() local
109 struct drm_i915_private *i915 = to_i915(encoder->base.dev); in intel_dp_init_lttpr()
[all …]
Dg4x_hdmi.c22 static void intel_hdmi_prepare(struct intel_encoder *encoder, in intel_hdmi_prepare() argument
25 struct drm_device *dev = encoder->base.dev; in intel_hdmi_prepare()
28 struct intel_hdmi *intel_hdmi = enc_to_intel_hdmi(encoder); in intel_hdmi_prepare()
61 static bool intel_hdmi_get_hw_state(struct intel_encoder *encoder, in intel_hdmi_get_hw_state() argument
64 struct drm_i915_private *dev_priv = to_i915(encoder->base.dev); in intel_hdmi_get_hw_state()
65 struct intel_hdmi *intel_hdmi = enc_to_intel_hdmi(encoder); in intel_hdmi_get_hw_state()
70 encoder->power_domain); in intel_hdmi_get_hw_state()
76 intel_display_power_put(dev_priv, encoder->power_domain, wakeref); in intel_hdmi_get_hw_state()
81 static void intel_hdmi_get_config(struct intel_encoder *encoder, in intel_hdmi_get_config() argument
84 struct intel_hdmi *intel_hdmi = enc_to_intel_hdmi(encoder); in intel_hdmi_get_config()
[all …]
Dg4x_dp.c54 void g4x_dp_set_clock(struct intel_encoder *encoder, in g4x_dp_set_clock() argument
57 struct drm_i915_private *dev_priv = to_i915(encoder->base.dev); in g4x_dp_set_clock()
86 static void intel_dp_prepare(struct intel_encoder *encoder, in intel_dp_prepare() argument
89 struct drm_i915_private *dev_priv = to_i915(encoder->base.dev); in intel_dp_prepare()
90 struct intel_dp *intel_dp = enc_to_intel_dp(encoder); in intel_dp_prepare()
91 enum port port = encoder->port; in intel_dp_prepare()
175 "[ENCODER:%d:%s] state assertion failure (expected %s, current %s)\n", in assert_dp_port()
298 static bool intel_dp_get_hw_state(struct intel_encoder *encoder, in intel_dp_get_hw_state() argument
301 struct drm_i915_private *dev_priv = to_i915(encoder->base.dev); in intel_dp_get_hw_state()
302 struct intel_dp *intel_dp = enc_to_intel_dp(encoder); in intel_dp_get_hw_state()
[all …]
Dicl_dsi.c96 static void wait_for_cmds_dispatched_to_panel(struct intel_encoder *encoder) in wait_for_cmds_dispatched_to_panel() argument
98 struct drm_i915_private *dev_priv = to_i915(encoder->base.dev); in wait_for_cmds_dispatched_to_panel()
99 struct intel_dsi *intel_dsi = enc_to_intel_dsi(encoder); in wait_for_cmds_dispatched_to_panel()
231 static void dsi_program_swing_and_deemphasis(struct intel_encoder *encoder) in dsi_program_swing_and_deemphasis() argument
233 struct drm_i915_private *dev_priv = to_i915(encoder->base.dev); in dsi_program_swing_and_deemphasis()
234 struct intel_dsi *intel_dsi = enc_to_intel_dsi(encoder); in dsi_program_swing_and_deemphasis()
297 static void configure_dual_link_mode(struct intel_encoder *encoder, in configure_dual_link_mode() argument
300 struct drm_i915_private *dev_priv = to_i915(encoder->base.dev); in configure_dual_link_mode()
301 struct intel_dsi *intel_dsi = enc_to_intel_dsi(encoder); in configure_dual_link_mode()
338 static int afe_clk(struct intel_encoder *encoder, in afe_clk() argument
[all …]
Dintel_modeset_setup.c31 struct intel_encoder *encoder; in intel_crtc_disable_noatomic() local
93 for_each_encoder_on_crtc(&i915->drm, &crtc->base, encoder) in intel_crtc_disable_noatomic()
94 encoder->base.crtc = NULL; in intel_crtc_disable_noatomic()
120 struct intel_encoder *encoder = in intel_modeset_update_connector_atomic_state() local
121 to_intel_encoder(connector->base.encoder); in intel_modeset_update_connector_atomic_state()
126 if (encoder) { in intel_modeset_update_connector_atomic_state()
128 to_intel_crtc(encoder->base.crtc); in intel_modeset_update_connector_atomic_state()
132 conn_state->best_encoder = &encoder->base; in intel_modeset_update_connector_atomic_state()
198 struct intel_encoder *encoder; in intel_crtc_has_encoders() local
200 for_each_encoder_on_crtc(dev, &crtc->base, encoder) in intel_crtc_has_encoders()
[all …]
/Linux-v6.1/drivers/media/i2c/
Dbt856.c3 * bt856 - BT856A Digital Video Encoder (Rockwell Part)
27 MODULE_DESCRIPTION("Brooktree-856A video encoder driver");
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()
[all …]
/Linux-v6.1/drivers/gpu/drm/msm/disp/dpu1/
Ddpu_encoder.h43 * dpu_encoder_assign_crtc - Link the encoder to the crtc it's assigned to
44 * @encoder: encoder pointer
47 void dpu_encoder_assign_crtc(struct drm_encoder *encoder,
52 * the encoder is assigned to the given crtc
53 * @encoder: encoder pointer
57 void dpu_encoder_toggle_vblank_for_crtc(struct drm_encoder *encoder,
61 * dpu_encoder_register_frame_event_callback - provide callback to encoder that
63 * @encoder: encoder pointer
67 void dpu_encoder_register_frame_event_callback(struct drm_encoder *encoder,
75 * @encoder: encoder pointer
[all …]
Ddpu_encoder_phys.h29 * enum dpu_enc_split_role - Role this physical encoder will play in a
32 * @ENC_ROLE_SOLO: This is the one and only panel. This encoder is master.
33 * @ENC_ROLE_MASTER: This encoder is the master of a split panel config.
34 * @ENC_ROLE_SLAVE: This encoder is not the master of a split panel config.
43 * enum dpu_enc_enable_state - current enabled state of the physical encoder
44 * @DPU_ENC_DISABLING: Encoder transitioning to disable state
45 * Events bounding transition are encoder type specific
46 * @DPU_ENC_DISABLED: Encoder is disabled
47 * @DPU_ENC_ENABLING: Encoder transitioning to enabled
48 * Events bounding transition are encoder type specific
[all …]
/Linux-v6.1/include/drm/
Ddrm_encoder.h36 * struct drm_encoder_funcs - encoder controls
44 * Reset encoder hardware and software state to off. This function isn't
48 void (*reset)(struct drm_encoder *encoder);
53 * Clean up encoder resources. This is only called at driver unload time
54 * through drm_mode_config_cleanup() since an encoder cannot be
57 void (*destroy)(struct drm_encoder *encoder);
63 * interfaces attached to the encoder like debugfs interfaces.
72 int (*late_register)(struct drm_encoder *encoder);
78 * userspace interfaces attached to the encoder from
83 void (*early_unregister)(struct drm_encoder *encoder);
[all …]
Ddrm_encoder_slave.h36 * struct drm_encoder_slave_funcs - Entry points exposed by a slave encoder driver
37 * @set_config: Initialize any encoder-specific modesetting parameters.
48 * if the encoder is the currently selected one for the connector.
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,
[all …]
/Linux-v6.1/drivers/gpu/drm/msm/disp/mdp5/
Dmdp5_encoder.c13 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 …]
Dmdp5_cmd_encoder.c13 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()
20 static int pingpong_tearcheck_setup(struct drm_encoder *encoder, in pingpong_tearcheck_setup() argument
23 struct mdp5_kms *mdp5_kms = get_kms(encoder); in pingpong_tearcheck_setup()
24 struct device *dev = encoder->dev->dev; in pingpong_tearcheck_setup()
27 struct mdp5_hw_mixer *mixer = mdp5_crtc_get_mixer(encoder->crtc); in pingpong_tearcheck_setup()
77 static int pingpong_tearcheck_enable(struct drm_encoder *encoder) in pingpong_tearcheck_enable() argument
79 struct mdp5_kms *mdp5_kms = get_kms(encoder); in pingpong_tearcheck_enable()
80 struct mdp5_hw_mixer *mixer = mdp5_crtc_get_mixer(encoder->crtc); in pingpong_tearcheck_enable()
87 DRM_DEV_ERROR(encoder->dev->dev, in pingpong_tearcheck_enable()
[all …]
/Linux-v6.1/drivers/gpu/drm/nouveau/dispnv04/
Dtvnv17.c45 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 …]
Dtvnv04.c59 return nvkm_i2c_bus_probe(bus, "TV encoder", in nv04_tv_identify()
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()
82 NV_DEBUG(drm, "Setting dpms mode %d on TV encoder (output %d)\n", 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()
[all …]
Ddac.c41 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 …]
/Linux-v6.1/drivers/gpu/drm/radeon/
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() local
195 list_for_each_entry(encoder, &rdev->ddev->mode_config.encoder_list, head) { in radeon_audio_enable()
196 if (radeon_encoder_is_digital(encoder)) { in radeon_audio_enable()
197 radeon_encoder = to_radeon_encoder(encoder); in radeon_audio_enable()
297 static void radeon_audio_write_sad_regs(struct drm_encoder *encoder) in radeon_audio_write_sad_regs() argument
299 struct drm_connector *connector = radeon_get_connector_for_encoder(encoder); in radeon_audio_write_sad_regs()
300 struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); in radeon_audio_write_sad_regs()
315 radeon_encoder->audio->write_sad_regs(encoder, sads, sad_count); in radeon_audio_write_sad_regs()
[all …]
Dradeon_legacy_encoders.c46 static void radeon_legacy_encoder_disable(struct drm_encoder *encoder) in radeon_legacy_encoder_disable() argument
48 struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); in radeon_legacy_encoder_disable()
51 encoder_funcs = encoder->helper_private; in radeon_legacy_encoder_disable()
52 encoder_funcs->dpms(encoder, DRM_MODE_DPMS_OFF); in radeon_legacy_encoder_disable()
56 static void radeon_legacy_lvds_update(struct drm_encoder *encoder, int mode) in radeon_legacy_lvds_update() argument
58 struct drm_device *dev = encoder->dev; in radeon_legacy_lvds_update()
60 struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); in radeon_legacy_lvds_update()
139 radeon_atombios_encoder_dpms_scratch_regs(encoder, (mode == DRM_MODE_DPMS_ON) ? true : false); in radeon_legacy_lvds_update()
141 radeon_combios_encoder_dpms_scratch_regs(encoder, (mode == DRM_MODE_DPMS_ON) ? true : false); in radeon_legacy_lvds_update()
145 static void radeon_legacy_lvds_dpms(struct drm_encoder *encoder, int mode) in radeon_legacy_lvds_dpms() argument
[all …]
Datombios_encoders.c98 struct drm_encoder *encoder = &radeon_encoder->base; in atombios_set_backlight_level() local
134 atombios_dig_transmitter_setup(encoder, ATOM_TRANSMITTER_ACTION_LCD_BLOFF, 0, 0); in atombios_set_backlight_level()
136 atombios_dig_transmitter_setup(encoder, ATOM_TRANSMITTER_ACTION_BL_BRIGHTNESS_CONTROL, 0, 0); in atombios_set_backlight_level()
137 atombios_dig_transmitter_setup(encoder, ATOM_TRANSMITTER_ACTION_LCD_BLON, 0, 0); in atombios_set_backlight_level()
164 struct radeon_encoder *radeon_encoder = pdata->encoder; in radeon_atom_backlight_update_status()
174 struct radeon_encoder *radeon_encoder = pdata->encoder; in radeon_atom_backlight_get_brightness()
237 pdata->encoder = radeon_encoder; in radeon_atom_backlight_init()
294 static bool radeon_atom_mode_fixup(struct drm_encoder *encoder, in radeon_atom_mode_fixup() argument
298 struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); in radeon_atom_mode_fixup()
299 struct drm_device *dev = encoder->dev; in radeon_atom_mode_fixup()
[all …]
/Linux-v6.1/drivers/gpu/drm/i2c/
Dch7006_drv.c31 /* DRM encoder functions */
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()
[all …]

12345678910>>...42