Name

struct media_gobj — Define a graph object.

Synopsis

struct media_gobj {
  struct media_device * mdev;
  u32 id;
  struct list_head list;
};  

Members

mdev

Pointer to the struct media_device that owns the object

id

Non-zero object ID identifier. The ID should be unique inside a media_device, as it is composed by MEDIA_BITS_PER_TYPE to store the type plus MEDIA_BITS_PER_ID to store the ID

list

List entry stored in one of the per-type mdev object lists

Description

All objects on the media graph should have this struct embedded