Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
Kernel
提交
381a3c4a
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看板
提交
381a3c4a
编写于
3月 18, 2015
作者:
V
Vinod Koul
浏览文件
操作
浏览文件
下载
差异文件
Merge branch 'topic/alloc_removal' into for-linus
上级
75967b78
2fcb9e3c
变更
7
隐藏空白更改
内联
并排
Showing
7 changed file
with
0 addition
and
46 deletion
+0
-46
drivers/dma/amba-pl08x.c
drivers/dma/amba-pl08x.c
+0
-7
drivers/dma/dma-jz4740.c
drivers/dma/dma-jz4740.c
+0
-6
drivers/dma/img-mdc-dma.c
drivers/dma/img-mdc-dma.c
+0
-6
drivers/dma/k3dma.c
drivers/dma/k3dma.c
+0
-6
drivers/dma/s3c24xx-dma.c
drivers/dma/s3c24xx-dma.c
+0
-9
drivers/dma/sa11x0-dma.c
drivers/dma/sa11x0-dma.c
+0
-6
drivers/dma/sun6i-dma.c
drivers/dma/sun6i-dma.c
+0
-6
未找到文件。
drivers/dma/amba-pl08x.c
浏览文件 @
381a3c4a
...
...
@@ -1185,11 +1185,6 @@ static void pl08x_free_txd_list(struct pl08x_driver_data *pl08x,
/*
* The DMA ENGINE API
*/
static
int
pl08x_alloc_chan_resources
(
struct
dma_chan
*
chan
)
{
return
0
;
}
static
void
pl08x_free_chan_resources
(
struct
dma_chan
*
chan
)
{
/* Ensure all queued descriptors are freed */
...
...
@@ -2056,7 +2051,6 @@ static int pl08x_probe(struct amba_device *adev, const struct amba_id *id)
/* Initialize memcpy engine */
dma_cap_set
(
DMA_MEMCPY
,
pl08x
->
memcpy
.
cap_mask
);
pl08x
->
memcpy
.
dev
=
&
adev
->
dev
;
pl08x
->
memcpy
.
device_alloc_chan_resources
=
pl08x_alloc_chan_resources
;
pl08x
->
memcpy
.
device_free_chan_resources
=
pl08x_free_chan_resources
;
pl08x
->
memcpy
.
device_prep_dma_memcpy
=
pl08x_prep_dma_memcpy
;
pl08x
->
memcpy
.
device_prep_dma_interrupt
=
pl08x_prep_dma_interrupt
;
...
...
@@ -2071,7 +2065,6 @@ static int pl08x_probe(struct amba_device *adev, const struct amba_id *id)
dma_cap_set
(
DMA_SLAVE
,
pl08x
->
slave
.
cap_mask
);
dma_cap_set
(
DMA_CYCLIC
,
pl08x
->
slave
.
cap_mask
);
pl08x
->
slave
.
dev
=
&
adev
->
dev
;
pl08x
->
slave
.
device_alloc_chan_resources
=
pl08x_alloc_chan_resources
;
pl08x
->
slave
.
device_free_chan_resources
=
pl08x_free_chan_resources
;
pl08x
->
slave
.
device_prep_dma_interrupt
=
pl08x_prep_dma_interrupt
;
pl08x
->
slave
.
device_tx_status
=
pl08x_dma_tx_status
;
...
...
drivers/dma/dma-jz4740.c
浏览文件 @
381a3c4a
...
...
@@ -492,11 +492,6 @@ static enum dma_status jz4740_dma_tx_status(struct dma_chan *c,
return
status
;
}
static
int
jz4740_dma_alloc_chan_resources
(
struct
dma_chan
*
c
)
{
return
0
;
}
static
void
jz4740_dma_free_chan_resources
(
struct
dma_chan
*
c
)
{
vchan_free_chan_resources
(
to_virt_chan
(
c
));
...
...
@@ -536,7 +531,6 @@ static int jz4740_dma_probe(struct platform_device *pdev)
dma_cap_set
(
DMA_SLAVE
,
dd
->
cap_mask
);
dma_cap_set
(
DMA_CYCLIC
,
dd
->
cap_mask
);
dd
->
device_alloc_chan_resources
=
jz4740_dma_alloc_chan_resources
;
dd
->
device_free_chan_resources
=
jz4740_dma_free_chan_resources
;
dd
->
device_tx_status
=
jz4740_dma_tx_status
;
dd
->
device_issue_pending
=
jz4740_dma_issue_pending
;
...
...
drivers/dma/img-mdc-dma.c
浏览文件 @
381a3c4a
...
...
@@ -689,11 +689,6 @@ static int mdc_slave_config(struct dma_chan *chan,
return
0
;
}
static
int
mdc_alloc_chan_resources
(
struct
dma_chan
*
chan
)
{
return
0
;
}
static
void
mdc_free_chan_resources
(
struct
dma_chan
*
chan
)
{
struct
mdc_chan
*
mchan
=
to_mdc_chan
(
chan
);
...
...
@@ -910,7 +905,6 @@ static int mdc_dma_probe(struct platform_device *pdev)
mdma
->
dma_dev
.
device_prep_slave_sg
=
mdc_prep_slave_sg
;
mdma
->
dma_dev
.
device_prep_dma_cyclic
=
mdc_prep_dma_cyclic
;
mdma
->
dma_dev
.
device_prep_dma_memcpy
=
mdc_prep_dma_memcpy
;
mdma
->
dma_dev
.
device_alloc_chan_resources
=
mdc_alloc_chan_resources
;
mdma
->
dma_dev
.
device_free_chan_resources
=
mdc_free_chan_resources
;
mdma
->
dma_dev
.
device_tx_status
=
mdc_tx_status
;
mdma
->
dma_dev
.
device_issue_pending
=
mdc_issue_pending
;
...
...
drivers/dma/k3dma.c
浏览文件 @
381a3c4a
...
...
@@ -313,11 +313,6 @@ static void k3_dma_tasklet(unsigned long arg)
}
}
static
int
k3_dma_alloc_chan_resources
(
struct
dma_chan
*
chan
)
{
return
0
;
}
static
void
k3_dma_free_chan_resources
(
struct
dma_chan
*
chan
)
{
struct
k3_dma_chan
*
c
=
to_k3_chan
(
chan
);
...
...
@@ -728,7 +723,6 @@ static int k3_dma_probe(struct platform_device *op)
dma_cap_set
(
DMA_SLAVE
,
d
->
slave
.
cap_mask
);
dma_cap_set
(
DMA_MEMCPY
,
d
->
slave
.
cap_mask
);
d
->
slave
.
dev
=
&
op
->
dev
;
d
->
slave
.
device_alloc_chan_resources
=
k3_dma_alloc_chan_resources
;
d
->
slave
.
device_free_chan_resources
=
k3_dma_free_chan_resources
;
d
->
slave
.
device_tx_status
=
k3_dma_tx_status
;
d
->
slave
.
device_prep_dma_memcpy
=
k3_dma_prep_memcpy
;
...
...
drivers/dma/s3c24xx-dma.c
浏览文件 @
381a3c4a
...
...
@@ -749,11 +749,6 @@ static int s3c24xx_dma_terminate_all(struct dma_chan *chan)
return
ret
;
}
static
int
s3c24xx_dma_alloc_chan_resources
(
struct
dma_chan
*
chan
)
{
return
0
;
}
static
void
s3c24xx_dma_free_chan_resources
(
struct
dma_chan
*
chan
)
{
/* Ensure all queued descriptors are freed */
...
...
@@ -1290,8 +1285,6 @@ static int s3c24xx_dma_probe(struct platform_device *pdev)
dma_cap_set
(
DMA_MEMCPY
,
s3cdma
->
memcpy
.
cap_mask
);
dma_cap_set
(
DMA_PRIVATE
,
s3cdma
->
memcpy
.
cap_mask
);
s3cdma
->
memcpy
.
dev
=
&
pdev
->
dev
;
s3cdma
->
memcpy
.
device_alloc_chan_resources
=
s3c24xx_dma_alloc_chan_resources
;
s3cdma
->
memcpy
.
device_free_chan_resources
=
s3c24xx_dma_free_chan_resources
;
s3cdma
->
memcpy
.
device_prep_dma_memcpy
=
s3c24xx_dma_prep_memcpy
;
...
...
@@ -1305,8 +1298,6 @@ static int s3c24xx_dma_probe(struct platform_device *pdev)
dma_cap_set
(
DMA_CYCLIC
,
s3cdma
->
slave
.
cap_mask
);
dma_cap_set
(
DMA_PRIVATE
,
s3cdma
->
slave
.
cap_mask
);
s3cdma
->
slave
.
dev
=
&
pdev
->
dev
;
s3cdma
->
slave
.
device_alloc_chan_resources
=
s3c24xx_dma_alloc_chan_resources
;
s3cdma
->
slave
.
device_free_chan_resources
=
s3c24xx_dma_free_chan_resources
;
s3cdma
->
slave
.
device_tx_status
=
s3c24xx_dma_tx_status
;
...
...
drivers/dma/sa11x0-dma.c
浏览文件 @
381a3c4a
...
...
@@ -389,11 +389,6 @@ static void sa11x0_dma_tasklet(unsigned long arg)
}
static
int
sa11x0_dma_alloc_chan_resources
(
struct
dma_chan
*
chan
)
{
return
0
;
}
static
void
sa11x0_dma_free_chan_resources
(
struct
dma_chan
*
chan
)
{
struct
sa11x0_dma_chan
*
c
=
to_sa11x0_dma_chan
(
chan
);
...
...
@@ -835,7 +830,6 @@ static int sa11x0_dma_init_dmadev(struct dma_device *dmadev,
INIT_LIST_HEAD
(
&
dmadev
->
channels
);
dmadev
->
dev
=
dev
;
dmadev
->
device_alloc_chan_resources
=
sa11x0_dma_alloc_chan_resources
;
dmadev
->
device_free_chan_resources
=
sa11x0_dma_free_chan_resources
;
dmadev
->
device_config
=
sa11x0_dma_device_config
;
dmadev
->
device_pause
=
sa11x0_dma_device_pause
;
...
...
drivers/dma/sun6i-dma.c
浏览文件 @
381a3c4a
...
...
@@ -796,11 +796,6 @@ static void sun6i_dma_issue_pending(struct dma_chan *chan)
spin_unlock_irqrestore
(
&
vchan
->
vc
.
lock
,
flags
);
}
static
int
sun6i_dma_alloc_chan_resources
(
struct
dma_chan
*
chan
)
{
return
0
;
}
static
void
sun6i_dma_free_chan_resources
(
struct
dma_chan
*
chan
)
{
struct
sun6i_dma_dev
*
sdev
=
to_sun6i_dma_dev
(
chan
->
device
);
...
...
@@ -957,7 +952,6 @@ static int sun6i_dma_probe(struct platform_device *pdev)
dma_cap_set
(
DMA_SLAVE
,
sdc
->
slave
.
cap_mask
);
INIT_LIST_HEAD
(
&
sdc
->
slave
.
channels
);
sdc
->
slave
.
device_alloc_chan_resources
=
sun6i_dma_alloc_chan_resources
;
sdc
->
slave
.
device_free_chan_resources
=
sun6i_dma_free_chan_resources
;
sdc
->
slave
.
device_tx_status
=
sun6i_dma_tx_status
;
sdc
->
slave
.
device_issue_pending
=
sun6i_dma_issue_pending
;
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录