Lines Matching refs:retval
1570 int retval = 0; in eth_dwc_xgmac_set_config() local
1580 retval = phy_api->cfg_link(phy, adv_speeds); in eth_dwc_xgmac_set_config()
1582 retval = -EALREADY; in eth_dwc_xgmac_set_config()
1589 retval = -EALREADY; in eth_dwc_xgmac_set_config()
1602 retval = phy_api->cfg_link(phy, adv_speeds); in eth_dwc_xgmac_set_config()
1606 retval = -EALREADY; in eth_dwc_xgmac_set_config()
1613 retval = phy_api->cfg_link(phy, adv_speeds); in eth_dwc_xgmac_set_config()
1617 retval = net_if_set_link_addr(dev_data->iface, dev_data->mac_addr, in eth_dwc_xgmac_set_config()
1619 if (retval == 0) { in eth_dwc_xgmac_set_config()
1636 retval = -EALREADY; in eth_dwc_xgmac_set_config()
1656 retval = -EIO; in eth_dwc_xgmac_set_config()
1664 retval = -ENOTSUP; in eth_dwc_xgmac_set_config()
1669 return retval; in eth_dwc_xgmac_set_config()