Home
last modified time | relevance | path

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

/linux/drivers/gpu/drm/sti/
H A Dsti_dvo.c76 * @regs: dvo registers
77 * @clk_pix: pixel clock for dvo
78 * @clk: clock for dvo
79 * @clk_main_parent: dvo parent clock if main path used
80 * @clk_aux_parent: dvo parent clock if aux path used
82 * @panel: reference to the panel connected to the dvo
83 * @enabled: true if dvo is enabled else false
106 struct sti_dvo *dvo; member
113 static int dvo_awg_generate_code(struct sti_dvo *dvo, u8 *ram_size, u32 *ram_code) in dvo_awg_generate_code() argument
115 struct drm_display_mode *mode = &dvo in dvo_awg_generate_code()
149 dvo_awg_configure(struct sti_dvo * dvo,u32 * awg_ram_code,int nb) dvo_awg_configure() argument
183 struct sti_dvo *dvo = (struct sti_dvo *)node->info_ent->data; dvo_dbg_show() local
200 dvo_debugfs_init(struct sti_dvo * dvo,struct drm_minor * minor) dvo_debugfs_init() argument
214 struct sti_dvo *dvo = bridge->driver_private; sti_dvo_disable() local
237 struct sti_dvo *dvo = bridge->driver_private; sti_dvo_pre_enable() local
284 struct sti_dvo *dvo = bridge->driver_private; sti_dvo_set_mode() local
340 struct sti_dvo *dvo = dvo_connector->dvo; sti_dvo_connector_get_modes() local
360 struct sti_dvo *dvo = dvo_connector->dvo; sti_dvo_connector_mode_valid() local
386 struct sti_dvo *dvo = dvo_connector->dvo; sti_dvo_connector_detect() local
406 struct sti_dvo *dvo = dvo_connector->dvo; sti_dvo_late_register() local
437 struct sti_dvo *dvo = dev_get_drvdata(dev); sti_dvo_bind() local
493 struct sti_dvo *dvo = dev_get_drvdata(dev); sti_dvo_unbind() local
506 struct sti_dvo *dvo; sti_dvo_probe() local
[all...]
H A Dsti_tvout.c119 struct drm_encoder *dvo; member
307 /* Select the input sync for dvo */ in tvout_dvo_start()
316 /* Select the input sync for dvo */ in tvout_dvo_start()
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()
[all...]
/linux/drivers/gpu/drm/i915/display/
H A Ddvo_ivch.c188 static void ivch_dump_regs(struct intel_dvo_device *dvo);
194 static bool ivch_read(struct intel_dvo_device *dvo, int addr, u16 *data) in ivch_read() argument
196 struct ivch_priv *priv = dvo->dev_priv; in ivch_read()
197 struct i2c_adapter *adapter = dvo->i2c_bus; in ivch_read()
203 .addr = dvo->target_addr, in ivch_read()
214 .addr = dvo->target_addr, in ivch_read()
231 addr, adapter->name, dvo->target_addr); in ivch_read()
237 static bool ivch_write(struct intel_dvo_device *dvo, int addr, u16 data) in ivch_write() argument
239 struct ivch_priv *priv = dvo->dev_priv; in ivch_write()
240 struct i2c_adapter *adapter = dvo in ivch_write()
265 ivch_init(struct intel_dvo_device * dvo,struct i2c_adapter * adapter) ivch_init() argument
313 ivch_detect(struct intel_dvo_device * dvo) ivch_detect() argument
318 ivch_mode_valid(struct intel_dvo_device * dvo,const struct drm_display_mode * mode) ivch_mode_valid() argument
331 ivch_reset(struct intel_dvo_device * dvo) ivch_reset() argument
345 ivch_dpms(struct intel_dvo_device * dvo,bool enable) ivch_dpms() argument
383 ivch_get_hw_state(struct intel_dvo_device * dvo) ivch_get_hw_state() argument
399 ivch_mode_set(struct intel_dvo_device * dvo,const struct drm_display_mode * mode,const struct drm_display_mode * adjusted_mode) ivch_mode_set() argument
442 ivch_dump_regs(struct intel_dvo_device * dvo) ivch_dump_regs() argument
486 ivch_destroy(struct intel_dvo_device * dvo) ivch_destroy() argument
[all...]
H A Ddvo_tfp410.c96 static bool tfp410_readb(struct intel_dvo_device *dvo, int addr, u8 *ch) in tfp410_readb() argument
98 struct tfp410_priv *tfp = dvo->dev_priv; in tfp410_readb()
99 struct i2c_adapter *adapter = dvo->i2c_bus; in tfp410_readb()
105 .addr = dvo->target_addr, in tfp410_readb()
111 .addr = dvo->target_addr, in tfp410_readb()
128 addr, adapter->name, dvo->target_addr); in tfp410_readb()
133 static bool tfp410_writeb(struct intel_dvo_device *dvo, int addr, u8 ch) in tfp410_writeb() argument
135 struct tfp410_priv *tfp = dvo->dev_priv; in tfp410_writeb()
136 struct i2c_adapter *adapter = dvo->i2c_bus; in tfp410_writeb()
139 .addr = dvo in tfp410_writeb()
159 tfp410_getid(struct intel_dvo_device * dvo,int addr) tfp410_getid() argument
171 tfp410_init(struct intel_dvo_device * dvo,struct i2c_adapter * adapter) tfp410_init() argument
206 tfp410_detect(struct intel_dvo_device * dvo) tfp410_detect() argument
221 tfp410_mode_valid(struct intel_dvo_device * dvo,const struct drm_display_mode * mode) tfp410_mode_valid() argument
227 tfp410_mode_set(struct intel_dvo_device * dvo,const struct drm_display_mode * mode,const struct drm_display_mode * adjusted_mode) tfp410_mode_set() argument
240 tfp410_dpms(struct intel_dvo_device * dvo,bool enable) tfp410_dpms() argument
255 tfp410_get_hw_state(struct intel_dvo_device * dvo) tfp410_get_hw_state() argument
268 tfp410_dump_regs(struct intel_dvo_device * dvo) tfp410_dump_regs() argument
302 tfp410_destroy(struct intel_dvo_device * dvo) tfp410_destroy() argument
[all...]
H A Ddvo_sil164.c75 static bool sil164_readb(struct intel_dvo_device *dvo, int addr, u8 *ch) in sil164_readb() argument
77 struct sil164_priv *sil = dvo->dev_priv; in sil164_readb()
78 struct i2c_adapter *adapter = dvo->i2c_bus; in sil164_readb()
84 .addr = dvo->target_addr, in sil164_readb()
90 .addr = dvo->target_addr, in sil164_readb()
107 addr, adapter->name, dvo->target_addr); in sil164_readb()
112 static bool sil164_writeb(struct intel_dvo_device *dvo, int addr, u8 ch) in sil164_writeb() argument
114 struct sil164_priv *sil = dvo->dev_priv; in sil164_writeb()
115 struct i2c_adapter *adapter = dvo->i2c_bus; in sil164_writeb()
118 .addr = dvo in sil164_writeb()
139 sil164_init(struct intel_dvo_device * dvo,struct i2c_adapter * adapter) sil164_init() argument
181 sil164_detect(struct intel_dvo_device * dvo) sil164_detect() argument
193 sil164_mode_valid(struct intel_dvo_device * dvo,const struct drm_display_mode * mode) sil164_mode_valid() argument
199 sil164_mode_set(struct intel_dvo_device * dvo,const struct drm_display_mode * mode,const struct drm_display_mode * adjusted_mode) sil164_mode_set() argument
224 sil164_dpms(struct intel_dvo_device * dvo,bool enable) sil164_dpms() argument
241 sil164_get_hw_state(struct intel_dvo_device * dvo) sil164_get_hw_state() argument
256 sil164_dump_regs(struct intel_dvo_device * dvo) sil164_dump_regs() argument
272 sil164_destroy(struct intel_dvo_device * dvo) sil164_destroy() argument
[all...]
H A Ddvo_ch7xxx.c149 static bool ch7xxx_readb(struct intel_dvo_device *dvo, int addr, u8 *ch) in ch7xxx_readb() argument
151 struct ch7xxx_priv *ch7xxx = dvo->dev_priv; in ch7xxx_readb()
152 struct i2c_adapter *adapter = dvo->i2c_bus; in ch7xxx_readb()
158 .addr = dvo->target_addr, in ch7xxx_readb()
164 .addr = dvo->target_addr, in ch7xxx_readb()
181 addr, adapter->name, dvo->target_addr); in ch7xxx_readb()
187 static bool ch7xxx_writeb(struct intel_dvo_device *dvo, int addr, u8 ch) in ch7xxx_writeb() argument
189 struct ch7xxx_priv *ch7xxx = dvo->dev_priv; in ch7xxx_writeb()
190 struct i2c_adapter *adapter = dvo->i2c_bus; in ch7xxx_writeb()
193 .addr = dvo in ch7xxx_writeb()
213 ch7xxx_init(struct intel_dvo_device * dvo,struct i2c_adapter * adapter) ch7xxx_init() argument
259 ch7xxx_detect(struct intel_dvo_device * dvo) ch7xxx_detect() argument
280 ch7xxx_mode_valid(struct intel_dvo_device * dvo,const struct drm_display_mode * mode) ch7xxx_mode_valid() argument
289 ch7xxx_mode_set(struct intel_dvo_device * dvo,const struct drm_display_mode * mode,const struct drm_display_mode * adjusted_mode) ch7xxx_mode_set() argument
335 ch7xxx_dpms(struct intel_dvo_device * dvo,bool enable) ch7xxx_dpms() argument
343 ch7xxx_get_hw_state(struct intel_dvo_device * dvo) ch7xxx_get_hw_state() argument
355 ch7xxx_dump_regs(struct intel_dvo_device * dvo) ch7xxx_dump_regs() argument
368 ch7xxx_destroy(struct intel_dvo_device * dvo) ch7xxx_destroy() argument
[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->target_addr, in ns2501_readb()
408 .addr = dvo->target_addr, in ns2501_readb()
426 adapter->name, dvo->target_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 in ns2501_writeb()
472 ns2501_init(struct intel_dvo_device * dvo,struct i2c_adapter * adapter) ns2501_init() argument
515 ns2501_detect(struct intel_dvo_device * dvo) ns2501_detect() argument
527 ns2501_mode_valid(struct intel_dvo_device * dvo,const struct drm_display_mode * mode) ns2501_mode_valid() argument
549 ns2501_mode_set(struct intel_dvo_device * dvo,const struct drm_display_mode * mode,const struct drm_display_mode * adjusted_mode) ns2501_mode_set() argument
645 ns2501_get_hw_state(struct intel_dvo_device * dvo) ns2501_get_hw_state() argument
656 ns2501_dpms(struct intel_dvo_device * dvo,bool enable) ns2501_dpms() argument
692 ns2501_destroy(struct intel_dvo_device * dvo) ns2501_destroy() argument
[all...]
H A Ddvo_ch7017.c168 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) in ch7017_read() argument
175 .addr = dvo->target_addr, in ch7017_read()
181 .addr = dvo->target_addr, in ch7017_read()
187 return i2c_transfer(dvo->i2c_bus, msgs, 2) == 2; in ch7017_read()
190 static bool ch7017_write(struct intel_dvo_device *dvo, u8 addr, u8 val) in ch7017_write() argument
194 .addr = dvo->target_addr, in ch7017_write()
199 return i2c_transfer(dvo->i2c_bus, &msg, 1) == 1; in ch7017_write()
203 static bool ch7017_init(struct intel_dvo_device *dvo, in ch7017_init() argument
246 ch7017_detect(struct intel_dvo_device * dvo) ch7017_detect() argument
251 ch7017_mode_valid(struct intel_dvo_device * dvo,const struct drm_display_mode * mode) ch7017_mode_valid() argument
260 ch7017_mode_set(struct intel_dvo_device * dvo,const struct drm_display_mode * mode,const struct drm_display_mode * adjusted_mode) ch7017_mode_set() argument
337 ch7017_dpms(struct intel_dvo_device * dvo,bool enable) ch7017_dpms() argument
365 ch7017_get_hw_state(struct intel_dvo_device * dvo) ch7017_get_hw_state() argument
377 ch7017_dump_regs(struct intel_dvo_device * dvo) ch7017_dump_regs() argument
398 ch7017_destroy(struct intel_dvo_device * dvo) ch7017_destroy() argument
[all...]
H A Dintel_dvo_dev.h53 bool (*init)(struct intel_dvo_device *dvo,
59 * Because none of our dvo drivers support an intermediate power levels,
62 void (*dpms)(struct intel_dvo_device *dvo, bool enable);
73 enum drm_mode_status (*mode_valid)(struct intel_dvo_device *dvo,
83 void (*mode_set)(struct intel_dvo_device *dvo,
90 enum drm_connector_status (*detect)(struct intel_dvo_device *dvo);
101 void (*destroy) (struct intel_dvo_device *dvo);
106 void (*dump_regs)(struct intel_dvo_device *dvo);
H A Dintel_dvo.c389 static int intel_dvo_encoder_type(const struct intel_dvo_device *dvo) in intel_dvo_encoder_type() argument
391 switch (dvo->type) { in intel_dvo_encoder_type()
398 MISSING_CASE(dvo->type); in intel_dvo_encoder_type()
403 static int intel_dvo_connector_type(const struct intel_dvo_device *dvo) in intel_dvo_connector_type() argument
405 switch (dvo->type) { in intel_dvo_connector_type()
412 MISSING_CASE(dvo->type); in intel_dvo_connector_type()
419 const struct intel_dvo_device *dvo) in intel_dvo_init_dev() argument
432 if (intel_gmbus_is_valid_pin(display, dvo->gpio)) in intel_dvo_init_dev()
433 gpio = dvo->gpio; in intel_dvo_init_dev()
434 else if (dvo in intel_dvo_init_dev()
[all...]
/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",
/linux/arch/arm/boot/dts/nuvoton/
H A Dnuvoton-wpcm450.dtsi263 groups = "dvo";
268 groups = "dvo";
/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()