Lines Matching refs:bundle
71 if (desc_cport->bundle == bundle_id) in release_cport_descriptors()
228 static u32 gb_manifest_parse_cports(struct gb_bundle *bundle) in gb_manifest_parse_cports() argument
230 struct gb_interface *intf = bundle->intf; in gb_manifest_parse_cports()
234 u8 bundle_id = bundle->id; in gb_manifest_parse_cports()
245 if (desc_cport->bundle != bundle_id) in gb_manifest_parse_cports()
254 dev_err(&bundle->dev, "invalid cport id found (%02u)\n", in gb_manifest_parse_cports()
266 dev_err(&bundle->dev, in gb_manifest_parse_cports()
278 bundle->cport_desc = kcalloc(count, sizeof(*bundle->cport_desc), in gb_manifest_parse_cports()
280 if (!bundle->cport_desc) in gb_manifest_parse_cports()
283 bundle->num_cports = count; in gb_manifest_parse_cports()
288 memcpy(&bundle->cport_desc[i++], desc_cport, in gb_manifest_parse_cports()
315 struct gb_bundle *bundle; in gb_manifest_parse_bundles() local
349 bundle = gb_bundle_create(intf, bundle_id, class); in gb_manifest_parse_bundles()
350 if (!bundle) in gb_manifest_parse_bundles()
370 if (!gb_manifest_parse_cports(bundle)) { in gb_manifest_parse_bundles()
371 gb_bundle_destroy(bundle); in gb_manifest_parse_bundles()
381 list_for_each_entry_safe(bundle, bundle_next, &intf->bundles, links) { in gb_manifest_parse_bundles()
382 gb_bundle_destroy(bundle); in gb_manifest_parse_bundles()