Home
last modified time | relevance | path

Searched refs:udphy (Results 1 – 2 of 2) sorted by relevance

/OK3568_Linux_fs/kernel/drivers/phy/rockchip/
H A Dphy-rockchip-usbdp.c93 int (*combophy_init)(struct rockchip_udphy *udphy);
94 int (*dp_phy_set_rate)(struct rockchip_udphy *udphy,
96 int (*dp_phy_set_voltages)(struct rockchip_udphy *udphy,
98 int (*hpd_event_trigger)(struct rockchip_udphy *udphy, bool hpd);
99 int (*dplane_enable)(struct rockchip_udphy *udphy, int dp_lanes);
100 int (*dplane_select)(struct rockchip_udphy *udphy);
371 static int udphy_clk_init(struct rockchip_udphy *udphy, struct device *dev) in udphy_clk_init() argument
375 udphy->num_clks = devm_clk_bulk_get_all(dev, &udphy->clks); in udphy_clk_init()
376 if (udphy->num_clks < 1) in udphy_clk_init()
380 for (i = 0; i < udphy->num_clks; i++) { in udphy_clk_init()
[all …]
/OK3568_Linux_fs/u-boot/drivers/phy/
H A Dphy-rockchip-usbdp.c96 int (*combophy_init)(struct rockchip_udphy *udphy);
97 int (*dp_phy_set_rate)(struct rockchip_udphy *udphy,
99 int (*dp_phy_set_voltages)(struct rockchip_udphy *udphy,
101 int (*dplane_enable)(struct rockchip_udphy *udphy, int dp_lanes);
102 int (*dplane_select)(struct rockchip_udphy *udphy);
328 static int udphy_clk_init(struct rockchip_udphy *udphy, struct udevice *dev) in udphy_clk_init() argument
333 static int udphy_reset_init(struct rockchip_udphy *udphy, struct udevice *dev) in udphy_reset_init() argument
335 const struct rockchip_udphy_cfg *cfg = udphy->cfgs; in udphy_reset_init()
339 udphy->rsts = devm_kcalloc(dev, cfg->num_rsts, in udphy_reset_init()
340 sizeof(*udphy->rsts), GFP_KERNEL); in udphy_reset_init()
[all …]