Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
Kernel
提交
e853a00f
K
Kernel
项目概览
openeuler
/
Kernel
1 年多 前同步成功
通知
8
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看板
提交
e853a00f
编写于
12月 09, 2012
作者:
M
Mark Brown
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
ASoC: arizona: Add volume ramp controls
Signed-off-by:
N
Mark Brown
<
broonie@opensource.wolfsonmicro.com
>
上级
c8d35a6a
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
31 addition
and
0 deletion
+31
-0
sound/soc/codecs/arizona.c
sound/soc/codecs/arizona.c
+25
-0
sound/soc/codecs/arizona.h
sound/soc/codecs/arizona.h
+6
-0
未找到文件。
sound/soc/codecs/arizona.c
浏览文件 @
e853a00f
...
@@ -226,6 +226,31 @@ EXPORT_SYMBOL_GPL(arizona_mixer_values);
...
@@ -226,6 +226,31 @@ EXPORT_SYMBOL_GPL(arizona_mixer_values);
const
DECLARE_TLV_DB_SCALE
(
arizona_mixer_tlv
,
-
3200
,
100
,
0
);
const
DECLARE_TLV_DB_SCALE
(
arizona_mixer_tlv
,
-
3200
,
100
,
0
);
EXPORT_SYMBOL_GPL
(
arizona_mixer_tlv
);
EXPORT_SYMBOL_GPL
(
arizona_mixer_tlv
);
static
const
char
*
arizona_vol_ramp_text
[]
=
{
"0ms/6dB"
,
"0.5ms/6dB"
,
"1ms/6dB"
,
"2ms/6dB"
,
"4ms/6dB"
,
"8ms/6dB"
,
"15ms/6dB"
,
"30ms/6dB"
,
};
const
struct
soc_enum
arizona_in_vd_ramp
=
SOC_ENUM_SINGLE
(
ARIZONA_INPUT_VOLUME_RAMP
,
ARIZONA_IN_VD_RAMP_SHIFT
,
7
,
arizona_vol_ramp_text
);
EXPORT_SYMBOL_GPL
(
arizona_in_vd_ramp
);
const
struct
soc_enum
arizona_in_vi_ramp
=
SOC_ENUM_SINGLE
(
ARIZONA_INPUT_VOLUME_RAMP
,
ARIZONA_IN_VI_RAMP_SHIFT
,
7
,
arizona_vol_ramp_text
);
EXPORT_SYMBOL_GPL
(
arizona_in_vi_ramp
);
const
struct
soc_enum
arizona_out_vd_ramp
=
SOC_ENUM_SINGLE
(
ARIZONA_OUTPUT_VOLUME_RAMP
,
ARIZONA_OUT_VD_RAMP_SHIFT
,
7
,
arizona_vol_ramp_text
);
EXPORT_SYMBOL_GPL
(
arizona_out_vd_ramp
);
const
struct
soc_enum
arizona_out_vi_ramp
=
SOC_ENUM_SINGLE
(
ARIZONA_OUTPUT_VOLUME_RAMP
,
ARIZONA_OUT_VI_RAMP_SHIFT
,
7
,
arizona_vol_ramp_text
);
EXPORT_SYMBOL_GPL
(
arizona_out_vi_ramp
);
static
const
char
*
arizona_lhpf_mode_text
[]
=
{
static
const
char
*
arizona_lhpf_mode_text
[]
=
{
"Low-pass"
,
"High-pass"
"Low-pass"
,
"High-pass"
};
};
...
...
sound/soc/codecs/arizona.h
浏览文件 @
e853a00f
...
@@ -165,6 +165,12 @@ extern int arizona_mixer_values[ARIZONA_NUM_MIXER_INPUTS];
...
@@ -165,6 +165,12 @@ extern int arizona_mixer_values[ARIZONA_NUM_MIXER_INPUTS];
ARIZONA_MIXER_ROUTES(name, name "L"), \
ARIZONA_MIXER_ROUTES(name, name "L"), \
ARIZONA_MIXER_ROUTES(name, name "R")
ARIZONA_MIXER_ROUTES(name, name "R")
extern
const
struct
soc_enum
arizona_in_vi_ramp
;
extern
const
struct
soc_enum
arizona_in_vd_ramp
;
extern
const
struct
soc_enum
arizona_out_vi_ramp
;
extern
const
struct
soc_enum
arizona_out_vd_ramp
;
extern
const
struct
soc_enum
arizona_lhpf1_mode
;
extern
const
struct
soc_enum
arizona_lhpf1_mode
;
extern
const
struct
soc_enum
arizona_lhpf2_mode
;
extern
const
struct
soc_enum
arizona_lhpf2_mode
;
extern
const
struct
soc_enum
arizona_lhpf3_mode
;
extern
const
struct
soc_enum
arizona_lhpf3_mode
;
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录