Lines Matching refs:ret
70 int id, ret, x, y, z;
76 ret = i2c_master_recv(client, buf, MAX_I2C_DATA_LEN);
77 } while (ret == -EAGAIN && tries++ < EGALAX_MAX_TRIES);
79 if (ret < 0)
123 int ret;
127 ret = PTR_ERR_OR_ZERO(gpio);
128 if (ret) {
129 if (ret != -EPROBE_DEFER)
132 ret);
133 return ret;
149 int ret;
151 ret = i2c_master_send(client, cmd, MAX_I2C_DATA_LEN);
152 if (ret < 0)
153 return ret;
232 int ret;
237 ret = i2c_master_send(client, suspend_cmd, MAX_I2C_DATA_LEN);
238 return ret > 0 ? 0 : ret;