Lines Matching refs:regmap_anatop
203 struct regmap *regmap_anatop; member
311 if (mxs_phy->regmap_anatop) { in mxs_phy_hw_init()
319 regmap_write(mxs_phy->regmap_anatop, reg, in mxs_phy_hw_init()
339 if (!mxs_phy->regmap_anatop) in mxs_phy_get_vbus_status()
343 regmap_read(mxs_phy->regmap_anatop, in mxs_phy_get_vbus_status()
347 regmap_read(mxs_phy->regmap_anatop, in mxs_phy_get_vbus_status()
369 regmap_write(mxs_phy->regmap_anatop, reg, in __mxs_phy_disconnect_line()
375 regmap_write(mxs_phy->regmap_anatop, reg, in __mxs_phy_disconnect_line()
410 if (!mxs_phy->regmap_anatop) in mxs_phy_disconnect_line()
468 if (!mxs_phy->regmap_anatop) in mxs_phy_is_low_speed_connection()
476 regmap_read(mxs_phy->regmap_anatop, reg, &line_state); in mxs_phy_is_low_speed_connection()
573 struct regmap *regmap = x->regmap_anatop; in mxs_charger_data_contact_detect()
626 struct regmap *regmap = x->regmap_anatop; in mxs_charger_primary_detection()
662 struct regmap *regmap = x->regmap_anatop; in mxs_charger_secondary_detection()
680 struct regmap *regmap = mxs_phy->regmap_anatop; in mxs_phy_charger_detect()
742 mxs_phy->regmap_anatop = syscon_regmap_lookup_by_phandle in mxs_phy_probe()
744 if (IS_ERR(mxs_phy->regmap_anatop)) { in mxs_phy_probe()
747 return PTR_ERR(mxs_phy->regmap_anatop); in mxs_phy_probe()
824 if (!mxs_phy->regmap_anatop) in mxs_phy_enable_ldo_in_suspend()
828 regmap_write(mxs_phy->regmap_anatop, reg, in mxs_phy_enable_ldo_in_suspend()
831 regmap_write(mxs_phy->regmap_anatop, in mxs_phy_enable_ldo_in_suspend()