Lines Matching defs:bundle

113 	struct gb_bundle *bundle = connection->bundle;
120 ret = gb_pm_runtime_get_sync(bundle);
131 gb_pm_runtime_put_autosuspend(bundle);
302 struct gb_bundle *bundle = connection->bundle;
309 ret = gb_pm_runtime_get_sync(bundle);
320 gb_pm_runtime_put_autosuspend(bundle);
328 struct gb_bundle *bundle = connection->bundle;
335 ret = gb_pm_runtime_get_sync(bundle);
345 gb_pm_runtime_put_autosuspend(bundle);
354 struct gb_bundle *bundle = connection->bundle;
359 ret = gb_pm_runtime_get_sync(bundle);
388 gb_pm_runtime_put_autosuspend(bundle);
391 gb_pm_runtime_put_autosuspend(bundle);
436 struct gb_bundle *bundle = connection->bundle;
448 ret = gb_pm_runtime_get_sync(bundle);
478 gb_pm_runtime_put_autosuspend(bundle);
481 gb_pm_runtime_put_autosuspend(bundle);
515 struct device *dev = &connection->bundle->dev;
579 dev_err(&connection->bundle->dev, "no support for v4l2 subdevices\n");
620 struct gb_bundle *bundle = connection->bundle;
627 ret = gb_pm_runtime_get_sync(bundle);
640 gb_pm_runtime_put_autosuspend(bundle);
661 struct gb_bundle *bundle = connection->bundle;
668 ret = gb_pm_runtime_get_sync(bundle);
681 gb_pm_runtime_put_autosuspend(bundle);
692 struct gb_bundle *bundle = connection->bundle;
700 ret = gb_pm_runtime_get_sync(bundle);
712 gb_pm_runtime_put_autosuspend(bundle);
790 ret = led_classdev_flash_register(&connection->bundle->dev, fled);
856 dev_err(&connection->bundle->dev, "no support for flash devices\n");
877 ret = led_classdev_register(&connection->bundle->dev, cdev);
1162 dev_err(&connection->bundle->dev,
1183 dev_err(&connection->bundle->dev,
1196 struct device *dev = &connection->bundle->dev;
1246 static int gb_lights_probe(struct gb_bundle *bundle,
1254 if (bundle->num_cports != 1)
1257 cport_desc = &bundle->cport_desc[0];
1267 connection = gb_connection_create(bundle, le16_to_cpu(cport_desc->id),
1277 greybus_set_drvdata(bundle, glights);
1302 gb_pm_runtime_put_autosuspend(bundle);
1315 static void gb_lights_disconnect(struct gb_bundle *bundle)
1317 struct gb_lights *glights = greybus_get_drvdata(bundle);
1319 if (gb_pm_runtime_get_sync(bundle))
1320 gb_pm_runtime_get_noresume(bundle);