Lines Matching refs:ent
90 struct media_entity *ent;
96 ent = find_entity(mdev, u_ent.id);
98 if (ent == NULL)
101 u_ent.id = ent->id;
103 if (ent->name)
104 strlcpy(u_ent.name, ent->name, sizeof(u_ent.name));
105 u_ent.type = ent->type;
106 u_ent.revision = ent->revision;
107 u_ent.flags = ent->flags;
108 u_ent.group_id = ent->group_id;
109 u_ent.pads = ent->num_pads;
110 u_ent.links = ent->num_links - ent->num_backlinks;
111 memcpy(&u_ent.raw, &ent->info, sizeof(ent->info));