repo_name
string
path
string
copies
string
size
string
content
string
license
string
yakir-Yang/linux
fs/ncpfs/ncplib_kernel.c
1124
33216
/* * ncplib_kernel.c * * Copyright (C) 1995, 1996 by Volker Lendecke * Modified for big endian by J.F. Chadima and David S. Miller * Modified 1997 Peter Waltenberg, Bill Hawes, David Woodhouse for 2.1 dcache * Modified 1999 Wolfram Pienkoss for NLS * Modified 2000 Ben Harris, University of Cambridge for NF...
gpl-2.0
sid1607/linux-3.14.65-src
drivers/tty/serial/rp2.c
2148
24666
/* * Driver for Comtrol RocketPort EXPRESS/INFINITY cards * * Copyright (C) 2012 Kevin Cernekee <cernekee@gmail.com> * * Inspired by, and loosely based on: * * ar933x_uart.c * Copyright (C) 2011 Gabor Juhos <juhosg@openwrt.org> * * rocketport_infinity_express-linux-1.20.tar.gz * Copyright (C) 200...
gpl-2.0
7420dev/android_kernel_samsung_zero
net/batman-adv/ring_buffer.c
2148
1280
/* Copyright (C) 2007-2013 B.A.T.M.A.N. contributors: * * Marek Lindner * * This program 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...
gpl-2.0
loverlucia/linux-3.10.101
drivers/mfd/max8907.c
2404
9334
/* * max8907.c - mfd driver for MAX8907 * * Copyright (C) 2010 Gyungoh Yoo <jack.yoo@maxim-ic.com> * Copyright (C) 2010-2012, NVIDIA CORPORATION. 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 as * pu...
gpl-2.0
wm8120/Linux-eMMC-journaling
drivers/pcmcia/ds.c
2404
35177
/* * ds.c -- 16-bit PCMCIA core support * * 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. * * The initial developer of the original code is David A. Hinds * <dahinds@users.sour...
gpl-2.0
omnirom/android_kernel_samsung_aries
drivers/power/bq27x00_battery.c
2660
19952
/* * BQ27x00 battery driver * * Copyright (C) 2008 Rodolfo Giometti <giometti@linux.it> * Copyright (C) 2008 Eurotech S.p.A. <info@eurotech.it> * Copyright (C) 2010-2011 Lars-Peter Clausen <lars@metafoo.de> * Copyright (C) 2011 Pali Rohár <pali.rohar@gmail.com> * * Based on a previous work by Copyright (C) 2008...
gpl-2.0
mukulsoni/android_kernel_samsung_ms013g-cm11
drivers/gpu/drm/radeon/radeon_cursor.c
3172
9284
/* * 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
poondog/m7_stock_443
tools/lguest/lguest.c
3428
58966
/*P:100 * This is the Launcher code, a simple program which lays out the "physical" * memory for the new Guest by mapping the kernel image and the virtual * devices, then opens /dev/lguest to tell the kernel about the Guest and * control it. :*/ #define _LARGEFILE64_SOURCE #define _GNU_SOURCE #include <stdio.h> #in...
gpl-2.0
drikinukoda/android_kernel_lge_e8lte
drivers/staging/iio/meter/ade7758_core.c
4964
20111
/* * ADE7758 Poly Phase Multifunction Energy Metering IC driver * * Copyright 2010-2011 Analog Devices Inc. * * Licensed under the GPL-2. */ #include <linux/interrupt.h> #include <linux/irq.h> #include <linux/delay.h> #include <linux/mutex.h> #include <linux/device.h> #include <linux/kernel.h> #include <linux/sp...
gpl-2.0
GustavoRD78/78Kernel-ZL-233
drivers/staging/iio/resolver/ad2s1210.c
4964
19703
/* * ad2s1210.c support for the ADI Resolver to Digital Converters: AD2S1210 * * Copyright (c) 2010-2010 Analog Devices 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. *...
gpl-2.0
obek/linux-sunxi
arch/arm/mach-w90x900/cpu.c
6244
5679
/* * linux/arch/arm/mach-w90x900/cpu.c * * Copyright (c) 2009 Nuvoton corporation. * * Wan ZongShun <mcuos.com@gmail.com> * * NUC900 series cpu common support * * 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
dzo/android_kernel_huawei_u8800-1
arch/ia64/kvm/vtlb.c
7012
14519
/* * vtlb.c: guest virtual tlb handling module. * Copyright (c) 2004, Intel Corporation. * Yaozu Dong (Eddie Dong) <Eddie.dong@intel.com> * Xuefei Xu (Anthony Xu) <anthony.xu@intel.com> * * Copyright (c) 2007, Intel Corporation. * Xuefei Xu (Anthony Xu) <anthony.xu@intel.com> * Xiantao Zhang <xiantao.zhang@...
gpl-2.0
Spartonos/android_kernel_motorola_falcon_umts
drivers/platform/x86/classmate-laptop.c
8036
17418
/* * Copyright (C) 2009 Thadeu Lima de Souza Cascardo <cascardo@holoscopio.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; either version 2 of the License, or * (at your optio...
gpl-2.0
ABIP/android_kernel_samsung_msm7x30-common
drivers/input/serio/parkbd.c
13156
5191
/* * Parallel port to Keyboard port adapter driver for Linux * * Copyright (c) 1999-2004 Vojtech Pavlik */ /* * 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. */ /* * To co...
gpl-2.0
flar2/evita-bulletproof
drivers/s390/cio/fcx.c
13924
9488
/* * Functions for assembling fcx enabled I/O control blocks. * * Copyright IBM Corp. 2008 * Author(s): Peter Oberparleiter <peter.oberparleiter@de.ibm.com> */ #include <linux/kernel.h> #include <linux/types.h> #include <linux/string.h> #include <linux/errno.h> #include <linux/err.h> #include <linux/module...
gpl-2.0
widz4rd/WIDzard-A850K
sound/pci/hda/patch_sigmatel.c
101
186843
/* * Universal Interface for Intel High Definition Audio Codec * * HD audio interface patch for SigmaTel STAC92xx * * Copyright (c) 2005 Embedded Alley Solutions, Inc. * Matt Porter <mporter@embeddedalley.com> * * Based on patch_cmedia.c and patch_realtek.c * Copyright (c) 2004 Takashi Iwai <tiwai@suse.de> * ...
gpl-2.0
jeremytrimble/adi-linux
sound/core/seq/oss/seq_oss_synth.c
613
14921
/* * OSS compatible sequencer driver * * synth device handlers * * Copyright (C) 1998,99 Takashi Iwai <tiwai@suse.de> * * 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 ...
gpl-2.0
jianpingye/linux
drivers/ata/pata_artop.c
1893
12401
/* * pata_artop.c - ARTOP ATA controller driver * * (C) 2006 Red Hat * (C) 2007,2011 Bartlomiej Zolnierkiewicz * * Based in part on drivers/ide/pci/aec62xx.c * Copyright (C) 1999-2002 Andre Hedrick <andre@linux-ide.org> * 865/865R fixes for Macintosh card version from a patch to the old * driver by Thib...
gpl-2.0
mukulsoni/android_kernel_samsung_ms013g-new
drivers/mtd/nand/nand_ids.c
2149
7553
/* * drivers/mtd/nandids.c * * Copyright (C) 2002 Thomas Gleixner (tglx@linutronix.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 <linux/module.h> #incl...
gpl-2.0
SM-G920P/S6-MM
drivers/spi/spi-omap-uwire.c
2149
13549
/* * MicroWire interface driver for OMAP * * Copyright 2003 MontaVista Software Inc. <source@mvista.com> * * Ported to 2.6 OMAP uwire interface. * Copyright (C) 2004 Texas Instruments. * * Generalization patches by Juha Yrjola <juha.yrjola@nokia.com> * * Copyright (C) 2005 David Brownell (ported to 2.6 SPI in...
gpl-2.0
djvoleur/S6_UniKernel
drivers/staging/sbe-2t3e3/cpld.c
2405
8417
/* * SBE 2T3E3 synchronous serial card driver for Linux * * Copyright (C) 2009-2010 Krzysztof Halasa <khc@pm.waw.pl> * * This program 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. * * T...
gpl-2.0
Elite-Kernels/HTC-10
sound/pci/ctxfi/cthardware.c
2405
1707
/** * Copyright (C) 2008, Creative Technology Ltd. All Rights Reserved. * * This source file is released under GPL v2 license (no other versions). * See the COPYING file included in the main directory of this source * distribution for the license terms and conditions. * * @File cthardware.c * * @Brief * This ...
gpl-2.0
SimonSickle/android_kernel_htc_primou
drivers/net/sun3_82586.c
3173
33385
/* * Sun3 i82586 Ethernet driver * * Cloned from ni52.c for the Sun3 by Sam Creasey (sammy@sammy.net) * * Original copyright follows: * -------------------------- * * net-3-driver for the NI5210 card (i82586 Ethernet chip) * * This is an extension to the Linux operating system, and is covered by the * same G...
gpl-2.0
arnavgosain/tomato
drivers/mtd/maps/ichxrom.c
3685
9893
/* * ichxrom.c * * Normal mappings of chips in physical memory */ #include <linux/module.h> #include <linux/types.h> #include <linux/kernel.h> #include <linux/init.h> #include <linux/slab.h> #include <asm/io.h> #include <linux/mtd/mtd.h> #include <linux/mtd/map.h> #include <linux/mtd/cfi.h> #include <linux/mtd/fla...
gpl-2.0
allanm84/linux-imx
arch/ia64/kernel/sys_ia64.c
4197
4501
/* * This file contains various system calls that have different calling * conventions on different platforms. * * Copyright (C) 1999-2000, 2002-2003, 2005 Hewlett-Packard Co * David Mosberger-Tang <davidm@hpl.hp.com> */ #include <linux/errno.h> #include <linux/fs.h> #include <linux/mm.h> #include <linux/mman.h> ...
gpl-2.0
CryToCry96/android_kernel_mt6572
drivers/net/wireless/brcm80211/brcmsmac/channel.c
4965
43552
/* * 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
jiangbeilengyu/famkernel
Documentation/prctl/disable-tsc-on-off-stress-test.c
12901
1717
/* * Tests for prctl(PR_GET_TSC, ...) / prctl(PR_SET_TSC, ...) * * Tests if the control register is updated correctly * when set with prctl() * * Warning: this test will cause a very high load for a few seconds * */ #include <stdio.h> #include <stdlib.h> #include <unistd.h> #include <signal.h> #include <inttyp...
gpl-2.0
xcaliburinhand/I9000_I897_hybrid_kernel
drivers/net/wireless/rndis_wlan.c
102
76513
/* * Driver for RNDIS based wireless USB devices. * * Copyright (C) 2007 by Bjorge Dijkstra <bjd@jooz.net> * Copyright (C) 2008 by Jussi Kivilinna <jussi.kivilinna@mbnet.fi> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as publishe...
gpl-2.0
htc-msm8960/android_kernel_htc_msm8930
net/sunrpc/clnt.c
102
44933
/* * linux/net/sunrpc/clnt.c * * This file contains the high-level RPC interface. * It is modeled as a finite state machine to support both synchronous * and asynchronous requests. * * - RPC header generation and argument serialization. * - Credential refresh. * - TCP connect handling. * - Retry of op...
gpl-2.0
playfulgod/msm-3.0
arch/arm/mach-msm/qdsp6v2/rtac.c
102
27052
/* Copyright (c) 2011, 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 hope th...
gpl-2.0
mehrvarz/android_kernel_asus_grouper
fs/logfs/dir.c
358
21375
/* * fs/logfs/dir.c - directory-related code * * As should be obvious for Linux kernel code, license is GPLv2 * * Copyright (c) 2005-2008 Joern Engel <joern@logfs.org> */ #include "logfs.h" #include <linux/slab.h> /* * Atomic dir operations * * Directory operations are by default not atomic. Dentries and Ino...
gpl-2.0
Cheshkin/sprout_cm11_mt6589_kernel
net/core/ethtool.c
614
36845
/* * net/core/ethtool.c - Ethtool ioctl handler * Copyright (c) 2003 Matthew Wilcox <matthew@wil.cx> * * This file is where we call all the ethtool_ops commands to get * the information ethtool needs. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU Genera...
gpl-2.0
Vachounet/AcerLiquidGlowKernel
drivers/infiniband/hw/mlx4/qp.c
1638
59884
/* * Copyright (c) 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) Version 2,...
gpl-2.0
VRToxin-AOSP/android_kernel_lge_bullhead
drivers/platform/x86/intel_mid_powerbtn.c
2150
3971
/* * Power button driver for Medfield. * * Copyright (C) 2010 Intel Corp * * 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. * * This program is distributed in t...
gpl-2.0
Constellation/linux-3.10.17
drivers/mtd/nand/pxa3xx_nand.c
2150
35103
/* * drivers/mtd/nand/pxa3xx_nand.c * * Copyright © 2005 Intel Corporation * Copyright © 2006 Marvell International Ltd. * * 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
uDude/linux
drivers/hid/hid-prodikeys.c
2662
21506
/* * HID driver for the Prodikeys PC-MIDI Keyboard * providing midi & extra multimedia keys functionality * * Copyright (c) 2009 Don Prince <dhprince.devel@yahoo.co.uk> * * Controls for Octave Shift Up/Down, Channel, and * Sustain Duration available via sysfs. * */ /* * This program is free software; yo...
gpl-2.0
CyanogenMod/hardkernel-kernel-4412
net/9p/trans_common.c
2918
2739
/* * Copyright IBM Corporation, 2010 * Author Venkateswararao Jujjuri <jvrao@linux.vnet.ibm.com> * * This program is free software; you can redistribute it and/or modify it * under the terms of version 2.1 of the GNU Lesser General Public License * as published by the Free Software Foundation. * * This program ...
gpl-2.0
Coldwindofnowhere/android_kernel_samsung_aries
sound/soc/pxa/tosa.c
2918
7314
/* * tosa.c -- SoC audio for Tosa * * Copyright 2005 Wolfson Microelectronics PLC. * Copyright 2005 Openedhand Ltd. * * Authors: Liam Girdwood <lrg@slimlogic.co.uk> * Richard Purdie <richard@openedhand.com> * * This program is free software; you can redistribute it and/or modify it * under the ...
gpl-2.0
airk000/kernel_htc_7x30
drivers/char/sonypi.c
3174
42248
/* * Sony Programmable I/O Control Device driver for VAIO * * Copyright (C) 2007 Mattia Dongili <malattia@linux.it> * * Copyright (C) 2001-2005 Stelian Pop <stelian@popies.net> * * Copyright (C) 2005 Narayanan R S <nars@kadamba.org> * * Copyright (C) 2001-2002 Alcôve <www.alcove.com> * * Copyright (C) 2001 M...
gpl-2.0
bmourit/owl2x-linux
arch/blackfin/kernel/dumpstack.c
4198
4386
/* Provide basic stack dumping functions * * Copyright 2004-2009 Analog Devices Inc. * * Licensed under the GPL-2 or later */ #include <linux/kernel.h> #include <linux/thread_info.h> #include <linux/mm.h> #include <linux/uaccess.h> #include <linux/module.h> #include <asm/trace.h> /* * Checks to see if the addre...
gpl-2.0
playfulgod/msm-3.0
arch/um/os-Linux/sys-i386/registers.c
4710
1795
/* * Copyright (C) 2004 PathScale, Inc * Copyright (C) 2004 - 2007 Jeff Dike (jdike@{addtoit,linux.intel}.com) * Licensed under the GPL */ #include <errno.h> #include <sys/ptrace.h> #include <sys/user.h> #include "kern_constants.h" #include "longjmp.h" #include "user.h" #include "sysdep/ptrace_user.h" int save_fp...
gpl-2.0
MassStash/htc_m8_kernel_sense_5.0.2
drivers/net/wan/cycx_main.c
5734
9382
/* * cycx_main.c Cyclades Cyclom 2X WAN Link Driver. Main module. * * Author: Arnaldo Carvalho de Melo <acme@conectiva.com.br> * * Copyright: (c) 1998-2003 Arnaldo Carvalho de Melo * * Based on sdlamain.c by Gene Kozin <genek@compuserve.com> & * Jaspreet Singh <jaspreet@sangoma.com> * * This program is free softwar...
gpl-2.0
chentz78/chentz-N4-Kernel
security/inode.c
7782
6849
/* * inode.c - securityfs * * Copyright (C) 2005 Greg Kroah-Hartman <gregkh@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. * * Based on fs/debugfs/inode.c which...
gpl-2.0
psyke83/android_kernel_samsung_msm
net/netfilter/xt_time.c
8806
7669
/* * xt_time * Copyright © CC Computer Consultants GmbH, 2007 * * based on ipt_time by Fabrice MARIE <fabrice@netfilter.org> * This is a module which is used for time matching * It is using some modified code from dietlibc (localtime() function) * that you can find at http://www.fefe.de/dietlibc/ * This file is...
gpl-2.0
smac0628/caf-LA.BF.1.1.2.1
drivers/tty/ipwireless/main.c
12646
8648
/* * IPWireless 3G PCMCIA Network Driver * * Original code * by Stephen Blackheath <stephen@blacksapphire.com>, * Ben Martel <benm@symmetric.co.nz> * * Copyrighted as follows: * Copyright (C) 2004 by Symmetric Systems Ltd (NZ) * * Various driver changes and rewrites, port to new kernels * Copyrigh...
gpl-2.0
evilwombat/gopro-linux
arch/arm/mach-mmp/irq-pxa168.c
103
1287
/* * linux/arch/arm/mach-mmp/irq.c * * Generic IRQ handling, GPIO IRQ demultiplexing, etc. * * Author: Bin Yang <bin.yang@marvell.com> * Created: Sep 30, 2008 * Copyright: Marvell International Ltd. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU...
gpl-2.0
arjen75/L3_kernel2
arch/arm/mach-pxa/mainstone.c
103
15429
/* * linux/arch/arm/mach-pxa/mainstone.c * * Support for the Intel HCDDBBVA0 Development Platform. * (go figure how they came up with such name...) * * Author: Nicolas Pitre * Created: Nov 05, 2002 * Copyright: MontaVista Software Inc. * * This program is free software; you can redistribute it and/or m...
gpl-2.0
bstando/limbo-android
jni/qemu/hw/lm32_juart.c
103
3712
/* * LatticeMico32 JTAG UART model. * * Copyright (c) 2010 Michael Walle <michael@walle.cc> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2 of the License, ...
gpl-2.0
blakejwc/paparazzi
sw/airborne/arch/lpc21/test/bootloader/usbstdreq.c
103
7116
/* LPCUSB, an USB device driver for LPC microcontrollers Copyright (C) 2006 Bertrik Sikken (bertrik@sikken.nl) This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the L...
gpl-2.0
allanmatthew/linux-fslc
tools/perf/builtin-evlist.c
359
1724
/* * Builtin evlist command: Show the list of event selectors present * in a perf.data file. */ #include "builtin.h" #include "util/util.h" #include <linux/list.h> #include "perf.h" #include "util/evlist.h" #include "util/evsel.h" #include "util/parse-events.h" #include "util/parse-options.h" #include "util/sessi...
gpl-2.0
btaidm/JetsonTK1-Kernel-Grinch
arch/ia64/kernel/salinfo.c
1895
19772
/* * salinfo.c * * Creates entries in /proc/sal for various system features. * * Copyright (c) 2003, 2006 Silicon Graphics, Inc. All rights reserved. * Copyright (c) 2003 Hewlett-Packard Co * Bjorn Helgaas <bjorn.helgaas@hp.com> * * 10/30/2001 jbarnes@sgi.com copied much of Stephane's palinfo * code to ...
gpl-2.0
zeroblade1984/MotoG2k15
tools/hv/hv_vss_daemon.c
2151
5529
/* * An implementation of the host initiated guest snapshot for Hyper-V. * * * Copyright (C) 2013, Microsoft, Inc. * Author : K. Y. Srinivasan <kys@microsoft.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 publishe...
gpl-2.0
deafnote/kernel-gigabyte-rior1
arch/arm/mach-realview/hotplug.c
2919
2565
/* * linux/arch/arm/mach-realview/hotplug.c * * Copyright (C) 2002 ARM Ltd. * 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 as * published by the Free Software Foundation. */ #include <linux/kerne...
gpl-2.0
varchild/vigor_aosp_kernel
drivers/ide/ide-taskfile.c
2919
16989
/* * Copyright (C) 2000-2002 Michael Cornwell <cornwell@acm.org> * Copyright (C) 2000-2002 Andre Hedrick <andre@linux-ide.org> * Copyright (C) 2001-2002 Klaus Smolin * IBM Storage Technology Division * Copyright (C) 2003-2004, 2007 Bartlomiej Zolnierkiewicz * * The big the bad and the ugly. *...
gpl-2.0
Michael-Pizzileo/lichee-3.0.8-leaked
arch/um/os-Linux/irq.c
4711
2948
/* * Copyright (C) 2000 - 2007 Jeff Dike (jdike@{addtoit,linux.intel}.com) * Licensed under the GPL */ #include <stdlib.h> #include <errno.h> #include <poll.h> #include <signal.h> #include <string.h> #include "irq_user.h" #include "kern_constants.h" #include "os.h" #include "process.h" #include "um_malloc.h" #inclu...
gpl-2.0
h2o64/android_kernel_motorola_msm8226
drivers/staging/iio/cdc/ad7746.c
4967
19796
/* * AD7746 capacitive sensor driver supporting AD7745, AD7746 and AD7747 * * Copyright 2011 Analog Devices Inc. * * Licensed under the GPL-2. */ #include <linux/interrupt.h> #include <linux/device.h> #include <linux/kernel.h> #include <linux/slab.h> #include <linux/sysfs.h> #include <linux/i2c.h> #include <linu...
gpl-2.0
Biktorgj/Gear_2_Kernel_3.10
arch/x86/kernel/acpi/cstate.c
7271
5734
/* * Copyright (C) 2005 Intel Corporation * Venkatesh Pallipadi <venkatesh.pallipadi@intel.com> * - Added _PDC for SMP C-states on Intel CPUs */ #include <linux/kernel.h> #include <linux/module.h> #include <linux/init.h> #include <linux/acpi.h> #include <linux/cpu.h> #include <linux/sched.h> #include <acpi/proc...
gpl-2.0
asuradaimao/linux
drivers/pcmcia/pxa2xx_cm_x255.c
9831
3080
/* * linux/drivers/pcmcia/pxa/pxa_cm_x255.c * * 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. * * Compulab Ltd., 2003, 2007, 2008 * Mike Rapoport <mike@compulab.co.il> * */ ...
gpl-2.0
crazy-canux/linux
drivers/acpi/acpica/nsload.c
360
9630
/****************************************************************************** * * Module Name: nsload - namespace loading/expanding/contracting procedures * *****************************************************************************/ /* * Copyright (C) 2000 - 2015, Intel Corp. * All rights reserved. * * Re...
gpl-2.0
jingr1/Linux-4.2.1-for-OK6410
drivers/input/serio/hyperv-keyboard.c
1384
10969
/* * Copyright (c) 2013, Microsoft 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 distributed in the hope it will be us...
gpl-2.0
Euphoria-OS-Devices/android_kernel_lge_msm8974
drivers/gpu/ion/msm/ion_cp_common.c
1640
8423
/* * Copyright (C) 2011 Google, Inc * Copyright (c) 2011-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. * ...
gpl-2.0
Xanwar/android_kernel_asus_a400cg
drivers/staging/speakup/speakup_decpc.c
2152
15043
/* * This is the DECtalk PC speakup driver * * Some constants from DEC's DOS driver: * Copyright (c) by Digital Equipment Corp. * * 386BSD DECtalk PC driver: * Copyright (c) 1996 Brian Buhrow <buhrow@lothlorien.nfbcal.org> * * Linux DECtalk PC driver: * Copyright (c) 1997 Nicolas Pitre <nico@ca...
gpl-2.0
rfalize/endeavoru-suitcasekernel
drivers/media/video/gspca/mars.c
2920
12845
/* * Mars-Semi MR97311A library * Copyright (C) 2005 <bradlch@hotmail.com> * * V4L2 by Jean-Francois Moine <http://moinejf.free.fr> * * 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; ei...
gpl-2.0
chillstep1998/AK-OnePone
mm/huge_memory.c
3176
64948
/* * Copyright (C) 2009 Red Hat, Inc. * * This work is licensed under the terms of the GNU GPL, version 2. See * the COPYING file in the top-level directory. */ #include <linux/mm.h> #include <linux/sched.h> #include <linux/highmem.h> #include <linux/hugetlb.h> #include <linux/mmu_notifier.h> #include <linux/...
gpl-2.0
NamelessRom/android_kernel_google_msm
drivers/hwspinlock/u8500_hsem.c
5224
5046
/* * u8500 HWSEM driver * * Copyright (C) 2010-2011 ST-Ericsson * * Implements u8500 semaphore handling for protocol 1, no interrupts. * * Author: Mathieu Poirier <mathieu.poirier@linaro.org> * Heavily borrowed from the work of : * Simon Que <sque@ti.com> * Hari Kanigeri <h-kanigeri2@ti.com> * Ohad Ben...
gpl-2.0
devcreations07/spirit_cancro
arch/x86/xen/vga.c
7784
2473
#include <linux/screen_info.h> #include <linux/init.h> #include <asm/bootparam.h> #include <asm/setup.h> #include <xen/interface/xen.h> #include "xen-ops.h" void __init xen_init_vga(const struct dom0_vga_console_info *info, size_t size) { struct screen_info *screen_info = &boot_params.screen_info; /* This is dra...
gpl-2.0
ShinySide/HispAsian_S5
arch/x86/xen/vga.c
7784
2473
#include <linux/screen_info.h> #include <linux/init.h> #include <asm/bootparam.h> #include <asm/setup.h> #include <xen/interface/xen.h> #include "xen-ops.h" void __init xen_init_vga(const struct dom0_vga_console_info *info, size_t size) { struct screen_info *screen_info = &boot_params.screen_info; /* This is dra...
gpl-2.0
juston-li/hammerhead
drivers/ata/pata_ninja32.c
8040
5498
/* * pata_ninja32.c - Ninja32 PATA for new ATA layer * (C) 2007 Red Hat Inc * * Note: The controller like many controllers has shared timings for * PIO and DMA. We thus flip to the DMA timings in dma_start and flip back * in the dma_stop function. Thus we actually don't need a set_dmamode * method as the PI...
gpl-2.0
jaaron/linux-mips-ip30
drivers/ata/pata_hpt3x2n.c
8040
16160
/* * Libata driver for the HighPoint 371N, 372N, and 302N UDMA66 ATA controllers. * * This driver is heavily based upon: * * linux/drivers/ide/pci/hpt366.c Version 0.36 April 25, 2003 * * Copyright (C) 1999-2003 Andre Hedrick <andre@linux-ide.org> * Portions Copyright (C) 2001 Sun Microsystems, Inc. ...
gpl-2.0
h8rift/android_kernel_htc_msm8960_evita-h8x
drivers/ata/pata_hpt3x2n.c
8040
16160
/* * Libata driver for the HighPoint 371N, 372N, and 302N UDMA66 ATA controllers. * * This driver is heavily based upon: * * linux/drivers/ide/pci/hpt366.c Version 0.36 April 25, 2003 * * Copyright (C) 1999-2003 Andre Hedrick <andre@linux-ide.org> * Portions Copyright (C) 2001 Sun Microsystems, Inc. ...
gpl-2.0
Hogman500/ouya_1_1-kernel
drivers/macintosh/nvram.c
9320
2552
/* * /dev/nvram driver for Power Macintosh. */ #define NVRAM_VERSION "1.0" #include <linux/module.h> #include <linux/types.h> #include <linux/errno.h> #include <linux/fs.h> #include <linux/miscdevice.h> #include <linux/fcntl.h> #include <linux/nvram.h> #include <linux/init.h> #include <asm/uaccess.h> #include <asm...
gpl-2.0
venkatkamesh/lg_ally_kernel-2.6.XX
net/llc/llc_s_st.c
13416
5815
/* * llc_s_st.c - Defines SAP component state machine transitions. * * The followed transitions are SAP component state machine transitions * which are described in 802.2 LLC protocol standard document. * * Copyright (c) 1997 by Procom Technology, Inc. * 2001-2003 by Arnaldo Carvalho de Melo <acme@conectiva.co...
gpl-2.0
makerbot/linux-Birdwing
fs/ncpfs/mmap.c
105
2972
/* * mmap.c * * Copyright (C) 1995, 1996 by Volker Lendecke * Modified 1997 Peter Waltenberg, Bill Hawes, David Woodhouse for 2.1 dcache * */ #include <linux/stat.h> #include <linux/time.h> #include <linux/kernel.h> #include <linux/gfp.h> #include <linux/mm.h> #include <linux/shm.h> #include <linux/errno.h> #...
gpl-2.0
jiangdapeng/btrfs-next
drivers/net/usb/mcs7830.c
105
18838
/* * MOSCHIP MCS7830 based (7730/7830/7832) USB 2.0 Ethernet Devices * * based on usbnet.c, asix.c and the vendor provided mcs7830 driver * * Copyright (C) 2010 Andreas Mohr <andi@lisas.de> * Copyright (C) 2006 Arnd Bergmann <arnd@arndb.de> * Copyright (C) 2003-2005 David Hollis <dhollis@davehollis.com> * Copyr...
gpl-2.0
neobuddy89/hammerhead
drivers/media/platform/msm/camera_v1/flash/msm_flash.c
361
14006
/* Copyright (c) 2009-2012, 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
googlehim/linux
drivers/scsi/bfa/bfad_im.c
617
34641
/* * Copyright (c) 2005-2010 Brocade Communications Systems, Inc. * All rights reserved * www.brocade.com * * Linux driver for Brocade Fibre Channel Host Bus Adapter. * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License (GPL) Version 2 a...
gpl-2.0
rlnelson-git/linux-nvme
drivers/net/wireless/ath/carl9170/debug.c
873
24144
/* * Atheros CARL9170 driver * * debug(fs) probing * * Copyright 2008, Johannes Berg <johannes@sipsolutions.net> * Copyright 2009, 2010, Christian Lamparter <chunkeey@googlemail.com> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License ...
gpl-2.0
devttys1/linux-fslc
drivers/gpu/drm/r128/r128_cce.c
1129
24259
/* r128_cce.c -- ATI Rage 128 driver -*- linux-c -*- * Created: Wed Apr 5 19:24:19 2000 by kevin@precisioninsight.com */ /* * Copyright 2000 Precision Insight, Inc., Cedar Park, Texas. * Copyright 2000 VA Linux Systems, Inc., Sunnyvale, California. * All Rights Reserved. * * Permission is hereby granted, free o...
gpl-2.0
davidmueller13/valexKernel-lt03wifi
lib/kobject.c
1385
23914
/* * kobject.c - library routines for handling generic kernel objects * * Copyright (c) 2002-2003 Patrick Mochel <mochel@osdl.org> * Copyright (c) 2006-2007 Greg Kroah-Hartman <greg@kroah.com> * Copyright (c) 2006-2007 Novell Inc. * * This file is released under the GPLv2. * * * Please see the file Documentat...
gpl-2.0
Cryptoo/kernel
arch/arm/mach-omap2/clockdomains3xxx_data.c
1897
13411
/* * OMAP3xxx clockdomains * * Copyright (C) 2008-2011 Texas Instruments, Inc. * Copyright (C) 2008-2010 Nokia Corporation * * Paul Walmsley, Jouni Högander * * This file contains clockdomains and clockdomain wakeup/sleep * dependencies for the OMAP3xxx chips. Some notes: * * A useful validation rule for st...
gpl-2.0
Surge1223/android_kernel_moto_shamu
drivers/rtc/rtc-tx4939.c
2153
8660
/* * TX4939 internal RTC driver * Based on RBTX49xx patch from CELF patch archive. * * 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. * * (C) Copyright TOSHIBA CORPORATION 2005-2007 */ #incl...
gpl-2.0
DevriesL/SM-G9208_ImageBreaker
drivers/gpu/drm/nouveau/dispnv04/hw.c
2153
27513
/* * Copyright 2006 Dave Airlie * Copyright 2007 Maarten Maathuis * Copyright 2007-2009 Stuart Bennett * * 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 ...
gpl-2.0
cwxda/android_kernel_xiaomi_armani_caf
drivers/gpio/gpio-msm-v1.c
2153
25938
/* linux/arch/arm/mach-msm/gpio.c * * Copyright (C) 2007 Google, Inc. * Copyright (c) 2009-2013, The Linux Foundation. All rights reserved. * * This software is licensed under the terms of the GNU General Public * License version 2, as published by the Free Software Foundation, and * may be copied, distributed, ...
gpl-2.0
Mazout360/hammerhead-3.10
drivers/net/ethernet/pasemi/pasemi_mac.c
2153
48346
/* * Copyright (C) 2006-2007 PA Semi, Inc * * Driver for the PA Semi PWRficient onchip 1G/10G Ethernet MACs * * 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 ...
gpl-2.0
kernel-hut/android_kernel_xiaomi_cancro
drivers/media/video/gspca/tv8532.c
4969
10863
/* * Quickcam cameras initialization data * * V4L2 by Jean-Francois Moine <http://moinejf.free.fr> * * 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
wan-qy/linux
arch/powerpc/boot/treeboot-currituck.c
8809
3066
/* * Copyright © 2011 Tony Breeds IBM Corporation * * Based on earlier code: * Copyright (C) Paul Mackerras 1997. * * Matt Porter <mporter@kernel.crashing.org> * Copyright 2002-2005 MontaVista Software Inc. * * Eugene Surovegin <eugene.surovegin@zultys.com> or <ebs@ebshome.net> * Copyright (c) 2003,...
gpl-2.0
domintech/PandaBoard-LinuxKernel
arch/mips/fw/arc/init.c
11881
1267
/* * 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. * * PROM library initialisation code. * * Copyright (C) 1996 David S. Miller (davem@davemloft.net) */ #include <linux/init.h> #include <lin...
gpl-2.0
XVilka/qemu
hw/framebuffer.c
106
3544
/* * Framebuffer device helper routines * * Copyright (c) 2009 CodeSourcery * Written by Paul Brook <paul@codesourcery.com> * * This code is licensed under the GNU GPLv2. */ /* TODO: - Do something similar for framebuffers with local ram - Handle rotation here instead of hacking dest_pitch - Use common...
gpl-2.0
ibkim/uml
drivers/mmc/core/mmc_ops.c
362
12620
/* * linux/drivers/mmc/core/mmc_ops.h * * Copyright 2006-2007 Pierre Ossman * * 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...
gpl-2.0
BanBxda/Sense_4.3
fs/fat/namei_vfat.c
362
21985
/* * linux/fs/vfat/namei.c * * Written 1992,1993 by Werner Almesberger * * Windows95/Windows NT compatible extended MSDOS filesystem * by Gordon Chaffee Copyright (C) 1995. Send bug reports for the * VFAT filesystem to <chaffee@cs.berkeley.edu>. Specify * what file operation caused you trouble and...
gpl-2.0
Lembed/uClinux-Cortex
security/keys/permission.c
618
2872
/* permission.c: key permission determination * * Copyright (C) 2005 Red Hat, Inc. All Rights Reserved. * Written by David Howells (dhowells@redhat.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
rafal-krypa/smack-backport
drivers/dma/dma-jz4740.c
874
15871
/* * Copyright (C) 2013, Lars-Peter Clausen <lars@metafoo.de> * JZ4740 DMAC support * * 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 ...
gpl-2.0
zephiK/android_kernel_moto_shamuLP
arch/arm/plat-orion/time.c
1386
5123
/* * arch/arm/plat-orion/time.c * * Marvell Orion SoC timer 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. * * Timer 0 is used as free-running clocksource, while...
gpl-2.0
bju2000/android_kernel_lge_msm8994
drivers/net/irda/pxaficp_ir.c
2154
23705
/* * linux/drivers/net/irda/pxaficp_ir.c * * Based on sa1100_ir.c by Russell King * * Changes copyright (C) 2003-2005 MontaVista Software, 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 So...
gpl-2.0
TeamRegular/android_kernel_tcl_msm8916
drivers/media/platform/s3c-camif/camif-core.c
2154
16013
/* * s3c24xx/s3c64xx SoC series Camera Interface (CAMIF) driver * * Copyright (C) 2012 Sylwester Nawrocki <sylvester.nawrocki@gmail.com> * Copyright (C) 2012 Tomasz Figa <tomasz.figa@gmail.com> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public...
gpl-2.0
ashyx/Samsung_Galaxy_Tab_A_kernel
drivers/gpio/gpio-ep93xx.c
2410
10914
/* * Generic EP93xx GPIO handling * * Copyright (c) 2008 Ryan Mallon * Copyright (c) 2011 H Hartley Sweeten <hsweeten@visionengravers.com> * * Based on code originally from: * linux/arch/arm/mach-ep93xx/core.c * * This program is free software; you can redistribute it and/or modify * it under the terms of ...
gpl-2.0
rhtu/linux
arch/sh/mm/tlb-sh5.c
2666
5614
/* * arch/sh/mm/tlb-sh5.c * * Copyright (C) 2003 Paul Mundt <lethal@linux-sh.org> * Copyright (C) 2003 Richard Curnow <richard.curnow@superh.com> * * 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 d...
gpl-2.0
Ezekeel/android-3.0
sound/soc/samsung/s3c24xx_simtec_tlv320aic23.c
2922
3332
/* sound/soc/samsung/s3c24xx_simtec_tlv320aic23.c * * Copyright 2009 Simtec Electronics * * 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 <sound/soc.h> #include "s3...
gpl-2.0
TeamRegular/android_kernel_hisense_m470
drivers/isdn/hisax/st5481_usb.c
3178
15277
/* * Driver for ST5481 USB ISDN modem * * Author Frode Isaksen * Copyright 2001 by Frode Isaksen <fisaksen@bewan.com> * 2001 by Kai Germaschewski <kai.germaschewski@gmx.de> * * This software may be used and distributed according to the terms * of the GNU General Public License, inco...
gpl-2.0
humberos/android_kernel_samsung_aries
drivers/base/dma-coherent.c
3178
4540
/* * Coherent per-device memory handling. * Borrowed from i386 */ #include <linux/slab.h> #include <linux/kernel.h> #include <linux/dma-mapping.h> struct dma_coherent_mem { void *virt_base; dma_addr_t device_base; int size; int flags; unsigned long *bitmap; }; int dma_declare_coherent_memory(struct device ...
gpl-2.0