Home
last modified time | relevance | path

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

/openbmc/linux/drivers/gpu/drm/sti/
H A Dsti_dvo.c105 struct sti_dvo *dvo; member
112 static int dvo_awg_generate_code(struct sti_dvo *dvo, u8 *ram_size, u32 *ram_code) in dvo_awg_generate_code() argument
114 struct drm_display_mode *mode = &dvo->mode; in dvo_awg_generate_code()
115 struct dvo_config *config = dvo->config; in dvo_awg_generate_code()
148 static void dvo_awg_configure(struct sti_dvo *dvo, u32 *awg_ram_code, int nb) in dvo_awg_configure() argument
156 dvo->regs + DVO_DIGSYNC_INSTR_I + i * 4); in dvo_awg_configure()
158 writel(0, dvo->regs + DVO_DIGSYNC_INSTR_I + i * 4); in dvo_awg_configure()
160 writel(DVO_AWG_CTRL_EN, dvo->regs + DVO_AWG_DIGSYNC_CTRL); in dvo_awg_configure()
164 readl(dvo->regs + reg))
182 struct sti_dvo *dvo = (struct sti_dvo *)node->info_ent->data; in dvo_dbg_show() local
[all …]
H A Dsti_tvout.c119 struct drm_encoder *dvo; member
518 crtc = tvout->dvo->crtc; in tvout_dbg_show()
786 tvout->dvo = sti_tvout_create_dvo_encoder(dev, tvout); in sti_tvout_create_encoders()
789 drm_encoder_mask(tvout->hda) | drm_encoder_mask(tvout->dvo); in sti_tvout_create_encoders()
791 drm_encoder_mask(tvout->hda) | drm_encoder_mask(tvout->dvo); in sti_tvout_create_encoders()
792 tvout->dvo->possible_clones = drm_encoder_mask(tvout->hdmi) | in sti_tvout_create_encoders()
793 drm_encoder_mask(tvout->hda) | drm_encoder_mask(tvout->dvo); in sti_tvout_create_encoders()
806 if (tvout->dvo) in sti_tvout_destroy_encoders()
807 drm_encoder_cleanup(tvout->dvo); in sti_tvout_destroy_encoders()
808 tvout->dvo = NULL; in sti_tvout_destroy_encoders()
/openbmc/linux/drivers/gpu/drm/i915/display/
H A Ddvo_ivch.c186 static void ivch_dump_regs(struct intel_dvo_device *dvo);
192 static bool ivch_read(struct intel_dvo_device *dvo, int addr, u16 *data) in ivch_read() argument
194 struct ivch_priv *priv = dvo->dev_priv; in ivch_read()
195 struct i2c_adapter *adapter = dvo->i2c_bus; in ivch_read()
201 .addr = dvo->slave_addr, in ivch_read()
212 .addr = dvo->slave_addr, in ivch_read()
229 addr, adapter->name, dvo->slave_addr); in ivch_read()
235 static bool ivch_write(struct intel_dvo_device *dvo, int addr, u16 data) in ivch_write() argument
237 struct ivch_priv *priv = dvo->dev_priv; in ivch_write()
238 struct i2c_adapter *adapter = dvo->i2c_bus; in ivch_write()
[all …]
H A Ddvo_tfp410.c94 static bool tfp410_readb(struct intel_dvo_device *dvo, int addr, u8 *ch) in tfp410_readb() argument
96 struct tfp410_priv *tfp = dvo->dev_priv; in tfp410_readb()
97 struct i2c_adapter *adapter = dvo->i2c_bus; in tfp410_readb()
103 .addr = dvo->slave_addr, in tfp410_readb()
109 .addr = dvo->slave_addr, in tfp410_readb()
126 addr, adapter->name, dvo->slave_addr); in tfp410_readb()
131 static bool tfp410_writeb(struct intel_dvo_device *dvo, int addr, u8 ch) in tfp410_writeb() argument
133 struct tfp410_priv *tfp = dvo->dev_priv; in tfp410_writeb()
134 struct i2c_adapter *adapter = dvo->i2c_bus; in tfp410_writeb()
137 .addr = dvo->slave_addr, in tfp410_writeb()
[all …]
H A Ddvo_sil164.c73 static bool sil164_readb(struct intel_dvo_device *dvo, int addr, u8 *ch) in sil164_readb() argument
75 struct sil164_priv *sil = dvo->dev_priv; in sil164_readb()
76 struct i2c_adapter *adapter = dvo->i2c_bus; in sil164_readb()
82 .addr = dvo->slave_addr, in sil164_readb()
88 .addr = dvo->slave_addr, in sil164_readb()
105 addr, adapter->name, dvo->slave_addr); in sil164_readb()
110 static bool sil164_writeb(struct intel_dvo_device *dvo, int addr, u8 ch) in sil164_writeb() argument
112 struct sil164_priv *sil = dvo->dev_priv; in sil164_writeb()
113 struct i2c_adapter *adapter = dvo->i2c_bus; in sil164_writeb()
116 .addr = dvo->slave_addr, in sil164_writeb()
[all …]
H A Ddvo_ch7xxx.c147 static bool ch7xxx_readb(struct intel_dvo_device *dvo, int addr, u8 *ch) in ch7xxx_readb() argument
149 struct ch7xxx_priv *ch7xxx = dvo->dev_priv; in ch7xxx_readb()
150 struct i2c_adapter *adapter = dvo->i2c_bus; in ch7xxx_readb()
156 .addr = dvo->slave_addr, in ch7xxx_readb()
162 .addr = dvo->slave_addr, in ch7xxx_readb()
179 addr, adapter->name, dvo->slave_addr); in ch7xxx_readb()
185 static bool ch7xxx_writeb(struct intel_dvo_device *dvo, int addr, u8 ch) in ch7xxx_writeb() argument
187 struct ch7xxx_priv *ch7xxx = dvo->dev_priv; in ch7xxx_writeb()
188 struct i2c_adapter *adapter = dvo->i2c_bus; in ch7xxx_writeb()
191 .addr = dvo->slave_addr, in ch7xxx_writeb()
[all …]
H A Ddvo_ns2501.c393 static bool ns2501_readb(struct intel_dvo_device *dvo, int addr, u8 *ch) in ns2501_readb() argument
395 struct ns2501_priv *ns = dvo->dev_priv; in ns2501_readb()
396 struct i2c_adapter *adapter = dvo->i2c_bus; 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()
438 static bool ns2501_writeb(struct intel_dvo_device *dvo, int addr, u8 ch) in ns2501_writeb() argument
440 struct ns2501_priv *ns = dvo->dev_priv; in ns2501_writeb()
441 struct i2c_adapter *adapter = dvo->i2c_bus; in ns2501_writeb()
445 .addr = dvo->slave_addr, in ns2501_writeb()
[all …]
H A Ddvo_ch7017.c166 static void ch7017_dump_regs(struct intel_dvo_device *dvo);
167 static void ch7017_dpms(struct intel_dvo_device *dvo, bool enable);
169 static bool ch7017_read(struct intel_dvo_device *dvo, u8 addr, u8 *val) in ch7017_read() argument
173 .addr = dvo->slave_addr, in ch7017_read()
179 .addr = dvo->slave_addr, in ch7017_read()
185 return i2c_transfer(dvo->i2c_bus, msgs, 2) == 2; in ch7017_read()
188 static bool ch7017_write(struct intel_dvo_device *dvo, u8 addr, u8 val) in ch7017_write() argument
192 .addr = dvo->slave_addr, in ch7017_write()
197 return i2c_transfer(dvo->i2c_bus, &msg, 1) == 1; in ch7017_write()
201 static bool ch7017_init(struct intel_dvo_device *dvo, in ch7017_init() argument
[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()
397 static int intel_dvo_connector_type(const struct intel_dvo_device *dvo) in intel_dvo_connector_type() argument
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()
[all …]
/openbmc/linux/Documentation/devicetree/bindings/display/
H A Dst,stih4xx.txt85 sti-dvo:
88 - compatible: "st,stih<chip>-dvo"
217 sti-dvo@8d00400 {
218 compatible = "st,stih407-dvo";
220 reg-names = "dvo-reg";
221 clock-names = "dvo_pix", "dvo",
/openbmc/u-boot/arch/arm/dts/
H A Dstih410.dtsi286 sti-dvo@8d00400 {
287 compatible = "st,stih407-dvo";
290 reg-names = "dvo-reg";
292 "dvo",
H A Dstih407-clock.dtsi280 "clk-pix-dvo",
281 "clk-dvo",
H A Dstih410-clock.dtsi301 "clk-pix-dvo",
302 "clk-dvo",
H A Dstih407-pinctrl.dtsi1029 dvo {
1030 pinctrl_dvo: dvo {
/openbmc/linux/drivers/video/fbdev/intelfb/
H A Dintelfbhw.c282 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 …]
H A Dintelfbdrv.c478 int i, err, dvo; in intelfb_pci_register() local
779 dvo = intelfbhw_check_non_crt(dinfo); in intelfb_pci_register()
780 if (dvo) { in intelfb_pci_register()
784 while (dvo) { in intelfb_pci_register()
785 if (dvo & 1) { in intelfb_pci_register()
790 dvo >>= 1; in intelfb_pci_register()
H A Dintelfbhw.h565 extern const char *intelfbhw_dvo_to_string(int dvo);
/openbmc/linux/arch/arm/boot/dts/nuvoton/
H A Dnuvoton-wpcm450.dtsi263 groups = "dvo";
268 groups = "dvo";
/openbmc/linux/drivers/gpu/drm/amd/amdgpu/
H A Datombios_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()
/openbmc/linux/drivers/gpu/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()
/openbmc/qemu/tests/data/qobject/
H A Dqdict.txt4966 dvo.h: 4860