Lines Matching defs:ret
290 int ret;
298 ret = mvebu_a3700_comphy_set_phy_selector(comphy_index, comphy_mode);
299 if (ret) {
300 return ret;
357 ret = polling_with_timeout(comphy_indir_regs +
361 if (ret) {
373 int ret;
383 ret = mvebu_a3700_comphy_set_phy_selector(comphy_index, comphy_mode);
384 if (ret) {
385 return ret;
543 ret = polling_with_timeout(MVEBU_COMPHY_REG_BASE +
548 if (ret) {
569 ret = polling_with_timeout(MVEBU_COMPHY_REG_BASE +
574 if (ret) {
579 ret = polling_with_timeout(MVEBU_COMPHY_REG_BASE +
583 if (ret) {
613 int ret;
624 ret = mvebu_a3700_comphy_set_phy_selector(comphy_index, comphy_mode);
625 if (ret) {
626 return ret;
791 ret = polling_with_timeout(addr, TXDCLK_PCLK_EN, TXDCLK_PCLK_EN,
794 ret = polling_with_timeout(LANE_STAT1_ADDR(USB3) + reg_base,
798 if (ret) {
811 int ret;
819 ret = mvebu_a3700_comphy_set_phy_selector(comphy_index, comphy_mode);
820 if (ret) {
821 return ret;
894 ret = polling_with_timeout(LANE_STAT1_ADDR(PCIE) + COMPHY_SD_ADDR,
897 if (ret) {
910 int ret = 0;
916 ret = mvebu_a3700_comphy_sata_power_on(comphy_index,
921 ret = mvebu_a3700_comphy_sgmii_power_on(comphy_index,
926 ret = mvebu_a3700_comphy_usb3_power_on(comphy_index,
930 ret = mvebu_a3700_comphy_pcie_power_on(comphy_index,
935 ret = -EINVAL;
941 return ret;
1022 int ret = 0;
1035 ret = -ETIMEDOUT;
1040 return ret;
1046 int ret = 0;
1052 ret = mvebu_a3700_comphy_sata_is_pll_locked();
1058 ret = -EINVAL;
1064 return ret;