/Linux-v4.19/drivers/gpu/drm/panel/ |
D | panel-lvds.c | 56 struct panel_lvds *lvds = to_panel_lvds(panel); in panel_lvds_disable() local 58 if (lvds->backlight) { in panel_lvds_disable() 59 lvds->backlight->props.power = FB_BLANK_POWERDOWN; in panel_lvds_disable() 60 lvds->backlight->props.state |= BL_CORE_FBBLANK; in panel_lvds_disable() 61 backlight_update_status(lvds->backlight); in panel_lvds_disable() 69 struct panel_lvds *lvds = to_panel_lvds(panel); in panel_lvds_unprepare() local 71 if (lvds->enable_gpio) in panel_lvds_unprepare() 72 gpiod_set_value_cansleep(lvds->enable_gpio, 0); in panel_lvds_unprepare() 74 if (lvds->supply) in panel_lvds_unprepare() 75 regulator_disable(lvds->supply); in panel_lvds_unprepare() [all …]
|
/Linux-v4.19/drivers/gpu/drm/rockchip/ |
D | rockchip_lvds.c | 77 static inline void lvds_writel(struct rockchip_lvds *lvds, u32 offset, u32 val) in lvds_writel() argument 79 writel_relaxed(val, lvds->regs + offset); in lvds_writel() 80 if (lvds->output == DISPLAY_OUTPUT_LVDS) in lvds_writel() 82 writel_relaxed(val, lvds->regs + offset + lvds->soc_data->ch1_offset); in lvds_writel() 109 static int rockchip_lvds_poweron(struct rockchip_lvds *lvds) in rockchip_lvds_poweron() argument 114 ret = clk_enable(lvds->pclk); in rockchip_lvds_poweron() 116 DRM_DEV_ERROR(lvds->dev, "failed to enable lvds pclk %d\n", ret); in rockchip_lvds_poweron() 119 ret = pm_runtime_get_sync(lvds->dev); in rockchip_lvds_poweron() 121 DRM_DEV_ERROR(lvds->dev, "failed to get pm runtime: %d\n", ret); in rockchip_lvds_poweron() 122 clk_disable(lvds->pclk); in rockchip_lvds_poweron() [all …]
|
/Linux-v4.19/drivers/gpu/drm/rcar-du/ |
D | rcar_lvds.c | 68 static void rcar_lvds_write(struct rcar_lvds *lvds, u32 reg, u32 data) in rcar_lvds_write() argument 70 iowrite32(data, lvds->mmio + reg); in rcar_lvds_write() 79 struct rcar_lvds *lvds = connector_to_rcar_lvds(connector); in rcar_lvds_connector_get_modes() local 81 return drm_panel_get_modes(lvds->panel); in rcar_lvds_connector_get_modes() 87 struct rcar_lvds *lvds = connector_to_rcar_lvds(connector); in rcar_lvds_connector_atomic_check() local 95 dev_dbg(lvds->dev, "connector: empty modes list\n"); in rcar_lvds_connector_atomic_check() 160 struct rcar_lvds *lvds = bridge_to_rcar_lvds(bridge); in rcar_lvds_enable() local 161 const struct drm_display_mode *mode = &lvds->display_mode; in rcar_lvds_enable() 166 struct drm_crtc *crtc = lvds->bridge.encoder->crtc; in rcar_lvds_enable() 172 WARN_ON(lvds->enabled); in rcar_lvds_enable() [all …]
|
D | rcar_du_of.c | 105 RCAR_DU_OF_DTB(lvds, r8a7790); 106 RCAR_DU_OF_DTB(lvds, r8a7791); 107 RCAR_DU_OF_DTB(lvds, r8a7793); 108 RCAR_DU_OF_DTB(lvds, r8a7795); 109 RCAR_DU_OF_DTB(lvds, r8a7796); 112 RCAR_DU_OF_OVERLAY(lvds, r8a7790), 113 RCAR_DU_OF_OVERLAY(lvds, r8a7791), 114 RCAR_DU_OF_OVERLAY(lvds, r8a7793), 115 RCAR_DU_OF_OVERLAY(lvds, r8a7795), 116 RCAR_DU_OF_OVERLAY(lvds, r8a7796), [all …]
|
D | rcar_du_of_lvds_r8a7790.dts | 17 lvds@feb90000 { 18 compatible = "renesas,r8a7790-lvds"; 38 lvds@feb94000 { 39 compatible = "renesas,r8a7790-lvds";
|
D | rcar_du_of_lvds_r8a7793.dts | 17 lvds@feb90000 { 18 compatible = "renesas,r8a7793-lvds";
|
D | rcar_du_of_lvds_r8a7791.dts | 17 lvds@feb90000 { 18 compatible = "renesas,r8a7791-lvds";
|
D | rcar_du_of_lvds_r8a7795.dts | 17 lvds@feb90000 { 18 compatible = "renesas,r8a7795-lvds";
|
D | rcar_du_of_lvds_r8a7796.dts | 17 lvds@feb90000 { 18 compatible = "renesas,r8a7796-lvds";
|
/Linux-v4.19/drivers/gpu/drm/sun4i/ |
D | sun4i_lvds.c | 42 struct sun4i_lvds *lvds = in sun4i_lvds_get_modes() local 44 struct sun4i_tcon *tcon = lvds->tcon; in sun4i_lvds_get_modes() 56 struct sun4i_lvds *lvds = drm_connector_to_sun4i_lvds(connector); in sun4i_lvds_connector_destroy() local 57 struct sun4i_tcon *tcon = lvds->tcon; in sun4i_lvds_connector_destroy() 73 struct sun4i_lvds *lvds = drm_encoder_to_sun4i_lvds(encoder); in sun4i_lvds_encoder_enable() local 74 struct sun4i_tcon *tcon = lvds->tcon; in sun4i_lvds_encoder_enable() 86 struct sun4i_lvds *lvds = drm_encoder_to_sun4i_lvds(encoder); in sun4i_lvds_encoder_disable() local 87 struct sun4i_tcon *tcon = lvds->tcon; in sun4i_lvds_encoder_disable() 110 struct sun4i_lvds *lvds; in sun4i_lvds_init() local 113 lvds = devm_kzalloc(drm->dev, sizeof(*lvds), GFP_KERNEL); in sun4i_lvds_init() [all …]
|
/Linux-v4.19/Documentation/devicetree/bindings/display/bridge/ |
D | renesas,lvds.txt | 10 - "renesas,r8a7743-lvds" for R8A7743 (RZ/G1M) compatible LVDS encoders 11 - "renesas,r8a7790-lvds" for R8A7790 (R-Car H2) compatible LVDS encoders 12 - "renesas,r8a7791-lvds" for R8A7791 (R-Car M2-W) compatible LVDS encoders 13 - "renesas,r8a7793-lvds" for R8A7793 (R-Car M2-N) compatible LVDS encoders 14 - "renesas,r8a7795-lvds" for R8A7795 (R-Car H3) compatible LVDS encoders 15 - "renesas,r8a7796-lvds" for R8A7796 (R-Car M3-W) compatible LVDS encoders 16 - "renesas,r8a77970-lvds" for R8A77970 (R-Car V3M) compatible LVDS encoders 17 - "renesas,r8a77995-lvds" for R8A77995 (R-Car D3) compatible LVDS encoders 36 lvds0: lvds@feb90000 { 37 compatible = "renesas,r8a7790-lvds";
|
D | lvds-transmitter.txt | 25 - compatible: Must be "lvds-encoder" 39 lvds-encoder { 40 compatible = "lvds-encoder";
|
/Linux-v4.19/Documentation/devicetree/bindings/display/rockchip/ |
D | rockchip-lvds.txt | 6 - "rockchip,rk3288-lvds"; 19 - rockchip,output: "rgb", "lvds" or "duallvds", This describes the output interface 27 The lvds has two video ports as described by 35 the lvds panel described by 44 Documentation/devicetree/bindings/display/panel/panel-lvds.txt 48 lvds_panel: lvds-panel { 62 lvds: lvds@ff96c000 { 63 compatible = "rockchip,rk3288-lvds";
|
/Linux-v4.19/drivers/gpu/drm/radeon/ |
D | radeon_combios.c | 1103 struct radeon_encoder_lvds *lvds = NULL; in radeon_legacy_get_lvds_info_from_regs() local 1108 lvds = kzalloc(sizeof(struct radeon_encoder_lvds), GFP_KERNEL); in radeon_legacy_get_lvds_info_from_regs() 1110 if (!lvds) in radeon_legacy_get_lvds_info_from_regs() 1117 lvds->panel_pwr_delay = 200; in radeon_legacy_get_lvds_info_from_regs() 1118 lvds->panel_vcc_delay = 2000; in radeon_legacy_get_lvds_info_from_regs() 1120 lvds->lvds_gen_cntl = RREG32(RADEON_LVDS_GEN_CNTL); in radeon_legacy_get_lvds_info_from_regs() 1121 lvds->panel_digon_delay = (lvds_ss_gen_cntl >> RADEON_LVDS_PWRSEQ_DELAY1_SHIFT) & 0xf; in radeon_legacy_get_lvds_info_from_regs() 1122 lvds->panel_blon_delay = (lvds_ss_gen_cntl >> RADEON_LVDS_PWRSEQ_DELAY2_SHIFT) & 0xf; in radeon_legacy_get_lvds_info_from_regs() 1125 lvds->native_mode.vdisplay = in radeon_legacy_get_lvds_info_from_regs() 1129 lvds->native_mode.vdisplay = in radeon_legacy_get_lvds_info_from_regs() [all …]
|
D | radeon_legacy_encoders.c | 63 struct radeon_encoder_atom_dig *lvds = radeon_encoder->enc_priv; in radeon_legacy_lvds_update() local 64 panel_pwr_delay = lvds->panel_pwr_delay; in radeon_legacy_lvds_update() 65 if (lvds->bl_dev) in radeon_legacy_lvds_update() 66 backlight_level = lvds->backlight_level; in radeon_legacy_lvds_update() 68 struct radeon_encoder_lvds *lvds = radeon_encoder->enc_priv; in radeon_legacy_lvds_update() local 69 panel_pwr_delay = lvds->panel_pwr_delay; in radeon_legacy_lvds_update() 70 if (lvds->bl_dev) in radeon_legacy_lvds_update() 71 backlight_level = lvds->backlight_level; in radeon_legacy_lvds_update() 144 struct radeon_encoder_atom_dig *lvds = radeon_encoder->enc_priv; in radeon_legacy_lvds_dpms() local 145 lvds->dpms_mode = mode; in radeon_legacy_lvds_dpms() [all …]
|
/Linux-v4.19/drivers/gpu/drm/amd/display/dc/bios/ |
D | bios_parser.c | 1578 ATOM_LVDS_INFO_V12 *lvds; in get_embedded_panel_info_v1_2() local 1586 lvds = in get_embedded_panel_info_v1_2() 1589 if (!lvds) in get_embedded_panel_info_v1_2() 1592 if (1 != lvds->sHeader.ucTableFormatRevision in get_embedded_panel_info_v1_2() 1593 || 2 > lvds->sHeader.ucTableContentRevision) in get_embedded_panel_info_v1_2() 1600 le16_to_cpu(lvds->sLCDTiming.usPixClk) * 10; in get_embedded_panel_info_v1_2() 1603 le16_to_cpu(lvds->sLCDTiming.usHActive); in get_embedded_panel_info_v1_2() 1609 le16_to_cpu(lvds->sLCDTiming.usHBlanking_Time); in get_embedded_panel_info_v1_2() 1612 le16_to_cpu(lvds->sLCDTiming.usVActive); in get_embedded_panel_info_v1_2() 1618 le16_to_cpu(lvds->sLCDTiming.usVBlanking_Time); in get_embedded_panel_info_v1_2() [all …]
|
D | bios_parser2.c | 1003 struct lcd_info_v2_1 *lvds; in get_embedded_panel_info_v2_1() local 1011 lvds = GET_IMAGE(struct lcd_info_v2_1, DATA_TABLES(lcd_info)); in get_embedded_panel_info_v2_1() 1013 if (!lvds) in get_embedded_panel_info_v2_1() 1017 if (!((lvds->table_header.format_revision == 2) in get_embedded_panel_info_v2_1() 1018 && (lvds->table_header.content_revision >= 1))) in get_embedded_panel_info_v2_1() 1025 le16_to_cpu(lvds->lcd_timing.pixclk) * 10; in get_embedded_panel_info_v2_1() 1028 le16_to_cpu(lvds->lcd_timing.h_active); in get_embedded_panel_info_v2_1() 1035 le16_to_cpu(lvds->lcd_timing.h_blanking_time); in get_embedded_panel_info_v2_1() 1038 le16_to_cpu(lvds->lcd_timing.v_active); in get_embedded_panel_info_v2_1() 1045 le16_to_cpu(lvds->lcd_timing.v_blanking_time); in get_embedded_panel_info_v2_1() [all …]
|
/Linux-v4.19/Documentation/devicetree/bindings/display/panel/ |
D | sgd,gktw70sdae4se.txt | 6 These DT bindings follow the LVDS panel bindings defined in panel-lvds.txt 11 - compatible: Shall contain "sgd,gktw70sdae4se" and "panel-lvds", in that order. 17 compatible = "sgd,gktw70sdae4se", "panel-lvds";
|
D | mitsubishi,aa121td01.txt | 6 These DT bindings follow the LVDS panel bindings defined in panel-lvds.txt 12 - compatible: Shall contain "mitsubishi,aa121td01" and "panel-lvds", in that 21 compatible = "mitsubishi,aa121td01", "panel-lvds";
|
D | mitsubishi,aa104xd12.txt | 6 These DT bindings follow the LVDS panel bindings defined in panel-lvds.txt 12 - compatible: Shall contain "mitsubishi,aa121td01" and "panel-lvds", in that 21 compatible = "mitsubishi,aa104xd12", "panel-lvds";
|
/Linux-v4.19/drivers/gpu/drm/amd/amdgpu/ |
D | atombios_encoders.c | 2005 struct amdgpu_encoder_atom_dig *lvds = NULL; in amdgpu_atombios_encoder_get_lcd_info() local 2012 lvds = in amdgpu_atombios_encoder_get_lcd_info() 2015 if (!lvds) in amdgpu_atombios_encoder_get_lcd_info() 2018 lvds->native_mode.clock = in amdgpu_atombios_encoder_get_lcd_info() 2020 lvds->native_mode.hdisplay = in amdgpu_atombios_encoder_get_lcd_info() 2022 lvds->native_mode.vdisplay = in amdgpu_atombios_encoder_get_lcd_info() 2024 lvds->native_mode.htotal = lvds->native_mode.hdisplay + in amdgpu_atombios_encoder_get_lcd_info() 2026 lvds->native_mode.hsync_start = lvds->native_mode.hdisplay + in amdgpu_atombios_encoder_get_lcd_info() 2028 lvds->native_mode.hsync_end = lvds->native_mode.hsync_start + in amdgpu_atombios_encoder_get_lcd_info() 2030 lvds->native_mode.vtotal = lvds->native_mode.vdisplay + in amdgpu_atombios_encoder_get_lcd_info() [all …]
|
/Linux-v4.19/drivers/staging/xgifb/ |
D | vb_init.c | 880 struct XGI21_LVDSCapStruct *lvds; in xgifb_read_vbios() local 918 lvds = &xgifb_info->lvds_data; in xgifb_read_vbios() 921 lvds->LVDS_Capability = vbios[i] | (vbios[i + 1] << 8); in xgifb_read_vbios() 922 lvds->LVDSHT = vbios[i + 2] | (vbios[i + 3] << 8); in xgifb_read_vbios() 923 lvds->LVDSVT = vbios[i + 4] | (vbios[i + 5] << 8); in xgifb_read_vbios() 924 lvds->LVDSHDE = vbios[i + 6] | (vbios[i + 7] << 8); in xgifb_read_vbios() 925 lvds->LVDSVDE = vbios[i + 8] | (vbios[i + 9] << 8); in xgifb_read_vbios() 926 lvds->LVDSHFP = vbios[i + 10] | (vbios[i + 11] << 8); in xgifb_read_vbios() 927 lvds->LVDSVFP = vbios[i + 12] | (vbios[i + 13] << 8); in xgifb_read_vbios() 928 lvds->LVDSHSYNC = vbios[i + 14] | (vbios[i + 15] << 8); in xgifb_read_vbios() [all …]
|
/Linux-v4.19/Documentation/devicetree/bindings/display/imx/ |
D | ldb.txt | 6 The LVDS Display Bridge device tree node contains up to two lvds-channel 57 (lvds-channel@[0,1], respectively). 95 lvds-channel@0 { 118 lvds-channel@1 { 139 panel: lvds-panel {
|
/Linux-v4.19/drivers/gpu/drm/gma500/ |
D | psb_intel_display.c | 235 u32 lvds = REG_READ(LVDS); in psb_intel_crtc_mode_set() local 237 lvds &= ~LVDS_PIPEB_SELECT; in psb_intel_crtc_mode_set() 239 lvds |= LVDS_PIPEB_SELECT; in psb_intel_crtc_mode_set() 241 lvds |= LVDS_PORT_EN | LVDS_A0A2_CLKA_POWER_UP; in psb_intel_crtc_mode_set() 246 lvds &= ~(LVDS_B0B3_POWER_UP | LVDS_CLKB_POWER_UP); in psb_intel_crtc_mode_set() 248 lvds |= LVDS_B0B3_POWER_UP | LVDS_CLKB_POWER_UP; in psb_intel_crtc_mode_set() 255 REG_WRITE(LVDS, lvds); in psb_intel_crtc_mode_set()
|
/Linux-v4.19/arch/arm/boot/dts/ |
D | atlas7-evb.dts | 87 compatible = "lvds-panel"; 88 source = "lvds.0";
|