/src/sys/external/bsd/drm2/dist/drm/i915/display/ |
dvo_tfp410.c | 99 static bool tfp410_readb(struct intel_dvo_device *dvo, int addr, u8 *ch) 101 struct tfp410_priv *tfp = dvo->dev_priv; 102 struct i2c_adapter *adapter = dvo->i2c_bus; 108 .addr = dvo->slave_addr, 114 .addr = dvo->slave_addr, 131 addr, adapter->name, dvo->slave_addr); 136 static bool tfp410_writeb(struct intel_dvo_device *dvo, int addr, u8 ch) 138 struct tfp410_priv *tfp = dvo->dev_priv; 139 struct i2c_adapter *adapter = dvo->i2c_bus; 142 .addr = dvo->slave_addr [all...] |
dvo_ivch.c | 68 /* Enables the DVO repeater. */ 70 /* Enables the DVO clock */ 165 /* Some Bios implementations do not restore the DVO state upon 191 static void ivch_dump_regs(struct intel_dvo_device *dvo); 197 static bool ivch_read(struct intel_dvo_device *dvo, int addr, u16 *data) 199 struct ivch_priv *priv = dvo->dev_priv; 200 struct i2c_adapter *adapter = dvo->i2c_bus; 206 .addr = dvo->slave_addr, 217 .addr = dvo->slave_addr, 234 addr, adapter->name, dvo->slave_addr) [all...] |
dvo_ch7xxx.c | 90 * driver for the Chrontel 7xxx DVI chip over DVO. 141 static bool ch7xxx_readb(struct intel_dvo_device *dvo, int addr, u8 *ch) 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, u8 ch) 181 struct ch7xxx_priv *ch7xxx = dvo->dev_priv; 182 struct i2c_adapter *adapter = dvo->i2c_bus [all...] |
intel_dvo_dev.h | 54 bool (*init)(struct intel_dvo_device *dvo, 61 void (*create_resources)(struct intel_dvo_device *dvo); 66 * Because none of our dvo drivers support an intermediate power levels, 69 void (*dpms)(struct intel_dvo_device *dvo, bool enable); 80 int (*mode_valid)(struct intel_dvo_device *dvo, 86 void (*prepare)(struct intel_dvo_device *dvo); 91 void (*commit)(struct intel_dvo_device *dvo); 100 void (*mode_set)(struct intel_dvo_device *dvo, 107 enum drm_connector_status (*detect)(struct intel_dvo_device *dvo); 122 struct drm_display_mode *(*get_modes)(struct intel_dvo_device *dvo); [all...] |
dvo_sil164.c | 74 static bool sil164_readb(struct intel_dvo_device *dvo, int addr, u8 *ch) 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, u8 ch) 113 struct sil164_priv *sil = dvo->dev_priv; 114 struct i2c_adapter *adapter = dvo->i2c_bus; 117 .addr = dvo->slave_addr [all...] |
dvo_ch7017.c | 171 static void ch7017_dump_regs(struct intel_dvo_device *dvo); 172 static void ch7017_dpms(struct intel_dvo_device *dvo, bool enable); 174 static bool ch7017_read(struct intel_dvo_device *dvo, u8 addr, u8 *val) 178 .addr = dvo->slave_addr, 184 .addr = dvo->slave_addr, 190 return i2c_transfer(dvo->i2c_bus, msgs, 2) == 2; 193 static bool ch7017_write(struct intel_dvo_device *dvo, u8 addr, u8 val) 197 .addr = dvo->slave_addr, 202 return i2c_transfer(dvo->i2c_bus, &msg, 1) == 1; 206 static bool ch7017_init(struct intel_dvo_device *dvo, [all...] |
dvo_ns2501.c | 75 * Register c0 controls how the DVO synchronizes with 79 #define NS2501_C0_ENABLE (1<<0) /* enable the DVO sync in general */ 92 * this register controls the dithering of the DVO 166 * backlight and the DVO output. To enable the corresponding 169 #define NS2501_REG34 0x34 /* DVO enable functions, first register */ 170 #define NS2501_REG35 0x35 /* DVO enable functions, second register */ 171 #define NS2501_34_ENABLE_OUTPUT (1<<0) /* enable DVO output */ 206 * the DVO, given a specific output configuration. 231 * DVO configuration values, partially based on what the BIOS 299 * Fujitsu S6010 in the DVO control registers. Thei [all...] |
intel_dvo.c | 386 * Other chips with DVO LVDS will need to extend this to deal with the LVDS 447 const struct intel_dvo_device *dvo = &intel_dvo_devices[i]; local in function:intel_dvo_init 460 if (intel_gmbus_is_valid_pin(dev_priv, dvo->gpio)) 461 gpio = dvo->gpio; 462 else if (dvo->type == INTEL_DVO_CHIP_LVDS) 474 intel_dvo->dev = *dvo; 483 * ns2501 requires the DVO 2x clock before it will 493 dvoinit = dvo->dev_ops->init(&intel_dvo->dev, i2c); 495 /* restore the DVO 2x clock state to original */ 505 port = intel_dvo_port(dvo->dvo_reg) [all...] |
/src/sys/external/bsd/drm/dist/scripts/ |
create_lk_gpu.sh | 55 mv dvo*.[ch] i915/
|
/src/sys/external/bsd/drm2/dist/drm/amd/amdgpu/ |
amdgpu_atombios_encoders.c | 382 DVO_ENCODER_CONTROL_PS_ALLOCATION dvo; member in union:dvo_encoder_control 416 args.dvo.sDVOEncoder.ucAction = action; 417 args.dvo.sDVOEncoder.usPixelClock = cpu_to_le16(amdgpu_encoder->pixel_clock / 10); 419 args.dvo.sDVOEncoder.ucDeviceType = ATOM_DEVICE_DFP1_INDEX; 422 args.dvo.sDVOEncoder.usDevAttr.sDigAttrib.ucAttribute |= PANEL_ENCODER_MISC_DUAL; 461 /* DVO is always DVO */
|
/src/sys/external/bsd/drm2/dist/drm/radeon/ |
radeon_atombios_encoders.c | 492 DVO_ENCODER_CONTROL_PS_ALLOCATION dvo; member in union:dvo_encoder_control 530 args.dvo.sDVOEncoder.ucAction = action; 531 args.dvo.sDVOEncoder.usPixelClock = cpu_to_le16(radeon_encoder->pixel_clock / 10); 533 args.dvo.sDVOEncoder.ucDeviceType = ATOM_DEVICE_DFP1_INDEX; 536 args.dvo.sDVOEncoder.usDevAttr.sDigAttrib.ucAttribute |= PANEL_ENCODER_MISC_DUAL; 704 /* DVO is always DVO */
|