Home
last modified time | relevance | path

Searched refs:phy (Results 1 – 25 of 207) sorted by relevance

123456789

/drivers/phy/
A Dphy-uclass.c48 static struct phy_counts *phy_get_counts(struct phy *phy) in phy_get_counts() argument
108 static int generic_phy_xlate_offs_flags(struct phy *phy, in generic_phy_xlate_offs_flags() argument
136 assert(phy); in generic_phy_get_by_index_nodev()
203 struct phy *phy) in generic_phy_get_by_index() argument
209 struct phy *phy) in generic_phy_get_by_name() argument
227 int generic_phy_init(struct phy *phy) in generic_phy_init() argument
255 int generic_phy_reset(struct phy *phy) in generic_phy_reset() argument
273 int generic_phy_exit(struct phy *phy) in generic_phy_exit() argument
303 int generic_phy_power_on(struct phy *phy) in generic_phy_power_on() argument
339 int generic_phy_power_off(struct phy *phy) in generic_phy_power_off() argument
[all …]
A Dmt76x8-usb-phy.c82 writel(val, phy->base + reg); in phy_w32()
97 phy_r32(phy, OFS_U2_PHY_AC2); in mt76x8_usb_phy_init()
101 phy_w32(phy, OFS_U2_PHY_DCR0, in mt76x8_usb_phy_init()
105 phy_w32(phy, OFS_U2_PHY_DCR0, in mt76x8_usb_phy_init()
109 phy_w32(phy, OFS_U2_PHY_DCR0, in mt76x8_usb_phy_init()
117 phy_w32(phy, OFS_U2_PHY_AC0, in mt76x8_usb_phy_init()
122 phy_w32(phy, OFS_U2_PHY_AC1, in mt76x8_usb_phy_init()
186 clk_enable(&phy->cg); in mt76x8_usb_phy_power_on()
196 mt76x8_usb_phy_init(phy); in mt76x8_usb_phy_power_on()
206 clk_disable(&phy->cg); in mt76x8_usb_phy_power_off()
[all …]
A DMakefile11 obj-$(CONFIG_$(PHASE_)PHY) += phy-uclass.o
12 obj-$(CONFIG_$(PHASE_)NOP_PHY) += nop-phy.o
14 obj-$(CONFIG_AB8500_USB_PHY) += phy-ab8500-usb.o
15 obj-$(CONFIG_APPLE_ATCPHY) += phy-apple-atc.o
21 obj-$(CONFIG_PHY_SANDBOX) += sandbox-phy.o
23 obj-$(CONFIG_AM654_PHY) += phy-ti-am654.o
25 obj-$(CONFIG_PHY_RCAR_GEN2) += phy-rcar-gen2.o
26 obj-$(CONFIG_PHY_RCAR_GEN3) += phy-rcar-gen3.o
33 obj-$(CONFIG_OMAP_USB2_PHY) += omap-usb2-phy.o
39 obj-$(CONFIG_PHY_MTK_TPHY) += phy-mtk-tphy.o
[all …]
A Dphy-rcar-gen3.c85 static int rcar_gen3_phy_phy_init(struct phy *phy) in rcar_gen3_phy_phy_init() argument
97 static int rcar_gen3_phy_phy_exit(struct phy *phy) in rcar_gen3_phy_phy_exit() argument
106 static int rcar_gen3_phy_phy_power_on(struct phy *phy) in rcar_gen3_phy_phy_power_on() argument
123 static int rcar_gen3_phy_phy_power_off(struct phy *phy) in rcar_gen3_phy_phy_power_off() argument
133 static bool rcar_gen3_phy_check_id(struct phy *phy) in rcar_gen3_phy_check_id() argument
137 ulong flags = dev_get_driver_data(phy->dev); in rcar_gen3_phy_check_id()
149 static void rcar_gen3_phy_set_vbus(struct phy *phy, bool enable) in rcar_gen3_phy_set_vbus() argument
167 static int rcar_gen3_phy_phy_set_mode(struct phy *phy, enum phy_mode mode, in rcar_gen3_phy_phy_set_mode() argument
203 if (rcar_gen3_phy_check_id(phy)) in rcar_gen3_phy_phy_set_mode()
213 rcar_gen3_phy_set_vbus(phy, true); in rcar_gen3_phy_phy_set_mode()
[all …]
A Dphy-ti-am654.c248 static int serdes_am654_power_on(struct phy *x) in serdes_am654_power_on()
254 ret = serdes_am654_enable_pll(phy); in serdes_am654_power_on()
260 ret = serdes_am654_enable_txrx(phy); in serdes_am654_power_on()
275 serdes_am654_disable_txrx(phy); in serdes_am654_power_off()
276 serdes_am654_disable_pll(phy); in serdes_am654_power_off()
281 static int serdes_am654_init(struct phy *x) in serdes_am654_init()
300 static int serdes_am654_reset(struct phy *x) in serdes_am654_reset()
313 static int serdes_am654_of_xlate(struct phy *x, in serdes_am654_of_xlate()
357 struct serdes_am654 *phy = dev_get_priv(dev); in serdes_am654_probe() local
367 phy->regmap = map; in serdes_am654_probe()
[all …]
A Dsandbox-phy.c18 static int sandbox_phy_power_on(struct phy *phy) in sandbox_phy_power_on() argument
20 struct sandbox_phy_priv *priv = dev_get_priv(phy->dev); in sandbox_phy_power_on()
33 static int sandbox_phy_power_off(struct phy *phy) in sandbox_phy_power_off() argument
35 struct sandbox_phy_priv *priv = dev_get_priv(phy->dev); in sandbox_phy_power_off()
47 if (phy->id) in sandbox_phy_power_off()
55 static int sandbox_phy_init(struct phy *phy) in sandbox_phy_init() argument
57 struct sandbox_phy_priv *priv = dev_get_priv(phy->dev); in sandbox_phy_init()
65 static int sandbox_phy_exit(struct phy *phy) in sandbox_phy_exit() argument
67 struct sandbox_phy_priv *priv = dev_get_priv(phy->dev); in sandbox_phy_exit()
76 sandbox_phy_set_mode(struct phy *phy, enum phy_mode mode, int submode) in sandbox_phy_set_mode() argument
A Dphy-rcar-gen2.c53 static int rcar_gen2_phy_phy_init(struct phy *phy) in rcar_gen2_phy_phy_init() argument
55 struct rcar_gen2_phy *priv = dev_get_priv(phy->dev); in rcar_gen2_phy_phy_init()
56 u16 chan = phy->id & 0xffff; in rcar_gen2_phy_phy_init()
57 u16 mode = (phy->id >> 16) & 0xffff; in rcar_gen2_phy_phy_init()
74 static int rcar_gen2_phy_phy_power_on(struct phy *phy) in rcar_gen2_phy_phy_power_on() argument
98 static int rcar_gen2_phy_phy_power_off(struct phy *phy) in rcar_gen2_phy_phy_power_off() argument
112 static int rcar_gen2_phy_of_xlate(struct phy *phy, in rcar_gen2_phy_of_xlate() argument
122 dev_err(phy->dev, "Invalid DT PHY channel: %d\n", in rcar_gen2_phy_of_xlate()
128 dev_err(phy->dev, "Invalid DT PHY mode: %d\n", in rcar_gen2_phy_of_xlate()
134 phy->id = args->args[0] | (args->args[1] << 16); in rcar_gen2_phy_of_xlate()
[all …]
A Dmt7620-usb-phy.c23 static int mt7620_usb_phy_power_on(struct phy *_phy) in mt7620_usb_phy_power_on()
25 struct mt7620_usb_phy *phy = dev_get_priv(_phy->dev); in mt7620_usb_phy_power_on() local
29 reset_deassert_bulk(&phy->resets); in mt7620_usb_phy_power_on()
31 clk_enable_bulk(&phy->clocks); in mt7620_usb_phy_power_on()
47 static int mt7620_usb_phy_power_off(struct phy *_phy) in mt7620_usb_phy_power_off()
51 clk_disable_bulk(&phy->clocks); in mt7620_usb_phy_power_off()
53 reset_assert_bulk(&phy->resets); in mt7620_usb_phy_power_off()
60 struct mt7620_usb_phy *phy = dev_get_priv(dev); in mt7620_usb_phy_probe() local
72 &phy->sysc); in mt7620_usb_phy_probe()
78 ret = clk_get_bulk(dev, &phy->clocks); in mt7620_usb_phy_probe()
[all …]
A Dsti_usb_phy.c49 ret = reset_deassert(&phy->global_ctl); in sti_usb_phy_deassert()
55 ret = reset_deassert(&phy->port_ctl); in sti_usb_phy_deassert()
62 static int sti_usb_phy_init(struct phy *usb_phy) in sti_usb_phy_init()
65 struct sti_usb_phy *phy = dev_get_priv(dev); in sti_usb_phy_init() local
69 reg = (void __iomem *)phy->regmap->ranges[0].start + phy->ctrl; in sti_usb_phy_init()
74 reg = (void __iomem *)phy->regmap->ranges[0].start + phy->param; in sti_usb_phy_init()
78 return sti_usb_phy_deassert(phy); in sti_usb_phy_init()
81 static int sti_usb_phy_exit(struct phy *usb_phy) in sti_usb_phy_exit()
84 struct sti_usb_phy *phy = dev_get_priv(dev); in sti_usb_phy_exit() local
87 ret = reset_assert(&phy->port_ctl); in sti_usb_phy_exit()
[all …]
A Dmeson-g12a-usb3-pcie.c203 static int phy_meson_g12a_usb3_init(struct phy *phy) in phy_meson_g12a_usb3_init() argument
295 static int phy_meson_g12a_usb3_exit(struct phy *phy) in phy_meson_g12a_usb3_exit() argument
302 static int phy_meson_g12a_usb3_pcie_init(struct phy *phy) in phy_meson_g12a_usb3_pcie_init() argument
304 if (phy->id == PHY_TYPE_USB3) in phy_meson_g12a_usb3_pcie_init()
310 static int phy_meson_g12a_usb3_pcie_exit(struct phy *phy) in phy_meson_g12a_usb3_pcie_exit() argument
312 if (phy->id == PHY_TYPE_USB3) in phy_meson_g12a_usb3_pcie_exit()
318 static int phy_meson_g12a_usb3_pcie_power_on(struct phy *phy) in phy_meson_g12a_usb3_pcie_power_on() argument
322 if (phy->id == PHY_TYPE_USB3) in phy_meson_g12a_usb3_pcie_power_on()
332 static int phy_meson_g12a_usb3_pcie_power_off(struct phy *phy) in phy_meson_g12a_usb3_pcie_power_off() argument
336 if (phy->id == PHY_TYPE_USB3) in phy_meson_g12a_usb3_pcie_power_off()
[all …]
A Dkeystone-usb-phy.c33 static int keystone_usb_init(struct phy *phy) in keystone_usb_init() argument
37 struct udevice *dev = phy->dev; in keystone_usb_init()
61 static int keystone_usb_power_on(struct phy *phy) in keystone_usb_power_on() argument
64 struct udevice *dev = phy->dev; in keystone_usb_power_on()
74 static int keystone_usb_power_off(struct phy *phy) in keystone_usb_power_off() argument
77 struct udevice *dev = phy->dev; in keystone_usb_power_off()
87 static int keystone_usb_exit(struct phy *phy) in keystone_usb_exit() argument
89 struct udevice *dev = phy->dev; in keystone_usb_exit()
/drivers/usb/dwc3/
A Dti_usb_phy.c153 if (!phy->pll_ctrl_base) in ti_usb3_dpll_program()
199 if (phy->index == 1) in ti_usb2_phy_power()
211 if (phy->index == 1) in ti_usb2_phy_power()
234 if (!phy->usb3_phy_power) in ti_usb3_phy_power()
267 struct ti_usb_phy *phy; in ti_usb_phy_uboot_init() local
269 phy = devm_kzalloc(NULL, sizeof(*phy), GFP_KERNEL); in ti_usb_phy_uboot_init()
270 if (!phy) { in ti_usb_phy_uboot_init()
276 phy->index = dev->index; in ti_usb_phy_uboot_init()
307 if (phy->index != index) in ti_usb_phy_uboot_exit()
314 list_del(&phy->list); in ti_usb_phy_uboot_exit()
[all …]
A Dsamsung_usb_phy.c15 void exynos5_usb3_phy_init(struct exynos_usb3_phy *phy) in exynos5_usb3_phy_init() argument
20 writel(0x0, &phy->phy_reg0); in exynos5_usb3_phy_init()
22 clrbits_le32(&phy->phy_param0, in exynos5_usb3_phy_init()
27 setbits_le32(&phy->phy_param0, PHYPARAM0_REF_LOSLEVEL); in exynos5_usb3_phy_init()
29 writel(0x0, &phy->phy_resume); in exynos5_usb3_phy_init()
35 setbits_le32(&phy->link_system, in exynos5_usb3_phy_init()
43 setbits_le32(&phy->phy_batchg, PHYBATCHG_UTMI_CLKSEL); in exynos5_usb3_phy_init()
46 clrbits_le32(&phy->phy_test, in exynos5_usb3_phy_init()
51 writel(PHYUTMI_OTGDISABLE, &phy->phy_utmi); in exynos5_usb3_phy_init()
70 writel(reg, &phy->phy_clk_rst); in exynos5_usb3_phy_init()
[all …]
/drivers/video/sunxi/
A Dsunxi_dw_hdmi.c75 writel(0, &phy->ctrl); in sunxi_dw_hdmi_phy_init()
102 writel(0x39dc5040, &phy->pll); in sunxi_dw_hdmi_phy_init()
103 writel(0x80084343, &phy->clk); in sunxi_dw_hdmi_phy_init()
105 writel(1, &phy->unk3); in sunxi_dw_hdmi_phy_init()
110 setbits_le32(&phy->pll, tmp); in sunxi_dw_hdmi_phy_init()
111 writel(0x01FF0F7F, &phy->ctrl); in sunxi_dw_hdmi_phy_init()
112 writel(0x80639000, &phy->unk1); in sunxi_dw_hdmi_phy_init()
113 writel(0x0F81C405, &phy->unk2); in sunxi_dw_hdmi_phy_init()
160 setbits_le32(&phy->pll, tmp); in sunxi_dw_hdmi_phy_set()
174 setbits_le32(&phy->pll, tmp); in sunxi_dw_hdmi_phy_set()
[all …]
/drivers/phy/starfive/
A Dphy-jh7110-pcie.c34 struct phy *phy; member
89 static int jh7110_pcie_phy_set_mode(struct phy *phy, in jh7110_pcie_phy_set_mode() argument
131 phy->phy_mode = devm_regmap_field_alloc(dev, phy->stg_syscon, phy_mode); in phy_stg_regfield_init()
132 if (IS_ERR(phy->phy_mode)) { in phy_stg_regfield_init()
137 phy->bus_width = devm_regmap_field_alloc(dev, phy->stg_syscon, bus_width); in phy_stg_regfield_init()
143 phy->usb3_phy_en = devm_regmap_field_alloc(dev, phy->stg_syscon, usb3_phy_en); in phy_stg_regfield_init()
157 phy->usb_split = devm_regmap_field_alloc(dev, phy->sys_syscon, usb_split); in phy_sys_regfield_init()
196 phy->sys_syscon = NULL; in starfive_pcie_phy_get_syscon()
204 phy->stg_syscon = NULL; in starfive_pcie_phy_get_syscon()
215 if (!phy->regs) in jh7110_pcie_phy_probe()
[all …]
A Dphy-jh7110-usb2.c28 struct phy *phy; member
45 static int usb2_phy_set_mode(struct phy *phy, in usb2_phy_set_mode() argument
48 struct udevice *dev = phy->dev; in usb2_phy_set_mode()
72 static int jh7110_usb2_phy_init(struct phy *phy) in jh7110_usb2_phy_init() argument
74 struct udevice *dev = phy->dev; in jh7110_usb2_phy_init()
87 static int jh7110_usb2_phy_exit(struct phy *phy) in jh7110_usb2_phy_exit() argument
111 if (!phy->regs) in jh7110_usb2_phy_probe()
121 if (IS_ERR(phy->sys_syscon)) { in jh7110_usb2_phy_probe()
129 phy->usb_split = devm_regmap_field_alloc(dev, phy->sys_syscon, usb_split); in jh7110_usb2_phy_probe()
130 if (IS_ERR(phy->usb_split)) { in jh7110_usb2_phy_probe()
[all …]
/drivers/phy/qcom/
A Dphy-qcom-ipq4019-usb.c28 reset_assert(&phy->por_rst); in ipq4019_ss_phy_power_off()
40 reset_deassert(&phy->por_rst); in ipq4019_ss_phy_power_on()
52 struct ipq4019_usb_phy *phy = dev_get_priv(dev); in ipq4019_usb_ss_phy_probe() local
55 phy->base = dev_read_addr(dev); in ipq4019_usb_ss_phy_probe()
56 if (phy->base == FDT_ADDR_T_NONE) in ipq4019_usb_ss_phy_probe()
84 reset_assert(&phy->por_rst); in ipq4019_hs_phy_power_off()
87 reset_assert(&phy->srif_rst); in ipq4019_hs_phy_power_off()
99 reset_deassert(&phy->srif_rst); in ipq4019_hs_phy_power_on()
102 reset_deassert(&phy->por_rst); in ipq4019_hs_phy_power_on()
117 phy->base = dev_read_addr(dev); in ipq4019_usb_hs_phy_probe()
[all …]
A DMakefile1 obj-$(CONFIG_PHY_QCOM_IPQ4019_USB) += phy-qcom-ipq4019-usb.o
2 obj-$(CONFIG_MSM8916_USB_PHY) += msm8916-usbh-phy.o
3 obj-$(CONFIG_PHY_QCOM_QMP_PCIE) += phy-qcom-qmp-pcie.o
4 obj-$(CONFIG_PHY_QCOM_QMP_UFS) += phy-qcom-qmp-ufs.o
5 obj-$(CONFIG_PHY_QCOM_QUSB2) += phy-qcom-qusb2.o
6 obj-$(CONFIG_PHY_QCOM_USB_SNPS_FEMTO_V2) += phy-qcom-snps-femto-v2.o
7 obj-$(CONFIG_PHY_QCOM_SNPS_EUSB2) += phy-qcom-snps-eusb2.o
8 obj-$(CONFIG_PHY_QCOM_USB_HS_28NM) += phy-qcom-usb-hs-28nm.o
9 obj-$(CONFIG_PHY_QCOM_USB_SS) += phy-qcom-usb-ss.o
/drivers/phy/allwinner/
A Dphy-sun4i-usb.c180 static int sun4i_usb_phy_power_on(struct phy *phy) in sun4i_usb_phy_power_on() argument
192 if (phy->id == 0 && sun4i_usb_phy_vbus_detect(phy)) { in sun4i_usb_phy_power_on()
204 static int sun4i_usb_phy_power_off(struct phy *phy) in sun4i_usb_phy_power_off() argument
232 static int sun4i_usb_phy_init(struct phy *phy) in sun4i_usb_phy_init() argument
242 phy->id); in sun4i_usb_phy_init()
249 phy->id); in sun4i_usb_phy_init()
336 static int sun4i_usb_phy_exit(struct phy *phy) in sun4i_usb_phy_exit() argument
356 phy->id); in sun4i_usb_phy_exit()
370 static int sun4i_usb_phy_xlate(struct phy *phy, in sun4i_usb_phy_xlate() argument
393 int sun4i_usb_phy_vbus_detect(struct phy *phy) in sun4i_usb_phy_vbus_detect() argument
[all …]
A Dphy-sun50i-usb3.c68 val = readl(phy->regs + SUNXI_PHY_EXTERNAL_CONTROL); in sun50i_usb3_phy_open()
71 writel(val, phy->regs + SUNXI_PHY_EXTERNAL_CONTROL); in sun50i_usb3_phy_open()
73 val = readl(phy->regs + SUNXI_PIPE_CLOCK_CONTROL); in sun50i_usb3_phy_open()
75 writel(val, phy->regs + SUNXI_PIPE_CLOCK_CONTROL); in sun50i_usb3_phy_open()
77 val = readl(phy->regs + SUNXI_ISCR); in sun50i_usb3_phy_open()
79 writel(val, phy->regs + SUNXI_ISCR); in sun50i_usb3_phy_open()
86 writel(0x0047fc87, phy->regs + SUNXI_PHY_TUNE_LOW); in sun50i_usb3_phy_open()
88 val = readl(phy->regs + SUNXI_PHY_TUNE_HIGH); in sun50i_usb3_phy_open()
97 writel(val, phy->regs + SUNXI_PHY_TUNE_HIGH); in sun50i_usb3_phy_open()
100 static int sun50i_usb3_phy_init(struct phy *phy) in sun50i_usb3_phy_init() argument
[all …]
/drivers/phy/rockchip/
A Dphy-rockchip-inno-hdmi.c166 void (*init)(struct phy *phy);
169 void (*power_off)(struct phy *phy);
170 void (*clk_enable)(struct phy *phy);
171 void (*clk_disable)(struct phy *phy);
172 unsigned long (*clk_recalc_rate)(struct phy *phy,
175 int (*clk_set_rate)(struct phy *phy, unsigned long rate,
532 inno_hdmi_phy_rk3328_clk_set_rate(struct phy *phy, in inno_hdmi_phy_rk3328_clk_set_rate() argument
607 inno_hdmi_phy_rk3328_power_on(struct phy *phy, in inno_hdmi_phy_rk3328_power_on() argument
749 static int inno_hdmi_phy_power_on(struct phy *phy) in inno_hdmi_phy_power_on() argument
800 static int inno_hdmi_phy_power_off(struct phy *phy) in inno_hdmi_phy_power_off() argument
[all …]
A Dphy-rockchip-pcie.c93 static int rockchip_pcie_phy_power_on(struct phy *phy) in rockchip_pcie_phy_power_on() argument
101 dev_err(phy->dev, "failed to assert phy reset\n"); in rockchip_pcie_phy_power_on()
122 dev_err(phy->dev, "pll lock timeout!\n"); in rockchip_pcie_phy_power_on()
136 dev_err(phy->dev, "pll output enable timeout!\n"); in rockchip_pcie_phy_power_on()
152 dev_err(phy->dev, "pll relock timeout!\n"); in rockchip_pcie_phy_power_on()
163 static int rockchip_pcie_phy_power_off(struct phy *phy) in rockchip_pcie_phy_power_off() argument
176 dev_err(phy->dev, "failed to assert phy reset\n"); in rockchip_pcie_phy_power_off()
183 static int rockchip_pcie_phy_init(struct phy *phy) in rockchip_pcie_phy_init() argument
190 dev_err(phy->dev, "failed to enable refclk clock\n"); in rockchip_pcie_phy_init()
196 dev_err(phy->dev, "failed to assert phy reset\n"); in rockchip_pcie_phy_init()
[all …]
/drivers/usb/gadget/
A Ddwc2_udc_otg_phy.c42 struct dwc2_usbotg_phy *phy = in otg_phy_init() local
54 clrbits_le32(&phy->phypwr, PHY_0_SLEEP | OTG_DISABLE_0 | in otg_phy_init()
57 clrbits_le32(&phy->phypwr, OTG_DISABLE_0 | ANALOG_PWRDOWN | FORCE_SUSPEND_0); in otg_phy_init()
63 clrsetbits_le32(&phy->phyclk, ID_PULLUP0 | COMMON_ON_N0, in otg_phy_init()
66 clrsetbits_le32(&phy->rstcon, LINK_SW_RST | PHYLNK_SW_RST, PHY_SW_RST0); in otg_phy_init()
68 clrbits_le32(&phy->rstcon, PHY_SW_RST0 | LINK_SW_RST | PHYLNK_SW_RST); in otg_phy_init()
75 struct dwc2_usbotg_phy *phy = in otg_phy_off() local
79 writel(PHY_SW_RST0, &phy->rstcon); in otg_phy_off()
81 writel(readl(&phy->phypwr) &~PHY_SW_RST0, &phy->rstcon); in otg_phy_off()
84 setbits_le32(&phy->phypwr, OTG_DISABLE_0 | ANALOG_PWRDOWN | FORCE_SUSPEND_0); in otg_phy_off()
[all …]
/drivers/ram/aspeed/
A Dsdram_ast2500.c79 writel(0, &phy->phy[2]); in ast2500_sdrammc_init_phy()
80 writel(0, &phy->phy[6]); in ast2500_sdrammc_init_phy()
81 writel(0, &phy->phy[8]); in ast2500_sdrammc_init_phy()
82 writel(0, &phy->phy[10]); in ast2500_sdrammc_init_phy()
83 writel(0, &phy->phy[12]); in ast2500_sdrammc_init_phy()
84 writel(0, &phy->phy[42]); in ast2500_sdrammc_init_phy()
85 writel(0, &phy->phy[44]); in ast2500_sdrammc_init_phy()
87 writel(0x86000000, &phy->phy[16]); in ast2500_sdrammc_init_phy()
88 writel(0x00008600, &phy->phy[17]); in ast2500_sdrammc_init_phy()
89 writel(0x80000000, &phy->phy[18]); in ast2500_sdrammc_init_phy()
[all …]
/drivers/usb/host/
A Dxhci-exynos5.c103 writel(0x0, &phy->phy_reg0); in exynos5_usb3_phy_init()
105 clrbits_le32(&phy->phy_param0, in exynos5_usb3_phy_init()
112 writel(0x0, &phy->phy_resume); in exynos5_usb3_phy_init()
118 setbits_le32(&phy->link_system, in exynos5_usb3_phy_init()
129 clrbits_le32(&phy->phy_test, in exynos5_usb3_phy_init()
134 writel(PHYUTMI_OTGDISABLE, &phy->phy_utmi); in exynos5_usb3_phy_init()
153 writel(reg, &phy->phy_clk_rst); in exynos5_usb3_phy_init()
159 writel(reg, &phy->phy_clk_rst); in exynos5_usb3_phy_init()
164 setbits_le32(&phy->phy_utmi, in exynos5_usb3_phy_exit()
169 clrbits_le32(&phy->phy_clk_rst, in exynos5_usb3_phy_exit()
[all …]

Completed in 64 milliseconds

123456789