cregit-Linux how code gets into the kernel

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

PersonTokensPropCommitsCommitProp
Shawn Guo9588.79%466.67%
Uwe Kleine-König76.54%116.67%
Fabio Estevam54.67%116.67%
Total107100.00%6100.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

PersonTokensPropCommitsCommitProp
Uwe Kleine-König7679.17%120.00%
Shawn Guo1919.79%360.00%
Sascha Hauer11.04%120.00%
Total96100.00%5100.00%


Overall Contributors

PersonTokensPropCommitsCommitProp
Shawn Guo11555.56%770.00%
Uwe Kleine-König8641.55%110.00%
Fabio Estevam52.42%110.00%
Sascha Hauer10.48%110.00%
Total207100.00%10100.00%
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.
Created with cregit.