repo_name string | path string | copies string | size string | content string | license string |
|---|---|---|---|---|---|
wyldstallyns/roughneck-m8 | lib/iomap_copy.c | 8891 | 2198 | /*
* Copyright 2006 PathScale, Inc. All Rights Reserved.
*
* This file is free software; you can redistribute it and/or modify
* it under the terms of version 2 of the GNU General Public License
* as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
... | gpl-2.0 |
duniel/ido-kernel | drivers/scsi/fnic/fnic_isr.c | 11707 | 8328 | /*
* Copyright 2008 Cisco Systems, Inc. All rights reserved.
* Copyright 2007 Nuova Systems, Inc. All rights reserved.
*
* This program is free software; you may redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; version 2 of the ... | gpl-2.0 |
sigma-random/linux-source-3.13.2-cgc | fs/jffs2/xattr_trusted.c | 12731 | 1447 | /*
* JFFS2 -- Journalling Flash File System, Version 2.
*
* Copyright © 2006 NEC Corporation
*
* Created by KaiGai Kohei <kaigai@ak.jp.nec.com>
*
* For licensing information, see the file 'LICENCE' in this directory.
*
*/
#include <linux/kernel.h>
#include <linux/fs.h>
#include <linux/jffs2.h>
#include <linu... | gpl-2.0 |
MoKee/android_kernel_motorola_otus | drivers/uwb/address.c | 12987 | 10383 | /*
* Ultra Wide Band
* Address management
*
* Copyright (C) 2005-2006 Intel Corporation
* Inaky Perez-Gonzalez <inaky.perez-gonzalez@intel.com>
*
* 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 So... | gpl-2.0 |
zheharry/linux-sh4-2.6.23.17_stm23_A18B | lib/reed_solomon/encode_rs.c | 14523 | 1330 | /*
* lib/reed_solomon/encode_rs.c
*
* Overview:
* Generic Reed Solomon encoder / decoder library
*
* Copyright 2002, Phil Karn, KA9Q
* May be used under the terms of the GNU General Public License (GPL)
*
* Adaption to the kernel by Thomas Gleixner (tglx@linutronix.de)
*
* $Id: encode_rs.c,v 1.5 2005/11/07... | gpl-2.0 |
mali1/NST-kernel_115 | arch/mips/sni/pcit.c | 188 | 6474 | /*
* PCI Tower specific code
*
* This file is subject to the terms and conditions of the GNU General Public
* License. See the file "COPYING" in the main directory of this archive
* for more details.
*
* Copyright (C) 2006 Thomas Bogendoerfer (tsbogend@alpha.franken.de)
*/
#include <linux/init.h>
#include <li... | gpl-2.0 |
gerard87/kernel_angler_n_mr1 | mm/mlock.c | 444 | 15425 | /*
* linux/mm/mlock.c
*
* (C) Copyright 1995 Linus Torvalds
* (C) Copyright 2002 Christoph Hellwig
*/
#include <linux/capability.h>
#include <linux/mman.h>
#include <linux/mm.h>
#include <linux/swap.h>
#include <linux/swapops.h>
#include <linux/pagemap.h>
#include <linux/mempolicy.h>
#include <linux/syscalls.h>... | gpl-2.0 |
gotokernel/linux-3.14.4-qemu | drivers/net/wireless/ipw2x00/libipw_rx.c | 444 | 51599 | /*
* Original code based Host AP (software wireless LAN access point) driver
* for Intersil Prism2/2.5/3 - hostap.o module, common routines
*
* Copyright (c) 2001-2002, SSH Communications Security Corp and Jouni Malinen
* <j@w1.fi>
* Copyright (c) 2002-2003, Jouni Malinen <j@w1.fi>
* Copyright (c) 2004-2005, Int... | gpl-2.0 |
ashishtanwer/mptcp_android-4.2.2_Nexus4 | drivers/video/msm/mipi_simulator.c | 700 | 3996 | /* Copyright (c) 2011-2012, Code Aurora Forum. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
* only version 2 as published by the Free Software Foundation.
*
* This program is distributed in the ho... | gpl-2.0 |
shengzhou/linux | drivers/media/platform/davinci/vpss.c | 956 | 13681 | /*
* Copyright (C) 2009 Texas Instruments.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is... | gpl-2.0 |
wisniew/Harfix2_kernel_I9300 | drivers/pci/pci-driver.c | 956 | 31579 | /*
* drivers/pci/pci-driver.c
*
* (C) Copyright 2002-2004, 2007 Greg Kroah-Hartman <greg@kroah.com>
* (C) Copyright 2007 Novell Inc.
*
* Released under the GPL v2 only.
*
*/
#include <linux/pci.h>
#include <linux/module.h>
#include <linux/init.h>
#include <linux/device.h>
#include <linux/mempolicy.h>
#include ... | gpl-2.0 |
mefody1971/android_kernel_samsung_SM-G355H_ANF1 | drivers/power/reset/vexpress-poweroff.c | 1212 | 3699 | /*
* 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.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warran... | gpl-2.0 |
singleman/linux | arch/arm/mach-pxa/littleton.c | 1980 | 10860 | /*
* linux/arch/arm/mach-pxa/littleton.c
*
* Support for the Marvell Littleton Development Platform.
*
* Author: Jason Chagas (largely modified code)
* Created: Nov 20, 2006
* Copyright: (C) Copyright 2006 Marvell International Ltd.
*
* 2007-11-22 modified to align with latest kernel
* eri... | gpl-2.0 |
cX12/kangbang_flyer | drivers/xen/tmem.c | 2236 | 6421 | /*
* Xen implementation for transcendent memory (tmem)
*
* Copyright (C) 2009-2010 Oracle Corp. All rights reserved.
* Author: Dan Magenheimer
*/
#include <linux/kernel.h>
#include <linux/types.h>
#include <linux/init.h>
#include <linux/pagemap.h>
#include <linux/cleancache.h>
#include <xen/xen.h>
#include <xen... | gpl-2.0 |
awanga/tuna-kernel | arch/x86/realmode/init.c | 2236 | 3403 | #include <linux/io.h>
#include <linux/memblock.h>
#include <asm/cacheflush.h>
#include <asm/pgtable.h>
#include <asm/realmode.h>
struct real_mode_header *real_mode_header;
u32 *trampoline_cr4_features;
void __init reserve_real_mode(void)
{
phys_addr_t mem;
unsigned char *base;
size_t size = PAGE_ALIGN(real_mode_b... | gpl-2.0 |
MikeC84/android_kernel_motorola_shamu | sound/pci/fm801.c | 2236 | 42611 | /*
* The driver for the ForteMedia FM801 based soundcards
* Copyright (c) by Jaroslav Kysela <perex@perex.cz>
*
* Support FM only card by Andy Shevchenko <andy@smile.org.ua>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as p... | gpl-2.0 |
Alberto97/android_kernel_lge_dory | drivers/s390/cio/chsc_sch.c | 2236 | 20382 | /*
* Driver for s390 chsc subchannels
*
* Copyright IBM Corp. 2008, 2011
*
* Author(s): Cornelia Huck <cornelia.huck@de.ibm.com>
*
*/
#include <linux/slab.h>
#include <linux/compat.h>
#include <linux/device.h>
#include <linux/module.h>
#include <linux/uaccess.h>
#include <linux/miscdevice.h>
#include <linux/ker... | gpl-2.0 |
daivietpda/sense-l | arch/um/kernel/trap.c | 4284 | 6689 | /*
* Copyright (C) 2000 - 2007 Jeff Dike (jdike@{addtoit,linux.intel}.com)
* Licensed under the GPL
*/
#include <linux/mm.h>
#include <linux/sched.h>
#include <linux/hardirq.h>
#include <linux/module.h>
#include <asm/current.h>
#include <asm/pgtable.h>
#include <asm/tlbflush.h>
#include "arch.h"
#include "as-layout... | gpl-2.0 |
jrfastab/Linux-Kernel-QOS | drivers/media/pci/bt8xx/dvb-bt8xx.c | 4284 | 27804 | /*
* Bt8xx based DVB adapter driver
*
* Copyright (C) 2002,2003 Florian Schirmer <jolt@tuxbox.org>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
*... | gpl-2.0 |
qwertyTom/android_kernel_cyanogen_msm8916 | drivers/misc/vmw_balloon.c | 7356 | 21554 | /*
* VMware Balloon driver.
*
* Copyright (C) 2000-2010, VMware, Inc. All Rights Reserved.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software Foundation; version 2 of the License and no later version.... | gpl-2.0 |
AscendG630-DEV/android_kernel_huawei_g630 | drivers/staging/speakup/fakekey.c | 8380 | 2461 | /* fakekey.c
* Functions for simulating keypresses.
*
* Copyright (C) 2010 the Speakup Team
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at yo... | gpl-2.0 |
TEAM-Gummy/elite_kernel_jf | net/ipv6/netfilter/ip6table_raw.c | 8892 | 2121 | /*
* IPv6 raw table, a port of the IPv4 raw table to IPv6
*
* Copyright (C) 2003 Jozsef Kadlecsik <kadlec@blackhole.kfki.hu>
*/
#include <linux/module.h>
#include <linux/netfilter_ipv6/ip6_tables.h>
#include <linux/slab.h>
#define RAW_VALID_HOOKS ((1 << NF_INET_PRE_ROUTING) | (1 << NF_INET_LOCAL_OUT))
static cons... | gpl-2.0 |
vbatts/linux | kernel/ptrace.c | 189 | 31201 | /*
* linux/kernel/ptrace.c
*
* (C) Copyright 1999 Linus Torvalds
*
* Common interfaces for "ptrace()" which we do not want
* to continually duplicate across every architecture.
*/
#include <linux/capability.h>
#include <linux/export.h>
#include <linux/sched.h>
#include <linux/errno.h>
#include <linux/mm.h>
#inc... | gpl-2.0 |
skywithstar1711/kernel_x86_1051_KK | drivers/dma/ti-dma-crossbar.c | 189 | 4783 | /*
* Copyright (C) 2015 Texas Instruments Incorporated - http://www.ti.com
* Author: Peter Ujfalusi <peter.ujfalusi@ti.com>
*
* 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.
*... | gpl-2.0 |
wkritzinger/asuswrt-merlin | release/src-rt-7.14.114.x/src/linux/linux-2.6.36/drivers/media/video/ivtv/ivtv-irq.c | 189 | 30654 | /* interrupt handling
Copyright (C) 2003-2004 Kevin Thayer <nufan_wfk at yahoo.com>
Copyright (C) 2004 Chris Kennedy <c@groovy.org>
Copyright (C) 2005-2007 Hans Verkuil <hverkuil@xs4all.nl>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General... | gpl-2.0 |
joolswills/linux | sound/soc/codecs/wm5110.c | 189 | 65225 | /*
* wm5110.c -- WM5110 ALSA SoC Audio driver
*
* Copyright 2012 Wolfson Microelectronics plc
*
* Author: Mark Brown <broonie@opensource.wolfsonmicro.com>
*
* 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 b... | gpl-2.0 |
thomaslee/linux-3.14.18 | drivers/net/ethernet/fealnx.c | 445 | 55171 | /*
Written 1998-2000 by Donald Becker.
This software may be used and distributed according to the terms of
the GNU General Public License (GPL), incorporated herein by reference.
Drivers based on or derived from this code fall under the GPL and must
retain the authorship, copyright and license notice. This file ... | gpl-2.0 |
Talustus/dreamkernel_ics_sghi777 | drivers/pnp/pnpacpi/core.c | 701 | 10079 | /*
* pnpacpi -- PnP ACPI driver
*
* Copyright (c) 2004 Matthieu Castet <castet.matthieu@free.fr>
* Copyright (c) 2004 Li Shaohua <shaohua.li@intel.com>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Softw... | gpl-2.0 |
krosk/android-omap-tuna-sideload | kernel/time/tick-common.c | 2237 | 9750 | /*
* linux/kernel/time/tick-common.c
*
* This file contains the base functions to manage periodic tick
* related events.
*
* Copyright(C) 2005-2006, Thomas Gleixner <tglx@linutronix.de>
* Copyright(C) 2005-2007, Red Hat, Inc., Ingo Molnar
* Copyright(C) 2006-2007, Timesys Corp., Thomas Gleixner
*
* This code ... | gpl-2.0 |
redglasses/linux-yocto-3.10 | lib/kobject_uevent.c | 2237 | 10618 | /*
* kernel userspace event delivery
*
* Copyright (C) 2004 Red Hat, Inc. All rights reserved.
* Copyright (C) 2004 Novell, Inc. All rights reserved.
* Copyright (C) 2004 IBM, Inc. All rights reserved.
*
* Licensed under the GNU GPL v2.
*
* Authors:
* Robert Love <rml@novell.com>
* Kay Sievers <kay.sieve... | gpl-2.0 |
TeamJB/kernel_samsung_i9300 | arch/powerpc/kvm/book3s_mmu_hpte.c | 2493 | 8486 | /*
* Copyright (C) 2010 SUSE Linux Products GmbH. All rights reserved.
*
* Authors:
* Alexander Graf <agraf@suse.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.
*
... | gpl-2.0 |
aicjofs/android_kernel_lge_v500_20d_f2fs | drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c | 2749 | 98833 | /* bnx2x_cmn.c: Broadcom Everest network driver.
*
* Copyright (c) 2007-2012 Broadcom Corporation
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation.
*
* Maintained by: Eilon Greenstein <e... | gpl-2.0 |
Zero015/UniKernel | drivers/infiniband/hw/ehca/ehca_cq.c | 2749 | 11547 | /*
* IBM eServer eHCA Infiniband device driver for Linux on POWER
*
* Completion queue handling
*
* Authors: Waleri Fomin <fomin@de.ibm.com>
* Khadija Souissi <souissi@de.ibm.com>
* Reinhard Ernst <rernst@de.ibm.com>
* Heiko J Schick <schickhj@de.ibm.com>
* Hoang-Nam ... | gpl-2.0 |
androidbftab1/bf-kernel | drivers/media/dvb-frontends/atbm8830.c | 3773 | 11898 | /*
* Support for AltoBeam GB20600 (a.k.a DMB-TH) demodulator
* ATBM8830, ATBM8831
*
* Copyright (C) 2009 David T.L. Wong <davidtlwong@gmail.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the... | gpl-2.0 |
gamerman123x/kernel_oneplus_msm8974 | arch/powerpc/perf/power7-pmu.c | 4797 | 9850 | /*
* Performance counter support for POWER7 processors.
*
* Copyright 2009 Paul Mackerras, IBM Corporation.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version
* 2 of the Li... | gpl-2.0 |
ktoonsez/SiyahD | drivers/w1/slaves/w1_bq27000.c | 5053 | 2508 | /*
* drivers/w1/slaves/w1_bq27000.c
*
* Copyright (C) 2007 Texas Instruments, Inc.
*
* This file is licensed under the terms of the GNU General Public License
* version 2. This program is licensed "as is" without any warranty of any
* kind, whether express or implied.
*
*/
#include <linux/kernel.h>
#include <... | gpl-2.0 |
trunghieuhust/android_sony_kernel_msm8260A | arch/arm/mach-omap1/board-h2-mmc.c | 5053 | 1823 | /*
* linux/arch/arm/mach-omap1/board-h2-mmc.c
*
* Copyright (C) 2007 Instituto Nokia de Tecnologia - INdT
* Author: Felipe Balbi <felipe.lima@indt.org.br>
*
* This code is based on linux/arch/arm/mach-omap2/board-n800-mmc.c, which is:
* Copyright (C) 2006 Nokia Corporation
*
* This program is free software; yo... | gpl-2.0 |
SlimKat-U8950/chil360-kernel | arch/powerpc/sysdev/xilinx_intc.c | 6845 | 7812 | /*
* Interrupt controller driver for Xilinx Virtex FPGAs
*
* Copyright (C) 2007 Secret Lab Technologies Ltd.
*
* This file is licensed under the terms of the GNU General Public License
* version 2. This program is licensed "as is" without any warranty of any
* kind, whether express or implied.
*
*/
/*
* This... | gpl-2.0 |
Lmaths/linux-stable-rcn-ee | arch/blackfin/kernel/asm-offsets.c | 7869 | 6874 | /*
* generate definitions needed by assembly language modules
*
* Copyright 2004-2009 Analog Devices Inc.
*
* Licensed under the GPL-2 or later
*/
#include <linux/stddef.h>
#include <linux/sched.h>
#include <linux/kernel_stat.h>
#include <linux/ptrace.h>
#include <linux/hardirq.h>
#include <linux/irq.h>
#include... | gpl-2.0 |
realthunder/a33_linux | drivers/i2c/busses/i2c-stub.c | 9149 | 5731 | /*
i2c-stub.c - I2C/SMBus chip emulator
Copyright (c) 2004 Mark M. Hoffman <mhoffman@lightlink.com>
Copyright (C) 2007 Jean Delvare <khali@linux-fr.org>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the... | gpl-2.0 |
TEAM-Gummy/android_kernel_lg_g2 | fs/nls/nls_iso8859-1.c | 12221 | 10226 | /*
* linux/fs/nls/nls_iso8859-1.c
*
* Charset iso8859-1 translation tables.
* Generated automatically from the Unicode and charset
* tables from the Unicode Organization (www.unicode.org).
* The Unicode to charset table has only exact mappings.
*/
#include <linux/module.h>
#include <linux/kernel.h>
#include <li... | gpl-2.0 |
zhanglei002/android_kernel_zte_nx507j | arch/alpha/kernel/pc873xx.c | 12989 | 1696 | #include <linux/ioport.h>
#include <asm/io.h>
#include "pc873xx.h"
static unsigned pc873xx_probelist[] = {0x398, 0x26e, 0};
static char *pc873xx_names[] = {
"PC87303", "PC87306", "PC87312", "PC87332", "PC87334"
};
static unsigned int base, model;
unsigned int __init pc873xx_get_base()
{
return base;
}
char *__... | gpl-2.0 |
friedrich420/S6_UniKernel_v2 | arch/mips/dec/prom/identify.c | 13757 | 4690 | /*
* identify.c: machine identification code.
*
* Copyright (C) 1998 Harald Koerfgen and Paul M. Antoine
* Copyright (C) 2002, 2003, 2004, 2005 Maciej W. Rozycki
*/
#include <linux/init.h>
#include <linux/kernel.h>
#include <linux/mc146818rtc.h>
#include <linux/module.h>
#include <linux/string.h>
#include <linux/... | gpl-2.0 |
revjunkie/kernel | arch/avr32/boards/favr-32/flash.c | 13757 | 2153 | /*
* Favr-32 board-specific flash initialization
*
* Copyright (C) 2008 Atmel Corporation
*
* 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 <linux/init.h>
#include ... | gpl-2.0 |
mukulsoni/android_kernel_samsung_ms013g | sound/pci/au88x0/au88x0_eqdata.c | 14781 | 3952 | /* Data structs */
static u16 asEqCoefsZeros[50] = {
0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
0x0000, 0x0000, 0x0... | gpl-2.0 |
wozgeass/Raspberry-RT | drivers/gpu/host1x/cdma.c | 190 | 12740 | /*
* Tegra host1x Command DMA
*
* Copyright (c) 2010-2013, NVIDIA Corporation.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms and conditions of the GNU General Public License,
* version 2, as published by the Free Software Foundation.
*
* This program is distribut... | gpl-2.0 |
Mustaavalkosta/toolchain_gcc-4.9 | gcc/testsuite/gcc.dg/format/ext-3.c | 190 | 13631 | /* Test for format extensions beyond the C standard and X/Open standard.
Test for strftime formats.
*/
/* Origin: Joseph Myers <jsm28@cam.ac.uk> */
/* { dg-do compile } */
/* { dg-options "-std=gnu99 -Wformat -Wformat-y2k" } */
#include "format.h"
void
foo (char *s, size_t m, const struct tm *tp)
{
/* GCC accept... | gpl-2.0 |
PyYoshi/b2g_kernel_sharp_is01 | sound/pci/rme96.c | 190 | 68435 | /*
* ALSA driver for RME Digi96, Digi96/8 and Digi96/8 PRO/PAD/PST audio
* interfaces
*
* Copyright (c) 2000, 2001 Anders Torger <torger@ludd.luth.se>
*
* Thanks to Henk Hesselink <henk@anda.nl> for the analog volume control
* code.
*
* This program is free software; you can redistribute i... | gpl-2.0 |
TeamBliss-Devices/android_kernel_nvidia_shieldtablet | mm/ksm.c | 446 | 67433 | /*
* Memory merging support.
*
* This code enables dynamic sharing of identical pages found in different
* memory areas, even if they are not shared by fork()
*
* Copyright (C) 2008-2009 Red Hat, Inc.
* Authors:
* Izik Eidus
* Andrea Arcangeli
* Chris Wright
* Hugh Dickins
*
* This work is licensed under t... | gpl-2.0 |
quanghieu/linux-DFI | drivers/staging/fbtft/fbtft-sysfs.c | 446 | 4842 | #include "fbtft.h"
#include "internal.h"
static int get_next_ulong(char **str_p, unsigned long *val, char *sep, int base)
{
char *p_val;
int ret;
if (!str_p || !(*str_p))
return -EINVAL;
p_val = strsep(str_p, sep);
if (!p_val)
return -EINVAL;
ret = kstrtoul(p_val, base, val);
if (ret)
return -EINVAL;
... | gpl-2.0 |
andrey-utkin/linux | arch/arm/probes/kprobes/checkers-thumb.c | 1470 | 3912 | /*
* arch/arm/probes/kprobes/checkers-thumb.c
*
* Copyright (C) 2014 Huawei Inc.
*
* 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.
*
* This program is distributed in the hope ... | gpl-2.0 |
PennPanda/litmus-rt | drivers/s390/char/tty3270.c | 1726 | 45922 | /*
* IBM/3270 Driver - tty functions.
*
* Author(s):
* Original 3270 Code for 2.4 written by Richard Hitt (UTS Global)
* Rewritten for 2.5 by Martin Schwidefsky <schwidefsky@de.ibm.com>
* -- Copyright IBM Corp. 2003
*/
#include <linux/module.h>
#include <linux/types.h>
#include <linux/kdev_t.h>
#inclu... | gpl-2.0 |
simone201/Talon-SH-Vibrant | drivers/net/mlx4/qp.c | 4030 | 10742 | /*
* Copyright (c) 2004 Topspin Communications. All rights reserved.
* Copyright (c) 2005, 2006, 2007 Cisco Systems, Inc. All rights reserved.
* Copyright (c) 2005, 2006, 2007, 2008 Mellanox Technologies. All rights reserved.
* Copyright (c) 2004 Voltaire, Inc. All rights reserved.
*
* This software is available... | gpl-2.0 |
toastido/N900TUVUDNF4 | drivers/net/slip/slip.c | 4286 | 33937 | /*
* slip.c This module implements the SLIP protocol for kernel-based
* devices like TTY. It interfaces between a raw TTY, and the
* kernel's INET protocol layers.
*
* Version: @(#)slip.c 0.8.3 12/24/94
*
* Authors: Laurence Culhane, <loz@holmes.demon.co.uk>
* Fred N. van Kempen, <waltje@uwalt.nl.mugnet.org... | gpl-2.0 |
Milad1993/linux | arch/mips/pnx833x/common/prom.c | 4542 | 1583 | /*
* prom.c:
*
* Copyright 2008 NXP Semiconductors
* Chris Steel <chris.steel@nxp.com>
* Daniel Laird <daniel.j.laird@nxp.com>
*
* Based on software written by:
* Nikita Youshchenko <yoush@debian.org>, based on PNX8550 code.
*
* This program is free software; you can redistribute it and/or modify
* ... | gpl-2.0 |
jacknb1ack/android_kernel_sony_msm8960t-test | drivers/message/fusion/mptbase.c | 4798 | 243053 | /*
* linux/drivers/message/fusion/mptbase.c
* This is the Fusion MPT base driver which supports multiple
* (SCSI + LAN) specialized protocol drivers.
* For use with LSI PCI chip/adapter(s)
* running LSI Fusion MPT (Message Passing Technology) firmware.
*
* Copyright (c) 1999-2008 LSI Corpor... | gpl-2.0 |
NachiketNamjoshi/BlackReactor_onyx | drivers/staging/rtl8192u/r8192U_core.c | 4798 | 173439 | /******************************************************************************
* Copyright(c) 2008 - 2010 Realtek Corporation. All rights reserved.
* Linux device driver for RTL8192U
*
* Based on the r8187 driver, which is:
* Copyright 2004-2005 Andrea Merello <andreamrl@tiscali.it>, et al.
* This program is fre... | gpl-2.0 |
dmitry-pervushin/android-linux-linaro | arch/arm/mach-mv78xx0/irq.c | 5054 | 1440 | /*
* arch/arm/mach-mv78xx0/irq.c
*
* MV78xx0 IRQ handling.
*
* This file is licensed under the terms of the GNU General Public
* License version 2. This program is licensed "as is" without any
* warranty of any kind, whether express or implied.
*/
#include <linux/gpio.h>
#include <linux/kernel.h>
#include <lin... | gpl-2.0 |
XXMrHyde/android_kernel_motorola_msm8610 | drivers/scsi/constants.c | 7614 | 52104 | /*
* ASCII values for a number of symbolic constants, printing functions,
* etc.
* Additions for SCSI 2 and Linux 2.2.x by D. Gilbert (990422)
* Additions for SCSI 3+ (SPC-3 T10/1416-D Rev 07 3 May 2002)
* by D. Gilbert and aeb (20020609)
* Update to SPC-4 T10/1713-D Rev 20, 22 May 2009, D. Gilbert 20090624
*... | gpl-2.0 |
rdeva31/kernel-msm-3.10 | drivers/net/ethernet/chelsio/cxgb/espi.c | 11710 | 12793 | /*****************************************************************************
* *
* File: espi.c *
* $Revision: 1.14 $ *
* $... | gpl-2.0 |
roguesyko/reaper_kernel_lge_g3 | drivers/net/ethernet/chelsio/cxgb/espi.c | 11710 | 12793 | /*****************************************************************************
* *
* File: espi.c *
* $Revision: 1.14 $ *
* $... | gpl-2.0 |
atmchrispark/linux-at91 | drivers/net/wireless/brcm80211/brcmfmac/dhd_linux.c | 191 | 24880 | /*
* Copyright (c) 2010 Broadcom Corporation
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHO... | gpl-2.0 |
sktjdgns1189/android_kernel_samsung_SHV-E220S | drivers/gpu/drm/radeon/radeon_display.c | 191 | 49130 | /*
* Copyright 2007-8 Advanced Micro Devices, Inc.
* Copyright 2008 Red Hat Inc.
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation
* t... | gpl-2.0 |
mseskir/android_kernel_vestel_g55 | kernel/events/core.c | 959 | 171756 | /*
* Performance events core code:
*
* Copyright (C) 2008 Thomas Gleixner <tglx@linutronix.de>
* Copyright (C) 2008-2011 Red Hat, Inc., Ingo Molnar
* Copyright (C) 2008-2011 Red Hat, Inc., Peter Zijlstra <pzijlstr@redhat.com>
* Copyright © 2009 Paul Mackerras, IBM Corp. <paulus@au1.ibm.com>
*
* For licens... | gpl-2.0 |
wangyikai/linux | mm/vmpressure.c | 1215 | 11698 | /*
* Linux VM pressure
*
* Copyright 2012 Linaro Ltd.
* Anton Vorontsov <anton.vorontsov@linaro.org>
*
* Based on ideas from Andrew Morton, David Rientjes, KOSAKI Motohiro,
* Leonid Moiseichuk, Mel Gorman, Minchan Kim and Pekka Enberg.
*
* This program is free software; you can redistribute it and/or modify... | gpl-2.0 |
BPI-SINOVOIP/BPI-Mainline-kernel | linux-4.19/drivers/video/fbdev/geode/gx1fb_core.c | 1471 | 12418 | /*
* drivers/video/geode/gx1fb_core.c
* -- Geode GX1 framebuffer driver
*
* Copyright (C) 2005 Arcom Control Systems Ltd.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either versi... | gpl-2.0 |
SM-G920P/Hacker_Kernel_SM-G920P | drivers/net/ethernet/apple/macmace.c | 2239 | 18384 | /*
* Driver for the Macintosh 68K onboard MACE controller with PSC
* driven DMA. The MACE driver code is derived from mace.c. The
* Mac68k theory of operation is courtesy of the MacBSD wizards.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public ... | gpl-2.0 |
cuteprince/ics_kernel_3.0.16_htc_pico | kernel/ksysfs.c | 2751 | 5248 | /*
* kernel/ksysfs.c - sysfs attributes in /sys/kernel, which
* are not related to any other subsystem
*
* Copyright (C) 2004 Kay Sievers <kay.sievers@vrfy.org>
*
* This file is release under the GPLv2
*
*/
#include <linux/kobject.h>
#include <linux/string.h>
#include <linux/sysfs.h>
#include <linux/mo... | gpl-2.0 |
Bogdacutu/android_kernel_nvidia_shieldtablet | drivers/media/common/saa7146/saa7146_fops.c | 2751 | 17062 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
#include <media/saa7146_vv.h>
#include <linux/module.h>
/****************************************************************************/
/* resource management functions, shamelessly stolen from saa7134 driver */
int saa7146_res_get(struct saa7146_fh *fh, unsigned int bit)
{... | gpl-2.0 |
andr7e/android_kernel_zte_run4g | kernel/drivers/media/common/saa7146/saa7146_fops.c | 2751 | 17062 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
#include <media/saa7146_vv.h>
#include <linux/module.h>
/****************************************************************************/
/* resource management functions, shamelessly stolen from saa7134 driver */
int saa7146_res_get(struct saa7146_fh *fh, unsigned int bit)
{... | gpl-2.0 |
Metallice/GTab2-Kernel-TW | drivers/crypto/padlock-sha.c | 3007 | 16250 | /*
* Cryptographic API.
*
* Support for VIA PadLock hardware crypto engine.
*
* Copyright (c) 2006 Michal Ludvig <michal@logix.cz>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; eit... | gpl-2.0 |
sistux/lge-kernel-omap4 | arch/arm/mach-shmobile/pfc-sh7372.c | 3007 | 58090 | /*
* sh7372 processor support - PFC hardware block
*
* Copyright (C) 2010 Kuninori Morimoto <morimoto.kuninori@renesas.com>
*
* Based on
* sh7367 processor support - PFC hardware block
* Copyright (C) 2010 Magnus Damm
*
* This program is free software; you can redistribute it and/or modify
* it under the te... | gpl-2.0 |
omnirom/android_kernel_asus_me301t | drivers/media/dvb/frontends/tda1004x.c | 3263 | 39791 | /*
Driver for Philips tda1004xh OFDM Demodulator
(c) 2003, 2004 Andrew de Quincey & Robert Schlabbach
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of t... | gpl-2.0 |
arasilinux/arasievm-kernel | net/ipv4/xfrm4_tunnel.c | 3263 | 2847 | /* xfrm4_tunnel.c: Generic IP tunnel transformer.
*
* Copyright (C) 2003 David S. Miller (davem@redhat.com)
*/
#include <linux/skbuff.h>
#include <linux/module.h>
#include <linux/mutex.h>
#include <net/xfrm.h>
#include <net/ip.h>
#include <net/protocol.h>
static int ipip_output(struct xfrm_state *x, struct sk_buff... | gpl-2.0 |
TeamHackDroid/android_kernel_samsung_galaxys2plus-common | drivers/net/mlx4/srq.c | 4031 | 7108 | /*
* Copyright (c) 2006, 2007 Cisco Systems, Inc. All rights reserved.
* Copyright (c) 2007, 2008 Mellanox Technologies. All rights reserved.
*
* This software is available to you under a choice of one of two
* licenses. You may choose to be licensed under the terms of the GNU
* General Public License (GPL) Vers... | gpl-2.0 |
HONO/CM10_Kernel | drivers/mtd/tests/mtd_oobtest.c | 4031 | 17742 | /*
* Copyright (C) 2006-2008 Nokia Corporation
*
* 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.
*
* This program is distributed in the hope that it will be useful, but WITHOUT
... | gpl-2.0 |
faux123/flo_nexus7 | drivers/macintosh/windfarm_smu_controls.c | 4799 | 8267 | /*
* Windfarm PowerMac thermal control. SMU based controls
*
* (c) Copyright 2005 Benjamin Herrenschmidt, IBM Corp.
* <benh@kernel.crashing.org>
*
* Released under the term of the GNU GPL v2.
*/
#include <linux/types.h>
#include <linux/errno.h>
#include <linux/kernel.h>
#include <linux/delay.... | gpl-2.0 |
0mark/linux-sunxi | drivers/staging/wlags49_h2/hcf.c | 4799 | 231181 | /************************************************************************************************************
*
* FILE : HCF.C
*
* DATE : $Date: 2004/08/05 11:47:10 $ $Revision: 1.10 $
* Original: 2004/06/02 10:22:22 Revision: 1.85 Tag: hcf7_t20040602_01
* Original: 2004/04/15 09:24:41 Revision... | gpl-2.0 |
lyapota/m8_gpe_lollipop | drivers/staging/wlags49_h2/wl_pci.c | 4799 | 52516 | /*******************************************************************************
* Agere Systems Inc.
* Wireless device driver for Linux (wlags49).
*
* Copyright (c) 1998-2003 Agere Systems Inc.
* All rights reserved.
* http://www.agere.com
*
* Initially developed by TriplePoint, Inc.
* http://www.triplepo... | gpl-2.0 |
yank555-lu/N3-CM11-OSRC | drivers/staging/wlags49_h2/wl_pci.c | 4799 | 52516 | /*******************************************************************************
* Agere Systems Inc.
* Wireless device driver for Linux (wlags49).
*
* Copyright (c) 1998-2003 Agere Systems Inc.
* All rights reserved.
* http://www.agere.com
*
* Initially developed by TriplePoint, Inc.
* http://www.triplepo... | gpl-2.0 |
googyanas/Googy-Max4-Kernel | drivers/net/wan/lmc/lmc_main.c | 4799 | 63117 | /*
* Copyright (c) 1997-2000 LAN Media Corporation (LMC)
* All rights reserved. www.lanmedia.com
* Generic HDLC port Copyright (C) 2008 Krzysztof Halasa <khc@pm.waw.pl>
*
* This code is written by:
* Andrew Stanley-Jones (asj@cban.com)
* Rob Braun (bbraun@vix.com),
* Michael Graff (explorer@vix.com) a... | gpl-2.0 |
mukulsoni/android_kernel_samsung_ms013g-new | drivers/macintosh/windfarm_lm75_sensor.c | 4799 | 6011 | /*
* Windfarm PowerMac thermal control. LM75 sensor
*
* (c) Copyright 2005 Benjamin Herrenschmidt, IBM Corp.
* <benh@kernel.crashing.org>
*
* Released under the term of the GNU GPL v2.
*/
#include <linux/types.h>
#include <linux/errno.h>
#include <linux/kernel.h>
#include <linux/delay.h>
#inc... | gpl-2.0 |
IOKP-kitkat/kernel_asus_flo | net/netfilter/xt_quota.c | 9407 | 1945 | /*
* netfilter module to enforce network quotas
*
* Sam Johnston <samj@samj.net>
*/
#include <linux/skbuff.h>
#include <linux/slab.h>
#include <linux/spinlock.h>
#include <linux/netfilter/x_tables.h>
#include <linux/netfilter/xt_quota.h>
#include <linux/module.h>
struct xt_quota_priv {
spinlock_t lock;
uint64_t... | gpl-2.0 |
Kra1o5/android_kernel_huawei_msm8x25-common | drivers/media/video/cx18/cx18-controls.c | 11455 | 4134 | /*
* cx18 ioctl control functions
*
* Derived from ivtv-controls.c
*
* Copyright (C) 2007 Hans Verkuil <hverkuil@xs4all.nl>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; eith... | gpl-2.0 |
Kali-/android_kernel_sony_apq8064 | drivers/usb/mon/mon_main.c | 11967 | 9277 | /*
* The USB Monitor, inspired by Dave Harding's USBMon.
*
* mon_main.c: Main file, module initiation and exit, registrations, etc.
*
* Copyright (C) 2005 Pete Zaitcev (zaitcev@redhat.com)
*/
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/usb.h>
#include <linux/usb/hcd.h>
#include <linux/sla... | gpl-2.0 |
shazzl/TW_i9205_JB | drivers/infiniband/hw/ehca/ehca_mcast.c | 13503 | 4589 | /*
* IBM eServer eHCA Infiniband device driver for Linux on POWER
*
* mcast functions
*
* Authors: Khadija Souissi <souissik@de.ibm.com>
* Waleri Fomin <fomin@de.ibm.com>
* Reinhard Ernst <rernst@de.ibm.com>
* Hoang-Nam Nguyen <hnguyen@de.ibm.com>
* Heiko J Schick <s... | gpl-2.0 |
mystiquefbsd/kernel-vigor-ics | sound/pci/hda/patch_realtek.c | 192 | 665212 | /*
* Universal Interface for Intel High Definition Audio Codec
*
* HD audio interface patch for ALC 260/880/882 codecs
*
* Copyright (c) 2004 Kailang Yang <kailang@realtek.com.tw>
* PeiSen Hou <pshou@realtek.com.tw>
* Takashi Iwai <tiwai@suse.de>
* Jonath... | gpl-2.0 |
tobigun/samsung-kernel-smg800h | drivers/media/platform/msm/dvb/demux/mpq_dmx_plugin_tspp_v1.c | 192 | 53635 | /* Copyright (c) 2012-2013, The Linux Foundation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
* only version 2 as published by the Free Software Foundation.
*
* This program is distributed in the... | gpl-2.0 |
uoaerg/linux-dccp | sound/soc/samsung/smdk_spdif.c | 192 | 5180 | /*
* smdk_spdif.c -- S/PDIF audio for SMDK
*
* Copyright 2010 Samsung Electronics Co. Ltd.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
* published by the Free Software Foundation; either version 2 of the
* License, or (at y... | gpl-2.0 |
TheTypoMaster/ubuntu-utopic | drivers/spi/spi-xtensa-xtfpga.c | 192 | 4143 | /*
* Xtensa xtfpga SPI controller driver
*
* Copyright (c) 2014 Cadence Design Systems Inc.
*
* 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 <linux/delay.h>
#incl... | gpl-2.0 |
tamirda/N7100_PhoeniX_Kernel | drivers/media/video/samsung/mali_r3p1/linux/mali_osk_wait_queue.c | 960 | 2064 | /*
* Copyright (C) 2012 ARM Limited. All rights reserved.
*
* This program is free software and is provided to you under the terms of the GNU General Public License version 2
* as published by the Free Software Foundation, and any use by you of this program is subject to the terms of such GNU licence.
*
* A cop... | gpl-2.0 |
y12uc231/linux | net/netfilter/ipset/pfxlen.c | 960 | 14591 | #include <linux/export.h>
#include <linux/netfilter/ipset/pfxlen.h>
/*
* Prefixlen maps for fast conversions, by Jan Engelhardt.
*/
#define E(a, b, c, d) \
{.ip6 = { \
htonl(a), htonl(b), \
htonl(c), htonl(d), \
} }
/*
* This table works for both IPv4 and IPv6;
* just use prefixlen_netmask_map[prefixlength... | gpl-2.0 |
bubby323/samsung-kernel-sgsII-tmo | arch/x86/kernel/check.c | 1472 | 3835 | #include <linux/module.h>
#include <linux/sched.h>
#include <linux/kthread.h>
#include <linux/workqueue.h>
#include <asm/e820.h>
#include <asm/proto.h>
/*
* Some BIOSes seem to corrupt the low 64k of memory during events
* like suspend/resume and unplugging an HDMI cable. Reserve all
* remaining free memory in tha... | gpl-2.0 |
TheNameIsNigel/android_kernel_huawei_msm8916 | arch/x86/kernel/cpu/mshyperv.c | 1472 | 3011 | /*
* HyperV Detection code.
*
* Copyright (C) 2010, Novell, Inc.
* Author : K. Y. Srinivasan <ksrinivasan@novell.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; version 2 of the ... | gpl-2.0 |
gchild320/shamu | sound/parisc/harmony.c | 2240 | 25891 | /* Hewlett-Packard Harmony audio driver
*
* This is a driver for the Harmony audio chipset found
* on the LASI ASIC of various early HP PA-RISC workstations.
*
* Copyright (C) 2004, Kyle McMartin <kyle@{debian.org,parisc-linux.org}>
*
* Based on the previous Harmony incarnations by,
* Copyright ... | gpl-2.0 |
go2ev-devteam/linux-tk1 | sound/drivers/ml403-ac97cr.c | 2240 | 40788 | /*
* ALSA driver for Xilinx ML403 AC97 Controller Reference
* IP: opb_ac97_controller_ref_v1_00_a (EDK 8.1i)
* IP: opb_ac97_controller_ref_v1_00_a (EDK 9.1i)
*
* Copyright (c) by 2007 Joachim Foerster <JOFT@gmx.de>
*
* This program is free software; you can redistribute it and/or modify
* it under the... | gpl-2.0 |
aldencolerain/mc2kernel | net/ipv6/xfrm6_mode_tunnel.c | 2240 | 3106 | /*
* xfrm6_mode_tunnel.c - Tunnel mode encapsulation for IPv6.
*
* Copyright (C) 2002 USAGI/WIDE Project
* Copyright (c) 2004-2006 Herbert Xu <herbert@gondor.apana.org.au>
*/
#include <linux/gfp.h>
#include <linux/init.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/skbuff.h>
#include <linu... | gpl-2.0 |
kylon/AndromadusMod-New | drivers/char/raw.c | 2752 | 8701 | /*
* linux/drivers/char/raw.c
*
* Front-end raw character devices. These can be bound to any block
* devices to provide genuine Unix raw character device semantics.
*
* We reserve minor number 0 for a control interface. ioctl()s on this
* device are used to bind the other minor numbers to block devices.
*/
#... | gpl-2.0 |
k2wl/i9105Sammy | drivers/block/paride/pt.c | 3264 | 23753 | /*
pt.c (c) 1998 Grant R. Guenther <grant@torque.net>
Under the terms of the GNU General Public License.
This is the high-level driver for parallel port ATAPI tape
drives based on chips supported by the paride module.
The driver implements both rewinding and non... | gpl-2.0 |
ChiefzReloaded/lge-kernel-startablet-ICS | arch/x86/pci/numaq_32.c | 3520 | 3747 | /*
* numaq_32.c - Low-level PCI access for NUMA-Q machines
*/
#include <linux/pci.h>
#include <linux/init.h>
#include <linux/nodemask.h>
#include <asm/apic.h>
#include <asm/mpspec.h>
#include <asm/pci_x86.h>
#include <asm/numaq.h>
#define BUS2QUAD(global) (mp_bus_id_to_node[global])
#define BUS2LOCAL(global) (mp_b... | gpl-2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.