/linux-4.1.27/drivers/gpu/drm/rcar-du/ |
D | rcar_du_lvdsenc.c | 36 static void rcar_lvds_write(struct rcar_du_lvdsenc *lvds, u32 reg, u32 data) in rcar_lvds_write() argument 38 iowrite32(data, lvds->mmio + reg); in rcar_lvds_write() 41 static int rcar_du_lvdsenc_start(struct rcar_du_lvdsenc *lvds, in rcar_du_lvdsenc_start() argument 51 if (lvds->enabled) in rcar_du_lvdsenc_start() 54 ret = clk_prepare_enable(lvds->clock); in rcar_du_lvdsenc_start() 68 rcar_lvds_write(lvds, LVDPLLCR, pllcr); in rcar_du_lvdsenc_start() 77 rcar_lvds_write(lvds, LVDCTRCR, LVDCTRCR_CTR3SEL_ZERO | in rcar_du_lvdsenc_start() 81 if (rcar_du_needs(lvds->dev, RCAR_DU_QUIRK_LVDS_LANES)) in rcar_du_lvdsenc_start() 88 rcar_lvds_write(lvds, LVDCHCR, lvdhcr); in rcar_du_lvdsenc_start() 96 rcar_lvds_write(lvds, LVDCR0, lvdcr0); in rcar_du_lvdsenc_start() [all …]
|
D | rcar_du_encoder.c | 49 if (renc->lvds) in rcar_du_encoder_disable() 50 rcar_du_lvdsenc_enable(renc->lvds, encoder->crtc, false); in rcar_du_encoder_disable() 57 if (renc->lvds) in rcar_du_encoder_enable() 58 rcar_du_lvdsenc_enable(renc->lvds, encoder->crtc, true); in rcar_du_encoder_enable() 95 if (renc->lvds) in rcar_du_encoder_atomic_check() 142 renc->lvds = rcdu->lvds[0]; in rcar_du_encoder_init() 146 renc->lvds = rcdu->lvds[1]; in rcar_du_encoder_init()
|
D | rcar_du_hdmienc.c | 43 if (hdmienc->renc->lvds) in rcar_du_hdmienc_disable() 44 rcar_du_lvdsenc_enable(hdmienc->renc->lvds, encoder->crtc, in rcar_du_hdmienc_disable() 55 if (hdmienc->renc->lvds) in rcar_du_hdmienc_enable() 56 rcar_du_lvdsenc_enable(hdmienc->renc->lvds, encoder->crtc, in rcar_du_hdmienc_enable() 77 if (hdmienc->renc->lvds) in rcar_du_hdmienc_atomic_check()
|
D | rcar_du_lvdsenc.h | 31 int rcar_du_lvdsenc_enable(struct rcar_du_lvdsenc *lvds, 38 static inline int rcar_du_lvdsenc_enable(struct rcar_du_lvdsenc *lvds, in rcar_du_lvdsenc_enable() argument
|
D | rcar_du_encoder.h | 36 struct rcar_du_lvdsenc *lvds; member
|
D | rcar_du_drv.h | 87 struct rcar_du_lvdsenc *lvds[RCAR_DU_MAX_LVDS]; member
|
/linux-4.1.27/drivers/gpu/drm/radeon/ |
D | radeon_combios.c | 1104 struct radeon_encoder_lvds *lvds = NULL; in radeon_legacy_get_lvds_info_from_regs() local 1109 lvds = kzalloc(sizeof(struct radeon_encoder_lvds), GFP_KERNEL); in radeon_legacy_get_lvds_info_from_regs() 1111 if (!lvds) in radeon_legacy_get_lvds_info_from_regs() 1118 lvds->panel_pwr_delay = 200; in radeon_legacy_get_lvds_info_from_regs() 1119 lvds->panel_vcc_delay = 2000; in radeon_legacy_get_lvds_info_from_regs() 1121 lvds->lvds_gen_cntl = RREG32(RADEON_LVDS_GEN_CNTL); in radeon_legacy_get_lvds_info_from_regs() 1122 lvds->panel_digon_delay = (lvds_ss_gen_cntl >> RADEON_LVDS_PWRSEQ_DELAY1_SHIFT) & 0xf; in radeon_legacy_get_lvds_info_from_regs() 1123 lvds->panel_blon_delay = (lvds_ss_gen_cntl >> RADEON_LVDS_PWRSEQ_DELAY2_SHIFT) & 0xf; in radeon_legacy_get_lvds_info_from_regs() 1126 lvds->native_mode.vdisplay = in radeon_legacy_get_lvds_info_from_regs() 1130 lvds->native_mode.vdisplay = in radeon_legacy_get_lvds_info_from_regs() [all …]
|
D | radeon_legacy_encoders.c | 62 struct radeon_encoder_atom_dig *lvds = radeon_encoder->enc_priv; in radeon_legacy_lvds_update() local 63 panel_pwr_delay = lvds->panel_pwr_delay; in radeon_legacy_lvds_update() 64 if (lvds->bl_dev) in radeon_legacy_lvds_update() 65 backlight_level = lvds->backlight_level; in radeon_legacy_lvds_update() 67 struct radeon_encoder_lvds *lvds = radeon_encoder->enc_priv; in radeon_legacy_lvds_update() local 68 panel_pwr_delay = lvds->panel_pwr_delay; in radeon_legacy_lvds_update() 69 if (lvds->bl_dev) in radeon_legacy_lvds_update() 70 backlight_level = lvds->backlight_level; in radeon_legacy_lvds_update() 143 struct radeon_encoder_atom_dig *lvds = radeon_encoder->enc_priv; in radeon_legacy_lvds_dpms() local 144 lvds->dpms_mode = mode; in radeon_legacy_lvds_dpms() [all …]
|
D | radeon_atombios.c | 1636 struct radeon_encoder_atom_dig *lvds = NULL; in radeon_atombios_get_lvds_info() local 1643 lvds = in radeon_atombios_get_lvds_info() 1646 if (!lvds) in radeon_atombios_get_lvds_info() 1649 lvds->native_mode.clock = in radeon_atombios_get_lvds_info() 1651 lvds->native_mode.hdisplay = in radeon_atombios_get_lvds_info() 1653 lvds->native_mode.vdisplay = in radeon_atombios_get_lvds_info() 1655 lvds->native_mode.htotal = lvds->native_mode.hdisplay + in radeon_atombios_get_lvds_info() 1657 lvds->native_mode.hsync_start = lvds->native_mode.hdisplay + in radeon_atombios_get_lvds_info() 1659 lvds->native_mode.hsync_end = lvds->native_mode.hsync_start + in radeon_atombios_get_lvds_info() 1661 lvds->native_mode.vtotal = lvds->native_mode.vdisplay + in radeon_atombios_get_lvds_info() [all …]
|
D | radeon_legacy_crtc.c | 799 struct radeon_encoder_lvds *lvds = (struct radeon_encoder_lvds *)radeon_encoder->enc_priv; in radeon_set_pll() local 800 if (lvds) { in radeon_set_pll() 801 if (lvds->use_bios_dividers) { in radeon_set_pll() 802 pll_ref_div = lvds->panel_ref_divider; in radeon_set_pll() 803 pll_fb_post_div = (lvds->panel_fb_divider | in radeon_set_pll() 804 (lvds->panel_post_divider << 16)); in radeon_set_pll()
|
/linux-4.1.27/Documentation/devicetree/bindings/video/ |
D | renesas,du.txt | 14 LVDS encoder (named "lvds.x" with "x" being the LVDS controller numerical 28 "lvds.x" with "x" being the LVDS encoder numerical index. 56 reg-names = "du", "lvds.0", "lvds.1"; 66 clock-names = "du.0", "du.1", "du.2", "lvds.0", "lvds.1";
|
/linux-4.1.27/drivers/staging/xgifb/ |
D | vb_init.c | 877 struct XGI21_LVDSCapStruct *lvds; in xgifb_read_vbios() local 915 lvds = &xgifb_info->lvds_data; in xgifb_read_vbios() 918 lvds->LVDS_Capability = vbios[i] | (vbios[i + 1] << 8); in xgifb_read_vbios() 919 lvds->LVDSHT = vbios[i + 2] | (vbios[i + 3] << 8); in xgifb_read_vbios() 920 lvds->LVDSVT = vbios[i + 4] | (vbios[i + 5] << 8); in xgifb_read_vbios() 921 lvds->LVDSHDE = vbios[i + 6] | (vbios[i + 7] << 8); in xgifb_read_vbios() 922 lvds->LVDSVDE = vbios[i + 8] | (vbios[i + 9] << 8); in xgifb_read_vbios() 923 lvds->LVDSHFP = vbios[i + 10] | (vbios[i + 11] << 8); in xgifb_read_vbios() 924 lvds->LVDSVFP = vbios[i + 12] | (vbios[i + 13] << 8); in xgifb_read_vbios() 925 lvds->LVDSHSYNC = vbios[i + 14] | (vbios[i + 15] << 8); in xgifb_read_vbios() [all …]
|
/linux-4.1.27/Documentation/devicetree/bindings/drm/imx/ |
D | ldb.txt | 6 The LVDS Display Bridge device tree node contains up to two lvds-channel 57 (lvds-channel@[0,1], respectively). 94 lvds-channel@0 { 117 lvds-channel@1 { 138 panel: lvds-panel {
|
/linux-4.1.27/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()
|
D | cdv_intel_lvds.c | 619 u32 lvds; in cdv_intel_lvds_init() local 741 lvds = REG_READ(LVDS); in cdv_intel_lvds_init() 742 pipe = (lvds & LVDS_PIPEB_SELECT) ? 1 : 0; in cdv_intel_lvds_init() 745 if (crtc && (lvds & LVDS_PORT_EN)) { in cdv_intel_lvds_init()
|
D | Makefile | 54 tc35876x-dsi-lvds.o
|
D | cdv_intel_display.c | 749 u32 lvds = REG_READ(LVDS); in cdv_intel_crtc_mode_set() local 751 lvds |= in cdv_intel_crtc_mode_set() 759 lvds |= LVDS_B0B3_POWER_UP | LVDS_CLKB_POWER_UP; in cdv_intel_crtc_mode_set() 761 lvds &= ~(LVDS_B0B3_POWER_UP | LVDS_CLKB_POWER_UP); in cdv_intel_crtc_mode_set() 768 REG_WRITE(LVDS, lvds); in cdv_intel_crtc_mode_set()
|
D | psb_intel_lvds.c | 694 u32 lvds; in psb_intel_lvds_init() local 806 lvds = REG_READ(LVDS); in psb_intel_lvds_init() 807 pipe = (lvds & LVDS_PIPEB_SELECT) ? 1 : 0; in psb_intel_lvds_init() 810 if (crtc && (lvds & LVDS_PORT_EN)) { in psb_intel_lvds_init()
|
/linux-4.1.27/arch/arm/boot/dts/ |
D | atlas7-evb.dts | 84 compatible = "lvds-panel"; 85 source = "lvds.0";
|
D | imx6dl-tx6u-811x.dts | 101 lvds0: lvds-channel@0 { 124 lvds1: lvds-channel@1 {
|
D | imx6q-tx6q-1110.dts | 101 lvds0: lvds-channel@0 { 124 lvds1: lvds-channel@1 {
|
D | imx53-tx53-x13x.dts | 185 lvds0: lvds-channel@0 { 210 lvds1: lvds-channel@1 {
|
D | imx6q.dtsi | 259 lvds-channel@0 { 277 lvds-channel@1 {
|
D | r8a7779-marzen.dts | 105 lvds-encoder {
|
D | r8a7790-lager.dts | 261 clock-names = "du.0", "du.1", "du.2", "lvds.0", "lvds.1",
|
D | imx6qdl-gw52xx.dtsi | 249 lvds-channel@0 {
|
D | imx6qdl-sabrelite.dtsi | 372 lvds-channel@0 {
|
D | imx6qdl-nitrogen6x.dtsi | 377 lvds-channel@0 {
|
D | imx53.dtsi | 442 lvds-channel@0 { 457 lvds-channel@1 {
|
D | imx6qdl-sabreauto.dtsi | 425 lvds-channel@0 {
|
D | imx6qdl-gw53xx.dtsi | 250 lvds-channel@1 {
|
D | r8a7790.dtsi | 763 reg-names = "du", "lvds.0", "lvds.1"; 772 clock-names = "du.0", "du.1", "du.2", "lvds.0", "lvds.1";
|
D | imx6qdl-gw54xx.dtsi | 339 lvds-channel@1 {
|
D | imx6qdl-sabresd.dtsi | 499 lvds-channel@1 {
|
D | r8a7791-koelsch.dts | 295 clock-names = "du.0", "du.1", "lvds.0",
|
D | imx6qdl.dtsi | 734 lvds-channel@0 { 757 lvds-channel@1 {
|
D | exynos5250-snow.dts | 181 ptn3460: lvds-bridge@20 {
|
D | atlas7.dtsi | 789 lvds@10e10000 {
|
D | r8a7791.dtsi | 792 reg-names = "du", "lvds.0"; 798 clock-names = "du.0", "du.1", "lvds.0";
|
D | exynos5420-peach-pit.dts | 618 ps8625: lvds-bridge@48 {
|
D | tegra114-dalmore.dts | 866 regulator-name = "vdd-lvds";
|
/linux-4.1.27/drivers/gpu/drm/nouveau/ |
D | nv50_display.c | 1915 struct nv50_disp_sor_lvds_script_v0 lvds; in nv50_sor_mode_set() member 1916 } lvds = { in nv50_sor_mode_set() local 1954 lvds.lvds.script |= 0x0100; in nv50_sor_mode_set() 1956 lvds.lvds.script |= 0x0200; in nv50_sor_mode_set() 1960 lvds.lvds.script |= 0x0100; in nv50_sor_mode_set() 1963 lvds.lvds.script |= 0x0100; in nv50_sor_mode_set() 1966 if (lvds.lvds.script & 0x0100) { in nv50_sor_mode_set() 1968 lvds.lvds.script |= 0x0200; in nv50_sor_mode_set() 1971 lvds.lvds.script |= 0x0200; in nv50_sor_mode_set() 1975 lvds.lvds.script |= 0x0200; in nv50_sor_mode_set() [all …]
|
D | nouveau_bios.c | 1034 parse_bit_table(bios, bitoffset, &BIT_TABLE('L', lvds)); in parse_bit_structure()
|
/linux-4.1.27/Documentation/devicetree/bindings/video/bridge/ |
D | ps8622.txt | 18 lvds-bridge@48 {
|
D | ptn3460.txt | 26 lvds-bridge@20 {
|
/linux-4.1.27/drivers/gpu/drm/i915/ |
D | intel_lvds.c | 923 u32 lvds; in intel_lvds_init() local 1114 lvds = I915_READ(LVDS); in intel_lvds_init() 1115 pipe = (lvds & LVDS_PIPEB_SELECT) ? 1 : 0; in intel_lvds_init() 1118 if (crtc && (lvds & LVDS_PORT_EN)) { in intel_lvds_init()
|
D | intel_display.c | 9273 u32 lvds = IS_I830(dev) ? 0 : I915_READ(LVDS); in i9xx_crtc_clock_get() local 9274 bool is_lvds = (pipe == 1) && (lvds & LVDS_PORT_EN); in i9xx_crtc_clock_get() 9280 if (lvds & LVDS_CLKB_POWER_UP) in i9xx_crtc_clock_get()
|
/linux-4.1.27/drivers/video/fbdev/intelfb/ |
D | intelfb.h | 206 u32 lvds; member
|
D | intelfbhw.c | 580 hw->lvds = INREG(LVDS); in intelfbhw_read_hw_state() 665 int lvds) in calc_vclock() argument 808 printk(" LVDS: 0x%08x\n", hw->lvds); in intelfbhw_print_hw_state()
|