| /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/i915/display/ |
| 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 | intel_ddi.c | 107 static int intel_ddi_hdmi_level(struct intel_encoder *encoder, in intel_ddi_hdmi_level() argument 112 level = intel_bios_hdmi_level_shift(encoder->devdata); in intel_ddi_hdmi_level() 134 void hsw_prepare_dp_ddi_buffers(struct intel_encoder *encoder, in hsw_prepare_dp_ddi_buffers() argument 137 struct intel_display *display = to_intel_display(encoder); in hsw_prepare_dp_ddi_buffers() 140 enum port port = encoder->port; in hsw_prepare_dp_ddi_buffers() 143 trans = intel_ddi_buf_trans_get(encoder, crtc_state, &n_entries); in hsw_prepare_dp_ddi_buffers() 149 intel_bios_dp_boost_level(encoder->devdata)) in hsw_prepare_dp_ddi_buffers() 165 static void hsw_prepare_hdmi_ddi_buffers(struct intel_encoder *encoder, in hsw_prepare_hdmi_ddi_buffers() argument 168 struct intel_display *display = to_intel_display(encoder); in hsw_prepare_hdmi_ddi_buffers() 169 int level = intel_ddi_level(encoder, crtc_state, 0); in hsw_prepare_hdmi_ddi_buffers() [all …]
|
| H A D | intel_hdmi.c | 225 static void g4x_write_infoframe(struct intel_encoder *encoder, in g4x_write_infoframe() argument 230 struct intel_display *display = to_intel_display(encoder); in g4x_write_infoframe() 261 static void g4x_read_infoframe(struct intel_encoder *encoder, in g4x_read_infoframe() argument 266 struct intel_display *display = to_intel_display(encoder); in g4x_read_infoframe() 277 static u32 g4x_infoframes_enabled(struct intel_encoder *encoder, in g4x_infoframes_enabled() argument 280 struct intel_display *display = to_intel_display(encoder); in g4x_infoframes_enabled() 286 if ((val & VIDEO_DIP_PORT_MASK) != VIDEO_DIP_PORT(encoder->port)) in g4x_infoframes_enabled() 293 static void ibx_write_infoframe(struct intel_encoder *encoder, in ibx_write_infoframe() argument 298 struct intel_display *display = to_intel_display(encoder); in ibx_write_infoframe() 332 static void ibx_read_infoframe(struct intel_encoder *encoder, in ibx_read_infoframe() argument [all …]
|
| /linux/drivers/gpu/drm/nouveau/dispnv04/ |
| 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_encoder_i2c_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 | 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 | 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 …]
|
| H A D | nouveau_i2c_encoder.c | 32 * nouveau_i2c_encoder_init - Initialize an I2C slave encoder 34 * @encoder: Encoder to be attached to the I2C device. You aren't 53 struct nouveau_i2c_encoder *encoder, in nouveau_i2c_encoder_init() argument 76 encoder->i2c_client = client; in nouveau_i2c_encoder_init() 80 err = encoder_drv->encoder_init(client, dev, encoder); in nouveau_i2c_encoder_init() 85 encoder->encoder_i2c_funcs->set_config(&encoder->base, in nouveau_i2c_encoder_init() 101 bool nouveau_i2c_encoder_mode_fixup(struct drm_encoder *encoder, in nouveau_i2c_encoder_mode_fixup() argument 105 if (!get_encoder_i2c_funcs(encoder)->mode_fixup) in nouveau_i2c_encoder_mode_fixup() 108 return get_encoder_i2c_funcs(encoder)->mode_fixup(encoder, mode, adjusted_mode); in nouveau_i2c_encoder_mode_fixup() 111 enum drm_connector_status nouveau_i2c_encoder_detect(struct drm_encoder *encoder, in nouveau_i2c_encoder_detect() argument [all …]
|
| H A 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 …]
|
| /linux/drivers/gpu/drm/nouveau/include/dispnv04/i2c/ |
| H A D | encoder_i2c.h | 36 * struct nouveau_i2c_encoder_funcs - Entry points exposed by a I2C 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); 63 void (*dpms)(struct drm_encoder *encoder, int mode); 68 void (*save)(struct drm_encoder *encoder); 73 void (*restore)(struct drm_encoder *encoder); 79 bool (*mode_fixup)(struct drm_encoder *encoder, 86 int (*mode_valid)(struct drm_encoder *encoder, [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/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); in radeon_legacy_lvds_update() 141 radeon_combios_encoder_dpms_scratch_regs(encoder, mode == DRM_MODE_DPMS_ON); 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 …]
|
| H A 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 …]
|
| /linux/drivers/gpu/drm/nouveau/dispnv04/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_i2c(encoder)->encoder_i2c_priv = NULL; in ch7006_encoder_destroy() 52 nouveau_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 = nouveau_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 …]
|
| H A D | amdgpu_encoders.c | 41 struct drm_encoder *encoder; in amdgpu_link_encoder_connector() local 48 list_for_each_entry(encoder, &dev->mode_config.encoder_list, head) { in amdgpu_link_encoder_connector() 49 amdgpu_encoder = to_amdgpu_encoder(encoder); in amdgpu_link_encoder_connector() 51 drm_connector_attach_encoder(connector, encoder); in amdgpu_link_encoder_connector() 62 void amdgpu_encoder_set_active_device(struct drm_encoder *encoder) in amdgpu_encoder_set_active_device() argument 64 struct drm_device *dev = encoder->dev; in amdgpu_encoder_set_active_device() 65 struct amdgpu_encoder *amdgpu_encoder = to_amdgpu_encoder(encoder); in amdgpu_encoder_set_active_device() 71 if (connector->encoder == encoder) { in amdgpu_encoder_set_active_device() 75 DRM_DEBUG_KMS("setting active device to %08x from %08x %08x for encoder %d\n", in amdgpu_encoder_set_active_device() 77 amdgpu_connector->devices, encoder->encoder_type); in amdgpu_encoder_set_active_device() [all …]
|
| /linux/drivers/gpu/drm/msm/disp/dpu1/ |
| H A D | dpu_encoder_phys.h | 31 * enum dpu_enc_split_role - Role this physical encoder will play in a 34 * @ENC_ROLE_SOLO: This is the one and only panel. This encoder is master. 35 * @ENC_ROLE_MASTER: This encoder is the master of a split panel config. 36 * @ENC_ROLE_SLAVE: This encoder is not the master of a split panel config. 45 * enum dpu_enc_enable_state - current enabled state of the physical encoder 46 * @DPU_ENC_DISABLING: Encoder transitioning to disable state 47 * Events bounding transition are encoder type specific 48 * @DPU_ENC_DISABLED: Encoder is disabled 49 * @DPU_ENC_ENABLING: Encoder transitioning to enabled 50 * Events bounding transition are encoder type specific [all …]
|
| /linux/drivers/gpu/drm/sun4i/ |
| H A D | sun4i_lvds.c | 23 struct drm_encoder encoder; member 36 drm_encoder_to_sun4i_lvds(struct drm_encoder *encoder) in drm_encoder_to_sun4i_lvds() argument 38 return container_of(encoder, struct sun4i_lvds, in drm_encoder_to_sun4i_lvds() 39 encoder); in drm_encoder_to_sun4i_lvds() 68 static void sun4i_lvds_encoder_enable(struct drm_encoder *encoder) in sun4i_lvds_encoder_enable() argument 70 struct sun4i_lvds *lvds = drm_encoder_to_sun4i_lvds(encoder); in sun4i_lvds_encoder_enable() 80 static void sun4i_lvds_encoder_disable(struct drm_encoder *encoder) in sun4i_lvds_encoder_disable() argument 82 struct sun4i_lvds *lvds = drm_encoder_to_sun4i_lvds(encoder); in sun4i_lvds_encoder_disable() 99 struct drm_encoder *encoder; in sun4i_lvds_init() local 107 encoder = &lvds->encoder; in sun4i_lvds_init() [all …]
|
| /linux/drivers/gpu/drm/omapdrm/ |
| H A D | omap_encoder.c | 17 * encoder funcs 22 /* The encoder and connector both map to same dssdev.. the encoder 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() 78 struct drm_device *dev = encoder->dev; in omap_encoder_mode_set() 84 if (connector->encoder == encoder) in omap_encoder_mode_set() 118 /* initialize encoder */ [all …]
|
| /linux/drivers/gpu/drm/exynos/ |
| H A D | exynos_drm_dpi.c | 26 struct drm_encoder encoder; member 40 return container_of(e, struct exynos_dpi, encoder); in encoder_to_dpi() 94 static int exynos_dpi_create_connector(struct drm_encoder *encoder) in exynos_dpi_create_connector() argument 96 struct exynos_dpi *ctx = encoder_to_dpi(encoder); in exynos_dpi_create_connector() 102 ret = drm_connector_init(encoder->dev, connector, in exynos_dpi_create_connector() 112 drm_connector_attach_encoder(connector, encoder); in exynos_dpi_create_connector() 117 static void exynos_dpi_mode_set(struct drm_encoder *encoder, in exynos_dpi_mode_set() argument 123 static void exynos_dpi_enable(struct drm_encoder *encoder) in exynos_dpi_enable() argument 125 struct exynos_dpi *ctx = encoder_to_dpi(encoder); in exynos_dpi_enable() 133 static void exynos_dpi_disable(struct drm_encoder *encoder) in exynos_dpi_disable() argument [all …]
|
| /linux/Documentation/devicetree/bindings/input/ |
| H A D | rotary-encoder.yaml | 4 $id: http://devicetree.org/schemas/input/rotary-encoder.yaml# 7 title: Rotary encoder 13 See Documentation/input/devices/rotary-encoder.rst for more information. 17 const: rotary-encoder 25 the input subsystem axis to map to this rotary encoder. 28 rotary-encoder,steps: 33 encoder. Only relevant for absolute axis. Defaults to 24 which is a 36 rotary-encoder,relative-axis: 43 rotary-encoder,rollover: 49 rotary-encoder,steps-per-period: [all …]
|