Home
last modified time | relevance | path

Searched refs:dvo (Results 1 - 25 of 30) sorted by relevance

12

/kernel/linux/linux-5.10/drivers/gpu/drm/sti/
H A Dsti_dvo.c75 * @regs: dvo registers
76 * @clk_pix: pixel clock for dvo
77 * @clk: clock for dvo
78 * @clk_main_parent: dvo parent clock if main path used
79 * @clk_aux_parent: dvo parent clock if aux path used
81 * @panel: reference to the panel connected to the dvo
82 * @enabled: true if dvo is enabled else false
105 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 in dvo_awg_generate_code()
148 dvo_awg_configure(struct sti_dvo *dvo, u32 *awg_ram_code, int nb) dvo_awg_configure() argument
182 struct sti_dvo *dvo = (struct sti_dvo *)node->info_ent->data; dvo_dbg_show() local
199 dvo_debugfs_init(struct sti_dvo *dvo, struct drm_minor *minor) dvo_debugfs_init() argument
213 struct sti_dvo *dvo = bridge->driver_private; sti_dvo_disable() local
236 struct sti_dvo *dvo = bridge->driver_private; sti_dvo_pre_enable() local
283 struct sti_dvo *dvo = bridge->driver_private; sti_dvo_set_mode() local
339 struct sti_dvo *dvo = dvo_connector->dvo; sti_dvo_connector_get_modes() local
359 struct sti_dvo *dvo = dvo_connector->dvo; sti_dvo_connector_mode_valid() local
385 struct sti_dvo *dvo = dvo_connector->dvo; sti_dvo_connector_detect() local
405 struct sti_dvo *dvo = dvo_connector->dvo; sti_dvo_late_register() local
436 struct sti_dvo *dvo = dev_get_drvdata(dev); sti_dvo_bind() local
501 struct sti_dvo *dvo = dev_get_drvdata(dev); sti_dvo_unbind() local
514 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...]
/kernel/linux/linux-6.6/drivers/gpu/drm/sti/
H A Dsti_dvo.c75 * @regs: dvo registers
76 * @clk_pix: pixel clock for dvo
77 * @clk: clock for dvo
78 * @clk_main_parent: dvo parent clock if main path used
79 * @clk_aux_parent: dvo parent clock if aux path used
81 * @panel: reference to the panel connected to the dvo
82 * @enabled: true if dvo is enabled else false
105 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 in dvo_awg_generate_code()
148 dvo_awg_configure(struct sti_dvo *dvo, u32 *awg_ram_code, int nb) dvo_awg_configure() argument
182 struct sti_dvo *dvo = (struct sti_dvo *)node->info_ent->data; dvo_dbg_show() local
199 dvo_debugfs_init(struct sti_dvo *dvo, struct drm_minor *minor) dvo_debugfs_init() argument
213 struct sti_dvo *dvo = bridge->driver_private; sti_dvo_disable() local
236 struct sti_dvo *dvo = bridge->driver_private; sti_dvo_pre_enable() local
283 struct sti_dvo *dvo = bridge->driver_private; sti_dvo_set_mode() local
339 struct sti_dvo *dvo = dvo_connector->dvo; sti_dvo_connector_get_modes() local
359 struct sti_dvo *dvo = dvo_connector->dvo; sti_dvo_connector_mode_valid() local
385 struct sti_dvo *dvo = dvo_connector->dvo; sti_dvo_connector_detect() local
405 struct sti_dvo *dvo = dvo_connector->dvo; sti_dvo_late_register() local
436 struct sti_dvo *dvo = dev_get_drvdata(dev); sti_dvo_bind() local
499 struct sti_dvo *dvo = dev_get_drvdata(dev); sti_dvo_unbind() local
512 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...]
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/display/
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 in tfp410_writeb()
157 tfp410_getid(struct intel_dvo_device *dvo, int addr) tfp410_getid() argument
169 tfp410_init(struct intel_dvo_device *dvo, struct i2c_adapter *adapter) tfp410_init() argument
204 tfp410_detect(struct intel_dvo_device *dvo) tfp410_detect() argument
219 tfp410_mode_valid(struct intel_dvo_device *dvo, struct drm_display_mode *mode) tfp410_mode_valid() argument
225 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
238 tfp410_dpms(struct intel_dvo_device *dvo, bool enable) tfp410_dpms() argument
253 tfp410_get_hw_state(struct intel_dvo_device *dvo) tfp410_get_hw_state() argument
266 tfp410_dump_regs(struct intel_dvo_device *dvo) tfp410_dump_regs() argument
300 tfp410_destroy(struct intel_dvo_device *dvo) tfp410_destroy() argument
[all...]
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 in ivch_write()
263 ivch_init(struct intel_dvo_device *dvo, struct i2c_adapter *adapter) ivch_init() argument
311 ivch_detect(struct intel_dvo_device *dvo) ivch_detect() argument
316 ivch_mode_valid(struct intel_dvo_device *dvo, struct drm_display_mode *mode) ivch_mode_valid() argument
329 ivch_reset(struct intel_dvo_device *dvo) ivch_reset() argument
343 ivch_dpms(struct intel_dvo_device *dvo, bool enable) ivch_dpms() argument
381 ivch_get_hw_state(struct intel_dvo_device *dvo) ivch_get_hw_state() argument
397 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
440 ivch_dump_regs(struct intel_dvo_device *dvo) ivch_dump_regs() argument
484 ivch_destroy(struct intel_dvo_device *dvo) ivch_destroy() argument
[all...]
H A Ddvo_sil164.c69 static bool sil164_readb(struct intel_dvo_device *dvo, int addr, u8 *ch) in sil164_readb() argument
71 struct sil164_priv *sil = dvo->dev_priv; in sil164_readb()
72 struct i2c_adapter *adapter = dvo->i2c_bus; in sil164_readb()
78 .addr = dvo->slave_addr, in sil164_readb()
84 .addr = dvo->slave_addr, in sil164_readb()
101 addr, adapter->name, dvo->slave_addr); in sil164_readb()
106 static bool sil164_writeb(struct intel_dvo_device *dvo, int addr, u8 ch) in sil164_writeb() argument
108 struct sil164_priv *sil = dvo->dev_priv; in sil164_writeb()
109 struct i2c_adapter *adapter = dvo->i2c_bus; in sil164_writeb()
112 .addr = dvo in sil164_writeb()
133 sil164_init(struct intel_dvo_device *dvo, struct i2c_adapter *adapter) sil164_init() argument
175 sil164_detect(struct intel_dvo_device *dvo) sil164_detect() argument
187 sil164_mode_valid(struct intel_dvo_device *dvo, struct drm_display_mode *mode) sil164_mode_valid() argument
193 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
212 sil164_dpms(struct intel_dvo_device *dvo, bool enable) sil164_dpms() argument
230 sil164_get_hw_state(struct intel_dvo_device *dvo) sil164_get_hw_state() argument
245 sil164_dump_regs(struct intel_dvo_device *dvo) sil164_dump_regs() argument
261 sil164_destroy(struct intel_dvo_device *dvo) sil164_destroy() argument
[all...]
H A Ddvo_ch7xxx.c136 static bool ch7xxx_readb(struct intel_dvo_device *dvo, int addr, u8 *ch) in ch7xxx_readb() argument
138 struct ch7xxx_priv *ch7xxx = dvo->dev_priv; in ch7xxx_readb()
139 struct i2c_adapter *adapter = dvo->i2c_bus; in ch7xxx_readb()
145 .addr = dvo->slave_addr, in ch7xxx_readb()
151 .addr = dvo->slave_addr, in ch7xxx_readb()
168 addr, adapter->name, dvo->slave_addr); in ch7xxx_readb()
174 static bool ch7xxx_writeb(struct intel_dvo_device *dvo, int addr, u8 ch) in ch7xxx_writeb() argument
176 struct ch7xxx_priv *ch7xxx = dvo->dev_priv; in ch7xxx_writeb()
177 struct i2c_adapter *adapter = dvo->i2c_bus; in ch7xxx_writeb()
180 .addr = dvo in ch7xxx_writeb()
200 ch7xxx_init(struct intel_dvo_device *dvo, struct i2c_adapter *adapter) ch7xxx_init() argument
246 ch7xxx_detect(struct intel_dvo_device *dvo) ch7xxx_detect() argument
267 ch7xxx_mode_valid(struct intel_dvo_device *dvo, struct drm_display_mode *mode) ch7xxx_mode_valid() argument
276 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
315 ch7xxx_dpms(struct intel_dvo_device *dvo, bool enable) ch7xxx_dpms() argument
323 ch7xxx_get_hw_state(struct intel_dvo_device *dvo) ch7xxx_get_hw_state() argument
335 ch7xxx_dump_regs(struct intel_dvo_device *dvo) ch7xxx_dump_regs() argument
348 ch7xxx_destroy(struct intel_dvo_device *dvo) ch7xxx_destroy() argument
[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
244 ch7017_detect(struct intel_dvo_device *dvo) ch7017_detect() argument
249 ch7017_mode_valid(struct intel_dvo_device *dvo, struct drm_display_mode *mode) ch7017_mode_valid() argument
258 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
335 ch7017_dpms(struct intel_dvo_device *dvo, bool enable) ch7017_dpms() argument
363 ch7017_get_hw_state(struct intel_dvo_device *dvo) ch7017_get_hw_state() argument
375 ch7017_dump_regs(struct intel_dvo_device *dvo) ch7017_dump_regs() argument
396 ch7017_destroy(struct intel_dvo_device *dvo) ch7017_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->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 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, 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 Dintel_dvo_dev.h52 bool (*init)(struct intel_dvo_device *dvo,
59 void (*create_resources)(struct intel_dvo_device *dvo);
64 * Because none of our dvo drivers support an intermediate power levels,
67 void (*dpms)(struct intel_dvo_device *dvo, bool enable);
78 int (*mode_valid)(struct intel_dvo_device *dvo,
84 void (*prepare)(struct intel_dvo_device *dvo);
89 void (*commit)(struct intel_dvo_device *dvo);
98 void (*mode_set)(struct intel_dvo_device *dvo,
105 enum drm_connector_status (*detect)(struct intel_dvo_device *dvo);
120 struct drm_display_mode *(*get_modes)(struct intel_dvo_device *dvo);
[all...]
H A Dintel_dvo.c452 const struct intel_dvo_device *dvo = &intel_dvo_devices[i]; in intel_dvo_init() local
465 if (intel_gmbus_is_valid_pin(dev_priv, dvo->gpio)) in intel_dvo_init()
466 gpio = dvo->gpio; in intel_dvo_init()
467 else if (dvo->type == INTEL_DVO_CHIP_LVDS) in intel_dvo_init()
479 intel_dvo->dev = *dvo; in intel_dvo_init()
499 dvoinit = dvo->dev_ops->init(&intel_dvo->dev, i2c); in intel_dvo_init()
511 port = intel_dvo_port(dvo->dvo_reg); in intel_dvo_init()
521 if (dvo->type != INTEL_DVO_CHIP_LVDS) in intel_dvo_init()
525 switch (dvo->type) { in intel_dvo_init()
550 if (dvo in intel_dvo_init()
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/display/
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 in tfp410_writeb()
157 tfp410_getid(struct intel_dvo_device *dvo, int addr) tfp410_getid() argument
169 tfp410_init(struct intel_dvo_device *dvo, struct i2c_adapter *adapter) tfp410_init() argument
204 tfp410_detect(struct intel_dvo_device *dvo) tfp410_detect() argument
219 tfp410_mode_valid(struct intel_dvo_device *dvo, struct drm_display_mode *mode) tfp410_mode_valid() argument
225 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
238 tfp410_dpms(struct intel_dvo_device *dvo, bool enable) tfp410_dpms() argument
253 tfp410_get_hw_state(struct intel_dvo_device *dvo) tfp410_get_hw_state() argument
266 tfp410_dump_regs(struct intel_dvo_device *dvo) tfp410_dump_regs() argument
300 tfp410_destroy(struct intel_dvo_device *dvo) tfp410_destroy() argument
[all...]
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 in ivch_write()
263 ivch_init(struct intel_dvo_device *dvo, struct i2c_adapter *adapter) ivch_init() argument
311 ivch_detect(struct intel_dvo_device *dvo) ivch_detect() argument
316 ivch_mode_valid(struct intel_dvo_device *dvo, struct drm_display_mode *mode) ivch_mode_valid() argument
329 ivch_reset(struct intel_dvo_device *dvo) ivch_reset() argument
343 ivch_dpms(struct intel_dvo_device *dvo, bool enable) ivch_dpms() argument
381 ivch_get_hw_state(struct intel_dvo_device *dvo) ivch_get_hw_state() argument
397 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
440 ivch_dump_regs(struct intel_dvo_device *dvo) ivch_dump_regs() argument
484 ivch_destroy(struct intel_dvo_device *dvo) ivch_destroy() argument
[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 in sil164_writeb()
137 sil164_init(struct intel_dvo_device *dvo, struct i2c_adapter *adapter) sil164_init() argument
179 sil164_detect(struct intel_dvo_device *dvo) sil164_detect() argument
191 sil164_mode_valid(struct intel_dvo_device *dvo, struct drm_display_mode *mode) sil164_mode_valid() argument
197 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
222 sil164_dpms(struct intel_dvo_device *dvo, bool enable) sil164_dpms() argument
239 sil164_get_hw_state(struct intel_dvo_device *dvo) sil164_get_hw_state() argument
254 sil164_dump_regs(struct intel_dvo_device *dvo) sil164_dump_regs() argument
270 sil164_destroy(struct intel_dvo_device *dvo) sil164_destroy() argument
[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 in ch7xxx_writeb()
211 ch7xxx_init(struct intel_dvo_device *dvo, struct i2c_adapter *adapter) ch7xxx_init() argument
257 ch7xxx_detect(struct intel_dvo_device *dvo) ch7xxx_detect() argument
278 ch7xxx_mode_valid(struct intel_dvo_device *dvo, struct drm_display_mode *mode) ch7xxx_mode_valid() argument
287 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
333 ch7xxx_dpms(struct intel_dvo_device *dvo, bool enable) ch7xxx_dpms() argument
341 ch7xxx_get_hw_state(struct intel_dvo_device *dvo) ch7xxx_get_hw_state() argument
353 ch7xxx_dump_regs(struct intel_dvo_device *dvo) ch7xxx_dump_regs() argument
366 ch7xxx_destroy(struct intel_dvo_device *dvo) ch7xxx_destroy() argument
[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
244 ch7017_detect(struct intel_dvo_device *dvo) ch7017_detect() argument
249 ch7017_mode_valid(struct intel_dvo_device *dvo, struct drm_display_mode *mode) ch7017_mode_valid() argument
258 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
335 ch7017_dpms(struct intel_dvo_device *dvo, bool enable) ch7017_dpms() argument
363 ch7017_get_hw_state(struct intel_dvo_device *dvo) ch7017_get_hw_state() argument
375 ch7017_dump_regs(struct intel_dvo_device *dvo) ch7017_dump_regs() argument
396 ch7017_destroy(struct intel_dvo_device *dvo) ch7017_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->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 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, 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 Dintel_dvo_dev.h53 bool (*init)(struct intel_dvo_device *dvo,
60 void (*create_resources)(struct intel_dvo_device *dvo);
65 * Because none of our dvo drivers support an intermediate power levels,
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);
[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()
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 in intel_dvo_init_dev()
411 intel_dvo_init_dev(struct drm_i915_private *dev_priv, struct intel_dvo *intel_dvo, const struct intel_dvo_device *dvo) intel_dvo_init_dev() argument
[all...]
/kernel/linux/linux-5.10/drivers/video/fbdev/intelfb/
H A Dintelfbhw.c284 int dvo = 0; in intelfbhw_check_non_crt() local
287 dvo |= LVDS_PORT; in intelfbhw_check_non_crt()
289 dvo |= DVOA_PORT; in intelfbhw_check_non_crt()
291 dvo |= DVOB_PORT; in intelfbhw_check_non_crt()
293 dvo |= DVOC_PORT; in intelfbhw_check_non_crt()
295 return dvo; in intelfbhw_check_non_crt()
298 const char * intelfbhw_dvo_to_string(int dvo) in intelfbhw_dvo_to_string() argument
300 if (dvo & DVOA_PORT) in intelfbhw_dvo_to_string()
302 else if (dvo & DVOB_PORT) in intelfbhw_dvo_to_string()
304 else if (dvo in intelfbhw_dvo_to_string()
[all...]
H A Dintelfbdrv.c474 int i, err, dvo; in intelfb_pci_register() local
771 dvo = intelfbhw_check_non_crt(dinfo); in intelfb_pci_register()
772 if (dvo) { in intelfb_pci_register()
776 while (dvo) { in intelfb_pci_register()
777 if (dvo & 1) { in intelfb_pci_register()
782 dvo >>= 1; in intelfb_pci_register()
/kernel/linux/linux-6.6/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 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()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/
H A Datombios_encoders.c376 DVO_ENCODER_CONTROL_PS_ALLOCATION dvo; member
410 args.dvo.sDVOEncoder.ucAction = action; in amdgpu_atombios_encoder_setup_dvo()
411 args.dvo.sDVOEncoder.usPixelClock = cpu_to_le16(amdgpu_encoder->pixel_clock / 10); in amdgpu_atombios_encoder_setup_dvo()
413 args.dvo.sDVOEncoder.ucDeviceType = ATOM_DEVICE_DFP1_INDEX; in amdgpu_atombios_encoder_setup_dvo()
416 args.dvo.sDVOEncoder.usDevAttr.sDigAttrib.ucAttribute |= PANEL_ENCODER_MISC_DUAL; in amdgpu_atombios_encoder_setup_dvo()

Completed in 22 milliseconds

12