/drivers/gpu/drm/i915/ |
D | dvo_ns2501.c | 90 static void enable_dvo(struct intel_dvo_device *dvo) in enable_dvo() argument 92 struct ns2501_priv *ns = (struct ns2501_priv *)(dvo->dev_priv); in enable_dvo() 93 struct i2c_adapter *adapter = dvo->i2c_bus; in enable_dvo() 118 static void restore_dvo(struct intel_dvo_device *dvo) in restore_dvo() argument 120 struct i2c_adapter *adapter = dvo->i2c_bus; in restore_dvo() 125 struct ns2501_priv *ns = (struct ns2501_priv *)(dvo->dev_priv); in restore_dvo() 139 static bool ns2501_readb(struct intel_dvo_device *dvo, int addr, uint8_t * ch) in ns2501_readb() argument 141 struct ns2501_priv *ns = dvo->dev_priv; in ns2501_readb() 142 struct i2c_adapter *adapter = dvo->i2c_bus; in ns2501_readb() 148 .addr = dvo->slave_addr, in ns2501_readb() [all …]
|
D | dvo_tfp410.c | 93 static bool tfp410_readb(struct intel_dvo_device *dvo, int addr, uint8_t *ch) in tfp410_readb() argument 95 struct tfp410_priv *tfp = dvo->dev_priv; in tfp410_readb() 96 struct i2c_adapter *adapter = dvo->i2c_bus; in tfp410_readb() 102 .addr = dvo->slave_addr, in tfp410_readb() 108 .addr = dvo->slave_addr, in tfp410_readb() 125 addr, adapter->name, dvo->slave_addr); in tfp410_readb() 130 static bool tfp410_writeb(struct intel_dvo_device *dvo, int addr, uint8_t ch) in tfp410_writeb() argument 132 struct tfp410_priv *tfp = dvo->dev_priv; in tfp410_writeb() 133 struct i2c_adapter *adapter = dvo->i2c_bus; in tfp410_writeb() 136 .addr = dvo->slave_addr, in tfp410_writeb() [all …]
|
D | dvo_ivch.c | 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) in ivch_read() argument 168 struct ivch_priv *priv = dvo->dev_priv; in ivch_read() 169 struct i2c_adapter *adapter = dvo->i2c_bus; in ivch_read() 175 .addr = dvo->slave_addr, in ivch_read() 186 .addr = dvo->slave_addr, in ivch_read() 203 addr, adapter->name, dvo->slave_addr); in ivch_read() 209 static bool ivch_write(struct intel_dvo_device *dvo, int addr, uint16_t data) in ivch_write() argument 211 struct ivch_priv *priv = dvo->dev_priv; in ivch_write() 212 struct i2c_adapter *adapter = dvo->i2c_bus; in ivch_write() [all …]
|
D | dvo_sil164.c | 68 static bool sil164_readb(struct intel_dvo_device *dvo, int addr, uint8_t *ch) in sil164_readb() argument 70 struct sil164_priv *sil = dvo->dev_priv; in sil164_readb() 71 struct i2c_adapter *adapter = dvo->i2c_bus; in sil164_readb() 77 .addr = dvo->slave_addr, in sil164_readb() 83 .addr = dvo->slave_addr, in sil164_readb() 100 addr, adapter->name, dvo->slave_addr); in sil164_readb() 105 static bool sil164_writeb(struct intel_dvo_device *dvo, int addr, uint8_t ch) in sil164_writeb() argument 107 struct sil164_priv *sil = dvo->dev_priv; in sil164_writeb() 108 struct i2c_adapter *adapter = dvo->i2c_bus; in sil164_writeb() 111 .addr = dvo->slave_addr, in sil164_writeb() [all …]
|
D | dvo_ch7xxx.c | 112 static bool ch7xxx_readb(struct intel_dvo_device *dvo, int addr, uint8_t *ch) in ch7xxx_readb() argument 114 struct ch7xxx_priv *ch7xxx = dvo->dev_priv; in ch7xxx_readb() 115 struct i2c_adapter *adapter = dvo->i2c_bus; in ch7xxx_readb() 121 .addr = dvo->slave_addr, in ch7xxx_readb() 127 .addr = dvo->slave_addr, in ch7xxx_readb() 144 addr, adapter->name, dvo->slave_addr); in ch7xxx_readb() 150 static bool ch7xxx_writeb(struct intel_dvo_device *dvo, int addr, uint8_t ch) in ch7xxx_writeb() argument 152 struct ch7xxx_priv *ch7xxx = dvo->dev_priv; in ch7xxx_writeb() 153 struct i2c_adapter *adapter = dvo->i2c_bus; in ch7xxx_writeb() 156 .addr = dvo->slave_addr, in ch7xxx_writeb() [all …]
|
D | dvo_ch7017.c | 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) in ch7017_read() argument 172 .addr = dvo->slave_addr, in ch7017_read() 178 .addr = dvo->slave_addr, in ch7017_read() 184 return i2c_transfer(dvo->i2c_bus, msgs, 2) == 2; in ch7017_read() 187 static bool ch7017_write(struct intel_dvo_device *dvo, u8 addr, u8 val) in ch7017_write() argument 191 .addr = dvo->slave_addr, in ch7017_write() 196 return i2c_transfer(dvo->i2c_bus, &msg, 1) == 1; in ch7017_write() 200 static bool ch7017_init(struct intel_dvo_device *dvo, in ch7017_init() argument [all …]
|
D | dvo.h | 50 bool (*init)(struct intel_dvo_device *dvo, 57 void (*create_resources)(struct intel_dvo_device *dvo); 65 void (*dpms)(struct intel_dvo_device *dvo, bool enable); 76 int (*mode_valid)(struct intel_dvo_device *dvo, 86 bool (*mode_fixup)(struct intel_dvo_device *dvo, 93 void (*prepare)(struct intel_dvo_device *dvo); 98 void (*commit)(struct intel_dvo_device *dvo); 107 void (*mode_set)(struct intel_dvo_device *dvo, 114 enum drm_connector_status (*detect)(struct intel_dvo_device *dvo); 129 struct drm_display_mode *(*get_modes)(struct intel_dvo_device *dvo); [all …]
|
D | intel_dvo.c | 448 const struct intel_dvo_device *dvo = &intel_dvo_devices[i]; in intel_dvo_init() local 457 if (intel_gmbus_is_port_valid(dvo->gpio)) in intel_dvo_init() 458 gpio = dvo->gpio; in intel_dvo_init() 459 else if (dvo->type == INTEL_DVO_CHIP_LVDS) in intel_dvo_init() 470 intel_dvo->dev = *dvo; in intel_dvo_init() 477 dvoinit = dvo->dev_ops->init(&intel_dvo->dev, i2c); in intel_dvo_init() 486 switch (dvo->type) { in intel_dvo_init() 513 if (dvo->type == INTEL_DVO_CHIP_LVDS) { in intel_dvo_init()
|
/drivers/video/intelfb/ |
D | intelfbhw.c | 282 int dvo = 0; in intelfbhw_check_non_crt() local 285 dvo |= LVDS_PORT; in intelfbhw_check_non_crt() 287 dvo |= DVOA_PORT; in intelfbhw_check_non_crt() 289 dvo |= DVOB_PORT; in intelfbhw_check_non_crt() 291 dvo |= DVOC_PORT; in intelfbhw_check_non_crt() 293 return dvo; in intelfbhw_check_non_crt() 296 const char * intelfbhw_dvo_to_string(int dvo) in intelfbhw_dvo_to_string() argument 298 if (dvo & DVOA_PORT) in intelfbhw_dvo_to_string() 300 else if (dvo & DVOB_PORT) in intelfbhw_dvo_to_string() 302 else if (dvo & DVOC_PORT) in intelfbhw_dvo_to_string() [all …]
|
D | intelfbdrv.c | 505 int i, err, dvo; in intelfb_pci_register() local 802 dvo = intelfbhw_check_non_crt(dinfo); in intelfb_pci_register() 803 if (dvo) { in intelfb_pci_register() 807 while (dvo) { in intelfb_pci_register() 808 if (dvo & 1) { in intelfb_pci_register() 813 dvo >>= 1; in intelfb_pci_register()
|
D | intelfbhw.h | 565 extern const char *intelfbhw_dvo_to_string(int dvo);
|
/drivers/gpu/drm/radeon/ |
D | atombios_encoders.c | 485 DVO_ENCODER_CONTROL_PS_ALLOCATION dvo; member 522 args.dvo.sDVOEncoder.ucAction = action; in atombios_dvo_setup() 523 args.dvo.sDVOEncoder.usPixelClock = cpu_to_le16(radeon_encoder->pixel_clock / 10); in atombios_dvo_setup() 525 args.dvo.sDVOEncoder.ucDeviceType = ATOM_DEVICE_DFP1_INDEX; in atombios_dvo_setup() 528 args.dvo.sDVOEncoder.usDevAttr.sDigAttrib.ucAttribute |= PANEL_ENCODER_MISC_DUAL; in atombios_dvo_setup()
|