History

Merge tag 'asoc-v4.6' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound into for-linus

ASoC: Updates for v4.6 The main thing in terms of the core this time around has been some additional framework work for dynamic topologies (though we *still* don't appear to have a stable ABI for the topology code, it's probably worth considering if this will ever happen...). Otherwise the work has almost all been in the drivers: - HDMI support for Sky Lake, along with other fixes and enhancements for the Intel drivers. - Lots of improvements to the Renesas drivers. - Capture support for Qualcomm drivers. - Support for TI DaVinci DRA7xxx devices. - New machine drivers for Freescale systems with Cirrus CODECs, Mediatek systems with RT5650 CODECs. - New CPU drivers for Allwinner S/PDIF controllers - New CODEC drivers for Maxim MAX9867 and MAX98926 and Realtek RT5514.

Takashi Iwai committed 10 years ago

Commit ca80e262 parents 028cb68 d4a6360294 files · +11803 −3709Browse files

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

Unified · Split

include/uapi/linux/media.h+30−24
@@ -66,27 +66,33 @@ struct media_device_info { · 65 unmodified lines
6666 /*
6767 * DVB entities
6868 */
69−#define MEDIA_ENT_F_DTV_DEMOD (MEDIA_ENT_F_BASE + 1)
70−#define MEDIA_ENT_F_TS_DEMUX (MEDIA_ENT_F_BASE + 2)
71−#define MEDIA_ENT_F_DTV_CA (MEDIA_ENT_F_BASE + 3)
72−#define MEDIA_ENT_F_DTV_NET_DECAP (MEDIA_ENT_F_BASE + 4)
69+#define MEDIA_ENT_F_DTV_DEMOD (MEDIA_ENT_F_BASE + 0x00001)
70+#define MEDIA_ENT_F_TS_DEMUX (MEDIA_ENT_F_BASE + 0x00002)
71+#define MEDIA_ENT_F_DTV_CA (MEDIA_ENT_F_BASE + 0x00003)
72+#define MEDIA_ENT_F_DTV_NET_DECAP (MEDIA_ENT_F_BASE + 0x00004)
7373
7474 /*
75− * Connectors
75+ * I/O entities
7676 */
77−/* It is a responsibility of the entity drivers to add connectors and links */
78−#define MEDIA_ENT_F_CONN_RF (MEDIA_ENT_F_BASE + 21)
79−#define MEDIA_ENT_F_CONN_SVIDEO (MEDIA_ENT_F_BASE + 22)
80−#define MEDIA_ENT_F_CONN_COMPOSITE (MEDIA_ENT_F_BASE + 23)
81−/* For internal test signal generators and other debug connectors */
82−#define MEDIA_ENT_F_CONN_TEST (MEDIA_ENT_F_BASE + 24)
77+#define MEDIA_ENT_F_IO_DTV (MEDIA_ENT_F_BASE + 0x01001)
78+#define MEDIA_ENT_F_IO_VBI (MEDIA_ENT_F_BASE + 0x01002)
79+#define MEDIA_ENT_F_IO_SWRADIO (MEDIA_ENT_F_BASE + 0x01003)
8380
8481 /*
85− * I/O entities
82+ * Connectors
8683 */
87−#define MEDIA_ENT_F_IO_DTV (MEDIA_ENT_F_BASE + 31)
88−#define MEDIA_ENT_F_IO_VBI (MEDIA_ENT_F_BASE + 32)
89−#define MEDIA_ENT_F_IO_SWRADIO (MEDIA_ENT_F_BASE + 33)
84+/* It is a responsibility of the entity drivers to add connectors and links */
85+#ifdef __KERNEL__
86+ /*
87+ * For now, it should not be used in userspace, as some
88+ * definitions may change
89+ */
90+
91+#define MEDIA_ENT_F_CONN_RF (MEDIA_ENT_F_BASE + 0x30001)
92+#define MEDIA_ENT_F_CONN_SVIDEO (MEDIA_ENT_F_BASE + 0x30002)
93+#define MEDIA_ENT_F_CONN_COMPOSITE (MEDIA_ENT_F_BASE + 0x30003)
94+
95+#endif
9096
9197 /*
9298 * Don't touch on those. The ranges MEDIA_ENT_F_OLD_BASE and
@@ -291,14 +297,14 @@ struct media_v2_entity { · 198 unmodified lines
291297 __u32 id;
292298 char name[64]; /* FIXME: move to a property? (RFC says so) */
293299 __u32 function; /* Main function of the entity */
294− __u16 reserved[12];
295−};
300+ __u32 reserved[6];
301+} __attribute__ ((packed));
296302
297303 /* Should match the specific fields at media_intf_devnode */
298304 struct media_v2_intf_devnode {
299305 __u32 major;
300306 __u32 minor;
301−};
307+} __attribute__ ((packed));
302308
303309 struct media_v2_interface {
304310 __u32 id;
@@ -310,22 +316,22 @@ struct media_v2_interface { · 5 unmodified lines
310316 struct media_v2_intf_devnode devnode;
311317 __u32 raw[16];
312318 };
313−};
319+} __attribute__ ((packed));
314320
315321 struct media_v2_pad {
316322 __u32 id;
317323 __u32 entity_id;
318324 __u32 flags;
319− __u16 reserved[9];
320−};
325+ __u32 reserved[5];
326+} __attribute__ ((packed));
321327
322328 struct media_v2_link {
323329 __u32 id;
324330 __u32 source_id;
325331 __u32 sink_id;
326332 __u32 flags;
327− __u32 reserved[5];
328−};
333+ __u32 reserved[6];
334+} __attribute__ ((packed));
329335
330336 struct media_v2_topology {
331337 __u64 topology_version;
@@ -345,7 +351,7 @@ struct media_v2_topology { · 13 unmodified lines
345351 __u32 num_links;
346352 __u32 reserved4;
347353 __u64 ptr_links;
348−};
354+} __attribute__ ((packed));
349355
350356 static inline void __user *media_get_uptr(__u64 arg)
351357 {

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