/linux-6.14.4/drivers/clk/meson/ |
D | vclk.c | 1 // SPDX-License-Identifier: GPL-2.0 7 #include "vclk.h" 9 /* The VCLK gate has a supplementary reset bit to pulse after ungating */ 14 return (struct meson_vclk_gate_data *)clk->data; in clk_get_meson_vclk_gate_data() 20 struct meson_vclk_gate_data *vclk = clk_get_meson_vclk_gate_data(clk); in meson_vclk_gate_enable() local 22 meson_parm_write(clk->map, &vclk->enable, 1); in meson_vclk_gate_enable() 25 meson_parm_write(clk->map, &vclk->reset, 1); in meson_vclk_gate_enable() 26 meson_parm_write(clk->map, &vclk->reset, 0); in meson_vclk_gate_enable() 34 struct meson_vclk_gate_data *vclk = clk_get_meson_vclk_gate_data(clk); in meson_vclk_gate_disable() local 36 meson_parm_write(clk->map, &vclk->enable, 0); in meson_vclk_gate_disable() [all …]
|
D | vclk.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 9 #include "clk-regmap.h" 13 * struct meson_vclk_gate_data - vclk_gate regmap backed specific data 15 * @enable: vclk enable field 16 * @reset: vclk reset field 17 * @flags: hardware-specific flags 31 * struct meson_vclk_div_data - vclk_div regmap back specific data 34 * @enable: vclk divider enable field 35 * @reset: vclk divider reset field
|
/linux-6.14.4/drivers/gpu/drm/radeon/ |
D | rs780_dpm.c | 37 struct igp_ps *ps = rps->ps_priv; in rs780_get_ps() 44 struct igp_power_info *pi = rdev->pm.dpm.priv; in rs780_get_pi() 52 struct radeon_mode_info *minfo = &rdev->mode_info; in rs780_get_pm_mode_parameters() 58 pi->crtc_id = 0; in rs780_get_pm_mode_parameters() 59 pi->refresh_rate = 60; in rs780_get_pm_mode_parameters() 61 for (i = 0; i < rdev->num_crtc; i++) { in rs780_get_pm_mode_parameters() 62 crtc = (struct drm_crtc *)minfo->crtcs[i]; in rs780_get_pm_mode_parameters() 63 if (crtc && crtc->enabled) { in rs780_get_pm_mode_parameters() 65 pi->crtc_id = radeon_crtc->crtc_id; in rs780_get_pm_mode_parameters() 66 if (crtc->mode.htotal && crtc->mode.vtotal) in rs780_get_pm_mode_parameters() [all …]
|
D | radeon_uvd.c | 15 * FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL 72 INIT_DELAYED_WORK(&rdev->uvd.idle_work, radeon_uvd_idle_work_handler); in radeon_uvd_init() 74 switch (rdev->family) { in radeon_uvd_init() 134 return -EINVAL; in radeon_uvd_init() 137 rdev->uvd.fw_header_present = false; in radeon_uvd_init() 138 rdev->uvd.max_handles = RADEON_DEFAULT_UVD_HANDLES; in radeon_uvd_init() 141 r = request_firmware(&rdev->uvd_fw, fw_name, rdev->dev); in radeon_uvd_init() 143 dev_err(rdev->dev, "radeon_uvd: Can't load firmware \"%s\"\n", in radeon_uvd_init() 146 struct common_firmware_header *hdr = (void *)rdev->uvd_fw->data; in radeon_uvd_init() 149 r = radeon_ucode_validate(rdev->uvd_fw); in radeon_uvd_init() [all …]
|
D | sumo_dpm.c | 74 struct sumo_ps *ps = rps->ps_priv; in sumo_get_ps() 81 struct sumo_power_info *pi = rdev->pm.dpm.priv; in sumo_get_pi() 154 if (rdev->family == CHIP_PALM) { in sumo_gfx_powergating_initialize() 182 if (rdev->family == CHIP_PALM) { in sumo_gfx_powergating_initialize() 194 if (rdev->family == CHIP_PALM) { in sumo_gfx_powergating_initialize() 215 if (rdev->family == CHIP_PALM) in sumo_gfx_powergating_initialize() 224 if (rdev->family == CHIP_PALM) { in sumo_gfx_powergating_initialize() 230 if (rdev->family == CHIP_PALM) { in sumo_gfx_powergating_initialize() 249 if (rdev->family == CHIP_PALM) { in sumo_gfx_powergating_initialize() 257 if (rdev->family == CHIP_PALM) { in sumo_gfx_powergating_initialize() [all …]
|
D | trinity_dpm.c | 302 struct trinity_ps *ps = rps->ps_priv; in trinity_get_ps() 309 struct trinity_power_info *pi = rdev->pm.dpm.priv; in trinity_get_pi() 344 if (pi->override_dynamic_mgpg && (hw_rev == 0)) in trinity_gfx_powergating_initialize() 501 if (pi->enable_gfx_clock_gating) in trinity_enable_clock_power_gating() 503 if (pi->enable_mg_clock_gating) in trinity_enable_clock_power_gating() 505 if (pi->enable_gfx_power_gating) in trinity_enable_clock_power_gating() 507 if (pi->enable_mg_clock_gating) { in trinity_enable_clock_power_gating() 511 if (pi->enable_gfx_clock_gating) in trinity_enable_clock_power_gating() 513 if (pi->enable_gfx_dynamic_mgpg) in trinity_enable_clock_power_gating() 515 if (pi->enable_gfx_power_gating) in trinity_enable_clock_power_gating() [all …]
|
/linux-6.14.4/drivers/gpu/drm/renesas/rz-du/ |
D | rzg2l_mipi_dsi.c | 1 // SPDX-License-Identifier: GPL-2.0 41 struct clk *vclk; member 165 iowrite32(data, dsi->mmio + reg); in rzg2l_mipi_dsi_phy_write() 170 iowrite32(data, dsi->mmio + LINK_REG_OFFSET + reg); in rzg2l_mipi_dsi_link_write() 175 return ioread32(dsi->mmio + reg); in rzg2l_mipi_dsi_phy_read() 180 return ioread32(dsi->mmio + LINK_REG_OFFSET + reg); in rzg2l_mipi_dsi_link_read() 183 /* ----------------------------------------------------------------------------- 202 if (hsfreq <= dphy_timings->hsfreq_max) in rzg2l_mipi_dsi_dphy_init() 218 DSIDPHYTIM0_T_INIT(dphy_timings->t_init); in rzg2l_mipi_dsi_dphy_init() 219 dphytim1 = DSIDPHYTIM1_THS_PREPARE(dphy_timings->ths_prepare) | in rzg2l_mipi_dsi_dphy_init() [all …]
|
/linux-6.14.4/Documentation/devicetree/bindings/media/ |
D | aspeed-video.txt | 7 - compatible: "aspeed,ast2400-video-engine" or 8 "aspeed,ast2500-video-engine" or 9 "aspeed,ast2600-video-engine" 10 - reg: contains the offset and length of the VE memory region 11 - clocks: clock specifiers for the syscon clocks associated with 12 the VE (ordering must match the clock-names property) 13 - clock-names: "vclk" and "eclk" 14 - resets: reset specifier for the syscon reset associated with 16 - interrupts: the interrupt associated with the VE on this platform 19 - memory-region: [all …]
|
/linux-6.14.4/drivers/video/fbdev/nvidia/ |
D | nv_hw.c | 3 |* Copyright 1993-2003 NVIDIA, Corporation. All rights reserved. *| 7 |* hereby granted a nonexclusive, royalty-free copyright license to *| 10 |* Any use of this source code must include, in the user documenta- *| 14 |* Copyright 1993-2003 NVIDIA, Corporation. All rights reserved. *| 18 |* WITHOUT EXPRESS OR IMPLIED WARRANTY OF ANY KIND. NVIDIA, CORPOR- *| 20 |* INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY, NONINFRINGE- *| 22 |* NVIDIA, CORPORATION BE LIABLE FOR ANY SPECIAL, INDIRECT, INCI- *| 23 |* DENTAL, OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RE- *| 32 |* 48 C.F.R. 12.212 (SEPT 1995) and is provided to the U.S. Govern- *| 34 |* 12.212 and 48 C.F.R. 227.7202-1 through 227.7202-4 (JUNE 1995), *| [all …]
|
/linux-6.14.4/Documentation/devicetree/bindings/display/samsung/ |
D | samsung,fimd.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Inki Dae <[email protected]> 11 - Seung-Woo Kim <[email protected]> 12 - Kyungmin Park <[email protected]> 13 - Krzysztof Kozlowski <[email protected]> 18 - samsung,s3c2443-fimd 19 - samsung,s3c6400-fimd 20 - samsung,s5pv210-fimd [all …]
|
/linux-6.14.4/drivers/gpu/drm/exynos/ |
D | exynos7_drm_decon.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 30 #include "regs-decon7.h" 68 struct clk *vclk; member 82 .compatible = "samsung,exynos7-decon", 86 .compatible = "samsung,exynos7870-decon", 111 * decon_shadow_protect_win() - disable updating values from shadow registers at vsync 121 unsigned int shift = ctx->data->shadowcon_win_protect_shift; in decon_shadow_protect_win() 125 val = readl(ctx->regs + SHADOWCON); in decon_shadow_protect_win() 130 writel(val, ctx->regs + SHADOWCON); in decon_shadow_protect_win() 135 if (ctx->suspended) in decon_wait_for_vblank() [all …]
|
/linux-6.14.4/drivers/gpu/drm/nouveau/dispnv04/ |
D | arb.c | 2 * Copyright 1993-2003 NVIDIA, Corporation 3 * Copyright 2007-2009 Stuart Bennett 63 pclk_freq = arb->pclk_khz; in nv04_calc_arb() 64 mclk_freq = arb->mclk_khz; in nv04_calc_arb() 65 nvclk_freq = arb->nvclk_khz; in nv04_calc_arb() 66 pagemiss = arb->mem_page_miss; in nv04_calc_arb() 67 cas = arb->mem_latency; in nv04_calc_arb() 68 bpp = arb->bpp; in nv04_calc_arb() 92 m1 = clwm + cbs - 512; in nv04_calc_arb() 97 mclk_extra--; in nv04_calc_arb() [all …]
|
/linux-6.14.4/drivers/video/fbdev/via/ |
D | vt1636.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Copyright 1998-2008 VIA Technologies, Inc. All Rights Reserved. 4 * Copyright 2001-2008 S3 Graphics, Inc. All Rights Reserved. 8 #include <linux/via-core.h> 16 /* T1: VDD on - Data on. Each increment is 1 ms. (50ms = 031h) */ 18 /* T2: Data on - Backlight on. Each increment is 2 ms. (210ms = 068h) */ 20 /* T3: Backlight off -Data off. Each increment is 2 ms. (210ms = 068h)*/ 22 /* T4: Data off - VDD off. Each increment is 1 ms. (50ms = 031h) */ 24 /* T5: VDD off - VDD on. Each increment is 100 ms. (500ms = 04h) */ 46 viafb_i2c_readbyte(plvds_chip_info->i2c_port, in viafb_gpio_i2c_read_lvds() [all …]
|
/linux-6.14.4/Documentation/devicetree/bindings/display/ |
D | renesas,rzg2l-du.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/display/renesas,rzg2l-du.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Biju Das <[email protected]> 11 - Laurent Pinchart <[email protected]> 20 - enum: 21 - renesas,r9a07g043u-du # RZ/G2UL 22 - renesas,r9a07g044-du # RZ/G2{L,LC} 23 - items: [all …]
|
D | xylon,logicvc-display.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 4 --- 5 $id: http://devicetree.org/schemas/display/xylon,logicvc-display.yaml# 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 - Paul Kocialkowski <[email protected]> 16 with Xilinx Zynq-7000 SoCs and Xilinx FPGAs. 20 synthesis time. As a result, many of the device-tree bindings are meant to 24 Layers are declared in the "layers" sub-node and have dedicated configuration. 32 - xylon,logicvc-3.02.a-display 33 - xylon,logicvc-4.01.a-display [all …]
|
/linux-6.14.4/drivers/tty/serial/8250/ |
D | 8250_aspeed_vuart.c | 1 // SPDX-License-Identifier: GPL-2.0+ 61 * to the host on the Host <-> BMC LPC bus. It could be different on a 67 return readb(vuart->port->port.membase + reg); in aspeed_vuart_readb() 72 writeb(val, vuart->port->port.membase + reg); in aspeed_vuart_writeb() 90 return -EINVAL; in aspeed_vuart_set_lpc_address() 134 return -EINVAL; in aspeed_vuart_set_sirq() 250 struct aspeed_vuart *vuart = uart_8250_port->port.private_data; in aspeed_vuart_startup() 265 struct aspeed_vuart *vuart = uart_8250_port->port.private_data; in aspeed_vuart_shutdown() 278 lockdep_assert_held_once(&up->port.lock); in __aspeed_vuart_set_throttle() 280 up->ier &= ~irqs; in __aspeed_vuart_set_throttle() [all …]
|
/linux-6.14.4/drivers/video/fbdev/riva/ |
D | riva_hw.c | 3 |* Copyright 1993-1999 NVIDIA, Corporation. All rights reserved. *| 7 |* hereby granted a nonexclusive, royalty-free copyright license to *| 10 |* Any use of this source code must include, in the user documenta- *| 14 |* Copyright 1993-1999 NVIDIA, Corporation. All rights reserved. *| 18 |* WITHOUT EXPRESS OR IMPLIED WARRANTY OF ANY KIND. NVIDIA, CORPOR- *| 20 |* INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY, NONINFRINGE- *| 22 |* NVIDIA, CORPORATION BE LIABLE FOR ANY SPECIAL, INDIRECT, INCI- *| 23 |* DENTAL, OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RE- *| 32 |* 48 C.F.R. 12.212 (SEPT 1995) and is provided to the U.S. Govern- *| 34 |* 12.212 and 48 C.F.R. 227.7202-1 through 227.7202-4 (JUNE 1995), *| [all …]
|
/linux-6.14.4/drivers/media/platform/renesas/rzg2l-cru/ |
D | rzg2l-csi2.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Driver for Renesas RZ/G2L MIPI CSI-2 Receiver 21 #include <media/v4l2-ctrls.h> 22 #include <media/v4l2-device.h> 23 #include <media/v4l2-fwnode.h> 24 #include <media/v4l2-mc.h> 25 #include <media/v4l2-subdev.h> 60 /* D-PHY Control Register 0 */ 65 /* D-PHY Timing Register 0 */ 70 /* D-PHY Timing Register 1 */ [all …]
|
D | rzg2l-cru.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 14 #include <media/v4l2-async.h> 15 #include <media/v4l2-dev.h> 16 #include <media/v4l2-device.h> 17 #include <media/videobuf2-v4l2.h> 40 * enum rzg2l_cru_dma_state - DMA states 66 * struct rzg2l_cru_ip_format - CRU IP format 72 * @yuv: Flag to indicate whether the format is YUV-based. 84 * struct rzg2l_cru_dev - Renesas CRU device structure 92 * @vclk: CRU Main clock [all …]
|
D | rzg2l-core.c | 1 // SPDX-License-Identifier: GPL-2.0+ 7 * Based on Renesas R-Car VIN 8 * Copyright (C) 2011-2013 Renesas Solutions Corp. 21 #include <media/v4l2-fwnode.h> 22 #include <media/v4l2-mc.h> 24 #include "rzg2l-cru.h" 35 /* ----------------------------------------------------------------------------- 49 ret = v4l2_device_register_subdev_nodes(&cru->v4l2_dev); in rzg2l_cru_group_notify_complete() 51 dev_err(cru->dev, "Failed to register subdev nodes\n"); in rzg2l_cru_group_notify_complete() 63 * Create media device link between CSI-2 <-> CRU IP in rzg2l_cru_group_notify_complete() [all …]
|
/linux-6.14.4/drivers/video/fbdev/aty/ |
D | mach64_ct.c | 1 // SPDX-License-Identifier: GPL-2.0 51 * CLK = ---------------------- 68 * XCLK The clock rate of the on-chip memory 73 * VCLK Selected pixel clock, one of VCLK0, VCLK1, VCLK2, VCLK3 75 * SCLK Multi-purpose clock 77 * - MCLK and XCLK use the same FB_DIV 78 * - VCLK0 .. VCLK3 use the same FB_DIV 79 * - V2CLK is needed when the second CRTC is used (can be used for dualhead); 82 * - SCLK is not available on all cards; it is know to exist on the Rage LT-PRO, 84 * - V2CLK is not available on all cards, most likely only the Rage LT-PRO, [all …]
|
/linux-6.14.4/arch/arm64/boot/dts/renesas/ |
D | r9a07g043u.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 8 #include <dt-bindings/interrupt-controller/arm-gic.h> 16 #address-cells = <1>; 17 #size-cells = <0>; 20 compatible = "arm,cortex-a55"; 23 #cooling-cells = <2>; 24 next-level-cache = <&L3_CA55>; 25 enable-method = "psci"; 27 operating-points-v2 = <&cluster0_opp>; 30 L3_CA55: cache-controller-0 { [all …]
|
/linux-6.14.4/Documentation/devicetree/bindings/display/bridge/ |
D | renesas,dsi.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Biju Das <[email protected]> 18 - $ref: /schemas/display/dsi-controller.yaml# 23 - enum: 24 - renesas,r9a07g044-mipi-dsi # RZ/G2{L,LC} 25 - renesas,r9a07g054-mipi-dsi # RZ/V2L 26 - const: renesas,rzg2l-mipi-dsi 33 - description: Sequence operation channel 0 interrupt [all …]
|
/linux-6.14.4/drivers/gpu/drm/amd/pm/powerplay/hwmgr/ |
D | smu8_hwmgr.c | 27 #include "atom-types.h" 53 if (smu8_magic != hw_ps->magic) in cast_smu8_power_state() 62 if (smu8_magic != hw_ps->magic) in cast_const_smu8_power_state() 73 hwmgr->dyn_state.vce_clock_voltage_dependency_table; in smu8_get_eclk_level() 78 for (i = 0; i < (int)ptable->count; i++) { in smu8_get_eclk_level() 79 if (clock <= ptable->entries[i].ecclk) in smu8_get_eclk_level() 86 for (i = ptable->count - 1; i >= 0; i--) { in smu8_get_eclk_level() 87 if (clock >= ptable->entries[i].ecclk) in smu8_get_eclk_level() 104 hwmgr->dyn_state.vddc_dependency_on_sclk; in smu8_get_sclk_level() 109 for (i = 0; i < (int)table->count; i++) { in smu8_get_sclk_level() [all …]
|
/linux-6.14.4/drivers/video/fbdev/sis/ |
D | init.c | 10 * Copyright (C) 2001-2005 by Thomas Winischhofer, Vienna, Austria 27 * * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA 55 * Formerly based on non-functional code-fragements for 300 series by SiS, Inc. 81 SiS_Pr->SiS_SModeIDTable = SiS_SModeIDTable; in InitCommonPointer() 82 SiS_Pr->SiS_StResInfo = SiS_StResInfo; in InitCommonPointer() 83 SiS_Pr->SiS_ModeResInfo = SiS_ModeResInfo; in InitCommonPointer() 84 SiS_Pr->SiS_StandTable = SiS_StandTable; in InitCommonPointer() 86 SiS_Pr->SiS_NTSCTiming = SiS_NTSCTiming; in InitCommonPointer() 87 SiS_Pr->SiS_PALTiming = SiS_PALTiming; in InitCommonPointer() 88 SiS_Pr->SiS_HiTVSt1Timing = SiS_HiTVSt1Timing; in InitCommonPointer() [all …]
|