/linux-6.12.1/drivers/net/wireless/quantenna/qtnfmac/pcie/ |
D | pearl_pcie_regs.h | 8 #define PCIE_HDP_CTRL(base) ((base) + 0x2c00) argument 9 #define PCIE_HDP_AXI_CTRL(base) ((base) + 0x2c04) argument 10 #define PCIE_HDP_HOST_WR_DESC0(base) ((base) + 0x2c10) argument 11 #define PCIE_HDP_HOST_WR_DESC0_H(base) ((base) + 0x2c14) argument 12 #define PCIE_HDP_HOST_WR_DESC1(base) ((base) + 0x2c18) argument 13 #define PCIE_HDP_HOST_WR_DESC1_H(base) ((base) + 0x2c1c) argument 14 #define PCIE_HDP_HOST_WR_DESC2(base) ((base) + 0x2c20) argument 15 #define PCIE_HDP_HOST_WR_DESC2_H(base) ((base) + 0x2c24) argument 16 #define PCIE_HDP_HOST_WR_DESC3(base) ((base) + 0x2c28) argument 17 #define PCIE_HDP_HOST_WR_DESC4_H(base) ((base) + 0x2c2c) argument [all …]
|
D | topaz_pcie_regs.h | 8 #define PCIE_DMA_WR_INTR_STATUS(base) ((base) + 0x9bc) argument 9 #define PCIE_DMA_WR_INTR_MASK(base) ((base) + 0x9c4) argument 10 #define PCIE_DMA_WR_INTR_CLR(base) ((base) + 0x9c8) argument 11 #define PCIE_DMA_WR_ERR_STATUS(base) ((base) + 0x9cc) argument 12 #define PCIE_DMA_WR_DONE_IMWR_ADDR_LOW(base) ((base) + 0x9D0) argument 13 #define PCIE_DMA_WR_DONE_IMWR_ADDR_HIGH(base) ((base) + 0x9d4) argument 15 #define PCIE_DMA_RD_INTR_STATUS(base) ((base) + 0x310) argument 16 #define PCIE_DMA_RD_INTR_MASK(base) ((base) + 0x319) argument 17 #define PCIE_DMA_RD_INTR_CLR(base) ((base) + 0x31c) argument 18 #define PCIE_DMA_RD_ERR_STATUS_LOW(base) ((base) + 0x324) argument [all …]
|
/linux-6.12.1/drivers/gpu/drm/i915/gt/ |
D | intel_engine_regs.h | 11 #define RING_EXCC(base) _MMIO((base) + 0x28) argument 12 #define RING_TAIL(base) _MMIO((base) + 0x30) argument 14 #define RING_HEAD(base) _MMIO((base) + 0x34) argument 18 #define RING_START(base) _MMIO((base) + 0x38) argument 19 #define RING_CTL(base) _MMIO((base) + 0x3c) argument 32 #define RING_SYNC_0(base) _MMIO((base) + 0x40) argument 33 #define RING_SYNC_1(base) _MMIO((base) + 0x44) argument 34 #define RING_SYNC_2(base) _MMIO((base) + 0x48) argument 47 #define RING_PSMI_CTL(base) _MMIO((base) + 0x50) argument 55 #define RING_MAX_IDLE(base) _MMIO((base) + 0x54) argument [all …]
|
/linux-6.12.1/arch/loongarch/kernel/ |
D | fpu.S | 29 .macro sc_save_fp base argument 30 EX fst.d $f0, \base, (0 * FPU_REG_WIDTH) 31 EX fst.d $f1, \base, (1 * FPU_REG_WIDTH) 32 EX fst.d $f2, \base, (2 * FPU_REG_WIDTH) 33 EX fst.d $f3, \base, (3 * FPU_REG_WIDTH) 34 EX fst.d $f4, \base, (4 * FPU_REG_WIDTH) 35 EX fst.d $f5, \base, (5 * FPU_REG_WIDTH) 36 EX fst.d $f6, \base, (6 * FPU_REG_WIDTH) 37 EX fst.d $f7, \base, (7 * FPU_REG_WIDTH) 38 EX fst.d $f8, \base, (8 * FPU_REG_WIDTH) [all …]
|
/linux-6.12.1/drivers/gpu/drm/xe/regs/ |
D | xe_engine_regs.h | 46 #define RING_TAIL(base) XE_REG((base) + 0x30) argument 49 #define RING_HEAD(base) XE_REG((base) + 0x34) argument 52 #define RING_START(base) XE_REG((base) + 0x38) argument 54 #define RING_CTL(base) XE_REG((base) + 0x3c) argument 58 #define RING_START_UDW(base) XE_REG((base) + 0x48) argument 60 #define RING_PSMI_CTL(base) XE_REG((base) + 0x50, XE_REG_OPTION_MASKED) argument 65 #define RING_PWRCTX_MAXCNT(base) XE_REG((base) + 0x54) argument 68 #define RING_ACTHD_UDW(base) XE_REG((base) + 0x5c) argument 69 #define RING_DMA_FADD_UDW(base) XE_REG((base) + 0x60) argument 70 #define RING_IPEHR(base) XE_REG((base) + 0x68) argument [all …]
|
/linux-6.12.1/drivers/clk/imx/ |
D | clk-imx7d.c | 383 void __iomem *base; in imx7d_clocks_init() local 398 base = of_iomap(np, 0); in imx7d_clocks_init() 399 WARN_ON(!base); in imx7d_clocks_init() 402 …hws[IMX7D_PLL_ARM_MAIN_SRC] = imx_clk_hw_mux("pll_arm_main_src", base + 0x60, 14, 2, pll_bypass_s… in imx7d_clocks_init() 403 …hws[IMX7D_PLL_DRAM_MAIN_SRC] = imx_clk_hw_mux("pll_dram_main_src", base + 0x70, 14, 2, pll_bypass_… in imx7d_clocks_init() 404 …hws[IMX7D_PLL_SYS_MAIN_SRC] = imx_clk_hw_mux("pll_sys_main_src", base + 0xb0, 14, 2, pll_bypass_s… in imx7d_clocks_init() 405 …hws[IMX7D_PLL_ENET_MAIN_SRC] = imx_clk_hw_mux("pll_enet_main_src", base + 0xe0, 14, 2, pll_bypass_… in imx7d_clocks_init() 406 …hws[IMX7D_PLL_AUDIO_MAIN_SRC] = imx_clk_hw_mux("pll_audio_main_src", base + 0xf0, 14, 2, pll_bypas… in imx7d_clocks_init() 407 …hws[IMX7D_PLL_VIDEO_MAIN_SRC] = imx_clk_hw_mux("pll_video_main_src", base + 0x130, 14, 2, pll_bypa… in imx7d_clocks_init() 409 …hws[IMX7D_PLL_ARM_MAIN] = imx_clk_hw_pllv3(IMX_PLLV3_SYS, "pll_arm_main", "osc", base + 0x60, 0x7… in imx7d_clocks_init() [all …]
|
D | clk-imx8ulp.c | 53 void __iomem *base; member 91 val = readl(pcc_reset->base + offset); in imx8ulp_pcc_assert() 93 writel(val, pcc_reset->base + offset); in imx8ulp_pcc_assert() 109 val = readl(pcc_reset->base + offset); in imx8ulp_pcc_deassert() 111 writel(val, pcc_reset->base + offset); in imx8ulp_pcc_deassert() 123 static int imx8ulp_pcc_reset_init(struct platform_device *pdev, void __iomem *base, in imx8ulp_pcc_reset_init() argument 134 pcc_reset->base = base; in imx8ulp_pcc_reset_init() 150 void __iomem *base; in imx8ulp_clk_cgc1_init() local 163 base = devm_platform_ioremap_resource(pdev, 0); in imx8ulp_clk_cgc1_init() 164 if (WARN_ON(IS_ERR(base))) in imx8ulp_clk_cgc1_init() [all …]
|
D | clk-imx6sll.c | 82 void __iomem *base; in imx6sll_clocks_init() local 102 base = of_iomap(np, 0); in imx6sll_clocks_init() 104 WARN_ON(!base); in imx6sll_clocks_init() 107 writel_relaxed(CCM_ANALOG_PLL_BYPASS, base + xPLL_CLR(0x0)); in imx6sll_clocks_init() 108 writel_relaxed(CCM_ANALOG_PLL_BYPASS, base + xPLL_CLR(0x10)); in imx6sll_clocks_init() 109 writel_relaxed(CCM_ANALOG_PLL_BYPASS, base + xPLL_CLR(0x20)); in imx6sll_clocks_init() 110 writel_relaxed(CCM_ANALOG_PLL_BYPASS, base + xPLL_CLR(0x30)); in imx6sll_clocks_init() 111 writel_relaxed(CCM_ANALOG_PLL_BYPASS, base + xPLL_CLR(0x70)); in imx6sll_clocks_init() 112 writel_relaxed(CCM_ANALOG_PLL_BYPASS, base + xPLL_CLR(0xa0)); in imx6sll_clocks_init() 113 writel_relaxed(CCM_ANALOG_PLL_BYPASS, base + xPLL_CLR(0xe0)); in imx6sll_clocks_init() [all …]
|
D | clk-imx6sx.c | 123 void __iomem *base; in imx6sx_clocks_init() local 148 base = of_iomap(np, 0); in imx6sx_clocks_init() 149 WARN_ON(!base); in imx6sx_clocks_init() 152 …hws[IMX6SX_PLL1_BYPASS_SRC] = imx_clk_hw_mux("pll1_bypass_src", base + 0x00, 14, 1, pll_bypass_src… in imx6sx_clocks_init() 153 …hws[IMX6SX_PLL2_BYPASS_SRC] = imx_clk_hw_mux("pll2_bypass_src", base + 0x30, 14, 1, pll_bypass_src… in imx6sx_clocks_init() 154 …hws[IMX6SX_PLL3_BYPASS_SRC] = imx_clk_hw_mux("pll3_bypass_src", base + 0x10, 14, 1, pll_bypass_src… in imx6sx_clocks_init() 155 …hws[IMX6SX_PLL4_BYPASS_SRC] = imx_clk_hw_mux("pll4_bypass_src", base + 0x70, 14, 1, pll_bypass_src… in imx6sx_clocks_init() 156 …hws[IMX6SX_PLL5_BYPASS_SRC] = imx_clk_hw_mux("pll5_bypass_src", base + 0xa0, 14, 1, pll_bypass_src… in imx6sx_clocks_init() 157 …hws[IMX6SX_PLL6_BYPASS_SRC] = imx_clk_hw_mux("pll6_bypass_src", base + 0xe0, 14, 1, pll_bypass_src… in imx6sx_clocks_init() 158 …hws[IMX6SX_PLL7_BYPASS_SRC] = imx_clk_hw_mux("pll7_bypass_src", base + 0x20, 14, 1, pll_bypass_src… in imx6sx_clocks_init() [all …]
|
D | clk-imx6ul.c | 131 void __iomem *base; in imx6ul_clocks_init() local 151 base = of_iomap(np, 0); in imx6ul_clocks_init() 153 WARN_ON(!base); in imx6ul_clocks_init() 155 …hws[IMX6UL_PLL1_BYPASS_SRC] = imx_clk_hw_mux("pll1_bypass_src", base + 0x00, 14, 1, pll_bypass_src… in imx6ul_clocks_init() 156 …hws[IMX6UL_PLL2_BYPASS_SRC] = imx_clk_hw_mux("pll2_bypass_src", base + 0x30, 14, 1, pll_bypass_src… in imx6ul_clocks_init() 157 …hws[IMX6UL_PLL3_BYPASS_SRC] = imx_clk_hw_mux("pll3_bypass_src", base + 0x10, 14, 1, pll_bypass_src… in imx6ul_clocks_init() 158 …hws[IMX6UL_PLL4_BYPASS_SRC] = imx_clk_hw_mux("pll4_bypass_src", base + 0x70, 14, 1, pll_bypass_src… in imx6ul_clocks_init() 159 …hws[IMX6UL_PLL5_BYPASS_SRC] = imx_clk_hw_mux("pll5_bypass_src", base + 0xa0, 14, 1, pll_bypass_src… in imx6ul_clocks_init() 160 …hws[IMX6UL_PLL6_BYPASS_SRC] = imx_clk_hw_mux("pll6_bypass_src", base + 0xe0, 14, 1, pll_bypass_src… in imx6ul_clocks_init() 161 …hws[IMX6UL_PLL7_BYPASS_SRC] = imx_clk_hw_mux("pll7_bypass_src", base + 0x20, 14, 1, pll_bypass_src… in imx6ul_clocks_init() [all …]
|
D | clk-imx6sl.c | 185 void __iomem *base; in imx6sl_clocks_init() local 203 base = of_iomap(np, 0); in imx6sl_clocks_init() 204 WARN_ON(!base); in imx6sl_clocks_init() 206 anatop_base = base; in imx6sl_clocks_init() 208 …hws[IMX6SL_PLL1_BYPASS_SRC] = imx_clk_hw_mux("pll1_bypass_src", base + 0x00, 14, 1, pll_bypass_src… in imx6sl_clocks_init() 209 …hws[IMX6SL_PLL2_BYPASS_SRC] = imx_clk_hw_mux("pll2_bypass_src", base + 0x30, 14, 1, pll_bypass_src… in imx6sl_clocks_init() 210 …hws[IMX6SL_PLL3_BYPASS_SRC] = imx_clk_hw_mux("pll3_bypass_src", base + 0x10, 14, 1, pll_bypass_src… in imx6sl_clocks_init() 211 …hws[IMX6SL_PLL4_BYPASS_SRC] = imx_clk_hw_mux("pll4_bypass_src", base + 0x70, 14, 1, pll_bypass_src… in imx6sl_clocks_init() 212 …hws[IMX6SL_PLL5_BYPASS_SRC] = imx_clk_hw_mux("pll5_bypass_src", base + 0xa0, 14, 1, pll_bypass_src… in imx6sl_clocks_init() 213 …hws[IMX6SL_PLL6_BYPASS_SRC] = imx_clk_hw_mux("pll6_bypass_src", base + 0xe0, 14, 1, pll_bypass_src… in imx6sl_clocks_init() [all …]
|
D | clk-imx8mm.c | 303 void __iomem *base; in imx8mm_clocks_probe() local 323 base = of_iomap(np, 0); in imx8mm_clocks_probe() 325 if (WARN_ON(!base)) in imx8mm_clocks_probe() 328 …hws[IMX8MM_AUDIO_PLL1_REF_SEL] = imx_clk_hw_mux("audio_pll1_ref_sel", base + 0x0, 0, 2, pll_ref_se… in imx8mm_clocks_probe() 329 …hws[IMX8MM_AUDIO_PLL2_REF_SEL] = imx_clk_hw_mux("audio_pll2_ref_sel", base + 0x14, 0, 2, pll_ref_s… in imx8mm_clocks_probe() 330 …hws[IMX8MM_VIDEO_PLL1_REF_SEL] = imx_clk_hw_mux("video_pll1_ref_sel", base + 0x28, 0, 2, pll_ref_s… in imx8mm_clocks_probe() 331 …hws[IMX8MM_DRAM_PLL_REF_SEL] = imx_clk_hw_mux("dram_pll_ref_sel", base + 0x50, 0, 2, pll_ref_sels,… in imx8mm_clocks_probe() 332 …hws[IMX8MM_GPU_PLL_REF_SEL] = imx_clk_hw_mux("gpu_pll_ref_sel", base + 0x64, 0, 2, pll_ref_sels, A… in imx8mm_clocks_probe() 333 …hws[IMX8MM_VPU_PLL_REF_SEL] = imx_clk_hw_mux("vpu_pll_ref_sel", base + 0x74, 0, 2, pll_ref_sels, A… in imx8mm_clocks_probe() 334 …hws[IMX8MM_ARM_PLL_REF_SEL] = imx_clk_hw_mux("arm_pll_ref_sel", base + 0x84, 0, 2, pll_ref_sels, A… in imx8mm_clocks_probe() [all …]
|
D | clk-imx6q.c | 439 void __iomem *anatop_base, *base; in imx6q_clocks_init() local 461 anatop_base = base = of_iomap(np, 0); in imx6q_clocks_init() 462 WARN_ON(!base); in imx6q_clocks_init() 473 …hws[IMX6QDL_PLL1_BYPASS_SRC] = imx_clk_hw_mux("pll1_bypass_src", base + 0x00, 14, 2, pll_bypass_sr… in imx6q_clocks_init() 474 …hws[IMX6QDL_PLL2_BYPASS_SRC] = imx_clk_hw_mux("pll2_bypass_src", base + 0x30, 14, 2, pll_bypass_sr… in imx6q_clocks_init() 475 …hws[IMX6QDL_PLL3_BYPASS_SRC] = imx_clk_hw_mux("pll3_bypass_src", base + 0x10, 14, 2, pll_bypass_sr… in imx6q_clocks_init() 476 …hws[IMX6QDL_PLL4_BYPASS_SRC] = imx_clk_hw_mux("pll4_bypass_src", base + 0x70, 14, 2, pll_bypass_sr… in imx6q_clocks_init() 477 …hws[IMX6QDL_PLL5_BYPASS_SRC] = imx_clk_hw_mux("pll5_bypass_src", base + 0xa0, 14, 2, pll_bypass_sr… in imx6q_clocks_init() 478 …hws[IMX6QDL_PLL6_BYPASS_SRC] = imx_clk_hw_mux("pll6_bypass_src", base + 0xe0, 14, 2, pll_bypass_sr… in imx6q_clocks_init() 479 …hws[IMX6QDL_PLL7_BYPASS_SRC] = imx_clk_hw_mux("pll7_bypass_src", base + 0x20, 14, 2, pll_bypass_sr… in imx6q_clocks_init() [all …]
|
D | clk-imx8mq.c | 288 void __iomem *base; in imx8mq_clocks_probe() local 308 base = devm_of_iomap(dev, np, 0, NULL); in imx8mq_clocks_probe() 310 if (WARN_ON(IS_ERR(base))) { in imx8mq_clocks_probe() 311 err = PTR_ERR(base); in imx8mq_clocks_probe() 315 …hws[IMX8MQ_ARM_PLL_REF_SEL] = imx_clk_hw_mux("arm_pll_ref_sel", base + 0x28, 16, 2, pll_ref_sels, … in imx8mq_clocks_probe() 316 …hws[IMX8MQ_GPU_PLL_REF_SEL] = imx_clk_hw_mux("gpu_pll_ref_sel", base + 0x18, 16, 2, pll_ref_sels, … in imx8mq_clocks_probe() 317 …hws[IMX8MQ_VPU_PLL_REF_SEL] = imx_clk_hw_mux("vpu_pll_ref_sel", base + 0x20, 16, 2, pll_ref_sels, … in imx8mq_clocks_probe() 318 …hws[IMX8MQ_AUDIO_PLL1_REF_SEL] = imx_clk_hw_mux("audio_pll1_ref_sel", base + 0x0, 16, 2, pll_ref_s… in imx8mq_clocks_probe() 319 …hws[IMX8MQ_AUDIO_PLL2_REF_SEL] = imx_clk_hw_mux("audio_pll2_ref_sel", base + 0x8, 16, 2, pll_ref_s… in imx8mq_clocks_probe() 320 …hws[IMX8MQ_VIDEO_PLL1_REF_SEL] = imx_clk_hw_mux("video_pll1_ref_sel", base + 0x10, 16, 2, pll_ref_… in imx8mq_clocks_probe() [all …]
|
D | clk-imx8mn.c | 323 void __iomem *base; in imx8mn_clocks_probe() local 343 base = devm_of_iomap(dev, np, 0, NULL); in imx8mn_clocks_probe() 345 if (WARN_ON(IS_ERR(base))) { in imx8mn_clocks_probe() 346 ret = PTR_ERR(base); in imx8mn_clocks_probe() 350 …hws[IMX8MN_AUDIO_PLL1_REF_SEL] = imx_clk_hw_mux("audio_pll1_ref_sel", base + 0x0, 0, 2, pll_ref_se… in imx8mn_clocks_probe() 351 …hws[IMX8MN_AUDIO_PLL2_REF_SEL] = imx_clk_hw_mux("audio_pll2_ref_sel", base + 0x14, 0, 2, pll_ref_s… in imx8mn_clocks_probe() 352 …hws[IMX8MN_VIDEO_PLL_REF_SEL] = imx_clk_hw_mux("video_pll_ref_sel", base + 0x28, 0, 2, pll_ref_sel… in imx8mn_clocks_probe() 353 …hws[IMX8MN_DRAM_PLL_REF_SEL] = imx_clk_hw_mux("dram_pll_ref_sel", base + 0x50, 0, 2, pll_ref_sels,… in imx8mn_clocks_probe() 354 …hws[IMX8MN_GPU_PLL_REF_SEL] = imx_clk_hw_mux("gpu_pll_ref_sel", base + 0x64, 0, 2, pll_ref_sels, A… in imx8mn_clocks_probe() 355 …hws[IMX8MN_M7_ALT_PLL_REF_SEL] = imx_clk_hw_mux("m7_alt_pll_ref_sel", base + 0x74, 0, 2, pll_ref_s… in imx8mn_clocks_probe() [all …]
|
/linux-6.12.1/drivers/media/platform/samsung/s5p-jpeg/ |
D | jpeg-hw-exynos4.c | 16 void exynos4_jpeg_sw_reset(void __iomem *base) in exynos4_jpeg_sw_reset() argument 20 reg = readl(base + EXYNOS4_JPEG_CNTL_REG); in exynos4_jpeg_sw_reset() 22 base + EXYNOS4_JPEG_CNTL_REG); in exynos4_jpeg_sw_reset() 24 reg = readl(base + EXYNOS4_JPEG_CNTL_REG); in exynos4_jpeg_sw_reset() 25 writel(reg & ~EXYNOS4_SOFT_RESET_HI, base + EXYNOS4_JPEG_CNTL_REG); in exynos4_jpeg_sw_reset() 29 writel(reg | EXYNOS4_SOFT_RESET_HI, base + EXYNOS4_JPEG_CNTL_REG); in exynos4_jpeg_sw_reset() 32 void exynos4_jpeg_set_enc_dec_mode(void __iomem *base, unsigned int mode) in exynos4_jpeg_set_enc_dec_mode() argument 36 reg = readl(base + EXYNOS4_JPEG_CNTL_REG); in exynos4_jpeg_set_enc_dec_mode() 41 base + EXYNOS4_JPEG_CNTL_REG); in exynos4_jpeg_set_enc_dec_mode() 45 base + EXYNOS4_JPEG_CNTL_REG); in exynos4_jpeg_set_enc_dec_mode() [all …]
|
/linux-6.12.1/drivers/gpu/drm/omapdrm/dss/ |
D | hdmi5_core.c | 28 void __iomem *base = core->base; in hdmi5_core_ddc_init() local 43 REG_FLD_MOD(base, HDMI_CORE_I2CM_SOFTRSTZ, 0, 0, 0); in hdmi5_core_ddc_init() 44 if (hdmi_wait_for_bit_change(base, HDMI_CORE_I2CM_SOFTRSTZ, in hdmi5_core_ddc_init() 49 REG_FLD_MOD(base, HDMI_CORE_I2CM_DIV, 0, 3, 3); in hdmi5_core_ddc_init() 53 REG_FLD_MOD(base, HDMI_CORE_I2CM_SS_SCL_HCNT_1_ADDR, in hdmi5_core_ddc_init() 55 REG_FLD_MOD(base, HDMI_CORE_I2CM_SS_SCL_HCNT_0_ADDR, in hdmi5_core_ddc_init() 60 REG_FLD_MOD(base, HDMI_CORE_I2CM_SS_SCL_LCNT_1_ADDR, in hdmi5_core_ddc_init() 62 REG_FLD_MOD(base, HDMI_CORE_I2CM_SS_SCL_LCNT_0_ADDR, in hdmi5_core_ddc_init() 67 REG_FLD_MOD(base, HDMI_CORE_I2CM_FS_SCL_HCNT_1_ADDR, in hdmi5_core_ddc_init() 69 REG_FLD_MOD(base, HDMI_CORE_I2CM_FS_SCL_HCNT_0_ADDR, in hdmi5_core_ddc_init() [all …]
|
/linux-6.12.1/drivers/video/fbdev/omap2/omapfb/dss/ |
D | hdmi5_core.c | 41 void __iomem *base = core->base; in hdmi_core_ddc_init() local 56 REG_FLD_MOD(base, HDMI_CORE_I2CM_SOFTRSTZ, 0, 0, 0); in hdmi_core_ddc_init() 57 if (hdmi_wait_for_bit_change(base, HDMI_CORE_I2CM_SOFTRSTZ, in hdmi_core_ddc_init() 62 REG_FLD_MOD(base, HDMI_CORE_I2CM_DIV, 0, 3, 3); in hdmi_core_ddc_init() 66 REG_FLD_MOD(base, HDMI_CORE_I2CM_SS_SCL_HCNT_1_ADDR, in hdmi_core_ddc_init() 68 REG_FLD_MOD(base, HDMI_CORE_I2CM_SS_SCL_HCNT_0_ADDR, in hdmi_core_ddc_init() 73 REG_FLD_MOD(base, HDMI_CORE_I2CM_SS_SCL_LCNT_1_ADDR, in hdmi_core_ddc_init() 75 REG_FLD_MOD(base, HDMI_CORE_I2CM_SS_SCL_LCNT_0_ADDR, in hdmi_core_ddc_init() 80 REG_FLD_MOD(base, HDMI_CORE_I2CM_FS_SCL_HCNT_1_ADDR, in hdmi_core_ddc_init() 82 REG_FLD_MOD(base, HDMI_CORE_I2CM_FS_SCL_HCNT_0_ADDR, in hdmi_core_ddc_init() [all …]
|
/linux-6.12.1/drivers/scsi/ |
D | nsp32_io.h | 12 static inline void nsp32_write1(unsigned int base, in nsp32_write1() argument 16 outb(val, (base + index)); in nsp32_write1() 19 static inline unsigned char nsp32_read1(unsigned int base, in nsp32_read1() argument 22 return inb(base + index); in nsp32_read1() 25 static inline void nsp32_write2(unsigned int base, in nsp32_write2() argument 29 outw(val, (base + index)); in nsp32_write2() 32 static inline unsigned short nsp32_read2(unsigned int base, in nsp32_read2() argument 35 return inw(base + index); in nsp32_read2() 38 static inline void nsp32_write4(unsigned int base, in nsp32_write4() argument 42 outl(val, (base + index)); in nsp32_write4() [all …]
|
/linux-6.12.1/drivers/phy/mediatek/ |
D | phy-mtk-hdmi-mt2701.c | 53 void __iomem *base = hdmi_phy->regs; in mtk_hdmi_pll_prepare() local 55 mtk_phy_set_bits(base + HDMI_CON7, RG_HTPLL_AUTOK_EN); in mtk_hdmi_pll_prepare() 56 mtk_phy_clear_bits(base + HDMI_CON6, RG_HTPLL_RLH_EN); in mtk_hdmi_pll_prepare() 57 mtk_phy_set_bits(base + HDMI_CON6, RG_HTPLL_POSDIV_MASK); in mtk_hdmi_pll_prepare() 58 mtk_phy_set_bits(base + HDMI_CON2, RG_HDMITX_EN_MBIAS); in mtk_hdmi_pll_prepare() 60 mtk_phy_set_bits(base + HDMI_CON6, RG_HTPLL_EN); in mtk_hdmi_pll_prepare() 61 mtk_phy_set_bits(base + HDMI_CON2, RG_HDMITX_EN_TX_CKLDO); in mtk_hdmi_pll_prepare() 62 mtk_phy_set_bits(base + HDMI_CON0, RG_HDMITX_EN_SLDO_MASK); in mtk_hdmi_pll_prepare() 64 mtk_phy_set_bits(base + HDMI_CON2, RG_HDMITX_MBIAS_LPF_EN); in mtk_hdmi_pll_prepare() 65 mtk_phy_set_bits(base + HDMI_CON0, RG_HDMITX_EN_SER_MASK); in mtk_hdmi_pll_prepare() [all …]
|
D | phy-mtk-mipi-csi-0-5.c | 26 void __iomem *base; member 39 static void mtk_phy_csi_cdphy_ana_eq_tune(void __iomem *base) in mtk_phy_csi_cdphy_ana_eq_tune() argument 41 mtk_phy_update_field(base + MIPI_RX_ANA18_CSIXA, RG_CSI0A_L0_T0AB_EQ_IS, 1); in mtk_phy_csi_cdphy_ana_eq_tune() 42 mtk_phy_update_field(base + MIPI_RX_ANA18_CSIXA, RG_CSI0A_L0_T0AB_EQ_BW, 1); in mtk_phy_csi_cdphy_ana_eq_tune() 43 mtk_phy_update_field(base + MIPI_RX_ANA1C_CSIXA, RG_CSI0A_L1_T1AB_EQ_IS, 1); in mtk_phy_csi_cdphy_ana_eq_tune() 44 mtk_phy_update_field(base + MIPI_RX_ANA1C_CSIXA, RG_CSI0A_L1_T1AB_EQ_BW, 1); in mtk_phy_csi_cdphy_ana_eq_tune() 45 mtk_phy_update_field(base + MIPI_RX_ANA20_CSI0A, RG_CSI0A_L2_T1BC_EQ_IS, 1); in mtk_phy_csi_cdphy_ana_eq_tune() 46 mtk_phy_update_field(base + MIPI_RX_ANA20_CSI0A, RG_CSI0A_L2_T1BC_EQ_BW, 1); in mtk_phy_csi_cdphy_ana_eq_tune() 48 mtk_phy_update_field(base + CSIXB_OFFSET + MIPI_RX_ANA18_CSIXA, RG_CSI0A_L0_T0AB_EQ_IS, 1); in mtk_phy_csi_cdphy_ana_eq_tune() 49 mtk_phy_update_field(base + CSIXB_OFFSET + MIPI_RX_ANA18_CSIXA, RG_CSI0A_L0_T0AB_EQ_BW, 1); in mtk_phy_csi_cdphy_ana_eq_tune() [all …]
|
/linux-6.12.1/drivers/gpu/drm/sun4i/ |
D | sun8i_vi_scaler.h | 30 #define SUN8I_SCALER_VSU_CTRL(base) ((base) + 0x0) argument 31 #define SUN50I_SCALER_VSU_SCALE_MODE(base) ((base) + 0x10) argument 32 #define SUN50I_SCALER_VSU_DIR_THR(base) ((base) + 0x20) argument 33 #define SUN50I_SCALER_VSU_EDGE_THR(base) ((base) + 0x24) argument 34 #define SUN50I_SCALER_VSU_EDSCL_CTRL(base) ((base) + 0x28) argument 35 #define SUN50I_SCALER_VSU_ANGLE_THR(base) ((base) + 0x2c) argument 36 #define SUN8I_SCALER_VSU_OUTSIZE(base) ((base) + 0x40) argument 37 #define SUN8I_SCALER_VSU_YINSIZE(base) ((base) + 0x80) argument 38 #define SUN8I_SCALER_VSU_YHSTEP(base) ((base) + 0x88) argument 39 #define SUN8I_SCALER_VSU_YVSTEP(base) ((base) + 0x8c) argument [all …]
|
/linux-6.12.1/drivers/crypto/starfive/ |
D | jh7110-hash.c | 43 return readl_relaxed_poll_timeout(cryp->base + STARFIVE_HASH_SHACSR, status, in starfive_hash_wait_busy() 51 return readl_relaxed_poll_timeout(cryp->base + STARFIVE_HASH_SHACSR, status, in starfive_hash_wait_hmac_done() 60 return readl_relaxed_poll_timeout(cryp->base + STARFIVE_HASH_SHACSR, status, in starfive_hash_wait_key_done() 72 writel(ctx->keylen, cryp->base + STARFIVE_HASH_SHAWKLEN); in starfive_hash_hmac_key() 77 writel(rctx->csr.hash.v, cryp->base + STARFIVE_HASH_SHACSR); in starfive_hash_hmac_key() 80 writel(*key, cryp->base + STARFIVE_HASH_SHAWKR); in starfive_hash_hmac_key() 85 writeb(*cl, cryp->base + STARFIVE_HASH_SHAWKR); in starfive_hash_hmac_key() 98 csr.v = readl(cryp->base + STARFIVE_HASH_SHACSR); in starfive_hash_start() 101 writel(csr.v, cryp->base + STARFIVE_HASH_SHACSR); in starfive_hash_start() 134 writel(alg_cr.v, cryp->base + STARFIVE_ALG_CR_OFFSET); in starfive_hash_dma_xfer() [all …]
|
/linux-6.12.1/arch/mips/alchemy/common/ |
D | usb.c | 6 * area. Au1550 has OHCI on different base address. No need to handle 98 static inline void __au1300_usb_phyctl(void __iomem *base, int enable) in __au1300_usb_phyctl() argument 102 r = __raw_readl(base + USB_DWC_CTRL2); in __au1300_usb_phyctl() 103 s = __raw_readl(base + USB_DWC_CTRL3); in __au1300_usb_phyctl() 112 __raw_writel(r, base + USB_DWC_CTRL2); in __au1300_usb_phyctl() 118 __raw_writel(r, base + USB_DWC_CTRL2); in __au1300_usb_phyctl() 123 static inline void __au1300_ohci_control(void __iomem *base, int enable, int id) in __au1300_ohci_control() argument 128 __raw_writel(1, base + USB_DWC_CTRL7); /* start OHCI clock */ in __au1300_ohci_control() 131 r = __raw_readl(base + USB_DWC_CTRL3); /* enable OHCI block */ in __au1300_ohci_control() 134 __raw_writel(r, base + USB_DWC_CTRL3); in __au1300_ohci_control() [all …]
|
/linux-6.12.1/drivers/gpu/drm/msm/dsi/phy/ |
D | dsi_phy_20nm.c | 13 void __iomem *base = phy->base; in dsi_20nm_dphy_set_timing() local 16 base + REG_DSI_20nm_PHY_TIMING_CTRL_0); in dsi_20nm_dphy_set_timing() 18 base + REG_DSI_20nm_PHY_TIMING_CTRL_1); in dsi_20nm_dphy_set_timing() 20 base + REG_DSI_20nm_PHY_TIMING_CTRL_2); in dsi_20nm_dphy_set_timing() 23 base + REG_DSI_20nm_PHY_TIMING_CTRL_3); in dsi_20nm_dphy_set_timing() 25 base + REG_DSI_20nm_PHY_TIMING_CTRL_4); in dsi_20nm_dphy_set_timing() 27 base + REG_DSI_20nm_PHY_TIMING_CTRL_5); in dsi_20nm_dphy_set_timing() 29 base + REG_DSI_20nm_PHY_TIMING_CTRL_6); in dsi_20nm_dphy_set_timing() 31 base + REG_DSI_20nm_PHY_TIMING_CTRL_7); in dsi_20nm_dphy_set_timing() 33 base + REG_DSI_20nm_PHY_TIMING_CTRL_8); in dsi_20nm_dphy_set_timing() [all …]
|