cregit-Linux how code gets into the kernel

Release 4.15 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önig7780.21%125.00%
Shawn Guo1919.79%375.00%
Total96100.00%4100.00%


Overall Contributors

PersonTokensPropCommitsCommitProp
Shawn Guo11555.56%777.78%
Uwe Kleine-König8742.03%111.11%
Fabio Estevam52.42%111.11%
Total207100.00%9100.00%
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.
Created with cregit.