Lines Matching refs:graph_obj
261 kentity.id = entity->graph_obj.id; in media_device_get_topology()
290 kintf.id = intf->graph_obj.id; in media_device_get_topology()
294 if (media_type(&intf->graph_obj) == MEDIA_GRAPH_INTF_DEVNODE) { in media_device_get_topology()
326 kpad.id = pad->graph_obj.id; in media_device_get_topology()
327 kpad.entity_id = pad->entity->graph_obj.id; in media_device_get_topology()
358 klink.id = link->graph_obj.id; in media_device_get_topology()
581 struct media_device *mdev = entity->graph_obj.mdev; in __media_device_unregister_entity()
589 list_for_each_entry(intf, &mdev->interfaces, graph_obj.list) { in __media_device_unregister_entity()
601 media_gobj_destroy(&entity->pads[i].graph_obj); in __media_device_unregister_entity()
604 media_gobj_destroy(&entity->graph_obj); in __media_device_unregister_entity()
608 entity->graph_obj.mdev = NULL; in __media_device_unregister_entity()
630 WARN_ON(entity->graph_obj.mdev != NULL); in media_device_register_entity()
631 entity->graph_obj.mdev = mdev; in media_device_register_entity()
646 media_gobj_create(mdev, MEDIA_GRAPH_ENTITY, &entity->graph_obj); in media_device_register_entity()
651 &entity->pads[i].graph_obj); in media_device_register_entity()
683 struct media_device *mdev = entity->graph_obj.mdev; in media_device_unregister_entity()
823 list_for_each_entry_safe(entity, next, &mdev->entities, graph_obj.list) in media_device_unregister()
832 graph_obj.list) { in media_device_unregister()
839 media_gobj_destroy(&intf->graph_obj); in media_device_unregister()