/linux/drivers/input/misc/ |
H A D | rotary_encoder.c | 11 * 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/drivers/gpu/drm/ |
H A D | drm_encoder.c | 40 * generic sink entity, represented by &struct drm_connector). An encoder takes 74 struct drm_encoder *encoder; in drm_encoder_register_all() local 77 drm_for_each_encoder(encoder, dev) { in drm_encoder_register_all() 78 drm_debugfs_encoder_add(encoder); in drm_encoder_register_all() 80 if (encoder->funcs && encoder->funcs->late_register) in drm_encoder_register_all() 81 ret = encoder->funcs->late_register(encoder); in drm_encoder_register_all() 91 struct drm_encoder *encoder; in drm_encoder_unregister_all() local 93 drm_for_each_encoder(encoder, dev) { in drm_encoder_unregister_all() 94 if (encoder->funcs && encoder->funcs->early_unregister) in drm_encoder_unregister_all() 95 encoder->funcs->early_unregister(encoder); in drm_encoder_unregister_all() [all …]
|
H A D | drm_encoder_slave.c | 32 * 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 …]
|
H A D | drm_crtc_helper.c | 97 * drm_helper_encoder_in_use - check if a given encoder is in use 98 * @encoder: encoder to check 100 * Checks whether @encoder is with the current mode setting output configuration 105 * True if @encoder is used, false otherwise. 107 bool drm_helper_encoder_in_use(struct drm_encoder *encoder) in drm_helper_encoder_in_use() argument 111 struct drm_device *dev = encoder->dev; in drm_helper_encoder_in_use() 127 if (connector->encoder == encoder) { in drm_helper_encoder_in_use() 150 struct drm_encoder *encoder; in drm_helper_crtc_in_use() local 162 drm_for_each_encoder(encoder, dev) in drm_helper_crtc_in_use() 163 if (encoder->crtc == crtc && drm_helper_encoder_in_use(encoder)) in drm_helper_crtc_in_use() [all …]
|
/linux/drivers/gpu/drm/i915/display/ |
H A D | intel_ddi.c | 95 static int intel_ddi_hdmi_level(struct intel_encoder *encoder, in intel_ddi_hdmi_level() argument 100 level = intel_bios_hdmi_level_shift(encoder->devdata); in intel_ddi_hdmi_level() 122 void hsw_prepare_dp_ddi_buffers(struct intel_encoder *encoder, in hsw_prepare_dp_ddi_buffers() argument 125 struct drm_i915_private *dev_priv = to_i915(encoder->base.dev); in hsw_prepare_dp_ddi_buffers() 128 enum port port = encoder->port; in hsw_prepare_dp_ddi_buffers() 131 trans = encoder->get_buf_trans(encoder, crtc_state, &n_entries); in hsw_prepare_dp_ddi_buffers() 137 intel_bios_dp_boost_level(encoder->devdata)) in hsw_prepare_dp_ddi_buffers() 153 static void hsw_prepare_hdmi_ddi_buffers(struct intel_encoder *encoder, in hsw_prepare_hdmi_ddi_buffers() argument 156 struct drm_i915_private *dev_priv = to_i915(encoder->base.dev); in hsw_prepare_hdmi_ddi_buffers() 157 int level = intel_ddi_level(encoder, crtc_state, 0); in hsw_prepare_hdmi_ddi_buffers() [all …]
|
H A D | intel_encoder.c | 15 struct intel_encoder *encoder = in intel_encoder_link_check_work_fn() local 16 container_of(work, typeof(*encoder), link_check_work.work); in intel_encoder_link_check_work_fn() 18 encoder->link_check(encoder); in intel_encoder_link_check_work_fn() 21 void intel_encoder_link_check_init(struct intel_encoder *encoder, in intel_encoder_link_check_init() argument 22 void (*callback)(struct intel_encoder *encoder)) in intel_encoder_link_check_init() argument 24 INIT_DELAYED_WORK(&encoder->link_check_work, intel_encoder_link_check_work_fn); in intel_encoder_link_check_init() 25 encoder->link_check = callback; in intel_encoder_link_check_init() 28 void intel_encoder_link_check_flush_work(struct intel_encoder *encoder) in intel_encoder_link_check_flush_work() argument 30 cancel_delayed_work_sync(&encoder->link_check_work); in intel_encoder_link_check_flush_work() 33 void intel_encoder_link_check_queue_work(struct intel_encoder *encoder, int delay_ms) in intel_encoder_link_check_queue_work() argument [all …]
|
H A D | g4x_hdmi.c | 26 static void intel_hdmi_prepare(struct intel_encoder *encoder, in intel_hdmi_prepare() argument 29 struct drm_device *dev = encoder->base.dev; in intel_hdmi_prepare() 32 struct intel_hdmi *intel_hdmi = enc_to_intel_hdmi(encoder); in intel_hdmi_prepare() 65 static bool intel_hdmi_get_hw_state(struct intel_encoder *encoder, in intel_hdmi_get_hw_state() argument 68 struct drm_i915_private *dev_priv = to_i915(encoder->base.dev); in intel_hdmi_get_hw_state() 69 struct intel_hdmi *intel_hdmi = enc_to_intel_hdmi(encoder); in intel_hdmi_get_hw_state() 74 encoder->power_domain); in intel_hdmi_get_hw_state() 80 intel_display_power_put(dev_priv, encoder->power_domain, wakeref); in intel_hdmi_get_hw_state() 87 struct intel_encoder *encoder = in connector_is_hdmi() local 90 return encoder && encoder->type == INTEL_OUTPUT_HDMI; in connector_is_hdmi() [all …]
|
H A D | icl_dsi.c | 101 static void wait_for_cmds_dispatched_to_panel(struct intel_encoder *encoder) in wait_for_cmds_dispatched_to_panel() argument 103 struct intel_display *display = to_intel_display(encoder); in wait_for_cmds_dispatched_to_panel() 104 struct intel_dsi *intel_dsi = enc_to_intel_dsi(encoder); in wait_for_cmds_dispatched_to_panel() 234 static void dsi_program_swing_and_deemphasis(struct intel_encoder *encoder) in dsi_program_swing_and_deemphasis() argument 236 struct intel_display *display = to_intel_display(encoder); in dsi_program_swing_and_deemphasis() 237 struct intel_dsi *intel_dsi = enc_to_intel_dsi(encoder); in dsi_program_swing_and_deemphasis() 279 static void configure_dual_link_mode(struct intel_encoder *encoder, in configure_dual_link_mode() argument 282 struct intel_display *display = to_intel_display(encoder); in configure_dual_link_mode() 283 struct intel_dsi *intel_dsi = enc_to_intel_dsi(encoder); in configure_dual_link_mode() 329 static int afe_clk(struct intel_encoder *encoder, in afe_clk() argument [all …]
|
H A D | g4x_dp.c | 58 void g4x_dp_set_clock(struct intel_encoder *encoder, in g4x_dp_set_clock() argument 61 struct drm_i915_private *dev_priv = to_i915(encoder->base.dev); in g4x_dp_set_clock() 90 static void intel_dp_prepare(struct intel_encoder *encoder, in intel_dp_prepare() argument 93 struct intel_display *display = to_intel_display(encoder); in intel_dp_prepare() 94 struct drm_i915_private *dev_priv = to_i915(encoder->base.dev); in intel_dp_prepare() 95 struct intel_dp *intel_dp = enc_to_intel_dp(encoder); in intel_dp_prepare() 96 enum port port = encoder->port; in intel_dp_prepare() 176 "[ENCODER:%d:%s] state assertion failure (expected %s, current %s)\n", in assert_dp_port() 304 static bool intel_dp_get_hw_state(struct intel_encoder *encoder, in intel_dp_get_hw_state() argument 307 struct drm_i915_private *dev_priv = to_i915(encoder->base.dev); in intel_dp_get_hw_state() [all …]
|
H A D | intel_hotplug_irq.c | 17 typedef u32 (*hotplug_enables_func)(struct intel_encoder *encoder); 370 struct intel_encoder *encoder; in intel_hpd_enabled_irqs() local 373 for_each_intel_encoder(&dev_priv->drm, encoder) in intel_hpd_enabled_irqs() 374 if (dev_priv->display.hotplug.stats[encoder->hpd_pin].state == HPD_ENABLED) in intel_hpd_enabled_irqs() 375 enabled_irqs |= hpd[encoder->hpd_pin]; in intel_hpd_enabled_irqs() 383 struct intel_encoder *encoder; in intel_hpd_hotplug_irqs() local 386 for_each_intel_encoder(&dev_priv->drm, encoder) in intel_hpd_hotplug_irqs() 387 hotplug_irqs |= hpd[encoder->hpd_pin]; in intel_hpd_hotplug_irqs() 407 struct intel_encoder *encoder; in intel_hpd_hotplug_enables() local 410 for_each_intel_encoder(&i915->drm, encoder) in intel_hpd_hotplug_enables() [all …]
|
H A D | intel_modeset_setup.c | 100 struct intel_encoder *encoder) in set_encoder_for_connector() argument 107 if (encoder) { in set_encoder_for_connector() 108 conn_state->best_encoder = &encoder->base; in set_encoder_for_connector() 109 conn_state->crtc = encoder->base.crtc; in set_encoder_for_connector() 117 static void reset_encoder_connector_state(struct intel_encoder *encoder) in reset_encoder_connector_state() argument 119 struct drm_i915_private *i915 = to_i915(encoder->base.dev); in reset_encoder_connector_state() 127 if (connector->base.encoder != &encoder->base) in reset_encoder_connector_state() 131 intel_pmdemand_update_phys_mask(i915, encoder, in reset_encoder_connector_state() 137 connector->base.encoder = NULL; in reset_encoder_connector_state() 145 struct intel_encoder *encoder; in reset_crtc_encoder_state() local [all …]
|
/linux/drivers/media/i2c/ |
H A D | bt856.c | 3 * 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/include/drm/ |
H A D | drm_encoder.h | 36 * 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. 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 …]
|
H A D | drm_encoder_slave.h | 36 * struct drm_encoder_slave_funcs - Entry points exposed by a slave encoder driver 42 * if the encoder is the currently selected one for the connector. 46 * @set_config: Initialize any encoder-specific modesetting parameters. 52 void (*set_config)(struct drm_encoder *encoder, 58 void (*destroy)(struct drm_encoder *encoder); 64 void (*dpms)(struct drm_encoder *encoder, int mode); 69 void (*save)(struct drm_encoder *encoder); 74 void (*restore)(struct drm_encoder *encoder); 80 bool (*mode_fixup)(struct drm_encoder *encoder, 87 int (*mode_valid)(struct drm_encoder *encoder, [all …]
|
/linux/drivers/gpu/drm/nouveau/dispnv04/ |
H A D | tvnv17.c | 46 static uint32_t nv42_tv_sample_load(struct drm_encoder *encoder) in nv42_tv_sample_load() argument 48 struct drm_device *dev = encoder->dev; in nv42_tv_sample_load() 51 uint32_t testval, regoffset = nv04_dac_output_offset(encoder); in nv42_tv_sample_load() 145 nv17_tv_detect(struct drm_encoder *encoder, struct drm_connector *connector) in nv17_tv_detect() argument 147 struct drm_device *dev = encoder->dev; in nv17_tv_detect() 150 struct nv17_tv_encoder *tv_enc = to_tv_enc(encoder); in nv17_tv_detect() 154 if (nv04_dac_in_use(encoder)) in nv17_tv_detect() 161 nv42_tv_sample_load(encoder) >> 28 & 0xe; in nv17_tv_detect() 164 nv17_dac_sample_load(encoder) >> 28 & 0xe; in nv17_tv_detect() 201 static int nv17_tv_get_ld_modes(struct drm_encoder *encoder, in nv17_tv_get_ld_modes() argument [all …]
|
H A D | tvnv04.c | 59 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 …]
|
H A 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 …]
|
/linux/drivers/gpu/drm/radeon/ |
H A D | radeon_legacy_encoders.c | 46 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 …]
|
H A D | atombios_encoders.c | 100 struct drm_encoder *encoder = &radeon_encoder->base; in atombios_set_backlight_level() local 136 atombios_dig_transmitter_setup(encoder, ATOM_TRANSMITTER_ACTION_LCD_BLOFF, 0, 0); in atombios_set_backlight_level() 138 atombios_dig_transmitter_setup(encoder, ATOM_TRANSMITTER_ACTION_BL_BRIGHTNESS_CONTROL, 0, 0); in atombios_set_backlight_level() 139 atombios_dig_transmitter_setup(encoder, ATOM_TRANSMITTER_ACTION_LCD_BLON, 0, 0); in atombios_set_backlight_level() 166 struct radeon_encoder *radeon_encoder = pdata->encoder; in radeon_atom_backlight_update_status() 176 struct radeon_encoder *radeon_encoder = pdata->encoder; in radeon_atom_backlight_get_brightness() 239 pdata->encoder = radeon_encoder; in radeon_atom_backlight_init() 296 static bool radeon_atom_mode_fixup(struct drm_encoder *encoder, in radeon_atom_mode_fixup() argument 300 struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); in radeon_atom_mode_fixup() 301 struct drm_device *dev = encoder->dev; in radeon_atom_mode_fixup() [all …]
|
H A D | radeon_encoders.c | 40 static uint32_t radeon_encoder_clones(struct drm_encoder *encoder) in radeon_encoder_clones() argument 42 struct drm_device *dev = encoder->dev; in radeon_encoder_clones() 44 struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); in radeon_encoder_clones() 46 uint32_t index_mask = drm_encoder_mask(encoder); in radeon_encoder_clones() 65 if (clone_encoder == encoder) in radeon_encoder_clones() 79 struct drm_encoder *encoder; in radeon_setup_encoder_clones() local 81 list_for_each_entry(encoder, &dev->mode_config.encoder_list, head) { in radeon_setup_encoder_clones() 82 encoder->possible_clones = radeon_encoder_clones(encoder); in radeon_setup_encoder_clones() 214 struct drm_encoder *encoder; in radeon_link_encoder_connector() local 220 list_for_each_entry(encoder, &dev->mode_config.encoder_list, head) { in radeon_link_encoder_connector() [all …]
|
/linux/drivers/gpu/drm/msm/disp/mdp5/ |
H A 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_vid_encoder_mode_set(struct drm_encoder *encoder, in mdp5_vid_encoder_mode_set() argument 23 struct mdp5_encoder *mdp5_encoder = to_mdp5_encoder(encoder); in mdp5_vid_encoder_mode_set() 24 struct mdp5_kms *mdp5_kms = get_kms(encoder); in mdp5_vid_encoder_mode_set() 25 struct drm_device *dev = encoder->dev; in mdp5_vid_encoder_mode_set() 53 if (connector->encoder == encoder) { in mdp5_vid_encoder_mode_set() 117 mdp5_crtc_set_pipeline(encoder->crtc); in mdp5_vid_encoder_mode_set() 120 static void mdp5_vid_encoder_disable(struct drm_encoder *encoder) in mdp5_vid_encoder_disable() argument 122 struct mdp5_encoder *mdp5_encoder = to_mdp5_encoder(encoder); in mdp5_vid_encoder_disable() [all …]
|
H A D | mdp5_cmd_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() 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/drivers/gpu/drm/i2c/ |
H A D | ch7006_drv.c | 33 /* DRM encoder functions */ 35 static void ch7006_encoder_set_config(struct drm_encoder *encoder, in ch7006_encoder_set_config() argument 38 struct ch7006_priv *priv = to_ch7006_priv(encoder); in ch7006_encoder_set_config() 43 static void ch7006_encoder_destroy(struct drm_encoder *encoder) in ch7006_encoder_destroy() argument 45 struct ch7006_priv *priv = to_ch7006_priv(encoder); in ch7006_encoder_destroy() 47 drm_property_destroy(encoder->dev, priv->scale_property); in ch7006_encoder_destroy() 50 to_encoder_slave(encoder)->slave_priv = NULL; in ch7006_encoder_destroy() 52 drm_i2c_encoder_destroy(encoder); in ch7006_encoder_destroy() 55 static void ch7006_encoder_dpms(struct drm_encoder *encoder, int mode) in ch7006_encoder_dpms() argument 57 struct i2c_client *client = drm_i2c_encoder_get_client(encoder); in ch7006_encoder_dpms() [all …]
|
/linux/Documentation/userspace-api/media/v4l/ |
H A D | vidioc-encoder-cmd.rst | 13 VIDIOC_ENCODER_CMD - VIDIOC_TRY_ENCODER_CMD - Execute an encoder command 38 These ioctls control an audio/video (usually MPEG-) encoder. 39 ``VIDIOC_ENCODER_CMD`` sends a command to the encoder, 54 call will restart the encoder. 57 call sends an implicit START command to the encoder if it has not been 62 the encoder, and all buffered data is discarded. Applies to both queues of 67 encoders (as further documented in :ref:`encoder`). 80 - The encoder command, see :ref:`encoder-cmds`. 83 - Flags to go with the command, see :ref:`encoder-flags`. If no 96 .. flat-table:: Encoder Commands [all …]
|
/linux/drivers/gpu/drm/amd/amdgpu/ |
H A D | atombios_encoders.c | 87 struct drm_encoder *encoder = &amdgpu_encoder->base; in amdgpu_atombios_encoder_set_backlight_level() local 108 amdgpu_atombios_encoder_setup_dig_transmitter(encoder, in amdgpu_atombios_encoder_set_backlight_level() 111 amdgpu_atombios_encoder_setup_dig_transmitter(encoder, in amdgpu_atombios_encoder_set_backlight_level() 113 amdgpu_atombios_encoder_setup_dig_transmitter(encoder, in amdgpu_atombios_encoder_set_backlight_level() 141 struct amdgpu_encoder *amdgpu_encoder = pdata->encoder; in amdgpu_atombios_encoder_update_backlight_status() 153 struct amdgpu_encoder *amdgpu_encoder = pdata->encoder; in amdgpu_atombios_encoder_get_backlight_brightness() 212 pdata->encoder = amdgpu_encoder; in amdgpu_atombios_encoder_init_backlight() 263 bool amdgpu_atombios_encoder_is_digital(struct drm_encoder *encoder) in amdgpu_atombios_encoder_is_digital() argument 265 struct amdgpu_encoder *amdgpu_encoder = to_amdgpu_encoder(encoder); in amdgpu_atombios_encoder_is_digital() 278 bool amdgpu_atombios_encoder_mode_fixup(struct drm_encoder *encoder, in amdgpu_atombios_encoder_mode_fixup() argument [all …]
|