Lines Matching defs:ret
110 int i,ret = 0;
113 ret = fc->i2c_request(&fc->fc_i2c_adap[1], op, chipaddr,
115 if (ret == 0)
118 return ret;
124 int ret = flexcop_eeprom_request(fc, FC_READ, addr, buf, len, retries);
125 if (ret == 0)
127 ret = -EINVAL;
128 return ret;
136 int ret = 0;
138 if ((ret = flexcop_eeprom_lrc_read(fc,0x3f8,buf,8,4)) == 0) {
141 ret = -EINVAL;
145 return ret;