/kernel/linux/linux-6.6/drivers/phy/sunplus/ |
H A D | phy-sunplus-usb2.c | 73 void __iomem *phy_regs; member 104 val = readl(usbphy->phy_regs + CONFIG7); in update_disc_vol() 106 writel(val, usbphy->phy_regs + CONFIG7); in update_disc_vol() 135 val = readl(usbphy->phy_regs + CONFIG9); in sp_uphy_init() 137 writel(val, usbphy->phy_regs + CONFIG9); in sp_uphy_init() 139 val = readl(usbphy->phy_regs + CONFIG1); in sp_uphy_init() 141 writel(val, usbphy->phy_regs + CONFIG1); in sp_uphy_init() 143 val = readl(usbphy->phy_regs + CONFIG23); in sp_uphy_init() 145 writel(val, usbphy->phy_regs + CONFIG23); in sp_uphy_init() 153 usbphy->phy_regs in sp_uphy_init() [all...] |
/kernel/linux/linux-5.10/drivers/mmc/host/ |
H A D | sdhci-xenon-phy.c | 233 struct xenon_emmc_phy_regs *phy_regs = priv->emmc_phy_regs; in xenon_emmc_phy_init() local 235 reg = sdhci_readl(host, phy_regs->timing_adj); in xenon_emmc_phy_init() 237 sdhci_writel(host, reg, phy_regs->timing_adj); in xenon_emmc_phy_init() 265 reg = sdhci_readl(host, phy_regs->timing_adj); in xenon_emmc_phy_init() 325 struct xenon_emmc_phy_regs *phy_regs = priv->emmc_phy_regs; in xenon_emmc_phy_enable_dll() local 331 reg = sdhci_readl(host, phy_regs->dll_ctrl); in xenon_emmc_phy_enable_dll() 336 reg = sdhci_readl(host, phy_regs->dll_ctrl); in xenon_emmc_phy_enable_dll() 350 reg |= phy_regs->dll_update; in xenon_emmc_phy_enable_dll() 353 sdhci_writel(host, reg, phy_regs->dll_ctrl); in xenon_emmc_phy_enable_dll() 495 struct xenon_emmc_phy_regs *phy_regs in xenon_emmc_phy_slow_mode() local 551 struct xenon_emmc_phy_regs *phy_regs = priv->emmc_phy_regs; xenon_emmc_phy_set() local [all...] |
H A D | dw_mmc-pltfm.c | 50 host->phy_regs = regs->start; in dw_mci_pltfm_register()
|
/kernel/linux/linux-6.6/drivers/mmc/host/ |
H A D | sdhci-xenon-phy.c | 249 struct xenon_emmc_phy_regs *phy_regs = priv->emmc_phy_regs; in xenon_emmc_phy_init() local 256 reg = sdhci_readl(host, phy_regs->timing_adj); in xenon_emmc_phy_init() 258 sdhci_writel(host, reg, phy_regs->timing_adj); in xenon_emmc_phy_init() 298 false, host, phy_regs->timing_adj); in xenon_emmc_phy_init() 355 struct xenon_emmc_phy_regs *phy_regs = priv->emmc_phy_regs; in xenon_emmc_phy_enable_dll() local 361 reg = sdhci_readl(host, phy_regs->dll_ctrl); in xenon_emmc_phy_enable_dll() 366 reg = sdhci_readl(host, phy_regs->dll_ctrl); in xenon_emmc_phy_enable_dll() 380 reg |= phy_regs->dll_update; in xenon_emmc_phy_enable_dll() 383 sdhci_writel(host, reg, phy_regs->dll_ctrl); in xenon_emmc_phy_enable_dll() 525 struct xenon_emmc_phy_regs *phy_regs in xenon_emmc_phy_slow_mode() local 581 struct xenon_emmc_phy_regs *phy_regs = priv->emmc_phy_regs; xenon_emmc_phy_set() local [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/qualcomm/emac/ |
H A D | emac-sgmii-qdf2432.c | 163 void __iomem *phy_regs = phy->base; in emac_sgmii_init_qdf2432() local 177 writel(0, phy_regs + EMAC_SGMII_PHY_RESET_CTRL); in emac_sgmii_init_qdf2432() 182 lnstatus = readl(phy_regs + SGMII_PHY_LN_LANE_STATUS); in emac_sgmii_init_qdf2432() 194 writel(0, phy_regs + SGMII_PHY_LN_BIST_GEN0); in emac_sgmii_init_qdf2432() 195 writel(0, phy_regs + SGMII_PHY_LN_BIST_GEN2); in emac_sgmii_init_qdf2432() 196 writel(0, phy_regs + SGMII_PHY_LN_CDR_CTRL1); in emac_sgmii_init_qdf2432() 199 writel(0, phy_regs + EMAC_SGMII_PHY_INTERRUPT_MASK); in emac_sgmii_init_qdf2432()
|
H A D | emac-sgmii-qdf2400.c | 176 void __iomem *phy_regs = phy->base; in emac_sgmii_init_qdf2400() local 190 writel(0, phy_regs + EMAC_SGMII_PHY_RESET_CTRL); in emac_sgmii_init_qdf2400() 195 lnstatus = readl(phy_regs + SGMII_PHY_LN_LANE_STATUS); in emac_sgmii_init_qdf2400() 207 writel(0, phy_regs + SGMII_PHY_LN_BIST_GEN0); in emac_sgmii_init_qdf2400() 208 writel(0, phy_regs + SGMII_PHY_LN_BIST_GEN2); in emac_sgmii_init_qdf2400() 209 writel(0, phy_regs + SGMII_PHY_LN_CDR_CTRL1); in emac_sgmii_init_qdf2400() 212 writel(0, phy_regs + EMAC_SGMII_PHY_INTERRUPT_MASK); in emac_sgmii_init_qdf2400()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/qualcomm/emac/ |
H A D | emac-sgmii-qdf2432.c | 163 void __iomem *phy_regs = phy->base; in emac_sgmii_init_qdf2432() local 177 writel(0, phy_regs + EMAC_SGMII_PHY_RESET_CTRL); in emac_sgmii_init_qdf2432() 182 lnstatus = readl(phy_regs + SGMII_PHY_LN_LANE_STATUS); in emac_sgmii_init_qdf2432() 194 writel(0, phy_regs + SGMII_PHY_LN_BIST_GEN0); in emac_sgmii_init_qdf2432() 195 writel(0, phy_regs + SGMII_PHY_LN_BIST_GEN2); in emac_sgmii_init_qdf2432() 196 writel(0, phy_regs + SGMII_PHY_LN_CDR_CTRL1); in emac_sgmii_init_qdf2432() 199 writel(0, phy_regs + EMAC_SGMII_PHY_INTERRUPT_MASK); in emac_sgmii_init_qdf2432()
|
H A D | emac-sgmii-qdf2400.c | 176 void __iomem *phy_regs = phy->base; in emac_sgmii_init_qdf2400() local 190 writel(0, phy_regs + EMAC_SGMII_PHY_RESET_CTRL); in emac_sgmii_init_qdf2400() 195 lnstatus = readl(phy_regs + SGMII_PHY_LN_LANE_STATUS); in emac_sgmii_init_qdf2400() 207 writel(0, phy_regs + SGMII_PHY_LN_BIST_GEN0); in emac_sgmii_init_qdf2400() 208 writel(0, phy_regs + SGMII_PHY_LN_BIST_GEN2); in emac_sgmii_init_qdf2400() 209 writel(0, phy_regs + SGMII_PHY_LN_CDR_CTRL1); in emac_sgmii_init_qdf2400() 212 writel(0, phy_regs + EMAC_SGMII_PHY_INTERRUPT_MASK); in emac_sgmii_init_qdf2400()
|
/kernel/linux/linux-5.10/drivers/net/mdio/ |
H A D | mdio-mscc-miim.c | 39 void __iomem *phy_regs; member 132 if (miim->phy_regs) { in mscc_miim_reset() 133 writel(0, miim->phy_regs + MSCC_PHY_REG_PHY_CFG); in mscc_miim_reset() 134 writel(0x1ff, miim->phy_regs + MSCC_PHY_REG_PHY_CFG); in mscc_miim_reset() 172 dev->phy_regs = devm_ioremap_resource(&pdev->dev, res); in mscc_miim_probe() 173 if (IS_ERR(dev->phy_regs)) { in mscc_miim_probe() 175 return PTR_ERR(dev->phy_regs); in mscc_miim_probe()
|
/kernel/linux/linux-5.10/drivers/usb/gadget/udc/ |
H A D | fsl_mxc_udc.c | 90 void __iomem *phy_regs = ioremap(res->start + in fsl_udc_clk_finalize() local 92 if (!phy_regs) { in fsl_udc_clk_finalize() 98 v = readl(phy_regs + USBPHYCTRL_OTGBASE_OFFSET); in fsl_udc_clk_finalize() 100 phy_regs + USBPHYCTRL_OTGBASE_OFFSET); in fsl_udc_clk_finalize() 102 iounmap(phy_regs); in fsl_udc_clk_finalize()
|
/kernel/linux/linux-5.10/drivers/media/platform/omap3isp/ |
H A D | ispcsiphy.c | 214 reg = isp_reg_readl(phy->isp, phy->phy_regs, ISPCSIPHY_REG0); in omap3isp_csiphy_config() 225 isp_reg_writel(phy->isp, reg, phy->phy_regs, ISPCSIPHY_REG0); in omap3isp_csiphy_config() 227 reg = isp_reg_readl(phy->isp, phy->phy_regs, ISPCSIPHY_REG1); in omap3isp_csiphy_config() 236 isp_reg_writel(phy->isp, reg, phy->phy_regs, ISPCSIPHY_REG1); in omap3isp_csiphy_config() 335 phy2->phy_regs = OMAP3_ISP_IOMEM_CSIPHY2; in omap3isp_csiphy_init() 345 phy1->phy_regs = OMAP3_ISP_IOMEM_CSIPHY1; in omap3isp_csiphy_init()
|
H A D | ispcsiphy.h | 32 unsigned int phy_regs; member
|
/kernel/linux/linux-6.6/drivers/media/platform/ti/omap3isp/ |
H A D | ispcsiphy.c | 219 reg = isp_reg_readl(phy->isp, phy->phy_regs, ISPCSIPHY_REG0); in omap3isp_csiphy_config() 230 isp_reg_writel(phy->isp, reg, phy->phy_regs, ISPCSIPHY_REG0); in omap3isp_csiphy_config() 232 reg = isp_reg_readl(phy->isp, phy->phy_regs, ISPCSIPHY_REG1); in omap3isp_csiphy_config() 241 isp_reg_writel(phy->isp, reg, phy->phy_regs, ISPCSIPHY_REG1); in omap3isp_csiphy_config() 345 phy2->phy_regs = OMAP3_ISP_IOMEM_CSIPHY2; in omap3isp_csiphy_init() 355 phy1->phy_regs = OMAP3_ISP_IOMEM_CSIPHY1; in omap3isp_csiphy_init()
|
H A D | ispcsiphy.h | 32 unsigned int phy_regs; member
|
/kernel/linux/linux-5.10/drivers/staging/media/omap4iss/ |
H A D | iss_csiphy.c | 97 iss_reg_write(phy->iss, phy->phy_regs, REGISTER0, reg); in csiphy_dphy_config() 105 iss_reg_write(phy->iss, phy->phy_regs, REGISTER1, reg); in csiphy_dphy_config() 265 phy1->phy_regs = OMAP4_ISS_MEM_CAMERARX_CORE1; in omap4iss_csiphy_init() 273 phy2->phy_regs = OMAP4_ISS_MEM_CAMERARX_CORE2; in omap4iss_csiphy_init()
|
H A D | iss_csiphy.h | 33 unsigned int phy_regs; member
|
/kernel/linux/linux-6.6/drivers/staging/media/omap4iss/ |
H A D | iss_csiphy.c | 97 iss_reg_write(phy->iss, phy->phy_regs, REGISTER0, reg); in csiphy_dphy_config() 105 iss_reg_write(phy->iss, phy->phy_regs, REGISTER1, reg); in csiphy_dphy_config() 265 phy1->phy_regs = OMAP4_ISS_MEM_CAMERARX_CORE1; in omap4iss_csiphy_init() 273 phy2->phy_regs = OMAP4_ISS_MEM_CAMERARX_CORE2; in omap4iss_csiphy_init()
|
H A D | iss_csiphy.h | 33 unsigned int phy_regs; member
|
/kernel/linux/linux-6.6/drivers/net/mdio/ |
H A D | mdio-mscc-miim.c | 56 struct regmap *phy_regs; member 179 if (!miim->phy_regs) in mscc_miim_reset() 185 ret = regmap_update_bits(miim->phy_regs, offset, bits, 0); in mscc_miim_reset() 191 ret = regmap_update_bits(miim->phy_regs, offset, bits, bits); in mscc_miim_reset() 298 miim->phy_regs = phy_regmap; in mscc_miim_probe()
|
/kernel/linux/linux-5.10/drivers/net/wireless/broadcom/b43/ |
H A D | radio_2059.c | 48 .phy_regs.bw1 = r0, \ 49 .phy_regs.bw2 = r1, \ 50 .phy_regs.bw3 = r2, \ 51 .phy_regs.bw4 = r3, \ 52 .phy_regs.bw5 = r4, \ 53 .phy_regs.bw6 = r5
|
H A D | radio_2059.h | 53 struct b43_phy_ht_channeltab_e_phy phy_regs; member
|
H A D | radio_2057.c | 170 .phy_regs.phy_bw1a = r0, \ 171 .phy_regs.phy_bw2 = r1, \ 172 .phy_regs.phy_bw3 = r2, \ 173 .phy_regs.phy_bw4 = r3, \ 174 .phy_regs.phy_bw5 = r4, \ 175 .phy_regs.phy_bw6 = r5
|
/kernel/linux/linux-6.6/drivers/net/wireless/broadcom/b43/ |
H A D | radio_2059.c | 48 .phy_regs.bw1 = r0, \ 49 .phy_regs.bw2 = r1, \ 50 .phy_regs.bw3 = r2, \ 51 .phy_regs.bw4 = r3, \ 52 .phy_regs.bw5 = r4, \ 53 .phy_regs.bw6 = r5
|
H A D | radio_2059.h | 53 struct b43_phy_ht_channeltab_e_phy phy_regs; member
|
H A D | radio_2057.c | 170 .phy_regs.phy_bw1a = r0, \ 171 .phy_regs.phy_bw2 = r1, \ 172 .phy_regs.phy_bw3 = r2, \ 173 .phy_regs.phy_bw4 = r3, \ 174 .phy_regs.phy_bw5 = r4, \ 175 .phy_regs.phy_bw6 = r5
|