/solaris-x11-s11/open-src/kernel/i915/src/ |
H A D | dvo_sil164.c | 35 #include "dvo.h" 74 static bool sil164_readb(struct intel_dvo_device *dvo, int addr, uint8_t *ch) argument 76 struct sil164_priv *sil = dvo->dev_priv; 77 struct i2c_adapter *adapter = dvo->i2c_bus; 83 .addr = dvo->slave_addr, 89 .addr = dvo->slave_addr, 106 addr, adapter->name, dvo->slave_addr); 111 static bool sil164_writeb(struct intel_dvo_device *dvo, int addr, uint8_t ch) argument 113 struct sil164_priv *sil= dvo->dev_priv; 114 struct i2c_adapter *adapter = dvo 138 sil164_init(struct intel_dvo_device *dvo, struct i2c_adapter *adapter) argument 180 sil164_detect(struct intel_dvo_device *dvo) argument 193 sil164_mode_valid(struct intel_dvo_device *dvo, struct drm_display_mode *mode) argument 201 sil164_mode_set(struct intel_dvo_device *dvo, struct drm_display_mode *mode, struct drm_display_mode *adjusted_mode) argument 222 sil164_dpms(struct intel_dvo_device *dvo, bool enable) argument 240 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_ivch.c | 32 #include "dvo.h" 163 static void ivch_dump_regs(struct intel_dvo_device *dvo); 170 static bool ivch_read(struct intel_dvo_device *dvo, int addr, uint16_t *data) argument 172 struct ivch_priv *priv = dvo->dev_priv; 173 struct i2c_adapter *adapter = dvo->i2c_bus; 179 .addr = dvo->slave_addr, 190 .addr = dvo->slave_addr, 207 addr, adapter->name, dvo->slave_addr); 213 static bool ivch_write(struct intel_dvo_device *dvo, int addr, uint16_t data) argument 215 struct ivch_priv *priv = dvo 241 ivch_init(struct intel_dvo_device *dvo, struct i2c_adapter *adapter) argument 281 ivch_detect(struct intel_dvo_device *dvo) argument 287 ivch_mode_valid(struct intel_dvo_device *dvo, struct drm_display_mode *mode) argument 297 ivch_dpms(struct intel_dvo_device *dvo, bool enable) argument 332 ivch_get_hw_state(struct intel_dvo_device *dvo) argument 346 ivch_mode_set(struct intel_dvo_device *dvo, struct drm_display_mode *mode, struct drm_display_mode *adjusted_mode) argument 381 ivch_dump_regs(struct intel_dvo_device *dvo) argument 423 ivch_destroy(struct intel_dvo_device *dvo) argument [all...] |
H A D | dvo_tfp410.c | 36 #include "dvo.h" 101 static bool tfp410_readb(struct intel_dvo_device *dvo, int addr, uint8_t *ch) argument 103 struct tfp410_priv *tfp = dvo->dev_priv; 104 struct i2c_adapter *adapter = dvo->i2c_bus; 110 .addr = dvo->slave_addr, 116 .addr = dvo->slave_addr, 133 addr, adapter->name, dvo->slave_addr); 138 static bool tfp410_writeb(struct intel_dvo_device *dvo, int addr, uint8_t ch) argument 140 struct tfp410_priv *tfp = dvo->dev_priv; 141 struct i2c_adapter *adapter = dvo 164 tfp410_getid(struct intel_dvo_device *dvo, int addr) argument 176 tfp410_init(struct intel_dvo_device *dvo, struct i2c_adapter *adapter) argument 211 tfp410_detect(struct intel_dvo_device *dvo) argument 227 tfp410_mode_valid(struct intel_dvo_device *dvo, struct drm_display_mode *mode) argument 235 tfp410_mode_set(struct intel_dvo_device *dvo, struct drm_display_mode *mode, struct drm_display_mode *adjusted_mode) argument 250 tfp410_dpms(struct intel_dvo_device *dvo, bool enable) argument 265 tfp410_get_hw_state(struct intel_dvo_device *dvo) argument 277 tfp410_dump_regs(struct intel_dvo_device *dvo) argument 311 tfp410_destroy(struct intel_dvo_device *dvo) argument [all...] |
H A D | dvo_ns2501.c | 37 #include "dvo.h" 98 static void enable_dvo(struct intel_dvo_device *dvo) argument 100 struct ns2501_priv *ns = (struct ns2501_priv *)(dvo->dev_priv); 101 struct i2c_adapter *adapter = dvo->i2c_bus; 126 static void restore_dvo(struct intel_dvo_device *dvo) argument 128 struct i2c_adapter *adapter = dvo->i2c_bus; 133 struct ns2501_priv *ns = (struct ns2501_priv *)(dvo->dev_priv); 147 static bool ns2501_readb(struct intel_dvo_device *dvo, int addr, uint8_t * ch) argument 149 struct ns2501_priv *ns = dvo->dev_priv; 150 struct i2c_adapter *adapter = dvo 192 ns2501_writeb(struct intel_dvo_device *dvo, int addr, uint8_t ch) argument 226 ns2501_init(struct intel_dvo_device *dvo, struct i2c_adapter *adapter) argument 271 ns2501_detect(struct intel_dvo_device *dvo) argument 283 ns2501_mode_valid(struct intel_dvo_device *dvo, struct drm_display_mode *mode) argument 306 ns2501_mode_set(struct intel_dvo_device *dvo, struct drm_display_mode *mode, struct drm_display_mode *adjusted_mode) argument 504 ns2501_get_hw_state(struct intel_dvo_device *dvo) argument 518 ns2501_dpms(struct intel_dvo_device *dvo, bool enable) argument 561 ns2501_dump_regs(struct intel_dvo_device *dvo) argument 577 ns2501_destroy(struct intel_dvo_device *dvo) argument [all...] |
H A D | dvo.h | 59 bool (*init)(struct intel_dvo_device *dvo, 66 void (*create_resources)(struct intel_dvo_device *dvo); 74 void (*dpms)(struct intel_dvo_device *dvo, bool enable); 85 int (*mode_valid)(struct intel_dvo_device *dvo, 95 bool (*mode_fixup)(struct intel_dvo_device *dvo, 102 void (*prepare)(struct intel_dvo_device *dvo); 107 void (*commit)(struct intel_dvo_device *dvo); 116 void (*mode_set)(struct intel_dvo_device *dvo, 123 enum drm_connector_status (*detect)(struct intel_dvo_device *dvo); 138 struct drm_display_mode *(*get_modes)(struct intel_dvo_device *dvo); [all...] |
H A D | dvo_ch7xxx.c | 35 #include "dvo.h" 141 static bool ch7xxx_readb(struct intel_dvo_device *dvo, int addr, uint8_t *ch) argument 143 struct ch7xxx_priv *ch7xxx= dvo->dev_priv; 144 struct i2c_adapter *adapter = dvo->i2c_bus; 150 .addr = dvo->slave_addr, 156 .addr = dvo->slave_addr, 173 addr, adapter->name, dvo->slave_addr); 179 static bool ch7xxx_writeb(struct intel_dvo_device *dvo, int addr, uint8_t ch) argument 181 struct ch7xxx_priv *ch7xxx = dvo->dev_priv; 182 struct i2c_adapter *adapter = dvo 205 ch7xxx_init(struct intel_dvo_device *dvo, struct i2c_adapter *adapter) argument 253 ch7xxx_detect(struct intel_dvo_device *dvo) argument 275 ch7xxx_mode_valid(struct intel_dvo_device *dvo, struct drm_display_mode *mode) argument 284 ch7xxx_mode_set(struct intel_dvo_device *dvo, struct drm_display_mode *mode, struct drm_display_mode *adjusted_mode) argument 324 ch7xxx_dpms(struct intel_dvo_device *dvo, bool enable) argument 332 ch7xxx_get_hw_state(struct intel_dvo_device *dvo) argument 344 ch7xxx_dump_regs(struct intel_dvo_device *dvo) argument 357 ch7xxx_destroy(struct intel_dvo_device *dvo) argument [all...] |
H A D | dvo_ch7017.c | 32 #include "dvo.h" 169 static void ch7017_dump_regs(struct intel_dvo_device *dvo); 170 static void ch7017_dpms(struct intel_dvo_device *dvo, bool enable); 172 static bool ch7017_read(struct intel_dvo_device *dvo, u8 addr, u8 *val) argument 176 .addr = dvo->slave_addr, 182 .addr = dvo->slave_addr, 188 return i2c_transfer(dvo->i2c_bus, msgs, 2) == 2; 191 static bool ch7017_write(struct intel_dvo_device *dvo, uint8_t addr, uint8_t val) argument 195 .addr = dvo->slave_addr, 200 return i2c_transfer(dvo 204 ch7017_init(struct intel_dvo_device *dvo, struct i2c_adapter *adapter) argument 248 ch7017_detect(struct intel_dvo_device *dvo) argument 254 ch7017_mode_valid(struct intel_dvo_device *dvo, struct drm_display_mode *mode) argument 263 ch7017_mode_set(struct intel_dvo_device *dvo, struct drm_display_mode *mode, struct drm_display_mode *adjusted_mode) argument 342 ch7017_dpms(struct intel_dvo_device *dvo, bool enable) argument 370 ch7017_get_hw_state(struct intel_dvo_device *dvo) argument 382 ch7017_dump_regs(struct intel_dvo_device *dvo) argument 403 ch7017_destroy(struct intel_dvo_device *dvo) argument [all...] |
H A D | intel_dvo.c | 38 #include "dvo.h" 187 /* Special dpms function to support cloning between dvo/sdvo/crt. */ 193 /* dvo supports only 2 dpms states. */ 482 const struct intel_dvo_device *dvo = &intel_dvo_devices[i]; local 490 if (intel_gmbus_is_port_valid(dvo->gpio)) 491 gpio = dvo->gpio; 492 else if (dvo->type == INTEL_DVO_CHIP_LVDS) 503 intel_dvo->dev = *dvo; 504 if (!dvo->dev_ops->init(&intel_dvo->dev, i2c)) 510 switch (dvo [all...] |