Lines Matching refs:entd
107 struct media_entity_desc *entd = arg; in media_device_enum_entities() local
110 ent = find_entity(mdev, entd->id); in media_device_enum_entities()
114 memset(entd, 0, sizeof(*entd)); in media_device_enum_entities()
116 entd->id = media_entity_id(ent); in media_device_enum_entities()
118 strlcpy(entd->name, ent->name, sizeof(entd->name)); in media_device_enum_entities()
119 entd->type = ent->function; in media_device_enum_entities()
120 entd->revision = 0; /* Unused */ in media_device_enum_entities()
121 entd->flags = ent->flags; in media_device_enum_entities()
122 entd->group_id = 0; /* Unused */ in media_device_enum_entities()
123 entd->pads = ent->num_pads; in media_device_enum_entities()
124 entd->links = ent->num_links - ent->num_backlinks; in media_device_enum_entities()
140 entd->type = MEDIA_ENT_F_V4L2_SUBDEV_UNKNOWN; in media_device_enum_entities()
142 entd->type = MEDIA_ENT_T_DEVNODE_UNKNOWN; in media_device_enum_entities()
145 memcpy(&entd->raw, &ent->info, sizeof(ent->info)); in media_device_enum_entities()