Home
last modified time | relevance | path

Searched refs:phy_regs (Results 1 – 25 of 56) sorted by relevance

123

/OK3568_Linux_fs/u-boot/drivers/usb/phy/
H A Domap_usb_phy.c67 static void omap_usb_dpll_relock(struct omap_usb3_phy *phy_regs) in omap_usb_dpll_relock() argument
71 writel(SET_PLL_GO, &phy_regs->pll_go); in omap_usb_dpll_relock()
73 val = readl(&phy_regs->pll_status); in omap_usb_dpll_relock()
79 static void omap_usb_dpll_lock(struct omap_usb3_phy *phy_regs) in omap_usb_dpll_lock() argument
88 val = readl(&phy_regs->pll_config_1); in omap_usb_dpll_lock()
91 writel(val, &phy_regs->pll_config_1); in omap_usb_dpll_lock()
93 val = readl(&phy_regs->pll_config_2); in omap_usb_dpll_lock()
96 writel(val, &phy_regs->pll_config_2); in omap_usb_dpll_lock()
98 val = readl(&phy_regs->pll_config_1); in omap_usb_dpll_lock()
101 writel(val, &phy_regs->pll_config_1); in omap_usb_dpll_lock()
[all …]
/OK3568_Linux_fs/u-boot/drivers/usb/host/
H A Dutmi-armada100.c21 struct armd1usb_phy_reg *phy_regs = in utmi_phy_init() local
25 setbits_le32(&phy_regs->utmi_ctrl, INPKT_DELAY_SOF | PLL_PWR_UP); in utmi_phy_init()
27 setbits_le32(&phy_regs->utmi_ctrl, PHY_PWR_UP); in utmi_phy_init()
29 clrbits_le32(&phy_regs->utmi_pll, PLL_FBDIV_MASK | PLL_REFDIV_MASK); in utmi_phy_init()
30 setbits_le32(&phy_regs->utmi_pll, N_DIVIDER << PLL_FBDIV | M_DIVIDER); in utmi_phy_init()
32 setbits_le32(&phy_regs->utmi_tx, PHSEL_VAL << CK60_PHSEL); in utmi_phy_init()
36 while (--timeout && ((readl(&phy_regs->utmi_pll) & PLL_READY) == 0)) in utmi_phy_init()
42 setbits_le32(&phy_regs->utmi_pll, VCOCAL_START); in utmi_phy_init()
44 clrbits_le32(&phy_regs->utmi_pll, VCOCAL_START); in utmi_phy_init()
47 setbits_le32(&phy_regs->utmi_tx, RCAL_START); in utmi_phy_init()
[all …]
H A Dehci-mxs.c24 struct mxs_usbphy_regs *phy_regs; member
110 writel(USBPHY_CTRL_SFTRST, &port->phy_regs->hw_usbphy_ctrl_set); in ehci_hcd_init()
113 &port->phy_regs->hw_usbphy_ctrl_clr); in ehci_hcd_init()
121 writel(0, &port->phy_regs->hw_usbphy_pwd); in ehci_hcd_init()
125 &port->phy_regs->hw_usbphy_ctrl_set); in ehci_hcd_init()
166 writel(tmp, &port->phy_regs->hw_usbphy_pwd); in ehci_hcd_stop()
/OK3568_Linux_fs/kernel/drivers/mmc/host/
H A Dsdhci-xenon-phy.c233 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 = priv->emmc_phy_regs; in xenon_emmc_phy_slow_mode() local
[all …]
/OK3568_Linux_fs/kernel/drivers/net/ethernet/qualcomm/emac/
H A Demac-sgmii-qdf2432.c163 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 Demac-sgmii-qdf2400.c176 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()
/OK3568_Linux_fs/kernel/drivers/net/mdio/
H A Dmdio-mscc-miim.c39 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()
/OK3568_Linux_fs/kernel/drivers/usb/gadget/udc/
H A Dfsl_mxc_udc.c90 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()
/OK3568_Linux_fs/kernel/drivers/net/wireless/broadcom/b43/
H A Dradio_2059.c48 .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 Dradio_2057.c170 .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
H A Dradio_2055.c284 .phy_regs.phy_bw1a = r0, \
285 .phy_regs.phy_bw2 = r1, \
286 .phy_regs.phy_bw3 = r2, \
287 .phy_regs.phy_bw4 = r3, \
288 .phy_regs.phy_bw5 = r4, \
289 .phy_regs.phy_bw6 = r5
H A Dphy_lcn.c426 u16 phy_regs[] = { 0x910, 0x91e, 0x91f, 0x924, 0x925, 0x926, 0x920, in b43_phy_lcn_load_tx_iir_cck_filter() local
465 b43_phy_write(dev, phy_regs[j], in b43_phy_lcn_load_tx_iir_cck_filter()
478 u16 phy_regs[] = { 0x90f, 0x900, 0x901, 0x906, 0x907, 0x908, 0x902, in b43_phy_lcn_load_tx_iir_ofdm_filter() local
493 b43_phy_write(dev, phy_regs[j], in b43_phy_lcn_load_tx_iir_ofdm_filter()
H A Dradio_2059.h53 struct b43_phy_ht_channeltab_e_phy phy_regs; member
/OK3568_Linux_fs/kernel/drivers/media/platform/omap3isp/
H A Dispcsiphy.c214 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 Dispcsiphy.h32 unsigned int phy_regs; member
/OK3568_Linux_fs/u-boot/drivers/ram/rockchip/
H A Dsdram_phy_px30.c171 struct ddr_phy_regs *phy_regs, struct ddr_phy_skew *skew, in phy_cfg() argument
177 for (i = 0; phy_regs->phy[i][0] != 0xFFFFFFFF; i++) { in phy_cfg()
178 writel(phy_regs->phy[i][1], in phy_cfg()
179 phy_base + phy_regs->phy[i][0]); in phy_cfg()
H A Dsdram_rk3399.c215 denali_phy = sdram_params->phy_regs.denali_phy; in phy_io_config()
555 denali_phy = sdram_params->phy_regs.denali_phy; in set_ds_odt()
866 sdram_params->phy_regs.denali_phy[937] & in pctl_start()
1195 denali_phy_params = sdram_params->phy_regs.denali_phy; in modify_param()
1248 const u32 *params_phy = sdram_params->phy_regs.denali_phy; in pctl_cfg()
1280 writel(sdram_params->phy_regs.denali_phy[910], &denali_phy[910]); in pctl_cfg()
1281 writel(sdram_params->phy_regs.denali_phy[911], &denali_phy[911]); in pctl_cfg()
1282 writel(sdram_params->phy_regs.denali_phy[912], &denali_phy[912]); in pctl_cfg()
1285 writel(sdram_params->phy_regs.denali_phy[898], in pctl_cfg()
1287 writel(sdram_params->phy_regs.denali_phy[919], in pctl_cfg()
[all …]
/OK3568_Linux_fs/kernel/drivers/staging/media/omap4iss/
H A Diss_csiphy.c97 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 Diss_csiphy.h33 unsigned int phy_regs; member
/OK3568_Linux_fs/u-boot/include/
H A Dfm_eth.h63 .phy_regs = (void *)pregs, \
175 void *phy_regs; member
/OK3568_Linux_fs/u-boot/include/fsl-mc/
H A Dldpaa_wriop.h45 void *phy_regs; member
/OK3568_Linux_fs/kernel/drivers/net/wireless/ath/carl9170/
H A Dphy.c1529 static const u32 phy_regs[] = { in carl9170_get_noisefloor() local
1532 u32 phy_res[ARRAY_SIZE(phy_regs)]; in carl9170_get_noisefloor()
1535 BUILD_BUG_ON(ARRAY_SIZE(phy_regs) != ARRAY_SIZE(ar->noise)); in carl9170_get_noisefloor()
1537 err = carl9170_read_mreg(ar, ARRAY_SIZE(phy_regs), phy_regs, phy_res); in carl9170_get_noisefloor()
/OK3568_Linux_fs/u-boot/arch/arm/include/asm/arch-rockchip/
H A Dsdram_phy_px30.h58 struct ddr_phy_regs *phy_regs, struct ddr_phy_skew *skew,
H A Dsdram_rk3399.h79 struct rk3399_ddr_publ_regs phy_regs; member
/OK3568_Linux_fs/kernel/drivers/usb/phy/
H A Dphy-mv-usb.c249 retval = mvotg->pdata->phy_init(mvotg->phy_regs); in mv_otg_enable_internal()
276 mvotg->pdata->phy_deinit(mvotg->phy_regs); in mv_otg_disable_internal()
725 mvotg->phy_regs = devm_ioremap(&pdev->dev, r->start, resource_size(r)); in mv_otg_probe()
726 if (mvotg->phy_regs == NULL) { in mv_otg_probe()

123