Lines Matching refs:bundle
31 struct gb_bundle *bundle = vib->connection->bundle;
37 gb_pm_runtime_put_autosuspend(bundle);
44 struct gb_bundle *bundle = vib->connection->bundle;
47 ret = gb_pm_runtime_get_sync(bundle);
58 gb_pm_runtime_put_autosuspend(bundle);
115 static int gb_vibrator_probe(struct gb_bundle *bundle,
124 if (bundle->num_cports != 1)
127 cport_desc = &bundle->cport_desc[0];
135 connection = gb_connection_create(bundle, le16_to_cpu(cport_desc->id),
145 greybus_set_drvdata(bundle, vib);
161 dev = device_create(&vibrator_class, &bundle->dev,
171 gb_pm_runtime_put_autosuspend(bundle);
187 static void gb_vibrator_disconnect(struct gb_bundle *bundle)
189 struct gb_vibrator_device *vib = greybus_get_drvdata(bundle);
192 ret = gb_pm_runtime_get_sync(bundle);
194 gb_pm_runtime_get_noresume(bundle);