Home
last modified time | relevance | path

Searched refs:dvo (Results 1 – 10 of 10) sorted by relevance

/openbsd/sys/dev/pci/drm/i915/display/
H A Ddvo_ivch.c201 .addr = dvo->slave_addr, in ivch_read()
212 .addr = dvo->slave_addr, in ivch_read()
241 .addr = dvo->slave_addr, in ivch_write()
274 dvo->i2c_bus = adapter; in ivch_init()
275 dvo->dev_priv = priv; in ivch_init()
302 ivch_dump_regs(dvo); in ivch_init()
348 ivch_reset(dvo); in ivch_dpms()
385 ivch_reset(dvo); in ivch_get_hw_state()
406 ivch_reset(dvo); in ivch_mode_set()
444 ivch_read(dvo, VR00, &val); in ivch_dump_regs()
[all …]
H A Ddvo_tfp410.c103 .addr = dvo->slave_addr, in tfp410_readb()
109 .addr = dvo->slave_addr, in tfp410_readb()
137 .addr = dvo->slave_addr, in tfp410_writeb()
161 if (tfp410_readb(dvo, addr+0, &ch1) && in tfp410_getid()
162 tfp410_readb(dvo, addr+1, &ch2)) in tfp410_getid()
180 dvo->i2c_bus = adapter; in tfp410_init()
181 dvo->dev_priv = tfp; in tfp410_init()
270 tfp410_readb(dvo, TFP410_REV, &val); in tfp410_dump_regs()
272 tfp410_readb(dvo, TFP410_CTL_1, &val); in tfp410_dump_regs()
274 tfp410_readb(dvo, TFP410_CTL_2, &val); in tfp410_dump_regs()
[all …]
H A Ddvo_sil164.c82 .addr = dvo->slave_addr, in sil164_readb()
88 .addr = dvo->slave_addr, in sil164_readb()
116 .addr = dvo->slave_addr, in sil164_writeb()
148 dvo->i2c_bus = adapter; in sil164_init()
149 dvo->dev_priv = sil; in sil164_init()
213 sil164_writeb(dvo, SIL164_REG8, in sil164_mode_set()
215 sil164_writeb(dvo, SIL164_REG9, in sil164_mode_set()
217 sil164_writeb(dvo, SIL164_REGC, in sil164_mode_set()
236 sil164_writeb(dvo, SIL164_REG8, ch); in sil164_dpms()
262 sil164_readb(dvo, SIL164_REG8, &val); in sil164_dump_regs()
[all …]
H A Ddvo_ch7xxx.c156 .addr = dvo->slave_addr, in ch7xxx_readb()
162 .addr = dvo->slave_addr, in ch7xxx_readb()
191 .addr = dvo->slave_addr, in ch7xxx_writeb()
223 dvo->i2c_bus = adapter; in ch7xxx_init()
224 dvo->dev_priv = ch7xxx; in ch7xxx_init()
267 ch7xxx_writeb(dvo, CH7xxx_PM, pm); in ch7xxx_detect()
308 ch7xxx_writeb(dvo, CH7xxx_TPD, tpd); in ch7xxx_mode_set()
326 ch7xxx_writeb(dvo, CH7xxx_DAC_CNTL, in ch7xxx_mode_set()
345 ch7xxx_readb(dvo, CH7xxx_PM, &val); in ch7xxx_get_hw_state()
361 ch7xxx_readb(dvo, i, &val); in ch7xxx_dump_regs()
[all …]
H A Ddvo_ns2501.c395 struct ns2501_priv *ns = dvo->dev_priv; in ns2501_readb()
402 .addr = dvo->slave_addr, in ns2501_readb()
408 .addr = dvo->slave_addr, in ns2501_readb()
426 adapter->name, dvo->slave_addr); in ns2501_readb()
440 struct ns2501_priv *ns = dvo->dev_priv; in ns2501_writeb()
445 .addr = dvo->slave_addr, in ns2501_writeb()
483 dvo->i2c_bus = adapter; in ns2501_init()
484 dvo->dev_priv = ns; in ns2501_init()
670 ns2501_writeb(dvo, NS2501_REG8, in ns2501_dpms()
676 ns2501_writeb(dvo, NS2501_REG34, in ns2501_dpms()
[all …]
H A Ddvo_ch7017.c173 .addr = dvo->slave_addr, in ch7017_read()
179 .addr = dvo->slave_addr, in ch7017_read()
192 .addr = dvo->slave_addr, in ch7017_write()
212 dvo->i2c_bus = adapter; in ch7017_init()
213 dvo->dev_priv = priv; in ch7017_init()
269 ch7017_dump_regs(dvo); in ch7017_mode_set()
313 ch7017_dpms(dvo, false); in ch7017_mode_set()
331 ch7017_dump_regs(dvo); in ch7017_mode_set()
381 ch7017_read(dvo, reg, &val); \ in ch7017_dump_regs()
398 struct ch7017_priv *priv = dvo->dev_priv; in ch7017_destroy()
[all …]
H A Dintel_dvo_dev.h53 bool (*init)(struct intel_dvo_device *dvo,
60 void (*create_resources)(struct intel_dvo_device *dvo);
68 void (*dpms)(struct intel_dvo_device *dvo, bool enable);
79 enum drm_mode_status (*mode_valid)(struct intel_dvo_device *dvo,
85 void (*prepare)(struct intel_dvo_device *dvo);
90 void (*commit)(struct intel_dvo_device *dvo);
99 void (*mode_set)(struct intel_dvo_device *dvo,
106 enum drm_connector_status (*detect)(struct intel_dvo_device *dvo);
121 struct drm_display_mode *(*get_modes)(struct intel_dvo_device *dvo);
126 void (*destroy) (struct intel_dvo_device *dvo);
[all …]
H A Dintel_dvo.c383 static int intel_dvo_encoder_type(const struct intel_dvo_device *dvo) in intel_dvo_encoder_type() argument
385 switch (dvo->type) { in intel_dvo_encoder_type()
392 MISSING_CASE(dvo->type); in intel_dvo_encoder_type()
399 switch (dvo->type) { in intel_dvo_connector_type()
406 MISSING_CASE(dvo->type); in intel_dvo_connector_type()
413 const struct intel_dvo_device *dvo) in intel_dvo_init_dev() argument
426 if (intel_gmbus_is_valid_pin(dev_priv, dvo->gpio)) in intel_dvo_init_dev()
427 gpio = dvo->gpio; in intel_dvo_init_dev()
428 else if (dvo->type == INTEL_DVO_CHIP_LVDS) in intel_dvo_init_dev()
440 intel_dvo->dev = *dvo; in intel_dvo_init_dev()
[all …]
/openbsd/sys/dev/pci/drm/amd/amdgpu/
H A Damdgpu_atombios_encoders.c370 DVO_ENCODER_CONTROL_PS_ALLOCATION dvo; member
404 args.dvo.sDVOEncoder.ucAction = action; in amdgpu_atombios_encoder_setup_dvo()
405 args.dvo.sDVOEncoder.usPixelClock = cpu_to_le16(amdgpu_encoder->pixel_clock / 10); in amdgpu_atombios_encoder_setup_dvo()
407 args.dvo.sDVOEncoder.ucDeviceType = ATOM_DEVICE_DFP1_INDEX; in amdgpu_atombios_encoder_setup_dvo()
410 args.dvo.sDVOEncoder.usDevAttr.sDigAttrib.ucAttribute |= PANEL_ENCODER_MISC_DUAL; in amdgpu_atombios_encoder_setup_dvo()
/openbsd/sys/dev/pci/drm/radeon/
H A Datombios_encoders.c479 DVO_ENCODER_CONTROL_PS_ALLOCATION dvo; member
517 args.dvo.sDVOEncoder.ucAction = action; in atombios_dvo_setup()
518 args.dvo.sDVOEncoder.usPixelClock = cpu_to_le16(radeon_encoder->pixel_clock / 10); in atombios_dvo_setup()
520 args.dvo.sDVOEncoder.ucDeviceType = ATOM_DEVICE_DFP1_INDEX; in atombios_dvo_setup()
523 args.dvo.sDVOEncoder.usDevAttr.sDigAttrib.ucAttribute |= PANEL_ENCODER_MISC_DUAL; in atombios_dvo_setup()