Lines Matching refs:generic_phy
68 struct ufs_qcom_phy *get_ufs_qcom_phy(struct phy *generic_phy) in get_ufs_qcom_phy() argument
70 return (struct ufs_qcom_phy *)phy_get_drvdata(generic_phy); in get_ufs_qcom_phy()
109 struct phy *generic_phy = NULL; in ufs_qcom_phy_generic_probe() local
125 generic_phy = devm_phy_create(dev, NULL, ufs_qcom_phy_gen_ops); in ufs_qcom_phy_generic_probe()
126 if (IS_ERR(generic_phy)) { in ufs_qcom_phy_generic_probe()
127 err = PTR_ERR(generic_phy); in ufs_qcom_phy_generic_probe()
129 generic_phy = NULL; in ufs_qcom_phy_generic_probe()
137 return generic_phy; in ufs_qcom_phy_generic_probe()
492 int ufs_qcom_phy_set_tx_lane_enable(struct phy *generic_phy, u32 tx_lanes) in ufs_qcom_phy_set_tx_lane_enable() argument
494 struct ufs_qcom_phy *ufs_qcom_phy = get_ufs_qcom_phy(generic_phy); in ufs_qcom_phy_set_tx_lane_enable()
510 void ufs_qcom_phy_save_controller_version(struct phy *generic_phy, in ufs_qcom_phy_save_controller_version() argument
513 struct ufs_qcom_phy *ufs_qcom_phy = get_ufs_qcom_phy(generic_phy); in ufs_qcom_phy_save_controller_version()
533 int ufs_qcom_phy_power_on(struct phy *generic_phy) in ufs_qcom_phy_power_on() argument
535 struct ufs_qcom_phy *phy_common = get_ufs_qcom_phy(generic_phy); in ufs_qcom_phy_power_on()
626 int ufs_qcom_phy_power_off(struct phy *generic_phy) in ufs_qcom_phy_power_off() argument
628 struct ufs_qcom_phy *phy_common = get_ufs_qcom_phy(generic_phy); in ufs_qcom_phy_power_off()