Home
last modified time | relevance | path

Searched refs:phy_cfg (Results 1 – 14 of 14) sorted by relevance

/external/u-boot/arch/arm/mach-keystone/
Dddr3.c24 void ddr3_init_ddrphy(u32 base, struct ddr3_phy_config *phy_cfg) in ddr3_init_ddrphy() argument
32 __raw_writel(phy_cfg->pllcr, base + KS2_DDRPHY_PLLCR_OFFSET); in ddr3_init_ddrphy()
35 tmp &= ~(phy_cfg->pgcr1_mask); in ddr3_init_ddrphy()
36 tmp |= phy_cfg->pgcr1_val; in ddr3_init_ddrphy()
39 __raw_writel(phy_cfg->ptr0, base + KS2_DDRPHY_PTR0_OFFSET); in ddr3_init_ddrphy()
40 __raw_writel(phy_cfg->ptr1, base + KS2_DDRPHY_PTR1_OFFSET); in ddr3_init_ddrphy()
41 __raw_writel(phy_cfg->ptr3, base + KS2_DDRPHY_PTR3_OFFSET); in ddr3_init_ddrphy()
42 __raw_writel(phy_cfg->ptr4, base + KS2_DDRPHY_PTR4_OFFSET); in ddr3_init_ddrphy()
45 tmp &= ~(phy_cfg->dcr_mask); in ddr3_init_ddrphy()
46 tmp |= phy_cfg->dcr_val; in ddr3_init_ddrphy()
[all …]
Dddr3_spd.c304 spd_cb->phy_cfg.pllcr = (spd->freqsel & 3) << 18 | 0xE << 13; in init_ddr3param()
305 spd_cb->phy_cfg.pgcr1_mask = (IODDRM_MASK | ZCKSEL_MASK); in init_ddr3param()
306 spd_cb->phy_cfg.pgcr1_val = ((1 << 2) | (1 << 7) | (1 << 23)); in init_ddr3param()
307 spd_cb->phy_cfg.ptr0 = ((spd->t_pllpd & 0x7ff) << 21) | in init_ddr3param()
309 spd_cb->phy_cfg.ptr1 = ((spd->t_plllock & 0xffff) << 16) | in init_ddr3param()
311 spd_cb->phy_cfg.ptr2 = 0; in init_ddr3param()
312 spd_cb->phy_cfg.ptr3 = ((spd->t_dinit1 & 0x1ff) << 20) | in init_ddr3param()
314 spd_cb->phy_cfg.ptr4 = ((spd->t_dinit3 & 0x3ff) << 18) | in init_ddr3param()
317 spd_cb->phy_cfg.dcr_mask = PDQ_MASK | MPRDQ_MASK | BYTEMASK_MASK; in init_ddr3param()
318 spd_cb->phy_cfg.dcr_val = 1 << 10; in init_ddr3param()
[all …]
/external/u-boot/drivers/usb/phy/
Drockchip_usb2_phy.c68 struct rockchip_usb2_phy_cfg *phy_cfg = NULL; in otg_phy_init() local
76 phy_cfg = (struct rockchip_usb2_phy_cfg *)of_id->data; in otg_phy_init()
80 if (!phy_cfg) { in otg_phy_init()
86 pdata->priv = phy_cfg; in otg_phy_init()
88 property_enable(pdata, &phy_cfg->soft_con, false); in otg_phy_init()
91 property_enable(pdata, &phy_cfg->port_reset, true); in otg_phy_init()
93 property_enable(pdata, &phy_cfg->port_reset, false); in otg_phy_init()
100 struct rockchip_usb2_phy_cfg *phy_cfg = pdata->priv; in otg_phy_off() local
103 property_enable(pdata, &phy_cfg->soft_con, true); in otg_phy_off()
105 property_enable(pdata, &phy_cfg->suspend, true); in otg_phy_off()
/external/u-boot/board/ti/ks2_evm/
Dddr3_k2hk.c45 spd_cb.phy_cfg.zq0cr1 |= 0x10000; in ddr3_init()
46 spd_cb.phy_cfg.zq1cr1 |= 0x10000; in ddr3_init()
47 spd_cb.phy_cfg.zq2cr1 |= 0x10000; in ddr3_init()
49 ddr3_init_ddrphy(KS2_DDR3A_DDRPHYC, &spd_cb.phy_cfg); in ddr3_init()
55 ddr3_init_ddrphy(KS2_DDR3A_DDRPHYC, &spd_cb.phy_cfg); in ddr3_init()
Dddr3_k2e.c38 spd_cb.phy_cfg.zq0cr1 |= 0x10000; in ddr3_init()
39 spd_cb.phy_cfg.zq1cr1 |= 0x10000; in ddr3_init()
40 spd_cb.phy_cfg.zq2cr1 |= 0x10000; in ddr3_init()
41 ddr3_init_ddrphy(KS2_DDR3A_DDRPHYC, &spd_cb.phy_cfg); in ddr3_init()
/external/u-boot/arch/arm/mach-keystone/include/mach/
Dddr3.h66 struct ddr3_phy_config phy_cfg; member
80 void ddr3_init_ddrphy(u32 base, struct ddr3_phy_config *phy_cfg);
/external/u-boot/drivers/video/
Ddw_hdmi.c316 if (!hdmi->mpll_cfg || !hdmi->phy_cfg) in hdmi_phy_configure()
347 for (i = 0; hdmi->phy_cfg[i].mpixelclock != (~0ul); i++) in hdmi_phy_configure()
348 if (mpixelclock <= hdmi->phy_cfg[i].mpixelclock) in hdmi_phy_configure()
356 hdmi_phy_i2c_write(hdmi, hdmi->phy_cfg[i].term, PHY_TXTERM); in hdmi_phy_configure()
357 hdmi_phy_i2c_write(hdmi, hdmi->phy_cfg[i].sym_ctr, PHY_CKSYMTXCTRL); in hdmi_phy_configure()
358 hdmi_phy_i2c_write(hdmi, hdmi->phy_cfg[i].vlev_ctr, PHY_VLEVCTRL); in hdmi_phy_configure()
/external/u-boot/drivers/video/rockchip/
Drk_hdmi.c88 hdmi->phy_cfg = rockchip_phy_config; in rk_hdmi_ofdata_to_platdata()
/external/u-boot/arch/arm/mach-rockchip/rk3036/
Dsdram_rk3036.c624 static void phy_cfg(struct rk3036_sdram_priv *priv) in phy_cfg() function
757 phy_cfg(&sdram_priv); in sdram_init()
/external/u-boot/include/
Ddw_hdmi.h469 const struct hdmi_phy_config *phy_cfg; member
/external/u-boot/drivers/ram/rockchip/
Dsdram_rk322x.c468 static void phy_cfg(struct chan_info *chan, in phy_cfg() function
700 phy_cfg(&dram->chan[0], sdram_params); in sdram_init()
Dsdram_rk3188.c255 static void phy_cfg(const struct chan_info *chan, int channel, in phy_cfg() function
740 phy_cfg(chan, channel, sdram_params); in sdram_init()
Dsdram_rk3288.c289 static void phy_cfg(const struct chan_info *chan, int channel, in phy_cfg() function
821 phy_cfg(chan, channel, sdram_params); in sdram_init()
/external/u-boot/arch/arm/dts/
Drk3399.dtsi1490 clock-names = "ref", "pclk", "phy_cfg";