Lines Matching refs:ret

23 	int ret;
28 ret = gb_operation_sync(control->connection,
32 if (ret) {
35 ret);
36 return ret;
61 int ret;
65 ret = gb_operation_sync(control->connection,
69 if (ret) {
72 bundle->id, ret);
73 return ret;
89 int ret;
95 ret = gb_control_get_bundle_version(control, bundle);
96 if (ret)
97 return ret;
108 int ret;
110 ret = gb_operation_sync(connection, GB_CONTROL_TYPE_GET_MANIFEST_SIZE,
112 if (ret) {
114 "failed to get manifest size: %d\n", ret);
115 return ret;
155 int ret;
167 ret = gb_operation_request_send_sync(operation);
168 if (ret) {
170 ret);
175 return ret;
181 int ret;
191 ret = gb_operation_request_send_sync(operation);
192 if (ret)
193 dev_err(&control->dev, "failed to send mode switch: %d\n", ret);
197 return ret;
219 int ret;
222 ret = gb_operation_sync(control->connection,
225 if (ret) {
227 bundle_id, ret);
228 return ret;
244 int ret;
247 ret = gb_operation_sync(control->connection,
250 if (ret) {
252 bundle_id, ret);
253 return ret;
269 int ret;
272 ret = gb_operation_sync(control->connection,
275 if (ret) {
278 ret);
279 return ret;
295 int ret;
301 ret = gb_operation_sync(control->connection,
304 if (ret) {
307 ret);
308 return ret;
335 int ret;
337 ret = gb_operation_sync(control->connection,
340 if (ret) {
342 "failed to send interface suspend prepare: %d\n", ret);
343 return ret;
358 int ret;
360 ret = gb_operation_sync(control->connection,
363 if (ret) {
365 ret);
366 return ret;
381 int ret;
383 ret = gb_operation_sync(control->connection,
386 if (ret) {
389 ret);
390 return ret;
481 int ret;
485 ret = gb_connection_enable_tx(control->connection);
486 if (ret) {
489 ret);
490 return ret;
493 ret = gb_control_get_version(control);
494 if (ret)
509 return ret;
531 int ret;
533 ret = gb_connection_enable_tx(control->connection);
534 if (ret) {
536 "failed to enable control connection: %d\n", ret);
537 return ret;
545 int ret;
547 ret = device_add(&control->dev);
548 if (ret) {
551 ret);
552 return ret;