Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
cloud-kernel
提交
af1a9951
cloud-kernel
项目概览
openanolis
/
cloud-kernel
接近 2 年 前同步成功
通知
169
Star
36
Fork
7
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
10
列表
看板
标记
里程碑
合并请求
2
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
cloud-kernel
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
10
Issue
10
列表
看板
标记
里程碑
合并请求
2
合并请求
2
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
af1a9951
编写于
11月 13, 2008
作者:
M
Mauro Carvalho Chehab
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
V4L/DVB (9616): tvaudio: cleanup - group all callbacks together
Signed-off-by:
N
Mauro Carvalho Chehab
<
mchehab@redhat.com
>
上级
04e6f990
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
18 addition
and
7 deletion
+18
-7
drivers/media/video/tvaudio.c
drivers/media/video/tvaudio.c
+18
-7
未找到文件。
drivers/media/video/tvaudio.c
浏览文件 @
af1a9951
...
@@ -1260,6 +1260,7 @@ static struct CHIPDESC chiplist[] = {
...
@@ -1260,6 +1260,7 @@ static struct CHIPDESC chiplist[] = {
.
addr_hi
=
I2C_ADDR_TDA9840
>>
1
,
.
addr_hi
=
I2C_ADDR_TDA9840
>>
1
,
.
registers
=
5
,
.
registers
=
5
,
/* callbacks */
.
checkit
=
tda9840_checkit
,
.
checkit
=
tda9840_checkit
,
.
getmode
=
tda9840_getmode
,
.
getmode
=
tda9840_getmode
,
.
setmode
=
tda9840_setmode
,
.
setmode
=
tda9840_setmode
,
...
@@ -1270,13 +1271,14 @@ static struct CHIPDESC chiplist[] = {
...
@@ -1270,13 +1271,14 @@ static struct CHIPDESC chiplist[] = {
},
},
{
{
.
name
=
"tda9873h"
,
.
name
=
"tda9873h"
,
.
checkit
=
tda9873_checkit
,
.
insmodopt
=
&
tda9873
,
.
insmodopt
=
&
tda9873
,
.
addr_lo
=
I2C_ADDR_TDA985x_L
>>
1
,
.
addr_lo
=
I2C_ADDR_TDA985x_L
>>
1
,
.
addr_hi
=
I2C_ADDR_TDA985x_H
>>
1
,
.
addr_hi
=
I2C_ADDR_TDA985x_H
>>
1
,
.
registers
=
3
,
.
registers
=
3
,
.
flags
=
CHIP_HAS_INPUTSEL
,
.
flags
=
CHIP_HAS_INPUTSEL
,
/* callbacks */
.
checkit
=
tda9873_checkit
,
.
getmode
=
tda9873_getmode
,
.
getmode
=
tda9873_getmode
,
.
setmode
=
tda9873_setmode
,
.
setmode
=
tda9873_setmode
,
.
checkmode
=
generic_checkmode
,
.
checkmode
=
generic_checkmode
,
...
@@ -1290,12 +1292,13 @@ static struct CHIPDESC chiplist[] = {
...
@@ -1290,12 +1292,13 @@ static struct CHIPDESC chiplist[] = {
},
},
{
{
.
name
=
"tda9874h/a"
,
.
name
=
"tda9874h/a"
,
.
checkit
=
tda9874a_checkit
,
.
initialize
=
tda9874a_initialize
,
.
insmodopt
=
&
tda9874a
,
.
insmodopt
=
&
tda9874a
,
.
addr_lo
=
I2C_ADDR_TDA9874
>>
1
,
.
addr_lo
=
I2C_ADDR_TDA9874
>>
1
,
.
addr_hi
=
I2C_ADDR_TDA9874
>>
1
,
.
addr_hi
=
I2C_ADDR_TDA9874
>>
1
,
/* callbacks */
.
initialize
=
tda9874a_initialize
,
.
checkit
=
tda9874a_checkit
,
.
getmode
=
tda9874a_getmode
,
.
getmode
=
tda9874a_getmode
,
.
setmode
=
tda9874a_setmode
,
.
setmode
=
tda9874a_setmode
,
.
checkmode
=
generic_checkmode
,
.
checkmode
=
generic_checkmode
,
...
@@ -1324,10 +1327,11 @@ static struct CHIPDESC chiplist[] = {
...
@@ -1324,10 +1327,11 @@ static struct CHIPDESC chiplist[] = {
.
rightreg
=
TDA9855_VR
,
.
rightreg
=
TDA9855_VR
,
.
bassreg
=
TDA9855_BA
,
.
bassreg
=
TDA9855_BA
,
.
treblereg
=
TDA9855_TR
,
.
treblereg
=
TDA9855_TR
,
/* callbacks */
.
volfunc
=
tda9855_volume
,
.
volfunc
=
tda9855_volume
,
.
bassfunc
=
tda9855_bass
,
.
bassfunc
=
tda9855_bass
,
.
treblefunc
=
tda9855_treble
,
.
treblefunc
=
tda9855_treble
,
.
getmode
=
tda985x_getmode
,
.
getmode
=
tda985x_getmode
,
.
setmode
=
tda985x_setmode
,
.
setmode
=
tda985x_setmode
,
...
@@ -1348,6 +1352,8 @@ static struct CHIPDESC chiplist[] = {
...
@@ -1348,6 +1352,8 @@ static struct CHIPDESC chiplist[] = {
.
rightreg
=
TEA6300_VL
,
.
rightreg
=
TEA6300_VL
,
.
bassreg
=
TEA6300_BA
,
.
bassreg
=
TEA6300_BA
,
.
treblereg
=
TEA6300_TR
,
.
treblereg
=
TEA6300_TR
,
/* callbacks */
.
volfunc
=
tea6300_shift10
,
.
volfunc
=
tea6300_shift10
,
.
bassfunc
=
tea6300_shift12
,
.
bassfunc
=
tea6300_shift12
,
.
treblefunc
=
tea6300_shift12
,
.
treblefunc
=
tea6300_shift12
,
...
@@ -1358,7 +1364,6 @@ static struct CHIPDESC chiplist[] = {
...
@@ -1358,7 +1364,6 @@ static struct CHIPDESC chiplist[] = {
},
},
{
{
.
name
=
"tea6320"
,
.
name
=
"tea6320"
,
.
initialize
=
tea6320_initialize
,
.
insmodopt
=
&
tea6320
,
.
insmodopt
=
&
tea6320
,
.
addr_lo
=
I2C_ADDR_TEA6300
>>
1
,
.
addr_lo
=
I2C_ADDR_TEA6300
>>
1
,
.
addr_hi
=
I2C_ADDR_TEA6300
>>
1
,
.
addr_hi
=
I2C_ADDR_TEA6300
>>
1
,
...
@@ -1369,6 +1374,9 @@ static struct CHIPDESC chiplist[] = {
...
@@ -1369,6 +1374,9 @@ static struct CHIPDESC chiplist[] = {
.
rightreg
=
TEA6320_V
,
.
rightreg
=
TEA6320_V
,
.
bassreg
=
TEA6320_BA
,
.
bassreg
=
TEA6320_BA
,
.
treblereg
=
TEA6320_TR
,
.
treblereg
=
TEA6320_TR
,
/* callbacks */
.
initialize
=
tea6320_initialize
,
.
volfunc
=
tea6320_volume
,
.
volfunc
=
tea6320_volume
,
.
bassfunc
=
tea6320_shift11
,
.
bassfunc
=
tea6320_shift11
,
.
treblefunc
=
tea6320_shift11
,
.
treblefunc
=
tea6320_shift11
,
...
@@ -1401,16 +1409,18 @@ static struct CHIPDESC chiplist[] = {
...
@@ -1401,16 +1409,18 @@ static struct CHIPDESC chiplist[] = {
.
rightreg
=
TDA8425_VR
,
.
rightreg
=
TDA8425_VR
,
.
bassreg
=
TDA8425_BA
,
.
bassreg
=
TDA8425_BA
,
.
treblereg
=
TDA8425_TR
,
.
treblereg
=
TDA8425_TR
,
/* callbacks */
.
initialize
=
tda8425_initialize
,
.
volfunc
=
tda8425_shift10
,
.
volfunc
=
tda8425_shift10
,
.
bassfunc
=
tda8425_shift12
,
.
bassfunc
=
tda8425_shift12
,
.
treblefunc
=
tda8425_shift12
,
.
treblefunc
=
tda8425_shift12
,
.
setmode
=
tda8425_setmode
,
.
inputreg
=
TDA8425_S1
,
.
inputreg
=
TDA8425_S1
,
.
inputmap
=
{
TDA8425_S1_CH1
,
TDA8425_S1_CH1
,
TDA8425_S1_CH1
},
.
inputmap
=
{
TDA8425_S1_CH1
,
TDA8425_S1_CH1
,
TDA8425_S1_CH1
},
.
inputmute
=
TDA8425_S1_OFF
,
.
inputmute
=
TDA8425_S1_OFF
,
.
setmode
=
tda8425_setmode
,
.
initialize
=
tda8425_initialize
,
},
},
{
{
.
name
=
"pic16c54 (PV951)"
,
.
name
=
"pic16c54 (PV951)"
,
...
@@ -1435,6 +1445,7 @@ static struct CHIPDESC chiplist[] = {
...
@@ -1435,6 +1445,7 @@ static struct CHIPDESC chiplist[] = {
.
addr_hi
=
I2C_ADDR_TDA9840
>>
1
,
.
addr_hi
=
I2C_ADDR_TDA9840
>>
1
,
.
registers
=
2
,
.
registers
=
2
,
/* callbacks */
.
getmode
=
ta8874z_getmode
,
.
getmode
=
ta8874z_getmode
,
.
setmode
=
ta8874z_setmode
,
.
setmode
=
ta8874z_setmode
,
.
checkmode
=
generic_checkmode
,
.
checkmode
=
generic_checkmode
,
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录