Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
Kernel
提交
06d3a396
K
Kernel
项目概览
openeuler
/
Kernel
大约 1 年 前同步成功
通知
7
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
K
Kernel
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
提交
06d3a396
编写于
10月 23, 2009
作者:
M
Mauro Carvalho Chehab
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
V4L/DVB (13157): dvb_frontend: represent all DVBS2API commands via macro
Signed-off-by:
N
Mauro Carvalho Chehab
<
mchehab@redhat.com
>
上级
b232a012
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
26 addition
and
133 deletion
+26
-133
drivers/media/dvb/dvb-core/dvb_frontend.c
drivers/media/dvb/dvb-core/dvb_frontend.c
+26
-133
未找到文件。
drivers/media/dvb/dvb-core/dvb_frontend.c
浏览文件 @
06d3a396
...
...
@@ -895,104 +895,27 @@ static int dvb_frontend_clear_cache(struct dvb_frontend *fe)
}
static
struct
dtv_cmds_h
dtv_cmds
[]
=
{
[
DTV_TUNE
]
=
{
.
name
=
"DTV_TUNE"
,
.
cmd
=
DTV_TUNE
,
.
set
=
1
,
},
[
DTV_CLEAR
]
=
{
.
name
=
"DTV_CLEAR"
,
.
cmd
=
DTV_CLEAR
,
.
set
=
1
,
},
_DTV_CMD
(
DTV_TUNE
,
1
,
0
),
_DTV_CMD
(
DTV_CLEAR
,
1
,
0
),
/* Set */
[
DTV_FREQUENCY
]
=
{
.
name
=
"DTV_FREQUENCY"
,
.
cmd
=
DTV_FREQUENCY
,
.
set
=
1
,
},
[
DTV_BANDWIDTH_HZ
]
=
{
.
name
=
"DTV_BANDWIDTH_HZ"
,
.
cmd
=
DTV_BANDWIDTH_HZ
,
.
set
=
1
,
},
[
DTV_MODULATION
]
=
{
.
name
=
"DTV_MODULATION"
,
.
cmd
=
DTV_MODULATION
,
.
set
=
1
,
},
[
DTV_INVERSION
]
=
{
.
name
=
"DTV_INVERSION"
,
.
cmd
=
DTV_INVERSION
,
.
set
=
1
,
},
[
DTV_DISEQC_MASTER
]
=
{
.
name
=
"DTV_DISEQC_MASTER"
,
.
cmd
=
DTV_DISEQC_MASTER
,
.
set
=
1
,
.
buffer
=
1
,
},
[
DTV_SYMBOL_RATE
]
=
{
.
name
=
"DTV_SYMBOL_RATE"
,
.
cmd
=
DTV_SYMBOL_RATE
,
.
set
=
1
,
},
[
DTV_INNER_FEC
]
=
{
.
name
=
"DTV_INNER_FEC"
,
.
cmd
=
DTV_INNER_FEC
,
.
set
=
1
,
},
[
DTV_VOLTAGE
]
=
{
.
name
=
"DTV_VOLTAGE"
,
.
cmd
=
DTV_VOLTAGE
,
.
set
=
1
,
},
[
DTV_TONE
]
=
{
.
name
=
"DTV_TONE"
,
.
cmd
=
DTV_TONE
,
.
set
=
1
,
},
[
DTV_PILOT
]
=
{
.
name
=
"DTV_PILOT"
,
.
cmd
=
DTV_PILOT
,
.
set
=
1
,
},
[
DTV_ROLLOFF
]
=
{
.
name
=
"DTV_ROLLOFF"
,
.
cmd
=
DTV_ROLLOFF
,
.
set
=
1
,
},
[
DTV_DELIVERY_SYSTEM
]
=
{
.
name
=
"DTV_DELIVERY_SYSTEM"
,
.
cmd
=
DTV_DELIVERY_SYSTEM
,
.
set
=
1
,
},
[
DTV_HIERARCHY
]
=
{
.
name
=
"DTV_HIERARCHY"
,
.
cmd
=
DTV_HIERARCHY
,
.
set
=
1
,
},
[
DTV_CODE_RATE_HP
]
=
{
.
name
=
"DTV_CODE_RATE_HP"
,
.
cmd
=
DTV_CODE_RATE_HP
,
.
set
=
1
,
},
[
DTV_CODE_RATE_LP
]
=
{
.
name
=
"DTV_CODE_RATE_LP"
,
.
cmd
=
DTV_CODE_RATE_LP
,
.
set
=
1
,
},
[
DTV_GUARD_INTERVAL
]
=
{
.
name
=
"DTV_GUARD_INTERVAL"
,
.
cmd
=
DTV_GUARD_INTERVAL
,
.
set
=
1
,
},
[
DTV_TRANSMISSION_MODE
]
=
{
.
name
=
"DTV_TRANSMISSION_MODE"
,
.
cmd
=
DTV_TRANSMISSION_MODE
,
.
set
=
1
,
},
_DTV_CMD
(
DTV_FREQUENCY
,
1
,
0
),
_DTV_CMD
(
DTV_BANDWIDTH_HZ
,
1
,
0
),
_DTV_CMD
(
DTV_MODULATION
,
1
,
0
),
_DTV_CMD
(
DTV_INVERSION
,
1
,
0
),
_DTV_CMD
(
DTV_DISEQC_MASTER
,
1
,
1
),
_DTV_CMD
(
DTV_SYMBOL_RATE
,
1
,
0
),
_DTV_CMD
(
DTV_INNER_FEC
,
1
,
0
),
_DTV_CMD
(
DTV_VOLTAGE
,
1
,
0
),
_DTV_CMD
(
DTV_TONE
,
1
,
0
),
_DTV_CMD
(
DTV_PILOT
,
1
,
0
),
_DTV_CMD
(
DTV_ROLLOFF
,
1
,
0
),
_DTV_CMD
(
DTV_DELIVERY_SYSTEM
,
1
,
0
),
_DTV_CMD
(
DTV_HIERARCHY
,
1
,
0
),
_DTV_CMD
(
DTV_CODE_RATE_HP
,
1
,
0
),
_DTV_CMD
(
DTV_CODE_RATE_LP
,
1
,
0
),
_DTV_CMD
(
DTV_GUARD_INTERVAL
,
1
,
0
),
_DTV_CMD
(
DTV_TRANSMISSION_MODE
,
1
,
0
),
_DTV_CMD
(
DTV_ISDBT_PARTIAL_RECEPTION
,
1
,
0
),
_DTV_CMD
(
DTV_ISDBT_SOUND_BROADCASTING
,
1
,
0
),
...
...
@@ -1035,43 +958,13 @@ static struct dtv_cmds_h dtv_cmds[] = {
_DTV_CMD
(
DTV_ISDBS_TS_ID
,
1
,
0
),
/* Get */
[
DTV_DISEQC_SLAVE_REPLY
]
=
{
.
name
=
"DTV_DISEQC_SLAVE_REPLY"
,
.
cmd
=
DTV_DISEQC_SLAVE_REPLY
,
.
set
=
0
,
.
buffer
=
1
,
},
[
DTV_API_VERSION
]
=
{
.
name
=
"DTV_API_VERSION"
,
.
cmd
=
DTV_API_VERSION
,
.
set
=
0
,
},
[
DTV_CODE_RATE_HP
]
=
{
.
name
=
"DTV_CODE_RATE_HP"
,
.
cmd
=
DTV_CODE_RATE_HP
,
.
set
=
0
,
},
[
DTV_CODE_RATE_LP
]
=
{
.
name
=
"DTV_CODE_RATE_LP"
,
.
cmd
=
DTV_CODE_RATE_LP
,
.
set
=
0
,
},
[
DTV_GUARD_INTERVAL
]
=
{
.
name
=
"DTV_GUARD_INTERVAL"
,
.
cmd
=
DTV_GUARD_INTERVAL
,
.
set
=
0
,
},
[
DTV_TRANSMISSION_MODE
]
=
{
.
name
=
"DTV_TRANSMISSION_MODE"
,
.
cmd
=
DTV_TRANSMISSION_MODE
,
.
set
=
0
,
},
[
DTV_HIERARCHY
]
=
{
.
name
=
"DTV_HIERARCHY"
,
.
cmd
=
DTV_HIERARCHY
,
.
set
=
0
,
},
_DTV_CMD
(
DTV_DISEQC_SLAVE_REPLY
,
0
,
1
),
_DTV_CMD
(
DTV_API_VERSION
,
0
,
0
),
_DTV_CMD
(
DTV_CODE_RATE_HP
,
0
,
0
),
_DTV_CMD
(
DTV_CODE_RATE_LP
,
0
,
0
),
_DTV_CMD
(
DTV_GUARD_INTERVAL
,
0
,
0
),
_DTV_CMD
(
DTV_TRANSMISSION_MODE
,
0
,
0
),
_DTV_CMD
(
DTV_HIERARCHY
,
0
,
0
),
};
static
void
dtv_property_dump
(
struct
dtv_property
*
tvp
)
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录