Home
last modified time | relevance | path

Searched refs:encoder (Results 1 – 25 of 581) sorted by relevance

12345678910>>...24

/linux/drivers/input/misc/
A Drotary_encoder.c78 encoder->axis, encoder->dir); in rotary_encoder_report_event()
90 if (encoder->rollover || pos < encoder->steps) in rotary_encoder_report_event()
98 input_report_abs(encoder->input, encoder->axis, encoder->pos); in rotary_encoder_report_event()
147 encoder->dir = ((encoder->last_stable - state + 1) % 4) - 1; in rotary_encoder_half_period_irq()
196 if (!encoder) in rotary_encoder_probe()
264 encoder->axis, 0, encoder->steps, 0, 1); in rotary_encoder_probe()
269 encoder->last_stable = rotary_encoder_get_state(encoder); in rotary_encoder_probe()
273 encoder->last_stable = rotary_encoder_get_state(encoder); in rotary_encoder_probe()
284 encoder->irq = in rotary_encoder_probe()
286 encoder->gpios->ndescs, sizeof(*encoder->irq), in rotary_encoder_probe()
[all …]
/linux/drivers/media/i2c/
A Dbt856.c89 bt856_write(encoder, 0xda, 0); in bt856_init()
90 bt856_write(encoder, 0xde, 0); in bt856_init()
105 bt856_dump(encoder); in bt856_init()
124 encoder->norm = std; in bt856_s_std_output()
126 bt856_dump(encoder); in bt856_s_std_output()
162 bt856_dump(encoder); in bt856_s_routing()
187 struct bt856 *encoder; in bt856_probe() local
197 encoder = devm_kzalloc(&client->dev, sizeof(*encoder), GFP_KERNEL); in bt856_probe()
198 if (encoder == NULL) in bt856_probe()
200 sd = &encoder->sd; in bt856_probe()
[all …]
/linux/drivers/gpu/drm/
A Ddrm_encoder.c76 if (encoder->funcs && encoder->funcs->late_register) in drm_encoder_register_all()
77 ret = encoder->funcs->late_register(encoder); in drm_encoder_register_all()
90 if (encoder->funcs && encoder->funcs->early_unregister) in drm_encoder_unregister_all()
91 encoder->funcs->early_unregister(encoder); in drm_encoder_unregister_all()
111 encoder->dev = dev; in __drm_encoder_init()
113 encoder->funcs = funcs; in __drm_encoder_init()
121 if (!encoder->name) { in __drm_encoder_init()
197 kfree(encoder->name); in drm_encoder_cleanup()
201 memset(encoder, 0, sizeof(*encoder)); in drm_encoder_cleanup()
275 return encoder->crtc; in drm_encoder_get_crtc()
[all …]
A Ddrm_crtc_helper.c115 if (connector->encoder == encoder) { in drm_helper_encoder_in_use()
151 if (encoder->crtc == crtc && drm_helper_encoder_in_use(encoder)) in drm_helper_crtc_in_use()
382 encoder->base.id, encoder->name, mode->name); in drm_crtc_helper_set_mode()
440 if (connector->encoder != encoder) in drm_crtc_helper_disable()
808 if (connector->encoder == encoder) in drm_helper_choose_encoder_dpms()
838 if (connector->encoder && connector->encoder->crtc == crtc) in drm_helper_choose_crtc_dpms()
869 struct drm_encoder *encoder = connector->encoder; in drm_helper_connector_dpms() local
870 struct drm_crtc *crtc = encoder ? encoder->crtc : NULL; in drm_helper_connector_dpms()
881 if (encoder) in drm_helper_connector_dpms()
893 if (encoder) in drm_helper_connector_dpms()
[all …]
A Ddrm_encoder_slave.c53 struct drm_encoder_slave *encoder, in drm_i2c_encoder_init() argument
76 encoder->bus_priv = client; in drm_i2c_encoder_init()
85 encoder->slave_funcs->set_config(&encoder->base, in drm_i2c_encoder_init()
112 encoder->bus_priv = NULL; in drm_i2c_encoder_destroy()
130 get_slave_funcs(encoder)->dpms(encoder, mode); in drm_i2c_encoder_dpms()
138 if (!get_slave_funcs(encoder)->mode_fixup) in drm_i2c_encoder_mode_fixup()
141 return get_slave_funcs(encoder)->mode_fixup(encoder, mode, adjusted_mode); in drm_i2c_encoder_mode_fixup()
161 get_slave_funcs(encoder)->mode_set(encoder, mode, adjusted_mode); in drm_i2c_encoder_mode_set()
168 return get_slave_funcs(encoder)->detect(encoder, connector); in drm_i2c_encoder_detect()
174 get_slave_funcs(encoder)->save(encoder); in drm_i2c_encoder_save()
[all …]
A Ddrm_bridge.c252 bridge->encoder = encoder; in drm_bridge_attach()
433 encoder = bridge->encoder; in drm_bridge_chain_mode_fixup()
472 encoder = bridge->encoder; in drm_bridge_chain_mode_valid()
506 encoder = bridge->encoder; in drm_bridge_chain_disable()
535 encoder = bridge->encoder; in drm_bridge_chain_post_disable()
564 encoder = bridge->encoder; in drm_bridge_chain_mode_set()
591 encoder = bridge->encoder; in drm_bridge_chain_pre_enable()
619 encoder = bridge->encoder; in drm_bridge_chain_enable()
648 encoder = bridge->encoder; in drm_atomic_bridge_chain_disable()
691 encoder = bridge->encoder; in drm_atomic_bridge_chain_post_disable()
[all …]
/linux/drivers/gpu/drm/i915/display/
A Dintel_ddi.c672 if (!encoder->get_hw_state(encoder, &pipe)) { in intel_ddi_connector_get_hw_state()
805 encoder->base.base.id, encoder->base.name); in intel_ddi_get_encoder_pipes()
810 encoder->base.base.id, encoder->base.name, in intel_ddi_get_encoder_pipes()
818 encoder->base.base.id, encoder->base.name, in intel_ddi_get_encoder_pipes()
1938 encoder->enable_clock(encoder, crtc_state); in intel_ddi_enable_clock()
1944 encoder->disable_clock(encoder); in intel_ddi_disable_clock()
2000 !encoder->is_clock_enabled(encoder)) in intel_ddi_sanitize_encoder_pll_mapping()
2005 encoder->base.base.id, encoder->base.name); in intel_ddi_sanitize_encoder_pll_mapping()
2007 encoder->disable_clock(encoder); in intel_ddi_sanitize_encoder_pll_mapping()
2357 encoder->set_signal_levels(encoder, crtc_state); in dg2_ddi_pre_enable_dp()
[all …]
A Dg4x_hdmi.c68 encoder->power_domain); in intel_hdmi_get_hw_state()
159 struct intel_encoder *encoder, in g4x_enable_hdmi() argument
182 struct intel_encoder *encoder, in ibx_enable_hdmi() argument
346 dig_port->set_infoframes(encoder, in intel_disable_hdmi()
359 intel_audio_codec_disable(encoder, in g4x_disable_hdmi()
389 enc_to_dig_port(encoder); in intel_hdmi_pre_enable()
393 dig_port->set_infoframes(encoder, in intel_hdmi_pre_enable()
399 struct intel_encoder *encoder, in vlv_hdmi_pre_enable() argument
413 dig_port->set_infoframes(encoder, in vlv_hdmi_pre_enable()
476 struct intel_encoder *encoder, in chv_hdmi_pre_enable() argument
[all …]
A Dintel_ddi_buf_trans.c1043 hsw_get_buf_trans(struct intel_encoder *encoder, in hsw_get_buf_trans() argument
1056 bdw_get_buf_trans(struct intel_encoder *encoder, in bdw_get_buf_trans() argument
1655 encoder->get_buf_trans = bxt_get_buf_trans; in intel_ddi_buf_trans_init()
1657 encoder->get_buf_trans = kbl_y_get_buf_trans; in intel_ddi_buf_trans_init()
1659 encoder->get_buf_trans = kbl_u_get_buf_trans; in intel_ddi_buf_trans_init()
1661 encoder->get_buf_trans = kbl_get_buf_trans; in intel_ddi_buf_trans_init()
1663 encoder->get_buf_trans = skl_y_get_buf_trans; in intel_ddi_buf_trans_init()
1665 encoder->get_buf_trans = skl_u_get_buf_trans; in intel_ddi_buf_trans_init()
1667 encoder->get_buf_trans = skl_get_buf_trans; in intel_ddi_buf_trans_init()
1669 encoder->get_buf_trans = bdw_get_buf_trans; in intel_ddi_buf_trans_init()
[all …]
A Dicl_dsi.c1160 gen11_dsi_gate_clocks(encoder); in gen11_dsi_enable_port_and_phy()
1407 gen11_dsi_gate_clocks(encoder); in gen11_dsi_disable_port()
1561 intel_ddi_get_clock(encoder, pipe_config, icl_ddi_combo_get_pll(encoder)); in gen11_dsi_get_config()
1597 encoder->base.base.id, in gen11_dsi_sync_state()
1598 encoder->base.name); in gen11_dsi_sync_state()
1707 enc_to_intel_dsi(encoder)); in gen11_dsi_get_power_domains()
1986 struct intel_encoder *encoder; in icl_dsi_init() local
2005 encoder = &intel_dsi->base; in icl_dsi_init()
2018 encoder->port = port; in icl_dsi_init()
2026 encoder->cloneable = 0; in icl_dsi_init()
[all …]
A Dg4x_dp.c107 enum port port = encoder->port; in intel_dp_prepare()
328 encoder->port, pipe); in intel_dp_get_hw_state()
341 enum port port = encoder->port; in intel_dp_get_config()
428 enum port port = encoder->port; in intel_dp_link_down()
1161 intel_dp_phy_test(encoder); in intel_dp_hotplug()
1209 switch (encoder->hpd_pin) { in g4x_digital_port_connected()
1232 switch (encoder->hpd_pin) { in gm45_digital_port_connected()
1262 drm_encoder_cleanup(encoder); in intel_dp_encoder_destroy()
1273 encoder->port, &pipe)) in vlv_active_pipe()
1308 struct drm_encoder *encoder; in g4x_dp_init() local
[all …]
/linux/drivers/gpu/drm/radeon/
A Dradeon_audio.c186 struct drm_encoder *encoder; in radeon_audio_enable() local
377 struct drm_encoder *encoder, in radeon_audio_detect() argument
594 if (encoder->crtc) { in radeon_hdmi_set_color_depth()
644 radeon_audio_set_mute(encoder, true); in radeon_audio_hdmi_mode_set()
647 radeon_audio_write_sad_regs(encoder); in radeon_audio_hdmi_mode_set()
650 radeon_audio_set_vbi_packet(encoder); in radeon_audio_hdmi_mode_set()
651 radeon_hdmi_set_color_depth(encoder); in radeon_audio_hdmi_mode_set()
654 radeon_audio_select_pin(encoder); in radeon_audio_hdmi_mode_set()
661 radeon_hdmi_set_color_depth(encoder); in radeon_audio_hdmi_mode_set()
671 struct drm_device *dev = encoder->dev; in radeon_audio_dp_mode_set()
[all …]
A Dradeon_legacy_encoders.c49 encoder_funcs = encoder->helper_private; in radeon_legacy_encoder_disable()
56 struct drm_device *dev = encoder->dev; in radeon_legacy_lvds_update()
410 pdata->encoder = radeon_encoder; in radeon_legacy_backlight_init()
512 drm_encoder_cleanup(encoder); in radeon_lvds_enc_destroy()
1021 drm_encoder_cleanup(encoder); in radeon_ext_tmds_enc_destroy()
1550 if (encoder->crtc != crtc) { in radeon_legacy_tv_dac_detect()
1749 struct drm_encoder *encoder; in radeon_add_legacy_encoder() local
1767 encoder = &radeon_encoder->base; in radeon_add_legacy_encoder()
1769 encoder->possible_crtcs = 0x1; in radeon_add_legacy_encoder()
1771 encoder->possible_crtcs = 0x3; in radeon_add_legacy_encoder()
[all …]
A Datombios_encoders.c231 pdata->encoder = radeon_encoder; in radeon_atom_backlight_init()
460 if (encoder->crtc) { in radeon_atom_get_bpc()
1054 if (encoder->crtc) { in atombios_dig_transmitter_setup2()
2206 if (encoder == test_encoder) in radeon_atom_pick_dig_encoder()
2245 struct drm_encoder *encoder; in radeon_atom_encoder_init() local
2527 dce8_program_fmt(encoder); in radeon_atom_encoder_prepare()
2529 dce4_program_fmt(encoder); in radeon_atom_encoder_prepare()
2531 dce3_program_fmt(encoder); in radeon_atom_encoder_prepare()
2533 avivo_program_fmt(encoder); in radeon_atom_encoder_prepare()
2677 drm_encoder_cleanup(encoder); in radeon_enc_destroy()
[all …]
A Dradeon_encoders.c40 struct drm_device *dev = encoder->dev; in radeon_encoder_clones()
62 if (clone_encoder == encoder) in radeon_encoder_clones()
76 struct drm_encoder *encoder; in radeon_setup_encoder_clones() local
79 encoder->possible_clones = radeon_encoder_clones(encoder); in radeon_setup_encoder_clones()
203 struct drm_encoder *encoder; in radeon_link_encoder_connector() local
222 struct drm_device *dev = encoder->dev; in radeon_encoder_set_active_device()
227 if (connector->encoder == encoder) { in radeon_encoder_set_active_device()
240 struct drm_device *dev = encoder->dev; in radeon_get_connector_for_encoder()
265 struct drm_device *dev = encoder->dev; in radeon_get_connector_for_encoder_init()
280 struct drm_device *dev = encoder->dev; in radeon_get_external_encoder()
[all …]
A Dradeon_audio.h46 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 …]
/linux/drivers/gpu/drm/msm/disp/mdp5/
A Dmdp5_encoder.c22 drm_encoder_cleanup(encoder); in mdp5_encoder_destroy()
36 struct drm_device *dev = encoder->dev; in mdp5_vid_encoder_mode_set()
64 if (connector->encoder == encoder) { in mdp5_vid_encoder_mode_set()
222 mdp5_cmd_encoder_enable(encoder); in mdp5_encoder_enable()
224 mdp5_vid_encoder_enable(encoder); in mdp5_encoder_enable()
287 if (!encoder || !slave_encoder) in mdp5_vid_encoder_set_split_display()
290 mdp5_kms = get_kms(encoder); in mdp5_vid_encoder_set_split_display()
353 encoder = &mdp5_encoder->base; in mdp5_encoder_init()
363 return encoder; in mdp5_encoder_init()
366 if (encoder) in mdp5_encoder_init()
[all …]
A Dmdp5_cmd_encoder.c21 struct mdp5_kms *mdp5_kms = get_kms(encoder); in pingpong_tearcheck_setup()
22 struct device *dev = encoder->dev->dev; in pingpong_tearcheck_setup()
77 struct mdp5_kms *mdp5_kms = get_kms(encoder); in pingpong_tearcheck_enable()
85 DRM_DEV_ERROR(encoder->dev->dev, in pingpong_tearcheck_enable()
91 DRM_DEV_ERROR(encoder->dev->dev, in pingpong_tearcheck_enable()
118 pingpong_tearcheck_setup(encoder, mode); in mdp5_cmd_encoder_mode_set()
119 mdp5_crtc_set_pipeline(encoder->crtc); in mdp5_cmd_encoder_mode_set()
132 pingpong_tearcheck_disable(encoder); in mdp5_cmd_encoder_disable()
150 if (pingpong_tearcheck_enable(encoder)) in mdp5_cmd_encoder_enable()
169 if (!encoder || !slave_encoder) in mdp5_cmd_encoder_set_split_display()
[all …]
/linux/drivers/gpu/drm/nouveau/dispnv04/
A Dtvnv04.c76 struct drm_device *dev = encoder->dev; in nv04_tv_dpms()
102 get_slave_funcs(encoder)->dpms(encoder, mode); in nv04_tv_dpms()
161 get_slave_funcs(encoder)->mode_set(encoder, mode, adjusted_mode); in nv04_tv_mode_set()
181 get_slave_funcs(encoder)->destroy(encoder); in nv04_tv_destroy()
182 drm_encoder_cleanup(encoder); in nv04_tv_destroy()
184 kfree(encoder->helper_private); in nv04_tv_destroy()
185 kfree(nouveau_encoder(encoder)); in nv04_tv_destroy()
205 struct drm_encoder *encoder; in nv04_tv_create() local
233 encoder->possible_clones = 0; in nv04_tv_create()
245 get_slave_funcs(encoder)->create_resources(encoder, connector); in nv04_tv_create()
[all …]
A Dtvnv17.c47 struct drm_device *dev = encoder->dev; in nv42_tv_sample_load()
153 if (nv04_dac_in_use(encoder)) in nv17_tv_detect()
350 if (nv04_dac_in_use(encoder)) in nv17_tv_mode_fixup()
581 nv17_tv_update_rescaler(encoder); in nv17_tv_commit()
584 nv17_ctv_update_rescaler(encoder); in nv17_tv_commit()
626 nv04_dac_output_offset(encoder), in nv17_tv_restore()
696 if (encoder->crtc) { in nv17_tv_set_property()
722 if (encoder->crtc) in nv17_tv_set_property()
762 drm_encoder_cleanup(encoder); in nv17_tv_destroy()
790 struct drm_encoder *encoder; in nv17_tv_create() local
[all …]
A Ddac.c135 struct drm_device *dev = encoder->dev; in nv04_dac_detect()
237 struct drm_device *dev = encoder->dev; in nv17_dac_sample_load()
341 if (nv04_dac_in_use(encoder)) in nv17_dac_detect()
344 if (nv17_dac_sample_load(encoder) & in nv17_dac_detect()
358 if (nv04_dac_in_use(encoder)) in nv04_dac_mode_fixup()
367 struct drm_device *dev = encoder->dev; in nv04_dac_prepare()
394 if (rebind == encoder in nv04_dac_mode_set()
501 drm_encoder_cleanup(encoder); in nv04_dac_destroy()
533 struct drm_encoder *encoder; in nv04_dac_create() local
539 encoder = to_drm_encoder(nv_encoder); in nv04_dac_create()
[all …]
A Ddfp.c115 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()
154 struct drm_device *dev = encoder->dev; in get_tmds_slave()
249 struct drm_device *dev = encoder->dev; in nv04_dfp_prepare()
284 struct drm_device *dev = encoder->dev; in nv04_dfp_mode_set()
617 if (get_slave_funcs(encoder)) in nv04_dfp_destroy()
618 get_slave_funcs(encoder)->destroy(encoder); in nv04_dfp_destroy()
620 drm_encoder_cleanup(encoder); in nv04_dfp_destroy()
683 struct drm_encoder *encoder; in nv04_dfp_create() local
715 encoder->possible_clones = 0; in nv04_dfp_create()
[all …]
/linux/include/drm/
A Ddrm_encoder_slave.h49 void (*set_config)(struct drm_encoder *encoder,
52 void (*destroy)(struct drm_encoder *encoder);
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,
105 struct drm_encoder_slave *encoder,
[all …]
/linux/drivers/gpu/drm/i2c/
A Dch7006_drv.c50 drm_i2c_encoder_destroy(encoder); in ch7006_encoder_destroy()
65 ch7006_setup_power_state(encoder); in ch7006_encoder_dpms()
168 ch7006_setup_levels(encoder); in ch7006_encoder_mode_set()
169 ch7006_setup_subcarrier(encoder); in ch7006_encoder_mode_set()
170 ch7006_setup_pll(encoder); in ch7006_encoder_mode_set()
171 ch7006_setup_power_state(encoder); in ch7006_encoder_mode_set()
172 ch7006_setup_properties(encoder); in ch7006_encoder_mode_set()
305 ch7006_setup_properties(encoder); in ch7006_encoder_set_property()
313 ch7006_setup_properties(encoder); in ch7006_encoder_set_property()
329 ch7006_setup_levels(encoder); in ch7006_encoder_set_property()
[all …]
/linux/drivers/gpu/drm/gma500/
A Dcdv_intel_dp.c268 struct gma_encoder *encoder; member
529 if (!is_edp(encoder) && in cdv_intel_dp_mode_valid()
534 if (is_edp(encoder)) { in cdv_intel_dp_mode_valid()
594 if (is_edp(encoder)) in cdv_intel_dp_aux_ch()
758 struct gma_encoder *encoder = intel_dp->encoder; in cdv_intel_dp_i2c_aux_ch() local
868 if (is_edp(encoder)) in cdv_intel_dp_i2c_init()
871 if (is_edp(encoder)) in cdv_intel_dp_i2c_init()
1006 if (encoder->crtc != crtc) in cdv_intel_dp_set_m_n()
1701 int edp = is_edp(encoder); in cdv_intel_dp_detect()
1791 int edp = is_edp(encoder); in cdv_intel_dp_detect_audio()
[all …]

Completed in 120 milliseconds

12345678910>>...24