Release 4.11 arch/arm/mach-imx/devices/platform-imx-dma.c
/*
* Copyright (C) 2010 Pengutronix
* Uwe Kleine-Koenig <u.kleine-koenig@pengutronix.de>
*
* This program is free software; you can redistribute it and/or modify it under
* the terms of the GNU General Public License version 2 as published by the
* Free Software Foundation.
*/
#include "devices-common.h"
struct platform_device __init __maybe_unused *imx_add_imx_dma(char *name,
resource_size_t iobase, int irq, int irq_err)
{
struct resource res[] = {
{
.start = iobase,
.end = iobase + SZ_4K - 1,
.flags = IORESOURCE_MEM,
}, {
.start = irq,
.end = irq,
.flags = IORESOURCE_IRQ,
}, {
.start = irq_err,
.end = irq_err,
.flags = IORESOURCE_IRQ,
},
};
return platform_device_register_resndata(&mxc_ahb_bus,
name, -1, res, ARRAY_SIZE(res), NULL, 0);
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Shawn Guo | 95 | 88.79% | 4 | 66.67% |
Uwe Kleine-König | 7 | 6.54% | 1 | 16.67% |
Fabio Estevam | 5 | 4.67% | 1 | 16.67% |
Total | 107 | 100.00% | 6 | 100.00% |
struct platform_device __init __maybe_unused *imx_add_imx_sdma(char *name,
resource_size_t iobase, int irq, struct sdma_platform_data *pdata)
{
struct resource res[] = {
{
.start = iobase,
.end = iobase + SZ_16K - 1,
.flags = IORESOURCE_MEM,
}, {
.start = irq,
.end = irq,
.flags = IORESOURCE_IRQ,
},
};
return platform_device_register_resndata(&mxc_ahb_bus, name,
-1, res, ARRAY_SIZE(res), pdata, sizeof(*pdata));
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Uwe Kleine-König | 76 | 79.17% | 1 | 20.00% |
Shawn Guo | 19 | 19.79% | 3 | 60.00% |
Sascha Hauer | 1 | 1.04% | 1 | 20.00% |
Total | 96 | 100.00% | 5 | 100.00% |
Overall Contributors
Person | Tokens | Prop | Commits | CommitProp |
Shawn Guo | 115 | 55.56% | 7 | 70.00% |
Uwe Kleine-König | 86 | 41.55% | 1 | 10.00% |
Fabio Estevam | 5 | 2.42% | 1 | 10.00% |
Sascha Hauer | 1 | 0.48% | 1 | 10.00% |
Total | 207 | 100.00% | 10 | 100.00% |
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.