Lines Matching refs:ret

172 	int ret;
181 ret = max_word_attribute_alloc(dev, &dpn_attrs[i++],
183 if (ret < 0)
184 return ret;
186 ret = min_word_attribute_alloc(dev, &dpn_attrs[i++],
188 if (ret < 0)
189 return ret;
191 ret = words_attribute_alloc(dev, &dpn_attrs[i++],
193 if (ret < 0)
194 return ret;
196 ret = type_attribute_alloc(dev, &dpn_attrs[i++],
198 if (ret < 0)
199 return ret;
201 ret = max_grouping_attribute_alloc(dev, &dpn_attrs[i++],
203 if (ret < 0)
204 return ret;
206 ret = simple_ch_prep_sm_attribute_alloc(dev, &dpn_attrs[i++],
208 if (ret < 0)
209 return ret;
211 ret = ch_prep_timeout_attribute_alloc(dev, &dpn_attrs[i++],
213 if (ret < 0)
214 return ret;
216 ret = imp_def_interrupts_attribute_alloc(dev, &dpn_attrs[i++],
218 if (ret < 0)
219 return ret;
221 ret = min_ch_attribute_alloc(dev, &dpn_attrs[i++],
223 if (ret < 0)
224 return ret;
226 ret = max_ch_attribute_alloc(dev, &dpn_attrs[i++],
228 if (ret < 0)
229 return ret;
231 ret = channels_attribute_alloc(dev, &dpn_attrs[i++],
233 if (ret < 0)
234 return ret;
236 ret = ch_combinations_attribute_alloc(dev, &dpn_attrs[i++],
238 if (ret < 0)
239 return ret;
241 ret = max_async_buffer_attribute_alloc(dev, &dpn_attrs[i++],
243 if (ret < 0)
244 return ret;
246 ret = block_pack_mode_attribute_alloc(dev, &dpn_attrs[i++],
248 if (ret < 0)
249 return ret;
251 ret = port_encoding_attribute_alloc(dev, &dpn_attrs[i++],
253 if (ret < 0)
254 return ret;
273 ret = devm_device_add_group(dev, dpn_group);
274 if (ret < 0)
275 return ret;
283 int ret;
288 ret = add_all_attributes(&slave->dev, i, 1);
289 if (ret < 0)
290 return ret;
295 ret = add_all_attributes(&slave->dev, i, 0);
296 if (ret < 0)
297 return ret;