/freebsd-11-stable/sys/dev/drm2/i915/ |
H A D | dvo.h | 56 bool (*init)(struct intel_dvo_device *dvo, 63 void (*create_resources)(struct intel_dvo_device *dvo); 68 * Because none of our dvo drivers support an intermediate power levels, 71 void (*dpms)(struct intel_dvo_device *dvo, bool enable); 82 int (*mode_valid)(struct intel_dvo_device *dvo, 92 bool (*mode_fixup)(struct intel_dvo_device *dvo, 99 void (*prepare)(struct intel_dvo_device *dvo); 104 void (*commit)(struct intel_dvo_device *dvo); 113 void (*mode_set)(struct intel_dvo_device *dvo, 120 enum drm_connector_status (*detect)(struct intel_dvo_device *dvo); [all...] |
H A D | dvo_ch7017.c | 31 #include "dvo.h" 168 static void ch7017_dump_regs(struct intel_dvo_device *dvo); 169 static void ch7017_dpms(struct intel_dvo_device *dvo, bool enable); 171 static bool ch7017_read(struct intel_dvo_device *dvo, u8 addr, u8 *val) argument 175 .slave = dvo->slave_addr << 1, 181 .slave = dvo->slave_addr << 1, 187 return -iicbus_transfer(dvo->i2c_bus, msgs, 2) == 0; 190 static bool ch7017_write(struct intel_dvo_device *dvo, u8 addr, u8 val) argument 194 .slave = dvo->slave_addr << 1, 199 return -iicbus_transfer(dvo 203 ch7017_init(struct intel_dvo_device *dvo, device_t adapter) argument 247 ch7017_detect(struct intel_dvo_device *dvo) argument 252 ch7017_mode_valid(struct intel_dvo_device *dvo, struct drm_display_mode *mode) argument 261 ch7017_mode_set(struct intel_dvo_device *dvo, struct drm_display_mode *mode, struct drm_display_mode *adjusted_mode) argument 338 ch7017_dpms(struct intel_dvo_device *dvo, bool enable) argument 366 ch7017_get_hw_state(struct intel_dvo_device *dvo) argument 378 ch7017_dump_regs(struct intel_dvo_device *dvo) argument 399 ch7017_destroy(struct intel_dvo_device *dvo) argument [all...] |
H A D | dvo_ch7xxx.c | 32 #include "dvo.h" 115 static bool ch7xxx_readb(struct intel_dvo_device *dvo, int addr, uint8_t *ch) argument 117 struct ch7xxx_priv *ch7xxx = dvo->dev_priv; 118 device_t adapter = dvo->i2c_bus; 124 .slave = dvo->slave_addr << 1, 130 .slave = dvo->slave_addr << 1, 147 addr, device_get_nameunit(adapter), dvo->slave_addr); 153 static bool ch7xxx_writeb(struct intel_dvo_device *dvo, int addr, uint8_t ch) argument 155 struct ch7xxx_priv *ch7xxx = dvo->dev_priv; 156 device_t adapter = dvo 179 ch7xxx_init(struct intel_dvo_device *dvo, device_t adapter) argument 226 ch7xxx_detect(struct intel_dvo_device *dvo) argument 247 ch7xxx_mode_valid(struct intel_dvo_device *dvo, struct drm_display_mode *mode) argument 256 ch7xxx_mode_set(struct intel_dvo_device *dvo, struct drm_display_mode *mode, struct drm_display_mode *adjusted_mode) argument 295 ch7xxx_dpms(struct intel_dvo_device *dvo, bool enable) argument 303 ch7xxx_get_hw_state(struct intel_dvo_device *dvo) argument 315 ch7xxx_dump_regs(struct intel_dvo_device *dvo) argument 328 ch7xxx_destroy(struct intel_dvo_device *dvo) argument [all...] |
H A D | dvo_ivch.c | 31 #include "dvo.h" 162 static void ivch_dump_regs(struct intel_dvo_device *dvo); 169 static bool ivch_read(struct intel_dvo_device *dvo, int addr, uint16_t *data) argument 171 struct ivch_priv *priv = dvo->dev_priv; 172 device_t adapter = dvo->i2c_bus; 178 .slave = dvo->slave_addr << 1, 189 .slave = dvo->slave_addr << 1, 206 addr, device_get_nameunit(adapter), dvo->slave_addr); 212 static bool ivch_write(struct intel_dvo_device *dvo, int addr, uint16_t data) argument 214 struct ivch_priv *priv = dvo 240 ivch_init(struct intel_dvo_device *dvo, device_t adapter) argument 279 ivch_detect(struct intel_dvo_device *dvo) argument 284 ivch_mode_valid(struct intel_dvo_device *dvo, struct drm_display_mode *mode) argument 294 ivch_dpms(struct intel_dvo_device *dvo, bool enable) argument 329 ivch_get_hw_state(struct intel_dvo_device *dvo) argument 343 ivch_mode_set(struct intel_dvo_device *dvo, struct drm_display_mode *mode, struct drm_display_mode *adjusted_mode) argument 378 ivch_dump_regs(struct intel_dvo_device *dvo) argument 420 ivch_destroy(struct intel_dvo_device *dvo) argument [all...] |
H A D | dvo_ns2501.c | 32 #include "dvo.h" 93 static void enable_dvo(struct intel_dvo_device *dvo) argument 95 struct ns2501_priv *ns = (struct ns2501_priv *)(dvo->dev_priv); 96 device_t adapter = dvo->i2c_bus; 126 static void restore_dvo(struct intel_dvo_device *dvo) argument 128 device_t adapter = dvo->i2c_bus; 138 struct ns2501_priv *ns = (struct ns2501_priv *)(dvo->dev_priv); 152 static bool ns2501_readb(struct intel_dvo_device *dvo, int addr, uint8_t * ch) argument 154 struct ns2501_priv *ns = dvo->dev_priv; 155 device_t adapter = dvo 197 ns2501_writeb(struct intel_dvo_device *dvo, int addr, uint8_t ch) argument 231 ns2501_init(struct intel_dvo_device *dvo, device_t adapter) argument 276 ns2501_detect(struct intel_dvo_device *dvo) argument 288 ns2501_mode_valid(struct intel_dvo_device *dvo, struct drm_display_mode *mode) argument 311 ns2501_mode_set(struct intel_dvo_device *dvo, struct drm_display_mode *mode, struct drm_display_mode *adjusted_mode) argument 509 ns2501_get_hw_state(struct intel_dvo_device *dvo) argument 523 ns2501_dpms(struct intel_dvo_device *dvo, bool enable) argument 566 ns2501_dump_regs(struct intel_dvo_device *dvo) argument 582 ns2501_destroy(struct intel_dvo_device *dvo) argument [all...] |
H A D | dvo_sil164.c | 32 #include "dvo.h" 71 static bool sil164_readb(struct intel_dvo_device *dvo, int addr, uint8_t *ch) argument 73 struct sil164_priv *sil = dvo->dev_priv; 74 device_t adapter = dvo->i2c_bus; 80 .slave = dvo->slave_addr << 1, 86 .slave = dvo->slave_addr << 1, 103 addr, device_get_nameunit(adapter), dvo->slave_addr); 108 static bool sil164_writeb(struct intel_dvo_device *dvo, int addr, uint8_t ch) argument 110 struct sil164_priv *sil = dvo->dev_priv; 111 device_t adapter = dvo 135 sil164_init(struct intel_dvo_device *dvo, device_t adapter) argument 177 sil164_detect(struct intel_dvo_device *dvo) argument 189 sil164_mode_valid(struct intel_dvo_device *dvo, struct drm_display_mode *mode) argument 195 sil164_mode_set(struct intel_dvo_device *dvo, struct drm_display_mode *mode, struct drm_display_mode *adjusted_mode) argument 214 sil164_dpms(struct intel_dvo_device *dvo, bool enable) argument 232 sil164_get_hw_state(struct intel_dvo_device *dvo) argument 247 sil164_dump_regs(struct intel_dvo_device *dvo) argument 263 sil164_destroy(struct intel_dvo_device *dvo) argument [all...] |
H A D | dvo_tfp410.c | 31 #include "dvo.h" 96 static bool tfp410_readb(struct intel_dvo_device *dvo, int addr, uint8_t *ch) argument 98 struct tfp410_priv *tfp = dvo->dev_priv; 99 device_t adapter = dvo->i2c_bus; 105 .slave = dvo->slave_addr << 1, 111 .slave = dvo->slave_addr << 1, 128 addr, device_get_nameunit(adapter), dvo->slave_addr); 133 static bool tfp410_writeb(struct intel_dvo_device *dvo, int addr, uint8_t ch) argument 135 struct tfp410_priv *tfp = dvo->dev_priv; 136 device_t adapter = dvo 159 tfp410_getid(struct intel_dvo_device *dvo, int addr) argument 171 tfp410_init(struct intel_dvo_device *dvo, device_t adapter) argument 206 tfp410_detect(struct intel_dvo_device *dvo) argument 221 tfp410_mode_valid(struct intel_dvo_device *dvo, struct drm_display_mode *mode) argument 227 tfp410_mode_set(struct intel_dvo_device *dvo, struct drm_display_mode *mode, struct drm_display_mode *adjusted_mode) argument 240 tfp410_dpms(struct intel_dvo_device *dvo, bool enable) argument 255 tfp410_get_hw_state(struct intel_dvo_device *dvo) argument 268 tfp410_dump_regs(struct intel_dvo_device *dvo) argument 302 tfp410_destroy(struct intel_dvo_device *dvo) argument [all...] |
H A D | intel_dvo.c | 36 #include <dev/drm2/i915/dvo.h> 163 /* dvo supports only 2 dpms states. */ 450 const struct intel_dvo_device *dvo = &intel_dvo_devices[i]; local 459 if (intel_gmbus_is_port_valid(dvo->gpio)) 460 gpio = dvo->gpio; 461 else if (dvo->type == INTEL_DVO_CHIP_LVDS) 472 intel_dvo->dev = *dvo; 479 dvoinit = dvo->dev_ops->init(&intel_dvo->dev, i2c); 488 switch (dvo->type) { 515 if (dvo [all...] |
/freebsd-11-stable/sys/dev/drm2/radeon/ |
H A D | atombios_encoders.c | 490 DVO_ENCODER_CONTROL_PS_ALLOCATION dvo; member in union:dvo_encoder_control 527 args.dvo.sDVOEncoder.ucAction = action; 528 args.dvo.sDVOEncoder.usPixelClock = cpu_to_le16(radeon_encoder->pixel_clock / 10); 530 args.dvo.sDVOEncoder.ucDeviceType = ATOM_DEVICE_DFP1_INDEX; 533 args.dvo.sDVOEncoder.usDevAttr.sDigAttrib.ucAttribute |= PANEL_ENCODER_MISC_DUAL;
|