/kernel/linux/linux-5.10/drivers/phy/samsung/ |
D | phy-exynos-pcie.c | 69 void __iomem *phy_base; member 89 exynos_pcie_phy_writel(ep->phy_base, 0x29, PCIE_PHY_DCC_FEEDBACK); in exynos5440_pcie_phy_init() 92 exynos_pcie_phy_writel(ep->phy_base, 0xd5, PCIE_PHY_IMPEDANCE); in exynos5440_pcie_phy_init() 95 exynos_pcie_phy_writel(ep->phy_base, 0x14, PCIE_PHY_PLL_DIV_0); in exynos5440_pcie_phy_init() 96 exynos_pcie_phy_writel(ep->phy_base, 0x12, PCIE_PHY_PLL_DIV_1); in exynos5440_pcie_phy_init() 99 exynos_pcie_phy_writel(ep->phy_base, 0x7f, PCIE_PHY_TRSV0_DRV_LVL); in exynos5440_pcie_phy_init() 102 exynos_pcie_phy_writel(ep->phy_base, 0x0, PCIE_PHY_TRSV0_EMP_LVL); in exynos5440_pcie_phy_init() 105 exynos_pcie_phy_writel(ep->phy_base, 0xe7, PCIE_PHY_PLL_BIAS); in exynos5440_pcie_phy_init() 106 exynos_pcie_phy_writel(ep->phy_base, 0x82, PCIE_PHY_TRSV0_RXCDR); in exynos5440_pcie_phy_init() 107 exynos_pcie_phy_writel(ep->phy_base, 0x82, PCIE_PHY_TRSV1_RXCDR); in exynos5440_pcie_phy_init() [all …]
|
/kernel/linux/linux-5.10/drivers/phy/marvell/ |
D | phy-berlin-sata.c | 62 u32 phy_base; member 66 u32 phy_base, u32 reg, u32 mask, u32 val) in phy_berlin_sata_reg_setbits() argument 71 writel(phy_base + reg, ctrl_reg + PORT_VSR_ADDR); in phy_berlin_sata_reg_setbits() 104 phy_berlin_sata_reg_setbits(ctrl_reg, priv->phy_base, 0x01, in phy_berlin_sata_power_on() 109 phy_berlin_sata_reg_setbits(ctrl_reg, priv->phy_base, 0x25, in phy_berlin_sata_power_on() 113 phy_berlin_sata_reg_setbits(ctrl_reg, priv->phy_base, 0x23, in phy_berlin_sata_power_on() 117 phy_berlin_sata_reg_setbits(ctrl_reg, priv->phy_base, 0x02, in phy_berlin_sata_power_on() 224 priv->phy_base = BG2_PHY_BASE; in phy_berlin_sata_probe() 226 priv->phy_base = BG2Q_PHY_BASE; in phy_berlin_sata_probe()
|
/kernel/linux/linux-5.10/drivers/clk/ux500/ |
D | clk-prcc.c | 95 resource_size_t phy_base, in clk_reg_prcc() argument 113 clk->base = ioremap(phy_base, SZ_4K); in clk_reg_prcc() 143 resource_size_t phy_base, in clk_reg_prcc_pclk() argument 147 return clk_reg_prcc(name, parent_name, phy_base, cg_sel, flags, in clk_reg_prcc_pclk() 153 resource_size_t phy_base, in clk_reg_prcc_kclk() argument 157 return clk_reg_prcc(name, parent_name, phy_base, cg_sel, flags, in clk_reg_prcc_kclk()
|
D | clk.h | 19 resource_size_t phy_base, 25 resource_size_t phy_base,
|
/kernel/linux/linux-5.10/drivers/phy/rockchip/ |
D | phy-rockchip-usb.c | 459 struct rockchip_usb_phy_base *phy_base; in rockchip_usb_phy_probe() local 465 phy_base = devm_kzalloc(dev, sizeof(*phy_base), GFP_KERNEL); in rockchip_usb_phy_probe() 466 if (!phy_base) in rockchip_usb_phy_probe() 475 phy_base->pdata = match->data; in rockchip_usb_phy_probe() 477 phy_base->dev = dev; in rockchip_usb_phy_probe() 478 phy_base->reg_base = ERR_PTR(-ENODEV); in rockchip_usb_phy_probe() 480 phy_base->reg_base = syscon_node_to_regmap( in rockchip_usb_phy_probe() 482 if (IS_ERR(phy_base->reg_base)) in rockchip_usb_phy_probe() 483 phy_base->reg_base = syscon_regmap_lookup_by_phandle( in rockchip_usb_phy_probe() 485 if (IS_ERR(phy_base->reg_base)) { in rockchip_usb_phy_probe() [all …]
|
D | phy-rockchip-inno-dsidphy.c | 176 void __iomem *phy_base; member 213 orig = readl(inno->phy_base + reg); in phy_update_bits() 216 writel(tmp, inno->phy_base + reg); in phy_update_bits() 609 inno->phy_base = devm_platform_ioremap_resource(pdev, 0); in inno_dsidphy_probe() 610 if (IS_ERR(inno->phy_base)) in inno_dsidphy_probe() 611 return PTR_ERR(inno->phy_base); in inno_dsidphy_probe()
|
/kernel/linux/linux-5.10/drivers/phy/ti/ |
D | phy-omap-usb2.c | 57 void __iomem *phy_base; member 240 val = omap_usb_readl(phy->phy_base, USB2PHY_ANA_CONFIG1); in omap_usb_init() 242 omap_usb_writel(phy->phy_base, USB2PHY_ANA_CONFIG1, val); in omap_usb_init() 246 val = omap_usb_readl(phy->phy_base, USB2PHY_CHRG_DET); in omap_usb_init() 249 omap_usb_writel(phy->phy_base, USB2PHY_CHRG_DET, val); in omap_usb_init() 407 phy->phy_base = devm_ioremap_resource(&pdev->dev, res); in omap_usb2_probe() 408 if (IS_ERR(phy->phy_base)) in omap_usb2_probe() 409 return PTR_ERR(phy->phy_base); in omap_usb2_probe()
|
/kernel/linux/linux-5.10/drivers/pci/controller/dwc/ |
D | pcie-artpec6.c | 35 void __iomem *phy_base; /* DT phy */ member 162 val = readl(artpec6_pcie->phy_base + PHY_STATUS); in artpec6_pcie_wait_for_phy_a6() 190 phy_status_tx = readw(artpec6_pcie->phy_base + PHY_TX_ASIC_OUT); in artpec6_pcie_wait_for_phy_a7() 191 phy_status_rx = readw(artpec6_pcie->phy_base + PHY_RX_ASIC_OUT); in artpec6_pcie_wait_for_phy_a7() 476 artpec6_pcie->phy_base = in artpec6_pcie_probe() 478 if (IS_ERR(artpec6_pcie->phy_base)) in artpec6_pcie_probe() 479 return PTR_ERR(artpec6_pcie->phy_base); in artpec6_pcie_probe()
|
D | pcie-kirin.c | 84 void __iomem *phy_base; member 111 writel(val, kirin_pcie->phy_base + reg); in kirin_apb_phy_writel() 116 return readl(kirin_pcie->phy_base + reg); in kirin_apb_phy_readl() 155 kirin_pcie->phy_base = in kirin_pcie_get_resource() 157 if (IS_ERR(kirin_pcie->phy_base)) in kirin_pcie_get_resource() 158 return PTR_ERR(kirin_pcie->phy_base); in kirin_pcie_get_resource()
|
D | pci-imx6.c | 83 void __iomem *phy_base; member 542 if (likely(imx6_pcie->phy_base)) { in imx6_pcie_deassert_core_reset() 545 imx6_pcie->phy_base + PCIE_PHY_CMN_REG4); in imx6_pcie_deassert_core_reset() 549 imx6_pcie->phy_base + PCIE_PHY_CMN_REG24); in imx6_pcie_deassert_core_reset() 552 imx6_pcie->phy_base + PCIE_PHY_CMN_REG26); in imx6_pcie_deassert_core_reset() 1036 imx6_pcie->phy_base = devm_ioremap_resource(dev, &res); in imx6_pcie_probe() 1037 if (IS_ERR(imx6_pcie->phy_base)) { in imx6_pcie_probe() 1039 return PTR_ERR(imx6_pcie->phy_base); in imx6_pcie_probe()
|
/kernel/linux/linux-5.10/drivers/ata/ |
D | sata_highbank.c | 57 void __iomem *phy_base; member 219 writel(CPHY_MAP(dev, addr), port_data[sata_port].phy_base + 0x800); in __combo_phy_reg_read() 220 data = readl(port_data[sata_port].phy_base + CPHY_ADDR(addr)); in __combo_phy_reg_read() 229 writel(CPHY_MAP(dev, addr), port_data[sata_port].phy_base + 0x800); in __combo_phy_reg_write() 230 writel(data, port_data[sata_port].phy_base + CPHY_ADDR(addr)); in __combo_phy_reg_write() 261 if (unlikely(port_data[sata_port].phy_base == NULL)) in highbank_cphy_disable_overrides() 316 if (unlikely(port_data[sata_port].phy_base == NULL)) in highbank_cphy_override_lane() 358 port_data[port].phy_base = cphy_base[phy]; in highbank_initialize_phys()
|
D | ahci_imx.c | 102 void __iomem *phy_base; member 609 writeb(imxpriv->imped_ratio, imxpriv->phy_base + in imx8_sata_enable() 611 writeb(imxpriv->imped_ratio, imxpriv->phy_base + in imx8_sata_enable() 613 reg = readb(imxpriv->phy_base + in imx8_sata_enable() 617 reg = readb(imxpriv->phy_base + in imx8_sata_enable() 991 imxpriv->phy_base = devm_ioremap(dev, phy_res->start, in imx8_sata_probe() 993 if (!imxpriv->phy_base) { in imx8_sata_probe()
|
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/drivers/ |
D | 0012_linux_drivers_ata.patch | 93 void __iomem *phy_base; 389 - writeb(imxpriv->imped_ratio, imxpriv->phy_base + 391 - writeb(imxpriv->imped_ratio, imxpriv->phy_base + 393 - reg = readb(imxpriv->phy_base + 396 + reg = readb(imxpriv->phy_base + 408 + writeb(imxpriv->imped_ratio, imxpriv->phy_base 410 + writeb(imxpriv->imped_ratio, imxpriv->phy_base 412 + reg = readb(imxpriv->phy_base 416 - reg = readb(imxpriv->phy_base + 418 + reg = readb(imxpriv->phy_base [all …]
|
/kernel/linux/linux-5.10/arch/arm/mach-ux500/ |
D | pm.c | 178 void __init ux500_pm_init(u32 phy_base, u32 size) in ux500_pm_init() argument 182 prcmu_base = ioremap(phy_base, size); in ux500_pm_init()
|
/kernel/linux/linux-5.10/drivers/phy/broadcom/ |
D | phy-brcm-sata.c | 72 void __iomem *phy_base; member 210 void __iomem *pcb_base = priv->phy_base; in brcm_sata_phy_wr() 227 void __iomem *pcb_base = priv->phy_base; in brcm_sata_phy_rd() 743 priv->phy_base = devm_ioremap_resource(dev, res); in brcm_sata_phy_probe() 744 if (IS_ERR(priv->phy_base)) in brcm_sata_phy_probe() 745 return PTR_ERR(priv->phy_base); in brcm_sata_phy_probe()
|
/kernel/linux/linux-5.10/include/linux/platform_data/ |
D | arm-ux500-pm.h | 18 void ux500_pm_init(u32 phy_base, u32 size);
|
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/dsi/pll/ |
D | dsi_pll_10nm.c | 537 void __iomem *phy_base = pll_10nm->phy_cmn_mmio; in dsi_pll_10nm_save_state() local 544 cmn_clk_cfg0 = pll_read(phy_base + REG_DSI_10nm_PHY_CMN_CLK_CFG0); in dsi_pll_10nm_save_state() 548 cmn_clk_cfg1 = pll_read(phy_base + REG_DSI_10nm_PHY_CMN_CLK_CFG1); in dsi_pll_10nm_save_state() 560 void __iomem *phy_base = pll_10nm->phy_cmn_mmio; in dsi_pll_10nm_restore_state() local 569 pll_write(phy_base + REG_DSI_10nm_PHY_CMN_CLK_CFG0, in dsi_pll_10nm_restore_state() 572 val = pll_read(phy_base + REG_DSI_10nm_PHY_CMN_CLK_CFG1); in dsi_pll_10nm_restore_state() 575 pll_write(phy_base + REG_DSI_10nm_PHY_CMN_CLK_CFG1, val); in dsi_pll_10nm_restore_state()
|
D | dsi_pll_7nm.c | 563 void __iomem *phy_base = pll_7nm->phy_cmn_mmio; in dsi_pll_7nm_save_state() local 570 cmn_clk_cfg0 = pll_read(phy_base + REG_DSI_7nm_PHY_CMN_CLK_CFG0); in dsi_pll_7nm_save_state() 574 cmn_clk_cfg1 = pll_read(phy_base + REG_DSI_7nm_PHY_CMN_CLK_CFG1); in dsi_pll_7nm_save_state() 586 void __iomem *phy_base = pll_7nm->phy_cmn_mmio; in dsi_pll_7nm_restore_state() local 595 pll_write(phy_base + REG_DSI_7nm_PHY_CMN_CLK_CFG0, in dsi_pll_7nm_restore_state() 598 val = pll_read(phy_base + REG_DSI_7nm_PHY_CMN_CLK_CFG1); in dsi_pll_7nm_restore_state() 601 pll_write(phy_base + REG_DSI_7nm_PHY_CMN_CLK_CFG1, val); in dsi_pll_7nm_restore_state()
|
/kernel/linux/linux-5.10/drivers/usb/musb/ |
D | ux500_dma.c | 47 dma_addr_t phy_base; member 84 ux500_channel->controller->phy_base); in ux500_configure_channel() 378 controller->phy_base = (dma_addr_t) iomem->start; in ux500_dma_controller_create()
|
/kernel/linux/linux-5.10/sound/soc/atmel/ |
D | atmel-classd.c | 28 dma_addr_t phy_base; member 159 slave_config->dst_addr = dd->phy_base + CLASSD_THR; in atmel_classd_platform_configure_dma() 565 dd->phy_base = res->start; in atmel_classd_probe()
|
D | atmel-pdmic.c | 28 dma_addr_t phy_base; member 206 slave_config->src_addr = dd->phy_base + PDMIC_CDR; in atmel_pdmic_platform_configure_dma() 627 dd->phy_base = res->start; in atmel_pdmic_probe()
|
/kernel/linux/linux-5.10/drivers/net/dsa/ |
D | lan9303-core.c | 1025 int phy_base = chip->phy_addr_base; in lan9303_phy_read() local 1027 if (phy == phy_base) in lan9303_phy_read() 1029 if (phy > phy_base + 2) in lan9303_phy_read() 1039 int phy_base = chip->phy_addr_base; in lan9303_phy_write() local 1041 if (phy == phy_base) in lan9303_phy_write() 1043 if (phy > phy_base + 2) in lan9303_phy_write()
|
/kernel/linux/linux-5.10/arch/arm/include/asm/hardware/ |
D | cache-l2x0.h | 170 unsigned long phy_base; member
|
/kernel/linux/linux-5.10/drivers/net/ethernet/hisilicon/hns/ |
D | hns_dsaf_rcb.h | 102 phys_addr_t phy_base; member
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/hns/ |
D | hns_roce_hem.c | 1307 u64 phy_base; in hem_list_alloc_root_bt() local 1348 phy_base = root_hem->dma_addr + total * BA_BYTE_LEN; in hem_list_alloc_root_bt() 1361 hem_list_assign_bt(hr_dev, hem, cpu_base, phy_base); in hem_list_alloc_root_bt() 1482 u64 phy_base = 0; in hns_roce_hem_list_find_mtt() local 1489 phy_base = hem->dma_addr + nr * BA_BYTE_LEN; in hns_roce_hem_list_find_mtt() 1499 *phy_addr = phy_base; in hns_roce_hem_list_find_mtt()
|