Home
last modified time | relevance | path

Searched refs:phy_base (Results 1 – 25 of 36) sorted by relevance

12

/kernel/linux/linux-5.10/drivers/phy/samsung/
Dphy-exynos-pcie.c69 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/
Dphy-berlin-sata.c62 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/
Dclk-prcc.c95 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()
Dclk.h19 resource_size_t phy_base,
25 resource_size_t phy_base,
/kernel/linux/linux-5.10/drivers/phy/rockchip/
Dphy-rockchip-usb.c459 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 …]
Dphy-rockchip-inno-dsidphy.c176 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/
Dphy-omap-usb2.c57 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/
Dpcie-artpec6.c35 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()
Dpcie-kirin.c84 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()
Dpci-imx6.c83 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/
Dsata_highbank.c57 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()
Dahci_imx.c102 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/
D0012_linux_drivers_ata.patch93 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/
Dpm.c178 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/
Dphy-brcm-sata.c72 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/
Darm-ux500-pm.h18 void ux500_pm_init(u32 phy_base, u32 size);
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/dsi/pll/
Ddsi_pll_10nm.c537 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()
Ddsi_pll_7nm.c563 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/
Dux500_dma.c47 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/
Datmel-classd.c28 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()
Datmel-pdmic.c28 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/
Dlan9303-core.c1025 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/
Dcache-l2x0.h170 unsigned long phy_base; member
/kernel/linux/linux-5.10/drivers/net/ethernet/hisilicon/hns/
Dhns_dsaf_rcb.h102 phys_addr_t phy_base; member
/kernel/linux/linux-5.10/drivers/infiniband/hw/hns/
Dhns_roce_hem.c1307 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()

12