Lines Matching defs:bundle

42 	ret = gb_spilib_master_init(connection, &connection->bundle->dev,
61 static int gb_fw_core_probe(struct gb_bundle *bundle,
76 for (i = 0; i < bundle->num_cports; i++) {
77 cport_desc = &bundle->cport_desc[i];
85 dev_err(&bundle->dev,
91 connection = gb_connection_create(bundle, cport_id,
95 dev_err(&bundle->dev,
106 dev_err(&bundle->dev,
112 connection = gb_connection_create(bundle, cport_id,
115 dev_err(&bundle->dev, "failed to create download connection (%ld)\n",
125 dev_err(&bundle->dev,
131 connection = gb_connection_create(bundle, cport_id,
134 dev_err(&bundle->dev, "failed to create SPI connection (%ld)\n",
144 dev_err(&bundle->dev, "multiple Authentication CPorts found\n");
149 connection = gb_connection_create(bundle, cport_id,
152 dev_err(&bundle->dev, "failed to create Authentication connection (%ld)\n",
160 dev_err(&bundle->dev, "invalid protocol id (0x%02x)\n",
169 dev_err(&bundle->dev, "missing management connection\n");
177 dev_err(&bundle->dev, "failed to initialize firmware download connection, disable it (%d)\n",
186 dev_err(&bundle->dev, "failed to initialize SPI connection, disable it (%d)\n",
195 dev_err(&bundle->dev, "failed to initialize CAP connection, disable it (%d)\n",
204 dev_err(&bundle->dev, "failed to initialize firmware management connection, disable it (%d)\n",
209 greybus_set_drvdata(bundle, fw_core);
212 if (!(bundle->intf->quirks & GB_INTERFACE_QUIRK_NO_PM))
213 gb_pm_runtime_put_autosuspend(bundle);
231 static void gb_fw_core_disconnect(struct gb_bundle *bundle)
233 struct gb_fw_core *fw_core = greybus_get_drvdata(bundle);
237 if (!(bundle->intf->quirks & GB_INTERFACE_QUIRK_NO_PM)) {
238 ret = gb_pm_runtime_get_sync(bundle);
240 gb_pm_runtime_get_noresume(bundle);