Home
last modified time | relevance | path

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

12

/linux-6.6.21/drivers/phy/rockchip/
Dphy-rockchip-inno-csidphy.c133 void __iomem *phy_base; member
182 val = readl(priv->phy_base + drv_data->ths_settle_offset + offset); in rockchip_inno_csidphy_ths_settle()
185 writel(val, priv->phy_base + drv_data->ths_settle_offset + offset); in rockchip_inno_csidphy_ths_settle()
244 priv->phy_base + drv_data->pwrctl_offset); in rockchip_inno_csidphy_power_on()
250 writel(val, priv->phy_base + CSIDPHY_CTRL_LANE_ENABLE); in rockchip_inno_csidphy_power_on()
255 priv->phy_base + drv_data->pwrctl_offset); in rockchip_inno_csidphy_power_on()
260 priv->phy_base + CSIDPHY_CTRL_DIG_RST); in rockchip_inno_csidphy_power_on()
262 priv->phy_base + CSIDPHY_CTRL_DIG_RST); in rockchip_inno_csidphy_power_on()
270 priv->phy_base + drv_data->calib_offset + in rockchip_inno_csidphy_power_on()
274 priv->phy_base + drv_data->calib_offset + in rockchip_inno_csidphy_power_on()
[all …]
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.c211 void __iomem *phy_base; member
290 orig = readl(inno->phy_base + reg); in phy_update_bits()
293 writel(tmp, inno->phy_base + reg); in phy_update_bits()
707 inno->phy_base = devm_platform_ioremap_resource(pdev, 0); in inno_dsidphy_probe()
708 if (IS_ERR(inno->phy_base)) in inno_dsidphy_probe()
709 return PTR_ERR(inno->phy_base); in inno_dsidphy_probe()
/linux-6.6.21/drivers/phy/marvell/
Dphy-berlin-sata.c63 u32 phy_base; member
67 u32 phy_base, u32 reg, u32 mask, u32 val) in phy_berlin_sata_reg_setbits() argument
72 writel(phy_base + reg, ctrl_reg + PORT_VSR_ADDR); in phy_berlin_sata_reg_setbits()
105 phy_berlin_sata_reg_setbits(ctrl_reg, priv->phy_base, 0x01, in phy_berlin_sata_power_on()
110 phy_berlin_sata_reg_setbits(ctrl_reg, priv->phy_base, 0x25, in phy_berlin_sata_power_on()
114 phy_berlin_sata_reg_setbits(ctrl_reg, priv->phy_base, 0x23, in phy_berlin_sata_power_on()
118 phy_berlin_sata_reg_setbits(ctrl_reg, priv->phy_base, 0x02, in phy_berlin_sata_power_on()
225 priv->phy_base = BG2_PHY_BASE; in phy_berlin_sata_probe()
227 priv->phy_base = BG2Q_PHY_BASE; in phy_berlin_sata_probe()
/linux-6.6.21/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.h20 resource_size_t phy_base,
26 resource_size_t phy_base,
Dreset-prcc.c166 ur->base[i] = ioremap(ur->phy_base[i], SZ_4K); in u8500_prcc_reset_init()
169 i, ur->phy_base[i]); in u8500_prcc_reset_init()
Dreset-prcc.h17 u32 phy_base[CLKRST_MAX]; member
/linux-6.6.21/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()
405 phy->phy_base = devm_platform_ioremap_resource(pdev, 0); in omap_usb2_probe()
406 if (IS_ERR(phy->phy_base)) in omap_usb2_probe()
407 return PTR_ERR(phy->phy_base); in omap_usb2_probe()
/linux-6.6.21/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()
410 artpec6_pcie->phy_base = in artpec6_pcie_probe()
412 if (IS_ERR(artpec6_pcie->phy_base)) in artpec6_pcie_probe()
413 return PTR_ERR(artpec6_pcie->phy_base); in artpec6_pcie_probe()
Dpci-imx6.c95 void __iomem *phy_base; member
758 if (likely(imx6_pcie->phy_base)) { in imx6_pcie_deassert_core_reset()
761 imx6_pcie->phy_base + PCIE_PHY_CMN_REG4); in imx6_pcie_deassert_core_reset()
765 imx6_pcie->phy_base + PCIE_PHY_CMN_REG24); in imx6_pcie_deassert_core_reset()
768 imx6_pcie->phy_base + PCIE_PHY_CMN_REG26); in imx6_pcie_deassert_core_reset()
1281 imx6_pcie->phy_base = devm_ioremap_resource(dev, &res); in imx6_pcie_probe()
1282 if (IS_ERR(imx6_pcie->phy_base)) in imx6_pcie_probe()
1283 return PTR_ERR(imx6_pcie->phy_base); in imx6_pcie_probe()
/linux-6.6.21/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
614 writeb(imxpriv->imped_ratio, imxpriv->phy_base + in imx8_sata_enable()
616 writeb(imxpriv->imped_ratio, imxpriv->phy_base + in imx8_sata_enable()
618 reg = readb(imxpriv->phy_base + in imx8_sata_enable()
622 reg = readb(imxpriv->phy_base + in imx8_sata_enable()
996 imxpriv->phy_base = devm_ioremap(dev, phy_res->start, in imx8_sata_probe()
998 if (!imxpriv->phy_base) { in imx8_sata_probe()
/linux-6.6.21/arch/arm/mach-ux500/
Dpm.c176 void __init ux500_pm_init(u32 phy_base, u32 size) in ux500_pm_init() argument
180 prcmu_base = ioremap(phy_base, size); in ux500_pm_init()
/linux-6.6.21/drivers/hid/amd-sfh-hid/sfh1_1/
Damd_sfh_init.c283 u32 phy_base = readl(mp2->mmio + AMD_C2P_MSG(22)); in amd_sfh1_1_init() local
288 phy_base <<= 21; in amd_sfh1_1_init()
289 if (!devm_request_mem_region(dev, phy_base, 128 * 1024, "amd_sfh")) { in amd_sfh1_1_init()
294 mp2->vsbase = devm_ioremap(dev, phy_base, 128 * 1024); in amd_sfh1_1_init()
/linux-6.6.21/drivers/phy/broadcom/
Dphy-brcm-sata.c73 void __iomem *phy_base; member
215 void __iomem *pcb_base = priv->phy_base; in brcm_sata_phy_wr()
232 void __iomem *pcb_base = priv->phy_base; in brcm_sata_phy_rd()
769 priv->phy_base = devm_platform_ioremap_resource_byname(pdev, "phy"); in brcm_sata_phy_probe()
770 if (IS_ERR(priv->phy_base)) in brcm_sata_phy_probe()
771 return PTR_ERR(priv->phy_base); in brcm_sata_phy_probe()
/linux-6.6.21/include/linux/platform_data/
Darm-ux500-pm.h18 void ux500_pm_init(u32 phy_base, u32 size);
/linux-6.6.21/drivers/gpu/drm/msm/dsi/phy/
Ddsi_phy_10nm.c488 void __iomem *phy_base = pll_10nm->phy->base; in dsi_10nm_pll_save_state() local
495 cmn_clk_cfg0 = dsi_phy_read(phy_base + REG_DSI_10nm_PHY_CMN_CLK_CFG0); in dsi_10nm_pll_save_state()
499 cmn_clk_cfg1 = dsi_phy_read(phy_base + REG_DSI_10nm_PHY_CMN_CLK_CFG1); in dsi_10nm_pll_save_state()
511 void __iomem *phy_base = pll_10nm->phy->base; in dsi_10nm_pll_restore_state() local
520 dsi_phy_write(phy_base + REG_DSI_10nm_PHY_CMN_CLK_CFG0, in dsi_10nm_pll_restore_state()
523 val = dsi_phy_read(phy_base + REG_DSI_10nm_PHY_CMN_CLK_CFG1); in dsi_10nm_pll_restore_state()
526 dsi_phy_write(phy_base + REG_DSI_10nm_PHY_CMN_CLK_CFG1, val); in dsi_10nm_pll_restore_state()
Ddsi_phy_7nm.c537 void __iomem *phy_base = pll_7nm->phy->base; in dsi_7nm_pll_save_state() local
544 cmn_clk_cfg0 = dsi_phy_read(phy_base + REG_DSI_7nm_PHY_CMN_CLK_CFG0); in dsi_7nm_pll_save_state()
548 cmn_clk_cfg1 = dsi_phy_read(phy_base + REG_DSI_7nm_PHY_CMN_CLK_CFG1); in dsi_7nm_pll_save_state()
560 void __iomem *phy_base = pll_7nm->phy->base; in dsi_7nm_pll_restore_state() local
569 dsi_phy_write(phy_base + REG_DSI_7nm_PHY_CMN_CLK_CFG0, in dsi_7nm_pll_restore_state()
572 val = dsi_phy_read(phy_base + REG_DSI_7nm_PHY_CMN_CLK_CFG1); in dsi_7nm_pll_restore_state()
575 dsi_phy_write(phy_base + REG_DSI_7nm_PHY_CMN_CLK_CFG1, val); in dsi_7nm_pll_restore_state()
/linux-6.6.21/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()
/linux-6.6.21/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()
560 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()
622 dd->phy_base = res->start; in atmel_pdmic_probe()
/linux-6.6.21/drivers/net/dsa/
Dlan9303-core.c1054 int phy_base = chip->phy_addr_base; in lan9303_phy_read() local
1056 if (phy == phy_base) in lan9303_phy_read()
1058 if (phy > phy_base + 2) in lan9303_phy_read()
1068 int phy_base = chip->phy_addr_base; in lan9303_phy_write() local
1070 if (phy == phy_base) in lan9303_phy_write()
1072 if (phy > phy_base + 2) in lan9303_phy_write()
/linux-6.6.21/arch/arm/include/asm/hardware/
Dcache-l2x0.h172 unsigned long phy_base; member
/linux-6.6.21/drivers/net/ethernet/hisilicon/hns/
Dhns_dsaf_rcb.h102 phys_addr_t phy_base; member

12