Edit File by line
/home/barbar84/public_h.../wp-conte.../plugins/sujqvwi/ExeBy/smexe_ro.../usr/include/linux
File: media.h
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
[0] Fix | Delete
/*
[1] Fix | Delete
* Multimedia device API
[2] Fix | Delete
*
[3] Fix | Delete
* Copyright (C) 2010 Nokia Corporation
[4] Fix | Delete
*
[5] Fix | Delete
* Contacts: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
[6] Fix | Delete
* Sakari Ailus <sakari.ailus@iki.fi>
[7] Fix | Delete
*
[8] Fix | Delete
* This program is free software; you can redistribute it and/or modify
[9] Fix | Delete
* it under the terms of the GNU General Public License version 2 as
[10] Fix | Delete
* published by the Free Software Foundation.
[11] Fix | Delete
*
[12] Fix | Delete
* This program is distributed in the hope that it will be useful,
[13] Fix | Delete
* but WITHOUT ANY WARRANTY; without even the implied warranty of
[14] Fix | Delete
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
[15] Fix | Delete
* GNU General Public License for more details.
[16] Fix | Delete
*/
[17] Fix | Delete
[18] Fix | Delete
#ifndef __LINUX_MEDIA_H
[19] Fix | Delete
#define __LINUX_MEDIA_H
[20] Fix | Delete
[21] Fix | Delete
#include <stdint.h>
[22] Fix | Delete
#include <linux/ioctl.h>
[23] Fix | Delete
#include <linux/types.h>
[24] Fix | Delete
#include <linux/version.h>
[25] Fix | Delete
[26] Fix | Delete
struct media_device_info {
[27] Fix | Delete
char driver[16];
[28] Fix | Delete
char model[32];
[29] Fix | Delete
char serial[40];
[30] Fix | Delete
char bus_info[32];
[31] Fix | Delete
__u32 media_version;
[32] Fix | Delete
__u32 hw_revision;
[33] Fix | Delete
__u32 driver_version;
[34] Fix | Delete
__u32 reserved[31];
[35] Fix | Delete
};
[36] Fix | Delete
[37] Fix | Delete
/*
[38] Fix | Delete
* Base number ranges for entity functions
[39] Fix | Delete
*
[40] Fix | Delete
* NOTE: Userspace should not rely on these ranges to identify a group
[41] Fix | Delete
* of function types, as newer functions can be added with any name within
[42] Fix | Delete
* the full u32 range.
[43] Fix | Delete
*
[44] Fix | Delete
* Some older functions use the MEDIA_ENT_F_OLD_*_BASE range. Do not
[45] Fix | Delete
* change this, this is for backwards compatibility. When adding new
[46] Fix | Delete
* functions always use MEDIA_ENT_F_BASE.
[47] Fix | Delete
*/
[48] Fix | Delete
#define MEDIA_ENT_F_BASE 0x00000000
[49] Fix | Delete
#define MEDIA_ENT_F_OLD_BASE 0x00010000
[50] Fix | Delete
#define MEDIA_ENT_F_OLD_SUBDEV_BASE 0x00020000
[51] Fix | Delete
[52] Fix | Delete
/*
[53] Fix | Delete
* Initial value to be used when a new entity is created
[54] Fix | Delete
* Drivers should change it to something useful.
[55] Fix | Delete
*/
[56] Fix | Delete
#define MEDIA_ENT_F_UNKNOWN MEDIA_ENT_F_BASE
[57] Fix | Delete
[58] Fix | Delete
/*
[59] Fix | Delete
* Subdevs are initialized with MEDIA_ENT_F_V4L2_SUBDEV_UNKNOWN in order
[60] Fix | Delete
* to preserve backward compatibility. Drivers must change to the proper
[61] Fix | Delete
* subdev type before registering the entity.
[62] Fix | Delete
*/
[63] Fix | Delete
#define MEDIA_ENT_F_V4L2_SUBDEV_UNKNOWN MEDIA_ENT_F_OLD_SUBDEV_BASE
[64] Fix | Delete
[65] Fix | Delete
/*
[66] Fix | Delete
* DVB entity functions
[67] Fix | Delete
*/
[68] Fix | Delete
#define MEDIA_ENT_F_DTV_DEMOD (MEDIA_ENT_F_BASE + 0x00001)
[69] Fix | Delete
#define MEDIA_ENT_F_TS_DEMUX (MEDIA_ENT_F_BASE + 0x00002)
[70] Fix | Delete
#define MEDIA_ENT_F_DTV_CA (MEDIA_ENT_F_BASE + 0x00003)
[71] Fix | Delete
#define MEDIA_ENT_F_DTV_NET_DECAP (MEDIA_ENT_F_BASE + 0x00004)
[72] Fix | Delete
[73] Fix | Delete
/*
[74] Fix | Delete
* I/O entity functions
[75] Fix | Delete
*/
[76] Fix | Delete
#define MEDIA_ENT_F_IO_V4L (MEDIA_ENT_F_OLD_BASE + 1)
[77] Fix | Delete
#define MEDIA_ENT_F_IO_DTV (MEDIA_ENT_F_BASE + 0x01001)
[78] Fix | Delete
#define MEDIA_ENT_F_IO_VBI (MEDIA_ENT_F_BASE + 0x01002)
[79] Fix | Delete
#define MEDIA_ENT_F_IO_SWRADIO (MEDIA_ENT_F_BASE + 0x01003)
[80] Fix | Delete
[81] Fix | Delete
/*
[82] Fix | Delete
* Sensor functions
[83] Fix | Delete
*/
[84] Fix | Delete
#define MEDIA_ENT_F_CAM_SENSOR (MEDIA_ENT_F_OLD_SUBDEV_BASE + 1)
[85] Fix | Delete
#define MEDIA_ENT_F_FLASH (MEDIA_ENT_F_OLD_SUBDEV_BASE + 2)
[86] Fix | Delete
#define MEDIA_ENT_F_LENS (MEDIA_ENT_F_OLD_SUBDEV_BASE + 3)
[87] Fix | Delete
[88] Fix | Delete
/*
[89] Fix | Delete
* Video decoder functions
[90] Fix | Delete
*/
[91] Fix | Delete
#define MEDIA_ENT_F_ATV_DECODER (MEDIA_ENT_F_OLD_SUBDEV_BASE + 4)
[92] Fix | Delete
#define MEDIA_ENT_F_DTV_DECODER (MEDIA_ENT_F_BASE + 0x6001)
[93] Fix | Delete
[94] Fix | Delete
/*
[95] Fix | Delete
* Digital TV, analog TV, radio and/or software defined radio tuner functions.
[96] Fix | Delete
*
[97] Fix | Delete
* It is a responsibility of the master/bridge drivers to add connectors
[98] Fix | Delete
* and links for MEDIA_ENT_F_TUNER. Please notice that some old tuners
[99] Fix | Delete
* may require the usage of separate I2C chips to decode analog TV signals,
[100] Fix | Delete
* when the master/bridge chipset doesn't have its own TV standard decoder.
[101] Fix | Delete
* On such cases, the IF-PLL staging is mapped via one or two entities:
[102] Fix | Delete
* MEDIA_ENT_F_IF_VID_DECODER and/or MEDIA_ENT_F_IF_AUD_DECODER.
[103] Fix | Delete
*/
[104] Fix | Delete
#define MEDIA_ENT_F_TUNER (MEDIA_ENT_F_OLD_SUBDEV_BASE + 5)
[105] Fix | Delete
[106] Fix | Delete
/*
[107] Fix | Delete
* Analog TV IF-PLL decoder functions
[108] Fix | Delete
*
[109] Fix | Delete
* It is a responsibility of the master/bridge drivers to create links
[110] Fix | Delete
* for MEDIA_ENT_F_IF_VID_DECODER and MEDIA_ENT_F_IF_AUD_DECODER.
[111] Fix | Delete
*/
[112] Fix | Delete
#define MEDIA_ENT_F_IF_VID_DECODER (MEDIA_ENT_F_BASE + 0x02001)
[113] Fix | Delete
#define MEDIA_ENT_F_IF_AUD_DECODER (MEDIA_ENT_F_BASE + 0x02002)
[114] Fix | Delete
[115] Fix | Delete
/*
[116] Fix | Delete
* Audio entity functions
[117] Fix | Delete
*/
[118] Fix | Delete
#define MEDIA_ENT_F_AUDIO_CAPTURE (MEDIA_ENT_F_BASE + 0x03001)
[119] Fix | Delete
#define MEDIA_ENT_F_AUDIO_PLAYBACK (MEDIA_ENT_F_BASE + 0x03002)
[120] Fix | Delete
#define MEDIA_ENT_F_AUDIO_MIXER (MEDIA_ENT_F_BASE + 0x03003)
[121] Fix | Delete
[122] Fix | Delete
/*
[123] Fix | Delete
* Processing entity functions
[124] Fix | Delete
*/
[125] Fix | Delete
#define MEDIA_ENT_F_PROC_VIDEO_COMPOSER (MEDIA_ENT_F_BASE + 0x4001)
[126] Fix | Delete
#define MEDIA_ENT_F_PROC_VIDEO_PIXEL_FORMATTER (MEDIA_ENT_F_BASE + 0x4002)
[127] Fix | Delete
#define MEDIA_ENT_F_PROC_VIDEO_PIXEL_ENC_CONV (MEDIA_ENT_F_BASE + 0x4003)
[128] Fix | Delete
#define MEDIA_ENT_F_PROC_VIDEO_LUT (MEDIA_ENT_F_BASE + 0x4004)
[129] Fix | Delete
#define MEDIA_ENT_F_PROC_VIDEO_SCALER (MEDIA_ENT_F_BASE + 0x4005)
[130] Fix | Delete
#define MEDIA_ENT_F_PROC_VIDEO_STATISTICS (MEDIA_ENT_F_BASE + 0x4006)
[131] Fix | Delete
[132] Fix | Delete
/*
[133] Fix | Delete
* Switch and bridge entity functions
[134] Fix | Delete
*/
[135] Fix | Delete
#define MEDIA_ENT_F_VID_MUX (MEDIA_ENT_F_BASE + 0x5001)
[136] Fix | Delete
#define MEDIA_ENT_F_VID_IF_BRIDGE (MEDIA_ENT_F_BASE + 0x5002)
[137] Fix | Delete
[138] Fix | Delete
/* Entity flags */
[139] Fix | Delete
#define MEDIA_ENT_FL_DEFAULT (1 << 0)
[140] Fix | Delete
#define MEDIA_ENT_FL_CONNECTOR (1 << 1)
[141] Fix | Delete
[142] Fix | Delete
/* OR with the entity id value to find the next entity */
[143] Fix | Delete
#define MEDIA_ENT_ID_FLAG_NEXT (1 << 31)
[144] Fix | Delete
[145] Fix | Delete
struct media_entity_desc {
[146] Fix | Delete
__u32 id;
[147] Fix | Delete
char name[32];
[148] Fix | Delete
__u32 type;
[149] Fix | Delete
__u32 revision;
[150] Fix | Delete
__u32 flags;
[151] Fix | Delete
__u32 group_id;
[152] Fix | Delete
__u16 pads;
[153] Fix | Delete
__u16 links;
[154] Fix | Delete
[155] Fix | Delete
__u32 reserved[4];
[156] Fix | Delete
[157] Fix | Delete
union {
[158] Fix | Delete
/* Node specifications */
[159] Fix | Delete
struct {
[160] Fix | Delete
__u32 major;
[161] Fix | Delete
__u32 minor;
[162] Fix | Delete
} dev;
[163] Fix | Delete
[164] Fix | Delete
/*
[165] Fix | Delete
* TODO: this shouldn't have been added without
[166] Fix | Delete
* actual drivers that use this. When the first real driver
[167] Fix | Delete
* appears that sets this information, special attention
[168] Fix | Delete
* should be given whether this information is 1) enough, and
[169] Fix | Delete
* 2) can deal with udev rules that rename devices. The struct
[170] Fix | Delete
* dev would not be sufficient for this since that does not
[171] Fix | Delete
* contain the subdevice information. In addition, struct dev
[172] Fix | Delete
* can only refer to a single device, and not to multiple (e.g.
[173] Fix | Delete
* pcm and mixer devices).
[174] Fix | Delete
*/
[175] Fix | Delete
struct {
[176] Fix | Delete
__u32 card;
[177] Fix | Delete
__u32 device;
[178] Fix | Delete
__u32 subdevice;
[179] Fix | Delete
} alsa;
[180] Fix | Delete
[181] Fix | Delete
/*
[182] Fix | Delete
* DEPRECATED: previous node specifications. Kept just to
[183] Fix | Delete
* avoid breaking compilation. Use media_entity_desc.dev
[184] Fix | Delete
* instead.
[185] Fix | Delete
*/
[186] Fix | Delete
struct {
[187] Fix | Delete
__u32 major;
[188] Fix | Delete
__u32 minor;
[189] Fix | Delete
} v4l;
[190] Fix | Delete
struct {
[191] Fix | Delete
__u32 major;
[192] Fix | Delete
__u32 minor;
[193] Fix | Delete
} fb;
[194] Fix | Delete
int dvb;
[195] Fix | Delete
[196] Fix | Delete
/* Sub-device specifications */
[197] Fix | Delete
/* Nothing needed yet */
[198] Fix | Delete
__u8 raw[184];
[199] Fix | Delete
};
[200] Fix | Delete
};
[201] Fix | Delete
[202] Fix | Delete
#define MEDIA_PAD_FL_SINK (1 << 0)
[203] Fix | Delete
#define MEDIA_PAD_FL_SOURCE (1 << 1)
[204] Fix | Delete
#define MEDIA_PAD_FL_MUST_CONNECT (1 << 2)
[205] Fix | Delete
[206] Fix | Delete
struct media_pad_desc {
[207] Fix | Delete
__u32 entity; /* entity ID */
[208] Fix | Delete
__u16 index; /* pad index */
[209] Fix | Delete
__u32 flags; /* pad flags */
[210] Fix | Delete
__u32 reserved[2];
[211] Fix | Delete
};
[212] Fix | Delete
[213] Fix | Delete
#define MEDIA_LNK_FL_ENABLED (1 << 0)
[214] Fix | Delete
#define MEDIA_LNK_FL_IMMUTABLE (1 << 1)
[215] Fix | Delete
#define MEDIA_LNK_FL_DYNAMIC (1 << 2)
[216] Fix | Delete
[217] Fix | Delete
#define MEDIA_LNK_FL_LINK_TYPE (0xf << 28)
[218] Fix | Delete
# define MEDIA_LNK_FL_DATA_LINK (0 << 28)
[219] Fix | Delete
# define MEDIA_LNK_FL_INTERFACE_LINK (1 << 28)
[220] Fix | Delete
[221] Fix | Delete
struct media_link_desc {
[222] Fix | Delete
struct media_pad_desc source;
[223] Fix | Delete
struct media_pad_desc sink;
[224] Fix | Delete
__u32 flags;
[225] Fix | Delete
__u32 reserved[2];
[226] Fix | Delete
};
[227] Fix | Delete
[228] Fix | Delete
struct media_links_enum {
[229] Fix | Delete
__u32 entity;
[230] Fix | Delete
/* Should have enough room for pads elements */
[231] Fix | Delete
struct media_pad_desc *pads;
[232] Fix | Delete
/* Should have enough room for links elements */
[233] Fix | Delete
struct media_link_desc *links;
[234] Fix | Delete
__u32 reserved[4];
[235] Fix | Delete
};
[236] Fix | Delete
[237] Fix | Delete
/* Interface type ranges */
[238] Fix | Delete
[239] Fix | Delete
#define MEDIA_INTF_T_DVB_BASE 0x00000100
[240] Fix | Delete
#define MEDIA_INTF_T_V4L_BASE 0x00000200
[241] Fix | Delete
[242] Fix | Delete
/* Interface types */
[243] Fix | Delete
[244] Fix | Delete
#define MEDIA_INTF_T_DVB_FE (MEDIA_INTF_T_DVB_BASE)
[245] Fix | Delete
#define MEDIA_INTF_T_DVB_DEMUX (MEDIA_INTF_T_DVB_BASE + 1)
[246] Fix | Delete
#define MEDIA_INTF_T_DVB_DVR (MEDIA_INTF_T_DVB_BASE + 2)
[247] Fix | Delete
#define MEDIA_INTF_T_DVB_CA (MEDIA_INTF_T_DVB_BASE + 3)
[248] Fix | Delete
#define MEDIA_INTF_T_DVB_NET (MEDIA_INTF_T_DVB_BASE + 4)
[249] Fix | Delete
[250] Fix | Delete
#define MEDIA_INTF_T_V4L_VIDEO (MEDIA_INTF_T_V4L_BASE)
[251] Fix | Delete
#define MEDIA_INTF_T_V4L_VBI (MEDIA_INTF_T_V4L_BASE + 1)
[252] Fix | Delete
#define MEDIA_INTF_T_V4L_RADIO (MEDIA_INTF_T_V4L_BASE + 2)
[253] Fix | Delete
#define MEDIA_INTF_T_V4L_SUBDEV (MEDIA_INTF_T_V4L_BASE + 3)
[254] Fix | Delete
#define MEDIA_INTF_T_V4L_SWRADIO (MEDIA_INTF_T_V4L_BASE + 4)
[255] Fix | Delete
#define MEDIA_INTF_T_V4L_TOUCH (MEDIA_INTF_T_V4L_BASE + 5)
[256] Fix | Delete
[257] Fix | Delete
[258] Fix | Delete
/*
[259] Fix | Delete
* MC next gen API definitions
[260] Fix | Delete
*/
[261] Fix | Delete
[262] Fix | Delete
struct media_v2_entity {
[263] Fix | Delete
__u32 id;
[264] Fix | Delete
char name[64];
[265] Fix | Delete
__u32 function; /* Main function of the entity */
[266] Fix | Delete
__u32 reserved[6];
[267] Fix | Delete
} __attribute__ ((packed));
[268] Fix | Delete
[269] Fix | Delete
/* Should match the specific fields at media_intf_devnode */
[270] Fix | Delete
struct media_v2_intf_devnode {
[271] Fix | Delete
__u32 major;
[272] Fix | Delete
__u32 minor;
[273] Fix | Delete
} __attribute__ ((packed));
[274] Fix | Delete
[275] Fix | Delete
struct media_v2_interface {
[276] Fix | Delete
__u32 id;
[277] Fix | Delete
__u32 intf_type;
[278] Fix | Delete
__u32 flags;
[279] Fix | Delete
__u32 reserved[9];
[280] Fix | Delete
[281] Fix | Delete
union {
[282] Fix | Delete
struct media_v2_intf_devnode devnode;
[283] Fix | Delete
__u32 raw[16];
[284] Fix | Delete
};
[285] Fix | Delete
} __attribute__ ((packed));
[286] Fix | Delete
[287] Fix | Delete
struct media_v2_pad {
[288] Fix | Delete
__u32 id;
[289] Fix | Delete
__u32 entity_id;
[290] Fix | Delete
__u32 flags;
[291] Fix | Delete
__u32 reserved[5];
[292] Fix | Delete
} __attribute__ ((packed));
[293] Fix | Delete
[294] Fix | Delete
struct media_v2_link {
[295] Fix | Delete
__u32 id;
[296] Fix | Delete
__u32 source_id;
[297] Fix | Delete
__u32 sink_id;
[298] Fix | Delete
__u32 flags;
[299] Fix | Delete
__u32 reserved[6];
[300] Fix | Delete
} __attribute__ ((packed));
[301] Fix | Delete
[302] Fix | Delete
struct media_v2_topology {
[303] Fix | Delete
__u64 topology_version;
[304] Fix | Delete
[305] Fix | Delete
__u32 num_entities;
[306] Fix | Delete
__u32 reserved1;
[307] Fix | Delete
__u64 ptr_entities;
[308] Fix | Delete
[309] Fix | Delete
__u32 num_interfaces;
[310] Fix | Delete
__u32 reserved2;
[311] Fix | Delete
__u64 ptr_interfaces;
[312] Fix | Delete
[313] Fix | Delete
__u32 num_pads;
[314] Fix | Delete
__u32 reserved3;
[315] Fix | Delete
__u64 ptr_pads;
[316] Fix | Delete
[317] Fix | Delete
__u32 num_links;
[318] Fix | Delete
__u32 reserved4;
[319] Fix | Delete
__u64 ptr_links;
[320] Fix | Delete
} __attribute__ ((packed));
[321] Fix | Delete
[322] Fix | Delete
/* ioctls */
[323] Fix | Delete
[324] Fix | Delete
#define MEDIA_IOC_DEVICE_INFO _IOWR('|', 0x00, struct media_device_info)
[325] Fix | Delete
#define MEDIA_IOC_ENUM_ENTITIES _IOWR('|', 0x01, struct media_entity_desc)
[326] Fix | Delete
#define MEDIA_IOC_ENUM_LINKS _IOWR('|', 0x02, struct media_links_enum)
[327] Fix | Delete
#define MEDIA_IOC_SETUP_LINK _IOWR('|', 0x03, struct media_link_desc)
[328] Fix | Delete
#define MEDIA_IOC_G_TOPOLOGY _IOWR('|', 0x04, struct media_v2_topology)
[329] Fix | Delete
[330] Fix | Delete
[331] Fix | Delete
/*
[332] Fix | Delete
* Legacy symbols used to avoid userspace compilation breakages.
[333] Fix | Delete
* Do not use any of this in new applications!
[334] Fix | Delete
*
[335] Fix | Delete
* Those symbols map the entity function into types and should be
[336] Fix | Delete
* used only on legacy programs for legacy hardware. Don't rely
[337] Fix | Delete
* on those for MEDIA_IOC_G_TOPOLOGY.
[338] Fix | Delete
*/
[339] Fix | Delete
#define MEDIA_ENT_TYPE_SHIFT 16
[340] Fix | Delete
#define MEDIA_ENT_TYPE_MASK 0x00ff0000
[341] Fix | Delete
#define MEDIA_ENT_SUBTYPE_MASK 0x0000ffff
[342] Fix | Delete
[343] Fix | Delete
#define MEDIA_ENT_T_DEVNODE_UNKNOWN (MEDIA_ENT_F_OLD_BASE | \
[344] Fix | Delete
MEDIA_ENT_SUBTYPE_MASK)
[345] Fix | Delete
[346] Fix | Delete
#define MEDIA_ENT_T_DEVNODE MEDIA_ENT_F_OLD_BASE
[347] Fix | Delete
#define MEDIA_ENT_T_DEVNODE_V4L MEDIA_ENT_F_IO_V4L
[348] Fix | Delete
#define MEDIA_ENT_T_DEVNODE_FB (MEDIA_ENT_F_OLD_BASE + 2)
[349] Fix | Delete
#define MEDIA_ENT_T_DEVNODE_ALSA (MEDIA_ENT_F_OLD_BASE + 3)
[350] Fix | Delete
#define MEDIA_ENT_T_DEVNODE_DVB (MEDIA_ENT_F_OLD_BASE + 4)
[351] Fix | Delete
[352] Fix | Delete
#define MEDIA_ENT_T_UNKNOWN MEDIA_ENT_F_UNKNOWN
[353] Fix | Delete
#define MEDIA_ENT_T_V4L2_VIDEO MEDIA_ENT_F_IO_V4L
[354] Fix | Delete
#define MEDIA_ENT_T_V4L2_SUBDEV MEDIA_ENT_F_V4L2_SUBDEV_UNKNOWN
[355] Fix | Delete
#define MEDIA_ENT_T_V4L2_SUBDEV_SENSOR MEDIA_ENT_F_CAM_SENSOR
[356] Fix | Delete
#define MEDIA_ENT_T_V4L2_SUBDEV_FLASH MEDIA_ENT_F_FLASH
[357] Fix | Delete
#define MEDIA_ENT_T_V4L2_SUBDEV_LENS MEDIA_ENT_F_LENS
[358] Fix | Delete
#define MEDIA_ENT_T_V4L2_SUBDEV_DECODER MEDIA_ENT_F_ATV_DECODER
[359] Fix | Delete
#define MEDIA_ENT_T_V4L2_SUBDEV_TUNER MEDIA_ENT_F_TUNER
[360] Fix | Delete
[361] Fix | Delete
/*
[362] Fix | Delete
* There is still no ALSA support in the media controller. These
[363] Fix | Delete
* defines should not have been added and we leave them here only
[364] Fix | Delete
* in case some application tries to use these defines.
[365] Fix | Delete
*/
[366] Fix | Delete
#define MEDIA_INTF_T_ALSA_BASE 0x00000300
[367] Fix | Delete
#define MEDIA_INTF_T_ALSA_PCM_CAPTURE (MEDIA_INTF_T_ALSA_BASE)
[368] Fix | Delete
#define MEDIA_INTF_T_ALSA_PCM_PLAYBACK (MEDIA_INTF_T_ALSA_BASE + 1)
[369] Fix | Delete
#define MEDIA_INTF_T_ALSA_CONTROL (MEDIA_INTF_T_ALSA_BASE + 2)
[370] Fix | Delete
#define MEDIA_INTF_T_ALSA_COMPRESS (MEDIA_INTF_T_ALSA_BASE + 3)
[371] Fix | Delete
#define MEDIA_INTF_T_ALSA_RAWMIDI (MEDIA_INTF_T_ALSA_BASE + 4)
[372] Fix | Delete
#define MEDIA_INTF_T_ALSA_HWDEP (MEDIA_INTF_T_ALSA_BASE + 5)
[373] Fix | Delete
#define MEDIA_INTF_T_ALSA_SEQUENCER (MEDIA_INTF_T_ALSA_BASE + 6)
[374] Fix | Delete
#define MEDIA_INTF_T_ALSA_TIMER (MEDIA_INTF_T_ALSA_BASE + 7)
[375] Fix | Delete
[376] Fix | Delete
/* Obsolete symbol for media_version, no longer used in the kernel */
[377] Fix | Delete
#define MEDIA_API_VERSION KERNEL_VERSION(0, 1, 0)
[378] Fix | Delete
[379] Fix | Delete
[380] Fix | Delete
#endif /* __LINUX_MEDIA_H */
[381] Fix | Delete
[382] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function