| /kernel/linux/linux-5.10/drivers/gpu/drm/sti/ |
| D | sti_dvo.c | 25 /* DVO registers */ 75 * @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 [all …]
|
| D | sti_tvout.c | 119 struct drm_encoder *dvo; member 292 * Start VIP block for DVO output 306 DRM_DEBUG_DRIVER("main vip for DVO\n"); in tvout_dvo_start() 307 /* Select the input sync for dvo */ in tvout_dvo_start() 315 DRM_DEBUG_DRIVER("aux vip for DVO\n"); in tvout_dvo_start() 316 /* Select the input sync for dvo */ in tvout_dvo_start() 517 seq_puts(s, "\n\n DVO encoder: "); in tvout_dbg_show() 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() [all …]
|
| D | NOTES | 14 - The HDMI / DVO / HD Analog / SD analog IP builds the video signals 15 - DVO (Digital Video Output) handles a 24bits parallel signal 25 GPU >-------------+Cursor | | +---+ DVO +--> 24b// 45 - The Bridges/Connectors are mapped to the HDMI / DVO / HD Analog / SD analog 53 | |Cursor | | | +-> | | DVO | <-+
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/sti/ |
| D | sti_dvo.c | 25 /* DVO registers */ 75 * @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 [all …]
|
| D | sti_tvout.c | 119 struct drm_encoder *dvo; member 292 * tvout_dvo_start - Start VIP block for DVO output 306 DRM_DEBUG_DRIVER("main vip for DVO\n"); in tvout_dvo_start() 307 /* Select the input sync for dvo */ in tvout_dvo_start() 315 DRM_DEBUG_DRIVER("aux vip for DVO\n"); in tvout_dvo_start() 316 /* Select the input sync for dvo */ in tvout_dvo_start() 517 seq_puts(s, "\n\n DVO encoder: "); in tvout_dbg_show() 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() [all …]
|
| D | NOTES | 14 - The HDMI / DVO / HD Analog / SD analog IP builds the video signals 15 - DVO (Digital Video Output) handles a 24bits parallel signal 25 GPU >-------------+Cursor | | +---+ DVO +--> 24b// 45 - The Bridges/Connectors are mapped to the HDMI / DVO / HD Analog / SD analog 53 | |Cursor | | | +-> | | DVO | <-+
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/i915/display/ |
| D | dvo_tfp410.c | 94 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 …]
|
| D | dvo_ivch.c | 63 /* Enables the DVO repeater. */ 65 /* Enables the DVO clock */ 160 /* Some Bios implementations do not restore the DVO state upon 186 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() [all …]
|
| D | dvo_ch7xxx.c | 85 * driver for the Chrontel 7xxx DVI chip over DVO. 136 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() [all …]
|
| D | dvo_sil164.c | 69 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->slave_addr, in sil164_writeb() [all …]
|
| D | dvo_ch7017.c | 166 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 …]
|
| D | dvo_ns2501.c | 70 * Register c0 controls how the DVO synchronizes with 74 #define NS2501_C0_ENABLE (1<<0) /* enable the DVO sync in general */ 87 * this register controls the dithering of the DVO 161 * backlight and the DVO output. To enable the corresponding 164 #define NS2501_REG34 0x34 /* DVO enable functions, first register */ 165 #define NS2501_REG35 0x35 /* DVO enable functions, second register */ 166 #define NS2501_34_ENABLE_OUTPUT (1<<0) /* enable DVO output */ 201 * the DVO, given a specific output configuration. 226 * DVO configuration values, partially based on what the BIOS 294 * Fujitsu S6010 in the DVO control registers. Their [all …]
|
| D | intel_dvo_dev.h | 52 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 …]
|
| D | intel_dvo.c | 391 * Other chips with DVO LVDS will need to extend this to deal with the LVDS 452 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() 488 * ns2501 requires the DVO 2x clock before it will in intel_dvo_init() 499 dvoinit = dvo->dev_ops->init(&intel_dvo->dev, i2c); in intel_dvo_init() 501 /* restore the DVO 2x clock state to original */ in intel_dvo_init() 511 port = intel_dvo_port(dvo->dvo_reg); in intel_dvo_init() [all …]
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/i915/display/ |
| D | dvo_tfp410.c | 94 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 …]
|
| D | dvo_ivch.c | 63 /* Enables the DVO repeater. */ 65 /* Enables the DVO clock */ 160 /* Some Bios implementations do not restore the DVO state upon 186 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() [all …]
|
| D | dvo_ch7xxx.c | 96 * driver for the Chrontel 7xxx DVI chip over DVO. 147 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() [all …]
|
| D | dvo_sil164.c | 73 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 …]
|
| D | dvo_ch7017.c | 166 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 …]
|
| D | dvo_ns2501.c | 70 * Register c0 controls how the DVO synchronizes with 74 #define NS2501_C0_ENABLE (1<<0) /* enable the DVO sync in general */ 87 * this register controls the dithering of the DVO 161 * backlight and the DVO output. To enable the corresponding 164 #define NS2501_REG34 0x34 /* DVO enable functions, first register */ 165 #define NS2501_REG35 0x35 /* DVO enable functions, second register */ 166 #define NS2501_34_ENABLE_OUTPUT (1<<0) /* enable DVO output */ 201 * the DVO, given a specific output configuration. 226 * DVO configuration values, partially based on what the BIOS 294 * Fujitsu S6010 in the DVO control registers. Their [all …]
|
| D | intel_dvo_dev.h | 53 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 …]
|
| D | intel_dvo.c | 135 tmp = intel_de_read(i915, DVO(port)); in intel_dvo_connector_get_hw_state() 150 tmp = intel_de_read(i915, DVO(port)); in intel_dvo_get_hw_state() 166 tmp = intel_de_read(i915, DVO(port)); in intel_dvo_get_config() 192 intel_de_rmw(i915, DVO(port), DVO_ENABLE, 0); in intel_disable_dvo() 193 intel_de_posting_read(i915, DVO(port)); in intel_disable_dvo() 209 intel_de_rmw(i915, DVO(port), 0, DVO_ENABLE); in intel_enable_dvo() 210 intel_de_posting_read(i915, DVO(port)); in intel_enable_dvo() 299 dvo_val = intel_de_read(i915, DVO(port)) & in intel_dvo_pre_enable() 315 intel_de_write(i915, DVO(port), dvo_val); in intel_dvo_pre_enable() 383 static int intel_dvo_encoder_type(const struct intel_dvo_device *dvo) in intel_dvo_encoder_type() argument [all …]
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/ast/ |
| D | ast_dp501.c | 359 /* Init SCU DVO Settings */ in ast_init_dvo() 368 /* multi-pins for DVO single-edge */ in ast_init_dvo() 373 /* multi-pins for DVO single-edge */ in ast_init_dvo() 378 /* multi-pins for DVO single-edge */ in ast_init_dvo() 384 /* multi-pins for DVO single-edge */ in ast_init_dvo() 389 /* multi-pins for DVO single-edge */ in ast_init_dvo() 394 /* multi-pins for DVO single-edge */ in ast_init_dvo() 399 /* multi-pins for DVO single-edge */ in ast_init_dvo() 404 /* multi-pins for DVO single-edge */ in ast_init_dvo() 410 /* Force to DVO */ in ast_init_dvo() [all …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/ast/ |
| D | ast_dp501.c | 404 /* Init SCU DVO Settings */ in ast_init_dvo() 413 /* multi-pins for DVO single-edge */ in ast_init_dvo() 418 /* multi-pins for DVO single-edge */ in ast_init_dvo() 423 /* multi-pins for DVO single-edge */ in ast_init_dvo() 429 /* multi-pins for DVO single-edge */ in ast_init_dvo() 434 /* multi-pins for DVO single-edge */ in ast_init_dvo() 439 /* multi-pins for DVO single-edge */ in ast_init_dvo() 444 /* multi-pins for DVO single-edge */ in ast_init_dvo() 449 /* multi-pins for DVO single-edge */ in ast_init_dvo() 455 /* Force to DVO */ in ast_init_dvo() [all …]
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/loongson/ |
| D | lsdc_output_7a1000.c | 14 * The display controller in the LS7A1000 exports two DVO interfaces, thus 35 * Currently, we assume the external encoders connected to the DVO are 36 * transparent. Loongson's DVO interface can directly drive RGB888 panels. 126 /* DVO */ in ls7a1000_pipe1_encoder_reset() 165 drm_info(ddev, "display pipe-%u has a DVO\n", index); in ls7a1000_output_init()
|