/linux-6.1.9/drivers/phy/rockchip/ |
D | phy-rockchip-inno-csidphy.c | 133 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 …]
|
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 | 211 void __iomem *phy_base; member 295 orig = readl(inno->phy_base + reg); in phy_update_bits() 298 writel(tmp, inno->phy_base + reg); in phy_update_bits() 712 inno->phy_base = devm_platform_ioremap_resource(pdev, 0); in inno_dsidphy_probe() 713 if (IS_ERR(inno->phy_base)) in inno_dsidphy_probe() 714 return PTR_ERR(inno->phy_base); in inno_dsidphy_probe()
|
/linux-6.1.9/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()
|
/linux-6.1.9/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 | 20 resource_size_t phy_base, 26 resource_size_t phy_base,
|
D | reset-prcc.c | 166 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()
|
D | reset-prcc.h | 17 u32 phy_base[CLKRST_MAX]; member
|
/linux-6.1.9/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() 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.1.9/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() 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()
|
D | pci-imx6.c | 90 void __iomem *phy_base; member 725 if (likely(imx6_pcie->phy_base)) { in imx6_pcie_deassert_core_reset() 728 imx6_pcie->phy_base + PCIE_PHY_CMN_REG4); in imx6_pcie_deassert_core_reset() 732 imx6_pcie->phy_base + PCIE_PHY_CMN_REG24); in imx6_pcie_deassert_core_reset() 735 imx6_pcie->phy_base + PCIE_PHY_CMN_REG26); in imx6_pcie_deassert_core_reset() 1121 imx6_pcie->phy_base = devm_ioremap_resource(dev, &res); in imx6_pcie_probe() 1122 if (IS_ERR(imx6_pcie->phy_base)) in imx6_pcie_probe() 1123 return PTR_ERR(imx6_pcie->phy_base); in imx6_pcie_probe()
|
/linux-6.1.9/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 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.1.9/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()
|
/linux-6.1.9/drivers/hid/amd-sfh-hid/sfh1_1/ |
D | amd_sfh_init.c | 284 u32 phy_base = readl(mp2->mmio + AMD_C2P_MSG(22)); in amd_sfh1_1_init() local 289 phy_base <<= 21; in amd_sfh1_1_init() 290 if (!devm_request_mem_region(dev, phy_base, 128 * 1024, "amd_sfh")) { in amd_sfh1_1_init() 295 mp2->vsbase = devm_ioremap(dev, phy_base, 128 * 1024); in amd_sfh1_1_init()
|
/linux-6.1.9/drivers/phy/broadcom/ |
D | phy-brcm-sata.c | 73 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.1.9/include/linux/platform_data/ |
D | arm-ux500-pm.h | 18 void ux500_pm_init(u32 phy_base, u32 size);
|
/linux-6.1.9/drivers/gpu/drm/msm/dsi/phy/ |
D | dsi_phy_10nm.c | 488 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()
|
D | dsi_phy_7nm.c | 502 void __iomem *phy_base = pll_7nm->phy->base; in dsi_7nm_pll_save_state() local 509 cmn_clk_cfg0 = dsi_phy_read(phy_base + REG_DSI_7nm_PHY_CMN_CLK_CFG0); in dsi_7nm_pll_save_state() 513 cmn_clk_cfg1 = dsi_phy_read(phy_base + REG_DSI_7nm_PHY_CMN_CLK_CFG1); in dsi_7nm_pll_save_state() 525 void __iomem *phy_base = pll_7nm->phy->base; in dsi_7nm_pll_restore_state() local 534 dsi_phy_write(phy_base + REG_DSI_7nm_PHY_CMN_CLK_CFG0, in dsi_7nm_pll_restore_state() 537 val = dsi_phy_read(phy_base + REG_DSI_7nm_PHY_CMN_CLK_CFG1); in dsi_7nm_pll_restore_state() 540 dsi_phy_write(phy_base + REG_DSI_7nm_PHY_CMN_CLK_CFG1, val); in dsi_7nm_pll_restore_state()
|
/linux-6.1.9/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()
|
/linux-6.1.9/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()
|
/linux-6.1.9/drivers/net/dsa/ |
D | lan9303-core.c | 1028 int phy_base = chip->phy_addr_base; in lan9303_phy_read() local 1030 if (phy == phy_base) in lan9303_phy_read() 1032 if (phy > phy_base + 2) in lan9303_phy_read() 1042 int phy_base = chip->phy_addr_base; in lan9303_phy_write() local 1044 if (phy == phy_base) in lan9303_phy_write() 1046 if (phy > phy_base + 2) in lan9303_phy_write()
|
/linux-6.1.9/arch/arm/include/asm/hardware/ |
D | cache-l2x0.h | 170 unsigned long phy_base; member
|
/linux-6.1.9/drivers/net/ethernet/hisilicon/hns/ |
D | hns_dsaf_rcb.h | 102 phys_addr_t phy_base; member
|