repo_name
string
path
string
copies
string
size
string
content
string
license
string
AKToronto/Bubba-Zombie
arch/arm/mach-msm/event_timer.c
3227
8859
/* Copyright (c) 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 hope...
gpl-2.0
simone201/neak-gs3-jb2
drivers/acpi/acpica/nswalk.c
3227
11303
/****************************************************************************** * * Module Name: nswalk - Functions for walking the ACPI namespace * *****************************************************************************/ /* * Copyright (C) 2000 - 2011, Intel Corp. * All rights reserved. * * Redistributi...
gpl-2.0
FlukeNetworks/snackers-kernel
crypto/arc4.c
4507
2088
/* * Cryptographic API * * ARC4 Cipher Algorithm * * Jon Oberheide <jon@oberheide.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 * (at your...
gpl-2.0
sakuramilk/sc06d_kernel_ics
arch/powerpc/lib/rheap.c
4507
16859
/* * A Remote Heap. Remote means that we don't touch the memory that the * heap points to. Normal heap implementations use the memory they manage * to place their list. We cannot do that because the memory we manage may * have special properties, for example it is uncachable or of different * endianess. * * Aut...
gpl-2.0
DirtyUnicorns/android_kernel_samsung_ks01lte
sound/soc/codecs/wm8737.c
4507
19796
/* * wm8737.c -- WM8737 ALSA SoC Audio driver * * Copyright 2010 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
Fuzion24/m7_vzw_kernel
arch/s390/hypfs/hypfs_dbfs.c
7579
2524
/* * Hypervisor filesystem for Linux on s390 - debugfs interface * * Copyright (C) IBM Corp. 2010 * Author(s): Michael Holzheu <holzheu@linux.vnet.ibm.com> */ #include <linux/slab.h> #include "hypfs.h" static struct dentry *dbfs_dir; static struct hypfs_dbfs_data *hypfs_dbfs_data_alloc(struct hypfs_dbfs_file *f...
gpl-2.0
twitish/SimpleKernel-4.2.2
arch/parisc/lib/io.c
13979
9956
/* * arch/parisc/lib/io.c * * Copyright (c) Matthew Wilcox 2001 for Hewlett-Packard * Copyright (c) Randolph Chung 2001 <tausq@debian.org> * * IO accessing functions which shouldn't be inlined because they're too big */ #include <linux/kernel.h> #include <linux/module.h> #include <asm/io.h> /* Copies a block o...
gpl-2.0
mythos234/SimplKernel-5.1.1
drivers/gpu/arm/t72x/r5p0/platform/gpu_exynos5433.c
156
19696
/* drivers/gpu/arm/.../platform/gpu_exynos5433.c * * Copyright 2011 by S.LSI. Samsung Electronics Inc. * San#24, Nongseo-Dong, Giheung-Gu, Yongin, Korea * * Samsung SoC Mali-T Series DVFS driver * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Publ...
gpl-2.0
flar2/m7-bulletproof
drivers/video/msm/mipi_toshiba.c
156
11391
/* Copyright (c) 2008-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
epatel/MarlinDev
ArduinoAddons/Arduino_1.5.x/hardware/marlin/avr/libraries/U8glib/utility/u8g_rot.c
412
12513
/* u8g_rot.c Universal 8bit Graphics Library Copyright (c) 2011, olikraus@gmail.com All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the a...
gpl-2.0
blue236/linux-1
drivers/mfd/wm5102-tables.c
412
87995
/* * wm5102-tables.c -- WM5102 data tables * * 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 by t...
gpl-2.0
sergeev/mangos4
dep/src/g3dlite/Color3.cpp
668
8834
/** @file Color3.cpp Color class. @author Morgan McGuire, http://graphics.cs.williams.edu @created 2001-06-02 @edited 2010-01-28 */ #include "G3D/platform.h" #include <stdlib.h> #include "G3D/Color3.h" #include "G3D/Vector3.h" #include "G3D/format.h" #include "G3D/BinaryInput.h" #include "G3D/BinaryOutput.h"...
gpl-2.0
Compulsion/linux-stable
drivers/ntb/test/ntb_pingpong.c
668
6673
/* * This file is provided under a dual BSD/GPLv2 license. When using or * redistributing this file, you may do so under either license. * * GPL LICENSE SUMMARY * * Copyright (C) 2015 EMC Corporation. All Rights Reserved. * * This program is free software; you can redistribute it and/or modify * it ...
gpl-2.0
percy-g2/bbbandroid-kernel
crypto/vmac.c
2204
19343
/* * Modified to interface to the Linux kernel * Copyright (c) 2009, Intel 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 d...
gpl-2.0
somya-anand/y2038
drivers/net/wireless/orinoco/spectrum_cs.c
2460
8540
/* * Driver for 802.11b cards using RAM-loadable Symbol firmware, such as * Symbol Wireless Networker LA4137, CompactFlash cards by Socket * Communications and Intel PRO/Wireless 2011B. * * The driver implements Symbol firmware download. The rest is handled * in hermes.c and main.c. * * Utilities for downloadi...
gpl-2.0
Beeko/android_kernel_samsung_espresso10
drivers/acpi/acpica/exconfig.c
3228
18273
/****************************************************************************** * * Module Name: exconfig - Namespace reconfiguration (Load/Unload opcodes) * *****************************************************************************/ /* * Copyright (C) 2000 - 2011, Intel Corp. * All rights reserved. * * Red...
gpl-2.0
mcrosson/samsung_kernel_comanche
drivers/acpi/acpica/utlock.c
3228
5770
/****************************************************************************** * * Module Name: utlock - Reader/Writer lock interfaces * *****************************************************************************/ /* * Copyright (C) 2000 - 2011, Intel Corp. * All rights reserved. * * Redistribution and use ...
gpl-2.0
TeamExodus/kernel_lge_g3
drivers/mfd/msm-adie-codec.c
3484
4573
/* Copyright (c) 2010, 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 hope...
gpl-2.0
kgraney/msm-kernel
net/sctp/sm_sideeffect.c
4252
49061
/* SCTP kernel implementation * (C) Copyright IBM Corp. 2001, 2004 * Copyright (c) 1999 Cisco, Inc. * Copyright (c) 1999-2001 Motorola, Inc. * * This file is part of the SCTP kernel implementation * * These functions work with the state functions in sctp_sm_statefuns.c * to implement that state operations. The...
gpl-2.0
LibiSC/BatteryExtenderSGAKernel
lib/prio_tree.c
5276
12541
/* * lib/prio_tree.c - priority search tree * * Copyright (C) 2004, Rajesh Venkatasubramanian <vrajesh@umich.edu> * * This file is released under the GPL v2. * * Based on the radix priority search tree proposed by Edward M. McCreight * SIAM Journal of Computing, vol. 14, no.2, pages 257-276, May 1985 * * 02Fe...
gpl-2.0
Coldwindofnowhere/android_kernel_samsung_aries
drivers/staging/comedi/drivers/pcm3724.c
7836
7289
/* comedi/drivers/pcm724.c Drew Csillag <drew_csillag@yahoo.com> hardware driver for Advantech card: card: PCM-3724 driver: pcm3724 Options for PCM-3724 [0] - IO Base */ /* Driver: pcm3724 Description: Advantech PCM-3724 Author: Drew Csillag <drew_csillag@yahoo.com> Devices: [Advante...
gpl-2.0
KFire-Android/kernel_omap_bowser-common
drivers/staging/comedi/drivers/pcl724.c
7836
5901
/* comedi/drivers/pcl724.c Michal Dobes <dobes@tesnet.cz> hardware driver for Advantech cards: card: PCL-724, PCL-722, PCL-731 driver: pcl724, pcl722, pcl731 and ADLink cards: card: ACL-7122, ACL-7124, PET-48DIO driver: acl7122, acl7124, pet48dio Options for PCL-724, P...
gpl-2.0
mdxy2010/forlinux-ok6410
kernel/drivers/input/joystick/maplecontrol.c
9884
4963
/* * SEGA Dreamcast controller driver * Based on drivers/usb/iforce.c * * Copyright Yaegashi Takeshi, 2001 * Adrian McMenamin, 2008 - 2009 */ #include <linux/kernel.h> #include <linux/slab.h> #include <linux/input.h> #include <linux/module.h> #include <linux/init.h> #include <linux/timer.h> #include <linux/maple...
gpl-2.0
sattarvoybek/android_kernel_zte_p839f30
arch/avr32/mm/ioremap.c
12956
2342
/* * Copyright (C) 2004-2006 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/vmalloc.h> #include <linux/mm.h> #include <linux/module.h> #in...
gpl-2.0
davidel/linux
drivers/staging/comedi/drivers/adv_pci_dio.c
413
13658
/* * comedi/drivers/adv_pci_dio.c * * Author: Michal Dobes <dobes@tesnet.cz> * * Hardware driver for Advantech PCI DIO cards. */ /* * Driver: adv_pci_dio * Description: Advantech Digital I/O Cards * Devices: [Advantech] PCI-1730 (adv_pci_dio), PCI-1733, * PCI-1734, PCI-1735U, PCI-1736UP, PCI-1739U, PCI-17...
gpl-2.0
arter97/android_kernel_nvidia_shieldtablet
drivers/clocksource/metag_generic.c
1949
5354
/* * Copyright (C) 2005-2013 Imagination Technologies 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. * * This program is distributed in the hope that it will be useful, ...
gpl-2.0
Entropy512/kernel_n8013_ics
drivers/block/cpqarray.c
2461
48167
/* * Disk Array driver for Compaq SMART2 Controllers * Copyright 1998 Compaq Computer 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 L...
gpl-2.0
sbryan12144/BeastMode-Elite
arch/sparc/kernel/ptrace_64.c
2973
25934
/* ptrace.c: Sparc process tracing support. * * Copyright (C) 1996, 2008 David S. Miller (davem@davemloft.net) * Copyright (C) 1997 Jakub Jelinek (jj@sunsite.mff.cuni.cz) * * Based upon code written by Ross Biro, Linus Torvalds, Bob Manson, * and David Mosberger. * * Added Linux support -miguel (weird, eh?, the...
gpl-2.0
ProtouProject/android_kernel_msm
arch/m68k/kernel/signal_mm.c
4509
30213
/* * linux/arch/m68k/kernel/signal.c * * Copyright (C) 1991, 1992 Linus Torvalds * * 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. */ /* * Linux/m68k support by Hamish Macdonald * * 680...
gpl-2.0
mifl/android_kernel_pantech_ef65s
arch/arm/mach-tegra/cpuidle.c
4765
2513
/* * arch/arm/mach-tegra/cpuidle.c * * CPU idle driver for Tegra CPUs * * Copyright (c) 2010-2012, NVIDIA Corporation. * Copyright (c) 2011 Google, Inc. * Author: Colin Cross <ccross@android.com> * Gary King <gking@nvidia.com> * * Rework for 3.3 by Peter De Schrijver <pdeschrijver@nvidia.com> * * Th...
gpl-2.0
SlimRoms/kernel_htc_msm8960
arch/arm/mach-omap2/voltagedomains3xxx_data.c
4765
2959
/* * OMAP3 voltage domain data * * Copyright (C) 2007, 2010 Texas Instruments, Inc. * Rajendra Nayak <rnayak@ti.com> * Lesly A M <x0080970@ti.com> * Thara Gopinath <thara@ti.com> * * Copyright (C) 2008, 2011 Nokia Corporation * Kalle Jokiniemi * Paul Walmsley * * This program is free software; you can redis...
gpl-2.0
VentureROM-L/android_kernel_asus_grouper
drivers/isdn/hisax/s0box.c
5021
7062
/* $Id: s0box.c,v 2.6.2.4 2004/01/13 23:48:39 keil Exp $ * * low level stuff for Creatix S0BOX * * Author Enrik Berkhan * Copyright by Enrik Berkhan <enrik@starfleet.inka.de> * * This software may be used and distributed according to the terms * of the GNU General Public License, incorporated herein by...
gpl-2.0
kannu1994/crespo_kernel
drivers/isdn/hisax/isurf.c
5021
7787
/* $Id: isurf.c,v 1.12.2.4 2004/01/13 21:46:03 keil Exp $ * * low level stuff for Siemens I-Surf/I-Talk cards * * Author Karsten Keil * Copyright by Karsten Keil <keil@isdn4linux.de> * * This software may be used and distributed according to the terms * of the GNU General Public License, incorpor...
gpl-2.0
Xluco/kernel_smp600
arch/powerpc/platforms/cell/pervasive.c
6301
3256
/* * CBE Pervasive Monitor and Debug * * (C) Copyright IBM Corporation 2005 * * Authors: Maximino Aguilar (maguilar@us.ibm.com) * Michael N. Day (mnday@us.ibm.com) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as publish...
gpl-2.0
DirtyDev/DirtyKernel-ANDROID
fs/afs/rxrpc.c
9373
20670
/* Maintain an RxRPC server socket to do AFS communications through * * Copyright (C) 2007 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 publi...
gpl-2.0
kamma/ace_kernel
drivers/net/wireless/bcm4329/miniopt.c
158
4121
/* * Description. * * Copyright (C) 1999-2009, Broadcom Corporation * * Unless you and Broadcom execute a separate written software license * agreement governing use of this software, this software is licensed to you * under the terms of the GNU General Public License version 2 (the "GPL"), * available at...
gpl-2.0
lnfamous/Kernel_Stock_Pico
drivers/scsi/ncr53c8xx.c
158
215672
/****************************************************************************** ** Device driver for the PCI-SCSI NCR538XX controller family. ** ** Copyright (C) 1994 Wolfgang Stanglmeier ** ** This program is free software; you can redistribute it and/or modify ** it under the terms of the GNU General Public Lice...
gpl-2.0
andrewevans01/T889_Kernel_Recharged
drivers/vhost/vhost.c
670
38672
/* Copyright (C) 2009 Red Hat, Inc. * Copyright (C) 2006 Rusty Russell IBM Corporation * * Author: Michael S. Tsirkin <mst@redhat.com> * * Inspiration, some code, and most witty comments come from * Documentation/virtual/lguest/lguest.c, by Rusty Russell * * This work is licensed under the terms of the GNU GPL,...
gpl-2.0
oxforever/linux-4.1
arch/x86/kernel/cpu/centaur.c
1694
5311
#include <linux/bitops.h> #include <linux/kernel.h> #include <asm/processor.h> #include <asm/e820.h> #include <asm/mtrr.h> #include <asm/msr.h> #include "cpu.h" #define ACE_PRESENT (1 << 6) #define ACE_ENABLED (1 << 7) #define ACE_FCR (1 << 28) /* MSR_VIA_FCR */ #define RNG_PRESENT (1 << 2) #define RNG_ENABLED (1 ...
gpl-2.0
MetalPhoenix45/SmoothGKernel
drivers/rtc/rtc-wm831x.c
1950
13390
/* * Real Time Clock driver for Wolfson Microelectronics WM831x * * Copyright (C) 2009 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...
gpl-2.0
sleshepic/Note_2_l900
arch/sparc/mm/leon_mm.c
2206
6453
/* * linux/arch/sparc/mm/leon_m.c * * Copyright (C) 2004 Konrad Eisele (eiselekd@web.de, konrad@gaisler.com) Gaisler Research * Copyright (C) 2009 Daniel Hellstrom (daniel@gaisler.com) Aeroflex Gaisler AB * Copyright (C) 2009 Konrad Eisele (konrad@gaisler.com) Aeroflex Gaisler AB * * do srmmu probe in software ...
gpl-2.0
SiennaStellar/linux-3.10.20_kelleni
drivers/acpi/apei/hest.c
2206
6365
/* * APEI Hardware Error Souce Table support * * HEST describes error sources in detail; communicates operational * parameters (i.e. severity levels, masking bits, and threshold * values) to Linux as necessary. It also allows the BIOS to report * non-standard error sources to Linux (for example, chipset-specific ...
gpl-2.0
amitsirius/linux-3.2.71_sirius
drivers/staging/speakup/thread.c
7582
1292
#include <linux/kthread.h> #include <linux/wait.h> #include "spk_types.h" #include "speakup.h" #include "spk_priv.h" DECLARE_WAIT_QUEUE_HEAD(speakup_event); EXPORT_SYMBOL_GPL(speakup_event); int speakup_thread(void *data) { unsigned long flags; int should_break; struct bleep our_sound; our_sound.active = 0; ou...
gpl-2.0
thekraven2/2.6.38
arch/mips/math-emu/dp_add.c
7838
4674
/* IEEE754 floating point arithmetic * double precision: common utilities */ /* * MIPS floating point support * Copyright (C) 1994-2000 Algorithmics Ltd. * * ######################################################################## * * This program is free software; you can distribute it and/or modify it * un...
gpl-2.0
nuvotonmcu/linux-3.10.y
drivers/media/pci/bt8xx/bttv-vbi.c
8606
12912
/* bttv - Bt848 frame grabber driver vbi interface (c) 2002 Gerd Knorr <kraxel@bytesex.org> Copyright (C) 2005, 2006 Michael H. Schimek <mschimek@gmx.at> Sponsored by OPQ Systems AB This program is free software; you can redistribute it and/or modify it under the terms of the GNU General...
gpl-2.0
ryrzy/yoda-kernel-i9300-JB-update13
drivers/net/wireless/ath/ath6kl/init.c
159
53031
/* * Copyright (c) 2011 Atheros Communications Inc. * Copyright (c) 2011-2012 Qualcomm Atheros, Inc. * * 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 co...
gpl-2.0
arrdalan/ubuntu_dfv
drivers/media/dvb/dvb-usb/gp8psk.c
159
9155
/* DVB USB compliant Linux driver for the * - GENPIX 8pks/qpsk/DCII USB2.0 DVB-S module * * Copyright (C) 2006,2007 Alan Nisota (alannisota@gmail.com) * Copyright (C) 2006,2007 Genpix Electronics (genpix@genpix-electronics.com) * * Thanks to GENPIX for the sample code used to implement this module. * * This mo...
gpl-2.0
jderrick/linux-blkdev
fs/cifs/transport.c
159
26660
/* * fs/cifs/transport.c * * Copyright (C) International Business Machines Corp., 2002,2008 * Author(s): Steve French (sfrench@us.ibm.com) * Jeremy Allison (jra@samba.org) 2006. * * This library is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General P...
gpl-2.0
HarveyHunt/ci20_upstream
drivers/gpu/drm/nouveau/dispnv04/disp.c
415
5291
/* * Copyright 2009 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 * the rights to use, copy, modify, merge, publish, d...
gpl-2.0
RenderBroken/OPO-CM-kernel
drivers/net/wireless/ath/ath9k/ar9002_mac.c
927
10864
/* * Copyright (c) 2008-2011 Atheros Communications Inc. * * 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" A...
gpl-2.0
alsandeep/kernel-4.4
drivers/cpufreq/pxa3xx-cpufreq.c
1951
5798
/* * Copyright (C) 2008 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 as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. */ #include...
gpl-2.0
shskyinfo/android_kernel_lge_vee7
fs/compat_ioctl.c
2207
46362
/* * ioctl32.c: Conversion between 32bit and 64bit native ioctls. * * Copyright (C) 1997-2000 Jakub Jelinek (jakub@redhat.com) * Copyright (C) 1998 Eddie C. Dost (ecd@skynet.be) * Copyright (C) 2001,2002 Andi Kleen, SuSE Labs * Copyright (C) 2003 Pavel Machek (pavel@ucw.cz) * * These routines mainta...
gpl-2.0
Flinny/kernel_htc_msm8994
tools/perf/util/pmu.c
2207
11404
#include <linux/list.h> #include <sys/types.h> #include <sys/stat.h> #include <unistd.h> #include <stdio.h> #include <dirent.h> #include "sysfs.h" #include "util.h" #include "pmu.h" #include "parse-events.h" #include "cpumap.h" struct perf_pmu_alias { char *name; struct list_head terms; struct list_head list; }; s...
gpl-2.0
friedrich420/N910G-AEL-Kernel-Lollipop-Sources
arch/arm/mach-omap2/omap_hwmod_2xxx_3xxx_ipblock_data.c
2207
7988
/* * omap_hwmod_2xxx_3xxx_ipblock_data.c - common IP block data for OMAP2/3 * * Copyright (C) 2011 Nokia Corporation * Copyright (C) 2012 Texas Instruments, Inc. * Paul Walmsley * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License versio...
gpl-2.0
InfinitiveOS-Devices/android_kernel_xiaomi_ferrari
drivers/i2c/busses/i2c-versatile.c
2207
3720
/* * i2c-versatile.c * * Copyright (C) 2006 ARM Ltd. * written by Russell King, Deep Blue Solutions 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. */ #include <linu...
gpl-2.0
coolstreamtech/cst-public-linux-kernel
arch/arm/mach-omap2/omap-hotplug.c
2463
1499
/* * OMAP4 SMP cpu-hotplug support * * Copyright (C) 2010 Texas Instruments, Inc. * Author: * Santosh Shilimkar <santosh.shilimkar@ti.com> * * Platform file needed for the OMAP4 SMP. This file is based on arm * realview smp platform. * Copyright (c) 2002 ARM Limited. * * This program is free software; y...
gpl-2.0
GiriR/android_kernel_samsung_smdk4412
arch/x86/kvm/lapic.c
2463
31027
/* * Local APIC virtualization * * Copyright (C) 2006 Qumranet, Inc. * Copyright (C) 2007 Novell * Copyright (C) 2007 Intel * Copyright 2009 Red Hat, Inc. and/or its affiliates. * * Authors: * Dor Laor <dor.laor@qumranet.com> * Gregory Haskins <ghaskins@novell.com> * Yaozu (Eddie) Dong <eddie.dong@int...
gpl-2.0
hiteshradia/android_kernel_Lenovo_Kraft_A6000
tools/perf/util/parse-options.c
2463
14224
#include "util.h" #include "parse-options.h" #include "cache.h" #include "header.h" #define OPT_SHORT 1 #define OPT_UNSET 2 static int opterror(const struct option *opt, const char *reason, int flags) { if (flags & OPT_SHORT) return error("switch `%c' %s", opt->short_name, reason); if (flags & OPT_UNSET) return...
gpl-2.0
goodwinos/linux-latest
arch/arm/mach-s3c24xx/simtec-pm.c
4511
1559
/* linux/arch/arm/plat-s3c24xx/pm-simtec.c * * Copyright 2004 Simtec Electronics * Ben Dooks <ben@simtec.co.uk> * * http://armlinux.simtec.co.uk/ * * Power Management helpers for Simtec S3C24XX implementations * * This program is free software; you can redistribute it and/or modify * it under the terms of the...
gpl-2.0
Eliminater74/android_kernel_lge_g3-2
arch/arm/mach-tegra/pinmux.c
4767
24137
/* * linux/arch/arm/mach-tegra/pinmux.c * * Copyright (C) 2010 Google, Inc. * * 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, and modified under those terms. * * This program is distribute...
gpl-2.0
SlimSaber/kernel_samsung_smdk4412
drivers/staging/speakup/speakup_spkout.c
7583
5178
/* * originally written by: Kirk Reiser <kirk@braille.uwo.ca> * this version considerably modified by David Borowski, david575@rogers.com * * Copyright (C) 1998-99 Kirk Reiser. * Copyright (C) 2003 David Borowski. * * This program is free software; you can redistribute it and/or modify * it under the terms of t...
gpl-2.0
zaclimon/Quanta-Flo
arch/mips/math-emu/ieee754sp.c
7839
5334
/* IEEE754 floating point arithmetic * single precision */ /* * MIPS floating point support * Copyright (C) 1994-2000 Algorithmics Ltd. * * ######################################################################## * * This program is free software; you can distribute it and/or modify it * under the terms of t...
gpl-2.0
leeboycott/Baloony
arch/mips/math-emu/dp_sub.c
7839
4950
/* IEEE754 floating point arithmetic * double precision: common utilities */ /* * MIPS floating point support * Copyright (C) 1994-2000 Algorithmics Ltd. * * ######################################################################## * * This program is free software; you can distribute it and/or modify it * un...
gpl-2.0
aapav01/android_kernel_samsung_ms013g-caf
arch/arm/plat-mxc/devices/platform-imx21-hcd.c
8095
1134
/* * 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 <mach/hardware.h> #include...
gpl-2.0
Ionic/msm7x30-kernel-ics
fs/cifs/nterr.c
9887
34297
/* * Unix SMB/Netbios implementation. * Version 1.9. * RPC Pipe client / server routines * Copyright (C) Luke Kenneth Casson Leighton 1997-2001. * * 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
ghsr/android_kernel_samsung_galaxys2plus-common
fs/cifs/nterr.c
9887
34297
/* * Unix SMB/Netbios implementation. * Version 1.9. * RPC Pipe client / server routines * Copyright (C) Luke Kenneth Casson Leighton 1997-2001. * * 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
krizky82/semc-kernel-msm7x30-ics
fs/ntfs/mst.c
15007
7109
/* * mst.c - NTFS multi sector transfer protection handling code. Part of the * Linux-NTFS project. * * Copyright (c) 2001-2004 Anton Altaparmakov * * This program/include file 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
FeyoMx/MDSdevKernel_a7010
fs/ntfs/mst.c
15007
7109
/* * mst.c - NTFS multi sector transfer protection handling code. Part of the * Linux-NTFS project. * * Copyright (c) 2001-2004 Anton Altaparmakov * * This program/include file 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
xin3liang/platform_external_bluetooth_bluez
tools/csr_3wire.c
160
1558
/* * * BlueZ - Bluetooth protocol stack for Linux * * Copyright (C) 2004-2010 Marcel Holtmann <marcel@holtmann.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 vers...
gpl-2.0
morely/linux-xlnx
drivers/ide/au1xxx-ide.c
416
15414
/* * BRIEF MODULE DESCRIPTION * AMD Alchemy Au1xxx IDE interface routines over the Static Bus * * Copyright (c) 2003-2005 AMD, Personal Connectivity Solutions * * 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 S...
gpl-2.0
KMU-embedded/scalablelinux
drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_vi.c
672
7688
/* * Copyright 2014 Advanced Micro Devices, 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 * the rights to use, copy, modify, m...
gpl-2.0
iksteen/android_kernel_samsung_galaxygio
drivers/input/serio/serio.c
928
24399
/* * The Serio abstraction module * * Copyright (c) 1999-2004 Vojtech Pavlik * Copyright (c) 2004 Dmitry Torokhov * Copyright (c) 2003 Daniele Bellucci */ /* * 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
jinankjain/linux
drivers/hwmon/sht15.c
928
29170
/* * sht15.c - support for the SHT15 Temperature and Humidity Sensor * * Portions Copyright (c) 2010-2012 Savoir-faire Linux Inc. * Jerome Oufella <jerome.oufella@savoirfairelinux.com> * Vivien Didelot <vivien.didelot@savoirfairelinux.com> * * Copyright (c) 2009 Jonathan Cameron * * Copyright...
gpl-2.0
bubby323/samsung-kernel-sgsII-tmo
drivers/hid/hid-a4tech.c
928
3635
/* * HID driver for some a4tech "special" devices * * Copyright (c) 1999 Andreas Gal * Copyright (c) 2000-2005 Vojtech Pavlik <vojtech@suse.cz> * Copyright (c) 2005 Michael Haboustak <mike-@cinci.rr.com> for Concept2, Inc * Copyright (c) 2006-2007 Jiri Kosina * Copyright (c) 2007 Paul Walmsley * Copyrigh...
gpl-2.0
Lloir/nvidia-linux-3.10
arch/powerpc/platforms/85xx/mpc85xx_rdb.c
2208
8759
/* * MPC85xx RDB Board Setup * * Copyright 2009,2012 Freescale Semiconductor Inc. * * 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 * o...
gpl-2.0
tyler6389/android_kernel_samsung_frescolte
drivers/media/rc/user-sp-rc-input.c
2208
6504
/* Copyright (c) 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 hope...
gpl-2.0
TheNikiz/android_kernel_samsung_hawaii
arch/ia64/hp/common/aml_nfw.c
2208
5594
/* * OpRegion handler to allow AML to call native firmware * * (c) Copyright 2007 Hewlett-Packard Development Company, L.P. * Bjorn Helgaas <bjorn.helgaas@hp.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 * publis...
gpl-2.0
omnirom/android_kernel_oppo_msm8974
drivers/media/rc/user-sp-rc-input.c
2208
6504
/* Copyright (c) 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 hope...
gpl-2.0
akshay-shah/android_kernel_samsung_crater
drivers/usb/serial/visor.c
2720
21960
/* * USB HandSpring Visor, Palm m50x, and Sony Clie driver * (supports all of the Palm OS USB devices) * * Copyright (C) 1999 - 2004 * Greg Kroah-Hartman (greg@kroah.com) * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License version ...
gpl-2.0
MTDEV-KERNEL/abenagiel-android_kernel_fih_msm7x30
arch/sh/kernel/kgdb.c
4000
8177
/* * SuperH KGDB support * * Copyright (C) 2008 - 2009 Paul Mundt * * Single stepping taken from the old stub by Henry Bell and Jeremy Siegel. * * 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 deta...
gpl-2.0
sakindia123/android_kernel_samsung_j700F
arch/arm/mach-s3c24xx/simtec-audio.c
4512
1801
/* linux/arch/arm/plat-s3c24xx/simtec-audio.c * * Copyright (c) 2009 Simtec Electronics * http://armlinux.simtec.co.uk/ * Ben Dooks <ben@simtec.co.uk> * * Audio setup for various Simtec S3C24XX implementations * * This program is free software; you can redistribute it and/or modify * it under the terms of the ...
gpl-2.0
aduggan/rpi-linux
arch/arm/mach-s3c24xx/simtec-audio.c
4512
1801
/* linux/arch/arm/plat-s3c24xx/simtec-audio.c * * Copyright (c) 2009 Simtec Electronics * http://armlinux.simtec.co.uk/ * Ben Dooks <ben@simtec.co.uk> * * Audio setup for various Simtec S3C24XX implementations * * This program is free software; you can redistribute it and/or modify * it under the terms of the ...
gpl-2.0
mk01/linux-fslc
arch/um/drivers/slip_common.c
4512
1128
#include <string.h> #include "slip_common.h" #include <net_user.h> int slip_proto_read(int fd, void *buf, int len, struct slip_proto *slip) { int i, n, size, start; if(slip->more > 0){ i = 0; while(i < slip->more){ size = slip_unesc(slip->ibuf[i++], slip->ibuf, &slip->pos, &slip->esc); if(size){ ...
gpl-2.0
GustavoRD78/78Kernel-ZL-new-construction-283
drivers/net/phy/mdio_bus.c
4512
9449
/* * drivers/net/phy/mdio_bus.c * * MDIO Bus interface * * Author: Andy Fleming * * Copyright (c) 2004 Freescale Semiconductor, Inc. * * 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 Foundati...
gpl-2.0
yajnab/android_kernel_samsung_delos3geur
lib/md5.c
8352
3742
#include <linux/kernel.h> #include <linux/export.h> #include <linux/cryptohash.h> #define F1(x, y, z) (z ^ (x & (y ^ z))) #define F2(x, y, z) F1(z, x, y) #define F3(x, y, z) (x ^ y ^ z) #define F4(x, y, z) (y ^ (x | ~z)) #define MD5STEP(f, w, x, y, z, in, s) \ (w += f(x, y, z) + in, w = (w<<s | w>>(32-s)) + x) void...
gpl-2.0
BrateloSlava/SaveEnergy-2
arch/x86/lib/memcpy_32.c
8352
3788
#include <linux/string.h> #include <linux/module.h> #undef memcpy #undef memset void *memcpy(void *to, const void *from, size_t n) { #ifdef CONFIG_X86_USE_3DNOW return __memcpy3d(to, from, n); #else return __memcpy(to, from, n); #endif } EXPORT_SYMBOL(memcpy); void *memset(void *s, int c, size_t count) { return _...
gpl-2.0
demonslayer12349/demonslayerkernel_lge_msm8226
net/netfilter/ipvs/ip_vs_wlc.c
8352
3234
/* * IPVS: Weighted Least-Connection Scheduling module * * Authors: Wensong Zhang <wensong@linuxvirtualserver.org> * Peter Kese <peter.kese@ijs.si> * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Pu...
gpl-2.0
thanhphat11/kernel-stock-4.4.2-ef63slk
arch/um/drivers/daemon_kern.c
9632
2419
/* * Copyright (C) 2001 Lennert Buytenhek (buytenh@gnu.org) and * James Leu (jleu@mindspring.net). * Copyright (C) 2001 - 2007 Jeff Dike (jdike@{addtoit,linux.intel}.com) * Copyright (C) 2001 by various other people who didn't put their name here. * Licensed under the GPL. */ #include "linux/init.h" #include <li...
gpl-2.0
ssanglee/capstone
Linux-Kernel/net/netfilter/ipvs/ip_vs_sh.c
161
6690
/* * IPVS: Source Hashing scheduling module * * Authors: Wensong Zhang <wensong@gnuchina.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 Found...
gpl-2.0
anlongfei/gcc-4.8.4
gcc/testsuite/gcc.c-torture/execute/bswap-1.c
161
1174
/* Test __builtin_bswap64 . */ unsigned long long g(unsigned long long a) __attribute__((noinline)); unsigned long long g(unsigned long long a) { return __builtin_bswap64(a); } unsigned long long f(unsigned long long c) { union { unsigned long long a; unsigned char b[8]; } a, b; a.a = c; b.b[0] = a...
gpl-2.0
minghuadev/chromeos-kernel-3-8
drivers/usb/otg/twl6030-usb.c
161
11976
/* * twl6030_usb - TWL6030 USB transceiver, talking to OMAP OTG driver. * * Copyright (C) 2010 Texas Instruments Incorporated - http://www.ti.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 Founda...
gpl-2.0
chillwater/linux-3.4
arch/arm/kernel/sys_oabi-compat.c
417
11976
/* * arch/arm/kernel/sys_oabi-compat.c * * Compatibility wrappers for syscalls that are used from * old ABI user space binaries with an EABI kernel. * * Author: Nicolas Pitre * Created: Oct 7, 2005 * Copyright: MontaVista Software, Inc. * * This program is free software; you can redistribute it and/or ...
gpl-2.0
chruck/cpsc8220
linux-4.3.3/drivers/net/ethernet/ibm/emac/mal.c
929
19918
/* * drivers/net/ethernet/ibm/emac/mal.c * * Memory Access Layer (MAL) support * * Copyright 2007 Benjamin Herrenschmidt, IBM Corp. * <benh@kernel.crashing.org> * * Based on the arch/ppc version of the driver: * * Copyright (c) 2004, 2005 Zultys Technologies. * Eugene Surovegin <eugene.suroveg...
gpl-2.0
kbc-developers/android_kernel_htc_msm8960
arch/arm/mach-msm/rpc_server_handset.c
1185
18297
/* arch/arm/mach-msm/rpc_server_handset.c * * Copyright (c) 2008-2010,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 Fou...
gpl-2.0
humberos/android_kernel_samsung_n80xx
fs/afs/inode.c
2721
12514
/* * Copyright (c) 2002 Red Hat, Inc. All rights reserved. * * This software may be freely redistributed under the terms of the * GNU General Public License. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 67...
gpl-2.0
DevSwift/Iglo-3.4
arch/x86/kernel/alternative.c
2977
19161
#include <linux/module.h> #include <linux/sched.h> #include <linux/mutex.h> #include <linux/list.h> #include <linux/stringify.h> #include <linux/kprobes.h> #include <linux/mm.h> #include <linux/vmalloc.h> #include <linux/memory.h> #include <linux/stop_machine.h> #include <linux/slab.h> #include <asm/alternative.h> #inc...
gpl-2.0
boa19861105/Test
drivers/gpio/gpio-pxa.c
4769
15819
/* * linux/arch/arm/plat-pxa/gpio.c * * Generic PXA GPIO handling * * Author: Nicolas Pitre * Created: Jun 15, 2001 * Copyright: 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 * publ...
gpl-2.0
Renzo-Olivares/android_422_kernel_htc_monarudo
arch/x86/pci/common.c
4769
17150
/* * Low-Level PCI Support for PC * * (c) 1999--2000 Martin Mares <mj@ucw.cz> */ #include <linux/sched.h> #include <linux/pci.h> #include <linux/ioport.h> #include <linux/init.h> #include <linux/dmi.h> #include <linux/slab.h> #include <asm/acpi.h> #include <asm/segment.h> #include <asm/io.h> #include <asm/smp.h> ...
gpl-2.0
antmicro/linux-tk1
arch/x86/kernel/bootflag.c
12705
1674
/* * Implement 'Simple Boot Flag Specification 2.0' */ #include <linux/types.h> #include <linux/kernel.h> #include <linux/init.h> #include <linux/string.h> #include <linux/spinlock.h> #include <linux/acpi.h> #include <asm/io.h> #include <linux/mc146818rtc.h> #define SBF_RESERVED (0x78) #define SBF_PNPOS (1<<0) #...
gpl-2.0
merlinholland/kernel
arch/alpha/kernel/core_titan.c
13473
20045
/* * linux/arch/alpha/kernel/core_titan.c * * Code common to all TITAN core logic chips. */ #define __EXTERN_INLINE inline #include <asm/io.h> #include <asm/core_titan.h> #undef __EXTERN_INLINE #include <linux/module.h> #include <linux/types.h> #include <linux/pci.h> #include <linux/sched.h> #include <linux/init....
gpl-2.0