Home
last modified time | relevance | path

Searched refs:gobj (Results 1 – 2 of 2) sorted by relevance

/linux-4.19.296/include/media/
Dmedia-entity.h350 static inline enum media_gobj_type media_type(struct media_gobj *gobj) in media_type() argument
352 return gobj->id >> MEDIA_BITS_PER_ID; in media_type()
360 static inline u32 media_id(struct media_gobj *gobj) in media_id() argument
362 return gobj->id & MEDIA_ID_MASK; in media_id()
538 #define gobj_to_entity(gobj) \ argument
539 container_of(gobj, struct media_entity, graph_obj)
547 #define gobj_to_pad(gobj) \ argument
548 container_of(gobj, struct media_pad, graph_obj)
556 #define gobj_to_link(gobj) \ argument
557 container_of(gobj, struct media_link, graph_obj)
[all …]
/linux-4.19.296/drivers/media/
Dmedia-entity.c103 static void dev_dbg_obj(const char *event_name, struct media_gobj *gobj) in dev_dbg_obj() argument
106 switch (media_type(gobj)) { in dev_dbg_obj()
108 dev_dbg(gobj->mdev->dev, in dev_dbg_obj()
110 event_name, media_id(gobj), in dev_dbg_obj()
111 gobj_to_entity(gobj)->name); in dev_dbg_obj()
115 struct media_link *link = gobj_to_link(gobj); in dev_dbg_obj()
117 dev_dbg(gobj->mdev->dev, in dev_dbg_obj()
119 event_name, media_id(gobj), in dev_dbg_obj()
128 struct media_pad *pad = gobj_to_pad(gobj); in dev_dbg_obj()
130 dev_dbg(gobj->mdev->dev, in dev_dbg_obj()
[all …]