Lines Matching +full:retry +full:- +full:time
1 // SPDX-License-Identifier: GPL-2.0+
19 uc_pdata->type = REGULATOR_TYPE_OTHER; in tps65090_fet_probe()
20 uc_pdata->mode_count = 0; in tps65090_fet_probe()
30 fet_id = dev->driver_data; in tps65090_fet_get_enable()
46 * @return -EIO if we got a comms error, -EAGAIN if the FET failed to
51 int retry; in tps65090_fet_set() local
60 return -EIO; in tps65090_fet_set()
63 for (retry = 0; retry < MAX_CTRL_READ_TRIES; retry++) { in tps65090_fet_set()
82 return -EAGAIN; in tps65090_fet_set()
92 fet_id = dev->driver_data; in tps65090_fet_set_enable()
104 /* Turn it off and try again until we time out */ in tps65090_fet_set_enable()
109 debug("%s: FET%d failed to power on: time=%lums, loops=%d\n", in tps65090_fet_set_enable()
116 * Unfortunately there are some conditions where the power-good bit in tps65090_fet_set_enable()
121 if (ret == -EAGAIN) in tps65090_fet_set_enable()