/linux-6.12.1/drivers/gpu/drm/rockchip/ |
D | rockchip_lvds.c | 43 int (*probe)(struct platform_device *pdev, struct rockchip_lvds *lvds); 76 static inline void rk3288_writel(struct rockchip_lvds *lvds, u32 offset, in rk3288_writel() argument 79 writel_relaxed(val, lvds->regs + offset); in rk3288_writel() 80 if (lvds->output == DISPLAY_OUTPUT_LVDS) in rk3288_writel() 82 writel_relaxed(val, lvds->regs + offset + RK3288_LVDS_CH1_OFFSET); in rk3288_writel() 119 struct rockchip_lvds *lvds = connector_to_lvds(connector); in rockchip_lvds_connector_get_modes() local 120 struct drm_panel *panel = lvds->panel; in rockchip_lvds_connector_get_modes() 143 static int rk3288_lvds_poweron(struct rockchip_lvds *lvds) in rk3288_lvds_poweron() argument 148 ret = clk_enable(lvds->pclk); in rk3288_lvds_poweron() 150 DRM_DEV_ERROR(lvds->dev, "failed to enable lvds pclk %d\n", ret); in rk3288_lvds_poweron() [all …]
|
/linux-6.12.1/drivers/gpu/drm/renesas/rcar-du/ |
D | rcar_lvds.c | 59 void (*pll_setup)(struct rcar_lvds *lvds, unsigned int freq); 86 static u32 rcar_lvds_read(struct rcar_lvds *lvds, u32 reg) in rcar_lvds_read() argument 88 return ioread32(lvds->mmio + reg); in rcar_lvds_read() 91 static void rcar_lvds_write(struct rcar_lvds *lvds, u32 reg, u32 data) in rcar_lvds_write() argument 93 iowrite32(data, lvds->mmio + reg); in rcar_lvds_write() 100 static void rcar_lvds_pll_setup_gen2(struct rcar_lvds *lvds, unsigned int freq) in rcar_lvds_pll_setup_gen2() argument 113 rcar_lvds_write(lvds, LVDPLLCR, val); in rcar_lvds_pll_setup_gen2() 116 static void rcar_lvds_pll_setup_gen3(struct rcar_lvds *lvds, unsigned int freq) in rcar_lvds_pll_setup_gen3() argument 129 rcar_lvds_write(lvds, LVDPLLCR, val); in rcar_lvds_pll_setup_gen3() 141 static void rcar_lvds_d3_e3_pll_calc(struct rcar_lvds *lvds, struct clk *clk, in rcar_lvds_d3_e3_pll_calc() argument [all …]
|
/linux-6.12.1/drivers/gpu/drm/panel/ |
D | panel-lvds.c | 52 struct panel_lvds *lvds = to_panel_lvds(panel); in panel_lvds_unprepare() local 54 if (lvds->enable_gpio) in panel_lvds_unprepare() 55 gpiod_set_value_cansleep(lvds->enable_gpio, 0); in panel_lvds_unprepare() 57 if (lvds->supply) in panel_lvds_unprepare() 58 regulator_disable(lvds->supply); in panel_lvds_unprepare() 65 struct panel_lvds *lvds = to_panel_lvds(panel); in panel_lvds_prepare() local 67 if (lvds->supply) { in panel_lvds_prepare() 70 err = regulator_enable(lvds->supply); in panel_lvds_prepare() 72 dev_err(lvds->dev, "failed to enable supply: %d\n", in panel_lvds_prepare() 78 if (lvds->enable_gpio) in panel_lvds_prepare() [all …]
|
/linux-6.12.1/drivers/gpu/drm/stm/ |
D | lvds.c | 282 #define lvds_is_dual_link(lvds) \ argument 284 typeof(lvds) __lvds = (lvds); \ 289 static inline void lvds_write(struct stm_lvds *lvds, u32 reg, u32 val) in lvds_write() argument 291 writel(val, lvds->base + reg); in lvds_write() 294 static inline u32 lvds_read(struct stm_lvds *lvds, u32 reg) in lvds_read() argument 296 return readl(lvds->base + reg); in lvds_read() 299 static inline void lvds_set(struct stm_lvds *lvds, u32 reg, u32 mask) in lvds_set() argument 301 lvds_write(lvds, reg, lvds_read(lvds, reg) | mask); in lvds_set() 304 static inline void lvds_clear(struct stm_lvds *lvds, u32 reg, u32 mask) in lvds_clear() argument 306 lvds_write(lvds, reg, lvds_read(lvds, reg) & ~mask); in lvds_clear() [all …]
|
/linux-6.12.1/drivers/gpu/drm/bridge/ |
D | microchip-lvds.c | 69 static inline u32 lvds_readl(struct mchp_lvds *lvds, u32 offset) in lvds_readl() argument 71 return readl_relaxed(lvds->regs + offset); in lvds_readl() 74 static inline void lvds_writel(struct mchp_lvds *lvds, u32 offset, u32 val) in lvds_writel() argument 76 writel_relaxed(val, lvds->regs + offset); in lvds_writel() 79 static void lvds_serialiser_on(struct mchp_lvds *lvds) in lvds_serialiser_on() argument 84 lvds_writel(lvds, LVDSC_WPMR, (LVDSC_WPMR_WPKEY_PSSWD & in lvds_serialiser_on() 88 while (lvds_readl(lvds, LVDSC_SR) & LVDSC_SR_CS) { in lvds_serialiser_on() 90 dev_err(lvds->dev, "%s: timeout error\n", __func__); in lvds_serialiser_on() 97 lvds_writel(lvds, LVDSC_CFGR, (LVDSC_CFGR_MAPPING_JEIDA | in lvds_serialiser_on() 103 lvds_writel(lvds, LVDSC_CR, LVDSC_CR_SER_EN); in lvds_serialiser_on() [all …]
|
/linux-6.12.1/drivers/gpu/drm/sun4i/ |
D | sun4i_lvds.c | 44 struct sun4i_lvds *lvds = in sun4i_lvds_get_modes() local 47 return drm_panel_get_modes(lvds->panel, connector); in sun4i_lvds_get_modes() 70 struct sun4i_lvds *lvds = drm_encoder_to_sun4i_lvds(encoder); in sun4i_lvds_encoder_enable() local 74 if (lvds->panel) { in sun4i_lvds_encoder_enable() 75 drm_panel_prepare(lvds->panel); in sun4i_lvds_encoder_enable() 76 drm_panel_enable(lvds->panel); in sun4i_lvds_encoder_enable() 82 struct sun4i_lvds *lvds = drm_encoder_to_sun4i_lvds(encoder); in sun4i_lvds_encoder_disable() local 86 if (lvds->panel) { in sun4i_lvds_encoder_disable() 87 drm_panel_disable(lvds->panel); in sun4i_lvds_encoder_disable() 88 drm_panel_unprepare(lvds->panel); in sun4i_lvds_encoder_disable() [all …]
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/bios/ |
D | bios_parser.c | 1225 ATOM_LVDS_INFO_V12 *lvds; in get_embedded_panel_info_v1_2() local 1233 lvds = in get_embedded_panel_info_v1_2() 1236 if (!lvds) in get_embedded_panel_info_v1_2() 1239 if (1 != lvds->sHeader.ucTableFormatRevision in get_embedded_panel_info_v1_2() 1240 || 2 > lvds->sHeader.ucTableContentRevision) in get_embedded_panel_info_v1_2() 1247 le16_to_cpu(lvds->sLCDTiming.usPixClk) * 10; in get_embedded_panel_info_v1_2() 1250 le16_to_cpu(lvds->sLCDTiming.usHActive); in get_embedded_panel_info_v1_2() 1256 le16_to_cpu(lvds->sLCDTiming.usHBlanking_Time); in get_embedded_panel_info_v1_2() 1259 le16_to_cpu(lvds->sLCDTiming.usVActive); in get_embedded_panel_info_v1_2() 1265 le16_to_cpu(lvds->sLCDTiming.usVBlanking_Time); in get_embedded_panel_info_v1_2() [all …]
|
/linux-6.12.1/drivers/gpu/drm/radeon/ |
D | radeon_combios.c | 1088 struct radeon_encoder_lvds *lvds; in radeon_legacy_get_lvds_info_from_regs() local 1093 lvds = kzalloc(sizeof(struct radeon_encoder_lvds), GFP_KERNEL); in radeon_legacy_get_lvds_info_from_regs() 1095 if (!lvds) in radeon_legacy_get_lvds_info_from_regs() 1102 lvds->panel_pwr_delay = 200; in radeon_legacy_get_lvds_info_from_regs() 1103 lvds->panel_vcc_delay = 2000; in radeon_legacy_get_lvds_info_from_regs() 1105 lvds->lvds_gen_cntl = RREG32(RADEON_LVDS_GEN_CNTL); in radeon_legacy_get_lvds_info_from_regs() 1106 lvds->panel_digon_delay = (lvds_ss_gen_cntl >> RADEON_LVDS_PWRSEQ_DELAY1_SHIFT) & 0xf; in radeon_legacy_get_lvds_info_from_regs() 1107 lvds->panel_blon_delay = (lvds_ss_gen_cntl >> RADEON_LVDS_PWRSEQ_DELAY2_SHIFT) & 0xf; in radeon_legacy_get_lvds_info_from_regs() 1110 lvds->native_mode.vdisplay = in radeon_legacy_get_lvds_info_from_regs() 1114 lvds->native_mode.vdisplay = in radeon_legacy_get_lvds_info_from_regs() [all …]
|
D | radeon_legacy_encoders.c | 72 struct radeon_encoder_atom_dig *lvds = radeon_encoder->enc_priv; in radeon_legacy_lvds_update() local 73 panel_pwr_delay = lvds->panel_pwr_delay; in radeon_legacy_lvds_update() 74 if (lvds->bl_dev) in radeon_legacy_lvds_update() 75 backlight_level = lvds->backlight_level; in radeon_legacy_lvds_update() 77 struct radeon_encoder_lvds *lvds = radeon_encoder->enc_priv; in radeon_legacy_lvds_update() local 78 panel_pwr_delay = lvds->panel_pwr_delay; in radeon_legacy_lvds_update() 79 if (lvds->bl_dev) in radeon_legacy_lvds_update() 80 backlight_level = lvds->backlight_level; in radeon_legacy_lvds_update() 153 struct radeon_encoder_atom_dig *lvds = radeon_encoder->enc_priv; in radeon_legacy_lvds_dpms() local 154 lvds->dpms_mode = mode; in radeon_legacy_lvds_dpms() [all …]
|
/linux-6.12.1/arch/arm64/boot/dts/renesas/ |
D | r8a774c0-ek874-idk-2121wr.dts | 23 panel-lvds { 24 compatible = "advantech,idk-2121wr", "panel-lvds"; 49 dual-lvds-odd-pixels; 57 dual-lvds-even-pixels; 71 lvds-connector-en-hog { 75 line-name = "lvds-connector-en-gpio";
|
D | rzg2-advantech-idk-1110wr-panel.dtsi | 10 panel-lvds { 11 compatible = "advantech,idk-1110wr", "panel-lvds";
|
D | hihope-rzg2-ex-lvds.dtsi | 23 lvds-connector-en-hog { 27 line-name = "lvds-connector-en-gpio";
|
/linux-6.12.1/arch/arm/boot/dts/nxp/imx/ |
D | imx6q-var-mx6customboard.dts | 18 panel0: lvds-panel0 { 19 compatible = "panel-lvds"; 45 panel1: lvds-panel1 { 46 compatible = "panel-lvds"; 70 backlight_lvds: backlight-lvds { 205 lvds-channel@0 { 219 lvds-channel@1 {
|
D | imx7d-colibri-iris-v2.dts | 33 lvds-color-map-hog { 45 lvds-rgb-mode-hog { 56 lvds-ch-mode-hog { 64 lvds-power-on-hog {
|
D | imx6ull-colibri-wifi-iris-v2.dts | 32 lvds-power-on-hog { 45 lvds-ch-mode-hog { 55 lvds-rgb-mode-hog { 67 lvds-color-map-hog {
|
D | imx7s-colibri-iris-v2.dts | 33 lvds-color-map-hog { 45 lvds-rgb-mode-hog { 56 lvds-ch-mode-hog { 64 lvds-power-on-hog {
|
D | imx6ull-colibri-iris-v2.dts | 32 lvds-power-on-hog { 45 lvds-ch-mode-hog { 55 lvds-rgb-mode-hog { 67 lvds-color-map-hog {
|
D | imx53-sk-imx53-atm0700d4-lvds.dts | 11 lvds-decoder { 12 compatible = "ti,sn65lvds94", "lvds-decoder"; 64 lvds0: lvds-channel@0 {
|
/linux-6.12.1/arch/arm64/boot/dts/freescale/ |
D | imx8mp-evk-mx8-dlvds-lcd1.dtso | 10 panel-lvds { 34 dual-lvds-odd-pixels; 43 dual-lvds-even-pixels;
|
D | Makefile | 146 imx8mm-tqma8mqml-mba8mx-lvds-tm070jvhg33-dtbs += imx8mm-tqma8mqml-mba8mx.dtb imx8mm-tqma8mqml-mba8m… 147 dtb-$(CONFIG_ARCH_MXC) += imx8mm-tqma8mqml-mba8mx-lvds-tm070jvhg33.dtb 161 imx8mn-tqma8mqnl-mba8mx-lvds-tm070jvhg33-dtbs += imx8mn-tqma8mqnl-mba8mx.dtb imx8mn-tqma8mqnl-mba8m… 163 dtb-$(CONFIG_ARCH_MXC) += imx8mn-tqma8mqnl-mba8mx-lvds-tm070jvhg33.dtb 202 imx8mp-tqma8mpql-mba8mpxl-lvds-dtbs += imx8mp-tqma8mpql-mba8mpxl.dtb imx8mp-tqma8mpql-mba8mpxl-lvds… 203 imx8mp-tqma8mpql-mba8mpxl-lvds-g133han01-dtbs += imx8mp-tqma8mpql-mba8mpxl.dtb imx8mp-tqma8mpql-mba… 204 dtb-$(CONFIG_ARCH_MXC) += imx8mp-tqma8mpql-mba8mpxl-lvds.dtb 205 dtb-$(CONFIG_ARCH_MXC) += imx8mp-tqma8mpql-mba8mpxl-lvds-g133han01.dtb 223 imx8mq-tqma8mq-mba8mx-lvds-tm070jvhg33-dtbs += imx8mq-tqma8mq-mba8mx.dtb imx8mq-tqma8mq-mba8mx-lvds… 224 dtb-$(CONFIG_ARCH_MXC) += imx8mq-tqma8mq-mba8mx-lvds-tm070jvhg33.dtb
|
D | imx8mp-tqma8mpql-mba8mpxl-lvds-g133han01.dtso | 31 dual-lvds-odd-pixels; 40 dual-lvds-even-pixels;
|
/linux-6.12.1/drivers/gpu/drm/amd/amdgpu/ |
D | atombios_encoders.c | 1975 struct amdgpu_encoder_atom_dig *lvds = NULL; in amdgpu_atombios_encoder_get_lcd_info() local 1982 lvds = in amdgpu_atombios_encoder_get_lcd_info() 1985 if (!lvds) in amdgpu_atombios_encoder_get_lcd_info() 1988 lvds->native_mode.clock = in amdgpu_atombios_encoder_get_lcd_info() 1990 lvds->native_mode.hdisplay = in amdgpu_atombios_encoder_get_lcd_info() 1992 lvds->native_mode.vdisplay = in amdgpu_atombios_encoder_get_lcd_info() 1994 lvds->native_mode.htotal = lvds->native_mode.hdisplay + in amdgpu_atombios_encoder_get_lcd_info() 1996 lvds->native_mode.hsync_start = lvds->native_mode.hdisplay + in amdgpu_atombios_encoder_get_lcd_info() 1998 lvds->native_mode.hsync_end = lvds->native_mode.hsync_start + in amdgpu_atombios_encoder_get_lcd_info() 2000 lvds->native_mode.vtotal = lvds->native_mode.vdisplay + in amdgpu_atombios_encoder_get_lcd_info() [all …]
|
/linux-6.12.1/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-6.12.1/drivers/gpu/drm/gma500/ |
D | psb_intel_display.c | 230 u32 lvds = REG_READ(LVDS); in psb_intel_crtc_mode_set() local 232 lvds &= ~LVDS_PIPEB_SELECT; in psb_intel_crtc_mode_set() 234 lvds |= LVDS_PIPEB_SELECT; in psb_intel_crtc_mode_set() 236 lvds |= LVDS_PORT_EN | LVDS_A0A2_CLKA_POWER_UP; in psb_intel_crtc_mode_set() 241 lvds &= ~(LVDS_B0B3_POWER_UP | LVDS_CLKB_POWER_UP); in psb_intel_crtc_mode_set() 243 lvds |= LVDS_B0B3_POWER_UP | LVDS_CLKB_POWER_UP; in psb_intel_crtc_mode_set() 250 REG_WRITE(LVDS, lvds); in psb_intel_crtc_mode_set()
|
/linux-6.12.1/arch/arm/boot/dts/nvidia/ |
D | tegra30-asus-lvds-display.dtsi | 36 lvds-encoder { 37 compatible = "ti,sn75lvds83", "lvds-encoder";
|