/linux-master/drivers/gpu/drm/i915/display/ |
H A D | dvo_tfp410.c | 94 static bool tfp410_readb(struct intel_dvo_device *dvo, int addr, u8 *ch) argument 96 struct tfp410_priv *tfp = dvo->dev_priv; 97 struct i2c_adapter *adapter = dvo->i2c_bus; 103 .addr = dvo->slave_addr, 109 .addr = dvo->slave_addr, 126 addr, adapter->name, dvo->slave_addr); 131 static bool tfp410_writeb(struct intel_dvo_device *dvo, int addr, u8 ch) argument 133 struct tfp410_priv *tfp = dvo->dev_priv; 134 struct i2c_adapter *adapter = dvo->i2c_bus; 137 .addr = dvo 157 tfp410_getid(struct intel_dvo_device *dvo, int addr) argument 169 tfp410_init(struct intel_dvo_device *dvo, struct i2c_adapter *adapter) argument 204 tfp410_detect(struct intel_dvo_device *dvo) argument 219 tfp410_mode_valid(struct intel_dvo_device *dvo, struct drm_display_mode *mode) argument 225 tfp410_mode_set(struct intel_dvo_device *dvo, const struct drm_display_mode *mode, const struct drm_display_mode *adjusted_mode) argument 238 tfp410_dpms(struct intel_dvo_device *dvo, bool enable) argument 253 tfp410_get_hw_state(struct intel_dvo_device *dvo) argument 266 tfp410_dump_regs(struct intel_dvo_device *dvo) argument 300 tfp410_destroy(struct intel_dvo_device *dvo) argument [all...] |
H A D | dvo_ivch.c | 186 static void ivch_dump_regs(struct intel_dvo_device *dvo); 192 static bool ivch_read(struct intel_dvo_device *dvo, int addr, u16 *data) argument 194 struct ivch_priv *priv = dvo->dev_priv; 195 struct i2c_adapter *adapter = dvo->i2c_bus; 201 .addr = dvo->slave_addr, 212 .addr = dvo->slave_addr, 229 addr, adapter->name, dvo->slave_addr); 235 static bool ivch_write(struct intel_dvo_device *dvo, int addr, u16 data) argument 237 struct ivch_priv *priv = dvo->dev_priv; 238 struct i2c_adapter *adapter = dvo 263 ivch_init(struct intel_dvo_device *dvo, struct i2c_adapter *adapter) argument 311 ivch_detect(struct intel_dvo_device *dvo) argument 316 ivch_mode_valid(struct intel_dvo_device *dvo, struct drm_display_mode *mode) argument 329 ivch_reset(struct intel_dvo_device *dvo) argument 343 ivch_dpms(struct intel_dvo_device *dvo, bool enable) argument 381 ivch_get_hw_state(struct intel_dvo_device *dvo) argument 397 ivch_mode_set(struct intel_dvo_device *dvo, const struct drm_display_mode *mode, const struct drm_display_mode *adjusted_mode) argument 440 ivch_dump_regs(struct intel_dvo_device *dvo) argument 484 ivch_destroy(struct intel_dvo_device *dvo) argument [all...] |
H A D | dvo_ch7xxx.c | 147 static bool ch7xxx_readb(struct intel_dvo_device *dvo, int addr, u8 *ch) argument 149 struct ch7xxx_priv *ch7xxx = dvo->dev_priv; 150 struct i2c_adapter *adapter = dvo->i2c_bus; 156 .addr = dvo->slave_addr, 162 .addr = dvo->slave_addr, 179 addr, adapter->name, dvo->slave_addr); 185 static bool ch7xxx_writeb(struct intel_dvo_device *dvo, int addr, u8 ch) argument 187 struct ch7xxx_priv *ch7xxx = dvo->dev_priv; 188 struct i2c_adapter *adapter = dvo->i2c_bus; 191 .addr = dvo 211 ch7xxx_init(struct intel_dvo_device *dvo, struct i2c_adapter *adapter) argument 257 ch7xxx_detect(struct intel_dvo_device *dvo) argument 278 ch7xxx_mode_valid(struct intel_dvo_device *dvo, struct drm_display_mode *mode) argument 287 ch7xxx_mode_set(struct intel_dvo_device *dvo, const struct drm_display_mode *mode, const struct drm_display_mode *adjusted_mode) argument 333 ch7xxx_dpms(struct intel_dvo_device *dvo, bool enable) argument 341 ch7xxx_get_hw_state(struct intel_dvo_device *dvo) argument 353 ch7xxx_dump_regs(struct intel_dvo_device *dvo) argument 366 ch7xxx_destroy(struct intel_dvo_device *dvo) argument [all...] |
H A D | intel_dvo_dev.h | 53 bool (*init)(struct intel_dvo_device *dvo, 59 * Because none of our dvo drivers support an intermediate power levels, 62 void (*dpms)(struct intel_dvo_device *dvo, bool enable); 73 enum drm_mode_status (*mode_valid)(struct intel_dvo_device *dvo, 83 void (*mode_set)(struct intel_dvo_device *dvo, 90 enum drm_connector_status (*detect)(struct intel_dvo_device *dvo); 101 void (*destroy) (struct intel_dvo_device *dvo); 106 void (*dump_regs)(struct intel_dvo_device *dvo);
|
H A D | dvo_sil164.c | 73 static bool sil164_readb(struct intel_dvo_device *dvo, int addr, u8 *ch) argument 75 struct sil164_priv *sil = dvo->dev_priv; 76 struct i2c_adapter *adapter = dvo->i2c_bus; 82 .addr = dvo->slave_addr, 88 .addr = dvo->slave_addr, 105 addr, adapter->name, dvo->slave_addr); 110 static bool sil164_writeb(struct intel_dvo_device *dvo, int addr, u8 ch) argument 112 struct sil164_priv *sil = dvo->dev_priv; 113 struct i2c_adapter *adapter = dvo->i2c_bus; 116 .addr = dvo 137 sil164_init(struct intel_dvo_device *dvo, struct i2c_adapter *adapter) argument 179 sil164_detect(struct intel_dvo_device *dvo) argument 191 sil164_mode_valid(struct intel_dvo_device *dvo, struct drm_display_mode *mode) argument 197 sil164_mode_set(struct intel_dvo_device *dvo, const struct drm_display_mode *mode, const struct drm_display_mode *adjusted_mode) argument 222 sil164_dpms(struct intel_dvo_device *dvo, bool enable) argument 239 sil164_get_hw_state(struct intel_dvo_device *dvo) argument 254 sil164_dump_regs(struct intel_dvo_device *dvo) argument 270 sil164_destroy(struct intel_dvo_device *dvo) argument [all...] |
H A D | dvo_ch7017.c | 166 static void ch7017_dump_regs(struct intel_dvo_device *dvo); 167 static void ch7017_dpms(struct intel_dvo_device *dvo, bool enable); 169 static bool ch7017_read(struct intel_dvo_device *dvo, u8 addr, u8 *val) argument 173 .addr = dvo->slave_addr, 179 .addr = dvo->slave_addr, 185 return i2c_transfer(dvo->i2c_bus, msgs, 2) == 2; 188 static bool ch7017_write(struct intel_dvo_device *dvo, u8 addr, u8 val) argument 192 .addr = dvo->slave_addr, 197 return i2c_transfer(dvo->i2c_bus, &msg, 1) == 1; 201 static bool ch7017_init(struct intel_dvo_device *dvo, argument 244 ch7017_detect(struct intel_dvo_device *dvo) argument 249 ch7017_mode_valid(struct intel_dvo_device *dvo, struct drm_display_mode *mode) argument 258 ch7017_mode_set(struct intel_dvo_device *dvo, const struct drm_display_mode *mode, const struct drm_display_mode *adjusted_mode) argument 335 ch7017_dpms(struct intel_dvo_device *dvo, bool enable) argument 363 ch7017_get_hw_state(struct intel_dvo_device *dvo) argument 375 ch7017_dump_regs(struct intel_dvo_device *dvo) argument 396 ch7017_destroy(struct intel_dvo_device *dvo) argument [all...] |
H A D | dvo_ns2501.c | 393 static bool ns2501_readb(struct intel_dvo_device *dvo, int addr, u8 *ch) argument 395 struct ns2501_priv *ns = dvo->dev_priv; 396 struct i2c_adapter *adapter = dvo->i2c_bus; 402 .addr = dvo->slave_addr, 408 .addr = dvo->slave_addr, 426 adapter->name, dvo->slave_addr); 438 static bool ns2501_writeb(struct intel_dvo_device *dvo, int addr, u8 ch) argument 440 struct ns2501_priv *ns = dvo->dev_priv; 441 struct i2c_adapter *adapter = dvo->i2c_bus; 445 .addr = dvo 472 ns2501_init(struct intel_dvo_device *dvo, struct i2c_adapter *adapter) argument 515 ns2501_detect(struct intel_dvo_device *dvo) argument 527 ns2501_mode_valid(struct intel_dvo_device *dvo, struct drm_display_mode *mode) argument 549 ns2501_mode_set(struct intel_dvo_device *dvo, const struct drm_display_mode *mode, const struct drm_display_mode *adjusted_mode) argument 645 ns2501_get_hw_state(struct intel_dvo_device *dvo) argument 656 ns2501_dpms(struct intel_dvo_device *dvo, bool enable) argument 692 ns2501_destroy(struct intel_dvo_device *dvo) argument [all...] |
H A D | intel_dvo.c | 390 static int intel_dvo_encoder_type(const struct intel_dvo_device *dvo) argument 392 switch (dvo->type) { 399 MISSING_CASE(dvo->type); 404 static int intel_dvo_connector_type(const struct intel_dvo_device *dvo) argument 406 switch (dvo->type) { 413 MISSING_CASE(dvo->type); 420 const struct intel_dvo_device *dvo) 433 if (intel_gmbus_is_valid_pin(dev_priv, dvo->gpio)) 434 gpio = dvo->gpio; 435 else if (dvo 418 intel_dvo_init_dev(struct drm_i915_private *dev_priv, struct intel_dvo *intel_dvo, const struct intel_dvo_device *dvo) argument [all...] |
/linux-master/drivers/gpu/drm/sti/ |
H A D | sti_dvo.c | 75 * @regs: dvo registers 76 * @clk_pix: pixel clock for dvo 77 * @clk: clock for dvo 78 * @clk_main_parent: dvo parent clock if main path used 79 * @clk_aux_parent: dvo parent clock if aux path used 81 * @panel: reference to the panel connected to the dvo 82 * @enabled: true if dvo is enabled else false 105 struct sti_dvo *dvo; member in struct:sti_dvo_connector 112 static int dvo_awg_generate_code(struct sti_dvo *dvo, u8 *ram_size, u32 *ram_code) argument 114 struct drm_display_mode *mode = &dvo 148 dvo_awg_configure(struct sti_dvo *dvo, u32 *awg_ram_code, int nb) argument 182 struct sti_dvo *dvo = (struct sti_dvo *)node->info_ent->data; local 199 dvo_debugfs_init(struct sti_dvo *dvo, struct drm_minor *minor) argument 213 struct sti_dvo *dvo = bridge->driver_private; local 236 struct sti_dvo *dvo = bridge->driver_private; local 283 struct sti_dvo *dvo = bridge->driver_private; local 339 struct sti_dvo *dvo = dvo_connector->dvo; local 359 struct sti_dvo *dvo = dvo_connector->dvo; local 385 struct sti_dvo *dvo = dvo_connector->dvo; local 405 struct sti_dvo *dvo = dvo_connector->dvo; local 436 struct sti_dvo *dvo = dev_get_drvdata(dev); local 499 struct sti_dvo *dvo = dev_get_drvdata(dev); local 512 struct sti_dvo *dvo; local [all...] |
H A D | sti_tvout.c | 119 struct drm_encoder *dvo; member in struct:sti_tvout 307 /* Select the input sync for dvo */ 316 /* Select the input sync for dvo */ 518 crtc = tvout->dvo->crtc; 786 tvout->dvo = sti_tvout_create_dvo_encoder(dev, tvout); 789 drm_encoder_mask(tvout->hda) | drm_encoder_mask(tvout->dvo); 791 drm_encoder_mask(tvout->hda) | drm_encoder_mask(tvout->dvo); 792 tvout->dvo->possible_clones = drm_encoder_mask(tvout->hdmi) | 793 drm_encoder_mask(tvout->hda) | drm_encoder_mask(tvout->dvo); 806 if (tvout->dvo) [all...] |
/linux-master/drivers/gpu/drm/radeon/ |
H A D | atombios_encoders.c | 480 DVO_ENCODER_CONTROL_PS_ALLOCATION dvo; member in union:dvo_encoder_control 518 args.dvo.sDVOEncoder.ucAction = action; 519 args.dvo.sDVOEncoder.usPixelClock = cpu_to_le16(radeon_encoder->pixel_clock / 10); 521 args.dvo.sDVOEncoder.ucDeviceType = ATOM_DEVICE_DFP1_INDEX; 524 args.dvo.sDVOEncoder.usDevAttr.sDigAttrib.ucAttribute |= PANEL_ENCODER_MISC_DUAL;
|
/linux-master/drivers/gpu/drm/amd/amdgpu/ |
H A D | atombios_encoders.c | 370 DVO_ENCODER_CONTROL_PS_ALLOCATION dvo; member in union:dvo_encoder_control 404 args.dvo.sDVOEncoder.ucAction = action; 405 args.dvo.sDVOEncoder.usPixelClock = cpu_to_le16(amdgpu_encoder->pixel_clock / 10); 407 args.dvo.sDVOEncoder.ucDeviceType = ATOM_DEVICE_DFP1_INDEX; 410 args.dvo.sDVOEncoder.usDevAttr.sDigAttrib.ucAttribute |= PANEL_ENCODER_MISC_DUAL;
|