Lines Matching refs:bundle
19 struct gb_bundle *bundle;
46 ret = gb_pm_runtime_get_sync(ghid->bundle);
54 gb_pm_runtime_put_autosuspend(ghid->bundle);
63 ret = gb_pm_runtime_get_sync(ghid->bundle);
69 gb_pm_runtime_put_autosuspend(ghid->bundle);
80 ret = gb_pm_runtime_get_sync(ghid->bundle);
90 gb_pm_runtime_put_autosuspend(ghid->bundle);
102 ret = gb_pm_runtime_get_sync(ghid->bundle);
110 gb_pm_runtime_put_autosuspend(ghid->bundle);
121 dev_err(&operation->connection->bundle->dev,
128 gb_pm_runtime_put_autosuspend(ghid->bundle);
140 dev_err(&connection->bundle->dev,
365 dev_err(&ghid->connection->bundle->dev,
410 hid->dev.parent = &ghid->connection->bundle->dev;
415 dev_name(&ghid->connection->bundle->dev),
421 static int gb_hid_probe(struct gb_bundle *bundle,
430 if (bundle->num_cports != 1)
433 cport_desc = &bundle->cport_desc[0];
441 connection = gb_connection_create(bundle, le16_to_cpu(cport_desc->id),
458 ghid->bundle = bundle;
460 greybus_set_drvdata(bundle, ghid);
476 gb_pm_runtime_put_autosuspend(bundle);
492 static void gb_hid_disconnect(struct gb_bundle *bundle)
494 struct gb_hid *ghid = greybus_get_drvdata(bundle);
496 if (gb_pm_runtime_get_sync(bundle))
497 gb_pm_runtime_get_noresume(bundle);