Lines Matching refs:bundle

113 	struct gb_bundle *bundle = connection->bundle;
120 ret = gb_pm_runtime_get_sync(bundle);
131 gb_pm_runtime_put_autosuspend(bundle);
299 struct gb_bundle *bundle = connection->bundle;
306 ret = gb_pm_runtime_get_sync(bundle);
317 gb_pm_runtime_put_autosuspend(bundle);
325 struct gb_bundle *bundle = connection->bundle;
332 ret = gb_pm_runtime_get_sync(bundle);
342 gb_pm_runtime_put_autosuspend(bundle);
351 struct gb_bundle *bundle = connection->bundle;
356 ret = gb_pm_runtime_get_sync(bundle);
385 gb_pm_runtime_put_autosuspend(bundle);
388 gb_pm_runtime_put_autosuspend(bundle);
433 struct gb_bundle *bundle = connection->bundle;
445 ret = gb_pm_runtime_get_sync(bundle);
475 gb_pm_runtime_put_autosuspend(bundle);
478 gb_pm_runtime_put_autosuspend(bundle);
512 struct device *dev = &connection->bundle->dev;
573 dev_err(&connection->bundle->dev, "no support for v4l2 subdevices\n");
614 struct gb_bundle *bundle = connection->bundle;
621 ret = gb_pm_runtime_get_sync(bundle);
634 gb_pm_runtime_put_autosuspend(bundle);
655 struct gb_bundle *bundle = connection->bundle;
662 ret = gb_pm_runtime_get_sync(bundle);
675 gb_pm_runtime_put_autosuspend(bundle);
686 struct gb_bundle *bundle = connection->bundle;
694 ret = gb_pm_runtime_get_sync(bundle);
706 gb_pm_runtime_put_autosuspend(bundle);
784 ret = led_classdev_flash_register(&connection->bundle->dev, fled);
850 dev_err(&connection->bundle->dev, "no support for flash devices\n");
871 ret = led_classdev_register(&connection->bundle->dev, cdev);
1156 dev_err(&connection->bundle->dev,
1177 dev_err(&connection->bundle->dev,
1190 struct device *dev = &connection->bundle->dev;
1240 static int gb_lights_probe(struct gb_bundle *bundle,
1248 if (bundle->num_cports != 1)
1251 cport_desc = &bundle->cport_desc[0];
1261 connection = gb_connection_create(bundle, le16_to_cpu(cport_desc->id),
1271 greybus_set_drvdata(bundle, glights);
1296 gb_pm_runtime_put_autosuspend(bundle);
1309 static void gb_lights_disconnect(struct gb_bundle *bundle)
1311 struct gb_lights *glights = greybus_get_drvdata(bundle);
1313 if (gb_pm_runtime_get_sync(bundle))
1314 gb_pm_runtime_get_noresume(bundle);