History

[media] media-device: export the entity function via new ioctl

Now that entities have a main function, expose it via MEDIA_IOC_G_TOPOLOGY ioctl. Please notice that some entities may have secundary functions. Such use case will be addressed later, when we add support for the Media Controller properties.

Mauro Carvalho Chehab committed 11 years ago

Commit d87cdb81 parent 0e576b72 files · +3 −1Browse files

Showing the changes to include/uapi (1 of 2 files). Show all

Unified · Split

include/uapi/linux/media.h+2−1
@@ -276,7 +276,8 @@ struct media_links_enum { · 275 unmodified lines
276struct media_v2_entity {276struct media_v2_entity {
277 __u32 id;277 __u32 id;
278 char name[64]; /* FIXME: move to a property? (RFC says so) */278 char name[64]; /* FIXME: move to a property? (RFC says so) */
279 __u16 reserved[14];279 __u32 function; /* Main function of the entity */
280 __u16 reserved[12];
280};281};
281 282
282/* Should match the specific fields at media_intf_devnode */283/* Should match the specific fields at media_intf_devnode */

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t