Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
5dcb7a67
Commit
5dcb7a67
authored
Nov 25, 2002
by
Alan Cox
Committed by
Linus Torvalds
Nov 25, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] dvb header updates
parent
40ab5e99
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
8 deletions
+9
-8
include/linux/dvb/ca.h
include/linux/dvb/ca.h
+7
-7
include/linux/dvb/osd.h
include/linux/dvb/osd.h
+2
-1
No files found.
include/linux/dvb/ca.h
View file @
5dcb7a67
...
...
@@ -26,7 +26,7 @@
/* slot interface types and info */
typedef
struct
ca_slot_info
_s
{
typedef
struct
ca_slot_info
{
int
num
;
/* slot number */
int
type
;
/* CA interface this slot supports */
...
...
@@ -43,7 +43,7 @@ typedef struct ca_slot_info_s {
/* descrambler types and info */
typedef
struct
ca_descr_info
_s
{
typedef
struct
ca_descr_info
{
unsigned
int
num
;
/* number of available descramblers (keys) */
unsigned
int
type
;
/* type of supported scrambling system */
#define CA_ECD 1
...
...
@@ -51,29 +51,29 @@ typedef struct ca_descr_info_s {
#define CA_DSS 4
}
ca_descr_info_t
;
typedef
struct
ca_cap
_
s
{
typedef
struct
ca_caps
{
unsigned
int
slot_num
;
/* total number of CA card and module slots */
unsigned
int
slot_type
;
/* OR of all supported types */
unsigned
int
descr_num
;
/* total number of descrambler slots (keys) */
unsigned
int
descr_type
;
/* OR of all supported types */
}
ca_cap_t
;
}
ca_cap
s
_t
;
/* a message to/from a CI-CAM */
typedef
struct
ca_msg
_s
{
typedef
struct
ca_msg
{
unsigned
int
index
;
unsigned
int
type
;
unsigned
int
length
;
unsigned
char
msg
[
256
];
}
ca_msg_t
;
typedef
struct
ca_descr
_s
{
typedef
struct
ca_descr
{
unsigned
int
index
;
unsigned
int
parity
;
unsigned
char
cw
[
8
];
}
ca_descr_t
;
#define CA_RESET _IO('o', 128)
#define CA_GET_CAP _IOR('o', 129, ca_cap_t)
#define CA_GET_CAP _IOR('o', 129, ca_cap
s
_t)
#define CA_GET_SLOT_INFO _IOR('o', 130, ca_slot_info_t)
#define CA_GET_DESCR_INFO _IOR('o', 131, ca_descr_info_t)
#define CA_GET_MSG _IOR('o', 132, ca_msg_t)
...
...
include/linux/dvb/osd.h
View file @
5dcb7a67
...
...
@@ -26,7 +26,7 @@
typedef
enum
{
// All functions return -2 on "not open"
OSD_Close
=
1
,
// ()
OSD_Close
=
1
,
// ()
// Disables OSD and releases the buffers
// returns 0 on success
OSD_Open
,
// (x0,y0,x1,y1,BitPerPixel[2/4/8](color&0x0F),mix[0..15](color&0xF0))
...
...
@@ -108,3 +108,4 @@ typedef struct osd_cmd_s {
#define OSD_SEND_CMD _IOW('o', 160, osd_cmd_t)
#endif
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment