/drivers/gpu/drm/sti/ |
D | sti_dvo.c | 101 struct sti_dvo *dvo; member 108 int dvo_awg_generate_code(struct sti_dvo *dvo, u8 *ram_size, u32 *ram_code) in dvo_awg_generate_code() argument 110 struct drm_display_mode *mode = &dvo->mode; in dvo_awg_generate_code() 111 struct dvo_config *config = dvo->config; in dvo_awg_generate_code() 144 static void dvo_awg_configure(struct sti_dvo *dvo, u32 *awg_ram_code, int nb) in dvo_awg_configure() argument 152 dvo->regs + DVO_DIGSYNC_INSTR_I + i * 4); in dvo_awg_configure() 154 writel(0, dvo->regs + DVO_DIGSYNC_INSTR_I + i * 4); in dvo_awg_configure() 156 writel(DVO_AWG_CTRL_EN, dvo->regs + DVO_AWG_DIGSYNC_CTRL); in dvo_awg_configure() 161 struct sti_dvo *dvo = bridge->driver_private; in sti_dvo_disable() local 163 if (!dvo->enabled) in sti_dvo_disable() [all …]
|
D | sti_tvout.c | 122 struct drm_encoder *dvo; member 628 tvout->dvo = sti_tvout_create_dvo_encoder(dev, tvout); in sti_tvout_create_encoders()
|
/drivers/gpu/drm/i915/ |
D | dvo_ivch.c | 185 static void ivch_dump_regs(struct intel_dvo_device *dvo); 191 static bool ivch_read(struct intel_dvo_device *dvo, int addr, uint16_t *data) in ivch_read() argument 193 struct ivch_priv *priv = dvo->dev_priv; in ivch_read() 194 struct i2c_adapter *adapter = dvo->i2c_bus; in ivch_read() 200 .addr = dvo->slave_addr, in ivch_read() 211 .addr = dvo->slave_addr, in ivch_read() 228 addr, adapter->name, dvo->slave_addr); in ivch_read() 234 static bool ivch_write(struct intel_dvo_device *dvo, int addr, uint16_t data) in ivch_write() argument 236 struct ivch_priv *priv = dvo->dev_priv; in ivch_write() 237 struct i2c_adapter *adapter = dvo->i2c_bus; in ivch_write() [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_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_ns2501.c | 392 static bool ns2501_readb(struct intel_dvo_device *dvo, int addr, uint8_t * ch) in ns2501_readb() argument 394 struct ns2501_priv *ns = dvo->dev_priv; in ns2501_readb() 395 struct i2c_adapter *adapter = dvo->i2c_bus; in ns2501_readb() 401 .addr = dvo->slave_addr, in ns2501_readb() 407 .addr = dvo->slave_addr, in ns2501_readb() 425 adapter->name, dvo->slave_addr); in ns2501_readb() 437 static bool ns2501_writeb(struct intel_dvo_device *dvo, int addr, uint8_t ch) in ns2501_writeb() argument 439 struct ns2501_priv *ns = dvo->dev_priv; in ns2501_writeb() 440 struct i2c_adapter *adapter = dvo->i2c_bus; in ns2501_writeb() 444 .addr = dvo->slave_addr, in ns2501_writeb() [all …]
|
D | dvo_ch7xxx.c | 135 static bool ch7xxx_readb(struct intel_dvo_device *dvo, int addr, uint8_t *ch) in ch7xxx_readb() argument 137 struct ch7xxx_priv *ch7xxx = dvo->dev_priv; in ch7xxx_readb() 138 struct i2c_adapter *adapter = dvo->i2c_bus; in ch7xxx_readb() 144 .addr = dvo->slave_addr, in ch7xxx_readb() 150 .addr = dvo->slave_addr, in ch7xxx_readb() 167 addr, adapter->name, dvo->slave_addr); in ch7xxx_readb() 173 static bool ch7xxx_writeb(struct intel_dvo_device *dvo, int addr, uint8_t ch) in ch7xxx_writeb() argument 175 struct ch7xxx_priv *ch7xxx = dvo->dev_priv; in ch7xxx_writeb() 176 struct i2c_adapter *adapter = dvo->i2c_bus; in ch7xxx_writeb() 179 .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, 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); 123 void (*destroy) (struct intel_dvo_device *dvo); [all …]
|
D | intel_dvo.c | 451 const struct intel_dvo_device *dvo = &intel_dvo_devices[i]; in intel_dvo_init() local 462 if (intel_gmbus_is_valid_pin(dev_priv, dvo->gpio)) in intel_dvo_init() 463 gpio = dvo->gpio; in intel_dvo_init() 464 else if (dvo->type == INTEL_DVO_CHIP_LVDS) in intel_dvo_init() 475 intel_dvo->dev = *dvo; in intel_dvo_init() 492 dvoinit = dvo->dev_ops->init(&intel_dvo->dev, i2c); in intel_dvo_init() 506 switch (dvo->type) { in intel_dvo_init() 531 if (dvo->type == INTEL_DVO_CHIP_LVDS) { in intel_dvo_init()
|
/drivers/video/fbdev/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 | 474 int i, err, dvo; in intelfb_pci_register() local 772 dvo = intelfbhw_check_non_crt(dinfo); in intelfb_pci_register() 773 if (dvo) { in intelfb_pci_register() 777 while (dvo) { in intelfb_pci_register() 778 if (dvo & 1) { in intelfb_pci_register() 783 dvo >>= 1; in intelfb_pci_register()
|
D | intelfbhw.h | 565 extern const char *intelfbhw_dvo_to_string(int dvo);
|
/drivers/gpu/drm/amd/amdgpu/ |
D | atombios_encoders.c | 379 DVO_ENCODER_CONTROL_PS_ALLOCATION dvo; member 413 args.dvo.sDVOEncoder.ucAction = action; in amdgpu_atombios_encoder_setup_dvo() 414 args.dvo.sDVOEncoder.usPixelClock = cpu_to_le16(amdgpu_encoder->pixel_clock / 10); in amdgpu_atombios_encoder_setup_dvo() 416 args.dvo.sDVOEncoder.ucDeviceType = ATOM_DEVICE_DFP1_INDEX; in amdgpu_atombios_encoder_setup_dvo() 419 args.dvo.sDVOEncoder.usDevAttr.sDigAttrib.ucAttribute |= PANEL_ENCODER_MISC_DUAL; in amdgpu_atombios_encoder_setup_dvo()
|
/drivers/gpu/drm/radeon/ |
D | atombios_encoders.c | 482 DVO_ENCODER_CONTROL_PS_ALLOCATION dvo; member 520 args.dvo.sDVOEncoder.ucAction = action; in atombios_dvo_setup() 521 args.dvo.sDVOEncoder.usPixelClock = cpu_to_le16(radeon_encoder->pixel_clock / 10); in atombios_dvo_setup() 523 args.dvo.sDVOEncoder.ucDeviceType = ATOM_DEVICE_DFP1_INDEX; in atombios_dvo_setup() 526 args.dvo.sDVOEncoder.usDevAttr.sDigAttrib.ucAttribute |= PANEL_ENCODER_MISC_DUAL; in atombios_dvo_setup()
|