/drivers/gpu/drm/i915/ |
H A D | dvo_sil164.c | 29 #include "dvo.h" 68 static bool sil164_readb(struct intel_dvo_device *dvo, int addr, uint8_t *ch) argument 70 struct sil164_priv *sil = dvo->dev_priv; 71 struct i2c_adapter *adapter = dvo->i2c_bus; 77 .addr = dvo->slave_addr, 83 .addr = dvo->slave_addr, 100 addr, adapter->name, dvo->slave_addr); 105 static bool sil164_writeb(struct intel_dvo_device *dvo, int addr, uint8_t ch) argument 107 struct sil164_priv *sil = dvo->dev_priv; 108 struct i2c_adapter *adapter = dvo 132 sil164_init(struct intel_dvo_device *dvo, struct i2c_adapter *adapter) argument 174 sil164_detect(struct intel_dvo_device *dvo) argument 186 sil164_mode_valid(struct intel_dvo_device *dvo, struct drm_display_mode *mode) argument 192 sil164_mode_set(struct intel_dvo_device *dvo, struct drm_display_mode *mode, struct drm_display_mode *adjusted_mode) argument 211 sil164_dpms(struct intel_dvo_device *dvo, bool enable) argument 229 sil164_get_hw_state(struct intel_dvo_device *dvo) argument 244 sil164_dump_regs(struct intel_dvo_device *dvo) argument 260 sil164_destroy(struct intel_dvo_device *dvo) argument [all...] |
H A D | dvo_ivch.c | 28 #include "dvo.h" 159 static void ivch_dump_regs(struct intel_dvo_device *dvo); 166 static bool ivch_read(struct intel_dvo_device *dvo, int addr, uint16_t *data) argument 168 struct ivch_priv *priv = dvo->dev_priv; 169 struct i2c_adapter *adapter = dvo->i2c_bus; 175 .addr = dvo->slave_addr, 186 .addr = dvo->slave_addr, 203 addr, adapter->name, dvo->slave_addr); 209 static bool ivch_write(struct intel_dvo_device *dvo, int addr, uint16_t data) argument 211 struct ivch_priv *priv = dvo 237 ivch_init(struct intel_dvo_device *dvo, struct i2c_adapter *adapter) argument 276 ivch_detect(struct intel_dvo_device *dvo) argument 281 ivch_mode_valid(struct intel_dvo_device *dvo, struct drm_display_mode *mode) argument 291 ivch_dpms(struct intel_dvo_device *dvo, bool enable) argument 326 ivch_get_hw_state(struct intel_dvo_device *dvo) argument 340 ivch_mode_set(struct intel_dvo_device *dvo, struct drm_display_mode *mode, struct drm_display_mode *adjusted_mode) argument 375 ivch_dump_regs(struct intel_dvo_device *dvo) argument 417 ivch_destroy(struct intel_dvo_device *dvo) argument [all...] |
H A D | dvo_tfp410.c | 28 #include "dvo.h" 93 static bool tfp410_readb(struct intel_dvo_device *dvo, int addr, uint8_t *ch) argument 95 struct tfp410_priv *tfp = dvo->dev_priv; 96 struct i2c_adapter *adapter = dvo->i2c_bus; 102 .addr = dvo->slave_addr, 108 .addr = dvo->slave_addr, 125 addr, adapter->name, dvo->slave_addr); 130 static bool tfp410_writeb(struct intel_dvo_device *dvo, int addr, uint8_t ch) argument 132 struct tfp410_priv *tfp = dvo->dev_priv; 133 struct i2c_adapter *adapter = dvo 156 tfp410_getid(struct intel_dvo_device *dvo, int addr) argument 168 tfp410_init(struct intel_dvo_device *dvo, struct i2c_adapter *adapter) argument 203 tfp410_detect(struct intel_dvo_device *dvo) argument 218 tfp410_mode_valid(struct intel_dvo_device *dvo, struct drm_display_mode *mode) argument 224 tfp410_mode_set(struct intel_dvo_device *dvo, struct drm_display_mode *mode, struct drm_display_mode *adjusted_mode) argument 237 tfp410_dpms(struct intel_dvo_device *dvo, bool enable) argument 252 tfp410_get_hw_state(struct intel_dvo_device *dvo) argument 265 tfp410_dump_regs(struct intel_dvo_device *dvo) argument 299 tfp410_destroy(struct intel_dvo_device *dvo) argument [all...] |
H A D | dvo.h | 50 bool (*init)(struct intel_dvo_device *dvo, 57 void (*create_resources)(struct intel_dvo_device *dvo); 62 * Because none of our dvo drivers support an intermediate power levels, 65 void (*dpms)(struct intel_dvo_device *dvo, bool enable); 76 int (*mode_valid)(struct intel_dvo_device *dvo, 82 void (*prepare)(struct intel_dvo_device *dvo); 87 void (*commit)(struct intel_dvo_device *dvo); 96 void (*mode_set)(struct intel_dvo_device *dvo, 103 enum drm_connector_status (*detect)(struct intel_dvo_device *dvo); 118 struct drm_display_mode *(*get_modes)(struct intel_dvo_device *dvo); [all...] |
H A D | dvo_ch7xxx.c | 29 #include "dvo.h" 135 static bool ch7xxx_readb(struct intel_dvo_device *dvo, int addr, uint8_t *ch) argument 137 struct ch7xxx_priv *ch7xxx = dvo->dev_priv; 138 struct i2c_adapter *adapter = dvo->i2c_bus; 144 .addr = dvo->slave_addr, 150 .addr = dvo->slave_addr, 167 addr, adapter->name, dvo->slave_addr); 173 static bool ch7xxx_writeb(struct intel_dvo_device *dvo, int addr, uint8_t ch) argument 175 struct ch7xxx_priv *ch7xxx = dvo->dev_priv; 176 struct i2c_adapter *adapter = dvo 199 ch7xxx_init(struct intel_dvo_device *dvo, struct i2c_adapter *adapter) argument 247 ch7xxx_detect(struct intel_dvo_device *dvo) argument 268 ch7xxx_mode_valid(struct intel_dvo_device *dvo, struct drm_display_mode *mode) argument 277 ch7xxx_mode_set(struct intel_dvo_device *dvo, struct drm_display_mode *mode, struct drm_display_mode *adjusted_mode) argument 316 ch7xxx_dpms(struct intel_dvo_device *dvo, bool enable) argument 324 ch7xxx_get_hw_state(struct intel_dvo_device *dvo) argument 336 ch7xxx_dump_regs(struct intel_dvo_device *dvo) argument 349 ch7xxx_destroy(struct intel_dvo_device *dvo) argument [all...] |
H A D | dvo_ch7017.c | 28 #include "dvo.h" 165 static void ch7017_dump_regs(struct intel_dvo_device *dvo); 166 static void ch7017_dpms(struct intel_dvo_device *dvo, bool enable); 168 static bool ch7017_read(struct intel_dvo_device *dvo, u8 addr, u8 *val) argument 172 .addr = dvo->slave_addr, 178 .addr = dvo->slave_addr, 184 return i2c_transfer(dvo->i2c_bus, msgs, 2) == 2; 187 static bool ch7017_write(struct intel_dvo_device *dvo, u8 addr, u8 val) argument 191 .addr = dvo->slave_addr, 196 return i2c_transfer(dvo 200 ch7017_init(struct intel_dvo_device *dvo, struct i2c_adapter *adapter) argument 243 ch7017_detect(struct intel_dvo_device *dvo) argument 248 ch7017_mode_valid(struct intel_dvo_device *dvo, struct drm_display_mode *mode) argument 257 ch7017_mode_set(struct intel_dvo_device *dvo, struct drm_display_mode *mode, struct drm_display_mode *adjusted_mode) argument 334 ch7017_dpms(struct intel_dvo_device *dvo, bool enable) argument 362 ch7017_get_hw_state(struct intel_dvo_device *dvo) argument 374 ch7017_dump_regs(struct intel_dvo_device *dvo) argument 395 ch7017_destroy(struct intel_dvo_device *dvo) argument [all...] |
H A D | dvo_ns2501.c | 29 #include "dvo.h" 377 static bool ns2501_readb(struct intel_dvo_device *dvo, int addr, uint8_t * ch) argument 379 struct ns2501_priv *ns = dvo->dev_priv; 380 struct i2c_adapter *adapter = dvo->i2c_bus; 386 .addr = dvo->slave_addr, 392 .addr = dvo->slave_addr, 410 adapter->name, dvo->slave_addr); 422 static bool ns2501_writeb(struct intel_dvo_device *dvo, int addr, uint8_t ch) argument 424 struct ns2501_priv *ns = dvo->dev_priv; 425 struct i2c_adapter *adapter = dvo 456 ns2501_init(struct intel_dvo_device *dvo, struct i2c_adapter *adapter) argument 499 ns2501_detect(struct intel_dvo_device *dvo) argument 511 ns2501_mode_valid(struct intel_dvo_device *dvo, struct drm_display_mode *mode) argument 533 ns2501_mode_set(struct intel_dvo_device *dvo, struct drm_display_mode *mode, struct drm_display_mode *adjusted_mode) argument 564 ns2501_get_hw_state(struct intel_dvo_device *dvo) argument 575 ns2501_dpms(struct intel_dvo_device *dvo, bool enable) argument 613 ns2501_destroy(struct intel_dvo_device *dvo) argument [all...] |
H A D | intel_dvo.c | 34 #include "dvo.h" 198 /* Special dpms function to support cloning between dvo/sdvo/crt. */ 205 /* dvo supports only 2 dpms states. */ 490 const struct intel_dvo_device *dvo = &intel_dvo_devices[i]; local 499 if (intel_gmbus_is_port_valid(dvo->gpio)) 500 gpio = dvo->gpio; 501 else if (dvo->type == INTEL_DVO_CHIP_LVDS) 512 intel_dvo->dev = *dvo; 519 dvoinit = dvo->dev_ops->init(&intel_dvo->dev, i2c); 528 switch (dvo [all...] |
/drivers/video/fbdev/intelfb/ |
H A D | intelfbhw.c | 282 int dvo = 0; local 285 dvo |= LVDS_PORT; 287 dvo |= DVOA_PORT; 289 dvo |= DVOB_PORT; 291 dvo |= DVOC_PORT; 293 return dvo; 296 const char * intelfbhw_dvo_to_string(int dvo) argument 298 if (dvo & DVOA_PORT) 300 else if (dvo & DVOB_PORT) 302 else if (dvo [all...] |
H A D | intelfbdrv.c | 505 int i, err, dvo; local 802 dvo = intelfbhw_check_non_crt(dinfo); 803 if (dvo) { 807 while (dvo) { 808 if (dvo & 1) { 813 dvo >>= 1;
|
H A D | intelfbhw.h | 565 extern const char *intelfbhw_dvo_to_string(int dvo);
|
/drivers/gpu/drm/radeon/ |
H A D | atombios_encoders.c | 474 DVO_ENCODER_CONTROL_PS_ALLOCATION dvo; member in union:dvo_encoder_control 512 args.dvo.sDVOEncoder.ucAction = action; 513 args.dvo.sDVOEncoder.usPixelClock = cpu_to_le16(radeon_encoder->pixel_clock / 10); 515 args.dvo.sDVOEncoder.ucDeviceType = ATOM_DEVICE_DFP1_INDEX; 518 args.dvo.sDVOEncoder.usDevAttr.sDigAttrib.ucAttribute |= PANEL_ENCODER_MISC_DUAL;
|