Lines Matching refs:err
76 int i, num_phys, err;
96 err = usb_phy_roothub_add_phy(dev, i, &phy_roothub->list);
97 if (err)
98 return ERR_PTR(err);
144 int err;
152 err = phy_init(roothub_entry->phy);
153 if (err)
163 return err;
171 int err, ret = 0;
179 err = phy_exit(roothub_entry->phy);
180 if (err)
181 ret = err;
193 int err;
201 err = phy_set_mode(roothub_entry->phy, mode);
202 if (err)
212 return err;
220 int err;
228 err = phy_calibrate(roothub_entry->phy);
229 if (err)
230 return err;
249 int err;
257 err = phy_notify_connect(roothub_entry->phy, port);
258 if (err)
259 return err;
278 int err;
286 err = phy_notify_disconnect(roothub_entry->phy, port);
287 if (err)
288 return err;
299 int err;
307 err = phy_power_on(roothub_entry->phy);
308 if (err)
318 return err;
350 int err;
354 err = usb_phy_roothub_init(phy_roothub);
355 if (err)
356 return err;
359 err = usb_phy_roothub_power_on(phy_roothub);
362 if (err && !device_may_wakeup(controller_dev))
365 return err;