repo_name
string
path
string
copies
string
size
string
content
string
license
string
tarunkapadia93/android_kernel_xiaomi_armani
drivers/mtd/chips/gen_probe.c
9378
6974
/* * Routines common to all CFI-type probes. * (C) 2001-2003 Red Hat, Inc. * GPL'd */ #include <linux/kernel.h> #include <linux/slab.h> #include <linux/module.h> #include <linux/mtd/mtd.h> #include <linux/mtd/map.h> #include <linux/mtd/cfi.h> #include <linux/mtd/gen_probe.h> static struct mtd_info *check_cmd_set(...
gpl-2.0
googyanas/Googy-Max4-CM-Kernel
arch/sh/mm/uncached.c
12194
1176
#include <linux/init.h> #include <linux/module.h> #include <asm/sizes.h> #include <asm/page.h> #include <asm/addrspace.h> /* * This is the offset of the uncached section from its cached alias. * * Legacy platforms handle trivial transitions between cached and * uncached segments by making use of the 1:1 mapping re...
gpl-2.0
qiubing/linux-3.2.4
drivers/media/video/tvp514x.c
163
32458
/* * drivers/media/video/tvp514x.c * * TI TVP5146/47 decoder driver * * Copyright (C) 2008 Texas Instruments Inc * Author: Vaibhav Hiremath <hvaibhav@ti.com> * * Contributors: * Sivaraj R <sivaraj@ti.com> * Brijesh R Jadav <brijesh.j@ti.com> * Hardik Shah <hardik.shah@ti.com> * Manjunath Had...
gpl-2.0
olegk0/rk3188-kernel
net/ipv4/ping.c
163
28747
/* * INET An implementation of the TCP/IP protocol suite for the LINUX * operating system. INET is implemented using the BSD Socket * interface as the means of communication with the user level. * * "Ping" sockets * * This program is free software; you can redistribute it and/or * modify it under the te...
gpl-2.0
antaril/AGK_for_DU
drivers/net/usb/asix.c
675
43198
/* * ASIX AX8817X based USB 2.0 Ethernet Devices * Copyright (C) 2003-2006 David Hollis <dhollis@davehollis.com> * Copyright (C) 2005 Phil Chang <pchang23@sbcglobal.net> * Copyright (C) 2006 James Painter <jamie.painter@iname.com> * Copyright (c) 2002-2003 TiVo Inc. * * This program is free software; you can red...
gpl-2.0
Perferom/android_kernel_samsung_msm7x27
drivers/net/mlx4/intf.c
931
4353
/* * 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
Renzo-Olivares/BAMF_android_kernel_htc_msm8660
fs/ecryptfs/file.c
931
11144
/** * eCryptfs: Linux filesystem encryption layer * * Copyright (C) 1997-2004 Erez Zadok * Copyright (C) 2001-2004 Stony Brook University * Copyright (C) 2004-2007 International Business Machines Corp. * Author(s): Michael A. Halcrow <mhalcrow@us.ibm.com> * Michael C. Thompson <mcthomps@us.ibm.com> * * T...
gpl-2.0
ShieldKteam/shield_osprey
arch/s390/kvm/priv.c
1443
16147
/* * handling privileged instructions * * Copyright IBM Corp. 2008 * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License (version 2 only) * as published by the Free Software Foundation. * * Author(s): Carsten Otte <cotte@de.ibm.com> ...
gpl-2.0
PyroDD/Pyro
arch/powerpc/sysdev/tsi108_pci.c
2979
11403
/* * Common routines for Tundra Semiconductor TSI108 host bridge. * * 2004-2005 (c) Tundra Semiconductor Corp. * Author: Alex Bounine (alexandreb@tundra.com) * Author: Roy Zang (tie-fei.zang@freescale.com) * Add pci interrupt router host * * This program is free software; you can redistribute it and/or modi...
gpl-2.0
smac0628/kernel-htc-m8-gpe-stock
drivers/input/mouse/pxa930_trkball.c
5027
6405
/* * PXA930 track ball mouse driver * * Copyright (C) 2007 Marvell International Ltd. * 2008-02-28: Yong Yao <yaoyong@marvell.com> * initial version * * 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
ryrzy/p75xx_ICS
drivers/staging/usbip/userspace/src/usbip_network.c
5795
5221
/* * Copyright (C) 2011 matt mooney <mfm@muteddisk.com> * 2005-2007 Takahiro Hirofuchi * * 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
deepsrd/android_kernel_nx507j
fs/afs/proc.c
8611
17455
/* /proc interface for AFS * * Copyright (C) 2002 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 Software Foundation; eit...
gpl-2.0
ausdim/GE-Edition-I9505-jfltexx-new
arch/cris/arch-v10/lib/usercopy.c
12451
16092
/* * User address space access functions. * The non-inlined parts of asm-cris/uaccess.h are here. * * Copyright (C) 2000, Axis Communications AB. * * Written by Hans-Peter Nilsson. * Pieces used from memcpy, originally by Kenny Ranerup long time ago. */ #include <asm/uaccess.h> /* Asm:s have been tweaked (wit...
gpl-2.0
Altaf-Mahdi/i9100
arch/parisc/lib/memset.c
14243
2442
/* Copyright (C) 1991, 1997 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C 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...
gpl-2.0
zombi-x/that1_kernel_asus_tf700t
drivers/input/touchscreen/rmi4/rmi_f11.c
164
37956
/* * Copyright (c) 2011 Synaptics Incorporated * Copyright (c) 2011 Unixphere * * 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
xingrz/android_kernel_nubia_msm8996
drivers/net/ethernet/intel/i40evf/i40evf_virtchnl.c
420
23924
/******************************************************************************* * * Intel Ethernet Controller XL710 Family Linux Virtual Function Driver * Copyright(c) 2013 - 2014 Intel Corporation. * * This program is free software; you can redistribute it and/or modify it * under the terms and conditions of th...
gpl-2.0
tacchinotacchi/obs-studio
deps/w32-pthreads/pthread_attr_setschedpolicy.c
420
1810
/* * pthread_attr_setschedpolicy.c * * Description: * POSIX thread functions that deal with thread scheduling. * * -------------------------------------------------------------------------- * * Pthreads-win32 - POSIX Threads Library for Win32 * Copyright(C) 1998 John E. Bossom * Copyright(C) 1...
gpl-2.0
masmullin2000/kernel_tp_ts_bkl
net/wireless/debugfs.c
1956
3100
/* * cfg80211 debugfs * * Copyright 2009 Luis R. Rodriguez <lrodriguez@atheros.com> * Copyright 2007 Johannes Berg <johannes@sipsolutions.net> * * 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 Soft...
gpl-2.0
ghbhaha/android_kernel_oneplus_msm8974
arch/arm/mach-msm/devices-msm7x27a.c
1956
52463
/* 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. * * This program is distributed in the...
gpl-2.0
Maroc-OS/android_kernel_bn_encore
arch/powerpc/platforms/pseries/msi.c
2980
10858
/* * Copyright 2006 Jake Moilanen <moilanen@austin.ibm.com>, IBM Corp. * Copyright 2006-2007 Michael Ellerman, IBM 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 ...
gpl-2.0
bigzz/kernel_msm
arch/mips/ar7/platform.c
2980
16095
/* * Copyright (C) 2006,2007 Felix Fietkau <nbd@openwrt.org> * Copyright (C) 2006,2007 Eugene Konev <ejka@openwrt.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...
gpl-2.0
davidftv/rk3x_kernel_3.0.36
net/netfilter/nf_conntrack_acct.c
3236
3088
/* Accouting handling for netfilter. */ /* * (C) 2008 Krzysztof Piotr Oledzki <ole@ans.pl> * * 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/netfilter.h> #in...
gpl-2.0
ragepekr/RageKernel
sound/drivers/mpu401/mpu401_uart.c
3748
16837
/* * Copyright (c) by Jaroslav Kysela <perex@perex.cz> * Routines for control of MPU-401 in UART mode * * MPU-401 supports UART mode which is not capable generate transmit * interrupts thus output is done via polling. Also, if irq < 0, then * input is done also via polling. Do not expect good performance. *...
gpl-2.0
dengbiao/tc_kernel_linux
sound/drivers/mpu401/mpu401_uart.c
3748
16837
/* * Copyright (c) by Jaroslav Kysela <perex@perex.cz> * Routines for control of MPU-401 in UART mode * * MPU-401 supports UART mode which is not capable generate transmit * interrupts thus output is done via polling. Also, if irq < 0, then * input is done also via polling. Do not expect good performance. *...
gpl-2.0
rutvik95/android_kernel_ms013g
mm/percpu.c
3748
58378
/* * mm/percpu.c - percpu memory allocator * * Copyright (C) 2009 SUSE Linux Products GmbH * Copyright (C) 2009 Tejun Heo <tj@kernel.org> * * This file is released under the GPLv2. * * This is percpu allocator which can handle both static and dynamic * areas. Percpu areas are allocated in chunks. Each chun...
gpl-2.0
SudaMod-devices/android_kernel_google_msm
net/core/netprio_cgroup.c
4772
7551
/* * net/core/netprio_cgroup.c Priority Control Group * * 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. * * ...
gpl-2.0
cyandream-devices/neak-n7100-jb
arch/powerpc/platforms/embedded6xx/c2k.c
4772
3705
/* * Board setup routines for the GEFanuc C2K board * * Author: Remi Machet <rmachet@slac.stanford.edu> * * Originated from prpmc2800.c * * 2008 (c) Stanford University * 2007 (c) MontaVista, Software, Inc. * * This program is free software; you can redistribute it and/or modify it * under the terms of the G...
gpl-2.0
someone755/android_kernel_sony_msm8974_stock
drivers/input/touchscreen/bu21013_ts.c
4772
17645
/* * Copyright (C) ST-Ericsson SA 2010 * Author: Naveen Kumar G <naveen.gaddipati@stericsson.com> for ST-Ericsson * License terms:GNU General Public License (GPL) version 2 */ #include <linux/kernel.h> #include <linux/delay.h> #include <linux/interrupt.h> #include <linux/i2c.h> #include <linux/workqueue.h> #includ...
gpl-2.0
shengdie/l01f_kernel_10c
sound/soc/blackfin/bf5xx-ssm2602.c
4772
4141
/* * File: sound/soc/blackfin/bf5xx-ssm2602.c * Author: Cliff Cai <Cliff.Cai@analog.com> * * Created: Tue June 06 2008 * Description: board driver for SSM2602 sound chip * * Modified: * Copyright 2008 Analog Devices Inc. * * Bugs: Enter bugs at http://blackfin.uclinux...
gpl-2.0
yajnab/android_kernel_sony_taoshan
drivers/input/misc/rotary_encoder.c
5028
6751
/* * rotary_encoder.c * * (c) 2009 Daniel Mack <daniel@caiaq.de> * Copyright (C) 2011 Johan Hovold <jhovold@gmail.com> * * state machine code inspired by code from Tim Ruetz * * A generic driver for rotary encoders connected to GPIO lines. * See file:Documentation/input/rotary-encoder.txt for more information ...
gpl-2.0
shazzl/Kernel-Mega
drivers/tty/serial/vr41xx_siu.c
5028
20762
/* * Driver for NEC VR4100 series Serial Interface Unit. * * Copyright (C) 2004-2008 Yoichi Yuasa <yuasa@linux-mips.org> * * Based on drivers/serial/8250.c, by Russell King. * * 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
Dearms/android_kernel_xiaomi_msm8960
drivers/media/common/tuners/mxl5007t.c
8356
21519
/* * mxl5007t.c - driver for the MaxLinear MxL5007T silicon tuner * * Copyright (C) 2008, 2009 Michael Krufky <mkrufky@linuxtv.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; ...
gpl-2.0
Dr-Shadow/android_kernel_acer_c10
drivers/input/joystick/spaceball.c
9892
8398
/* * Copyright (c) 1999-2001 Vojtech Pavlik * * Based on the work of: * David Thompson * Joseph Krahn */ /* * SpaceTec SpaceBall 2003/3003/4000 FLX driver for Linux */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as publis...
gpl-2.0
edoko/Air_Kernel-Mako
arch/sh/kernel/dwarf.c
10916
30049
/* * Copyright (C) 2009 Matt Fleming <matt@console-pimps.org> * * 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. * * This is an implementation of a DWARF unwinder. Its main purpose is * for g...
gpl-2.0
zparallax/amplitude_klte
sound/synth/emux/emux_hwdep.c
11940
3731
/* * Interface for hwdep device * * Copyright (C) 2004 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 of the License, or * (at ...
gpl-2.0
elephone-dev/P8000-Kernel
arch/alpha/lib/fls.c
11940
1117
/* * arch/alpha/lib/fls.c */ #include <linux/module.h> #include <linux/bitops.h> /* This is fls(x)-1, except zero is held to zero. This allows most efficient input into extbl, plus it allows easy handling of fls(0)=0. */ const unsigned char __flsm1_tab[256] = { 0, 0, 1, 1, 2, 2, 2, 2, 3, 3, 3, 3, ...
gpl-2.0
visi0nary/android_kernel_elephone_p8000
sound/pci/ctxfi/ctamixer.c
12708
9927
/** * 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 ctamixer.c * * @Brief * This fi...
gpl-2.0
faux123/kernel-msm
sound/pci/ctxfi/ctamixer.c
12708
9927
/** * 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 ctamixer.c * * @Brief * This fi...
gpl-2.0
smipi1/linux-tinification
fs/isofs/util.c
13476
2441
/* * linux/fs/isofs/util.c */ #include "isofs.h" /* * We have to convert from a MM/DD/YY format to the Unix ctime format. * We have to take into account leap years and all of that good stuff. * Unfortunately, the kernel does not have the information on hand to * take into account daylight savings time, but it...
gpl-2.0
razrqcom-dev-team/android_kernel_motorola_msm8226
arch/m32r/lib/usercopy.c
13732
9059
/* * User address space access functions. * The non inlined parts of asm-m32r/uaccess.h are here. * * Copyright 1997 Andi Kleen <ak@muc.de> * Copyright 1997 Linus Torvalds * Copyright 2001, 2002, 2004 Hirokazu Takata */ #include <linux/prefetch.h> #include <linux/string.h> #include <linux/thread_info.h> #include...
gpl-2.0
aps243/kernel-imx
drivers/input/joystick/iforce/iforce-ff.c
14756
15609
/* * Copyright (c) 2000-2002 Vojtech Pavlik <vojtech@ucw.cz> * Copyright (c) 2001-2002, 2007 Johann Deneux <johann.deneux@gmail.com> * * USB/RS232 I-Force joysticks and wheels. */ /* * 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
PikkonX/T989_ICS_KERNEL-
drivers/video/kyro/STG4000InitDevice.c
15012
9799
/* * linux/drivers/video/kyro/STG4000InitDevice.c * * Copyright (C) 2000 Imagination Technologies Ltd * Copyright (C) 2002 STMicroelectronics * * 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 detail...
gpl-2.0
fishears/wii-linux-kernel
security/inode.c
165
9007
/* * 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
CyberGrandChallenge/linux-source-3.13.11-ckt21-cgc
drivers/net/wireless/mwifiex/sta_rx.c
165
7938
/* * Marvell Wireless LAN device driver: station RX data handling * * Copyright (C) 2011, Marvell International Ltd. * * This software file (the "File") is distributed by Marvell International * Ltd. under the terms of the GNU General Public License Version 2, June 1991 * (the "License"). You may use, redistrib...
gpl-2.0
NKMSKV/kernel-salsa
arch/sh/kernel/kgdb.c
165
7304
/* * SuperH KGDB support * * Copyright (C) 2008 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 details. *...
gpl-2.0
gamvrosi/duet
linux-3.13.6+duet/arch/mips/netlogic/xlp/usb-init-xlp2.c
165
6516
/* * Copyright (c) 2003-2013 Broadcom Corporation * 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, available from the file * COPYING in the main directory of thi...
gpl-2.0
nxnfufunezn/linux
drivers/net/wireless/ath/ath9k/wmi.c
421
9072
/* * Copyright (c) 2010-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
loxdegio/linux-zenx
drivers/ide/ide-pio-blacklist.c
421
2406
// SPDX-License-Identifier: GPL-2.0 /* * PIO blacklist. Some drives incorrectly report their maximal PIO mode, * at least in respect to CMD640. Here we keep info on some known drives. * * Changes to the ide_pio_blacklist[] should be made with EXTREME CAUTION * to avoid breaking the fragile cmd640.c support. */ ...
gpl-2.0
ayeric/android_kernel_motorola_ghost
drivers/mtd/mtdchar.c
933
28396
/* * Copyright © 1999-2010 David Woodhouse <dwmw2@infradead.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 option) any later version....
gpl-2.0
mauelsha/linux
drivers/net/usb/plusb.c
1189
5077
/* * PL-2301/2302 USB host-to-host link cables * Copyright (C) 2000-2005 by David Brownell * * 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
elbermu/cerux_kernel-touchwiz
arch/arm/mach-ks8695/irq.c
2981
4284
/* * arch/arm/mach-ks8695/irq.c * * Copyright (C) 2006 Ben Dooks <ben@simtec.co.uk> * Copyright (C) 2006 Simtec Electronics * * 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
ncarrier/carino-packages-linux
Documentation/watchdog/src/watchdog-test.c
4005
1713
/* * Watchdog Driver Test Program */ #include <stdio.h> #include <stdlib.h> #include <string.h> #include <unistd.h> #include <fcntl.h> #include <signal.h> #include <sys/ioctl.h> #include <linux/types.h> #include <linux/watchdog.h> int fd; /* * This function simply sends an IOCTL to the driver, which in turn ticks...
gpl-2.0
XperianPro/android_kernel_xiaomi_aries-port
drivers/input/input-mt.c
4261
5195
/* * Input Multitouch Library * * Copyright (c) 2008-2010 Henrik Rydberg * * 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/input/mt.h> #include <linux/expor...
gpl-2.0
zeroblade1984/htc_msm8930_kernel
drivers/mtd/nand/socrates_nand.c
5029
6542
/* * drivers/mtd/nand/socrates_nand.c * * Copyright © 2008 Ilya Yanok, Emcraft Systems * * * 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/slab.h> #inc...
gpl-2.0
oadam11/kernel_lge_g3-old
arch/arm/mach-s3c64xx/setup-ide.c
8101
1223
/* linux/arch/arm/mach-s3c64xx/setup-ide.c * * Copyright (c) 2010 Samsung Electronics Co., Ltd. * http://www.samsung.com/ * * S3C64XX setup information for IDE * * 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 * publish...
gpl-2.0
devil1437/GalaxyNexusKernel
arch/arm/mach-s3c64xx/setup-ide.c
8101
1223
/* linux/arch/arm/mach-s3c64xx/setup-ide.c * * Copyright (c) 2010 Samsung Electronics Co., Ltd. * http://www.samsung.com/ * * S3C64XX setup information for IDE * * 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 * publish...
gpl-2.0
kaber/net-next-netlink-mmap
drivers/scsi/ultrastor.c
9381
36980
/* * ultrastor.c Copyright (C) 1992 David B. Gentzel * Low-level SCSI driver for UltraStor 14F, 24F, and 34F * by David B. Gentzel, Whitfield Software Services, Carnegie, PA * (gentzel@nova.enet.dec.com) * scatter/gather added by Scott Taylor (n217cg@tamuts.tamu.edu) * 24F and multiple command support by Jo...
gpl-2.0
xiangyay/2.6.38
drivers/input/joystick/stinger.c
9893
5817
/* * Copyright (c) 2000-2001 Vojtech Pavlik * Copyright (c) 2000 Mark Fletcher */ /* * Gravis Stinger gamepad driver for Linux */ /* * This program is free warftware; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; ...
gpl-2.0
Dm47021/android_kernel_afyonlte
drivers/input/touchscreen/inexio.c
9893
4900
/* * iNexio serial touchscreen driver * * Copyright (c) 2008 Richard Lemon * Based on the mtouch driver (c) Vojtech Pavlik and Dan Streetman * */ /* * 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 Fre...
gpl-2.0
SOKP/kernel_motorola_msm8610
net/irda/irlmp_event.c
11429
26588
/********************************************************************* * * Filename: irlmp_event.c * Version: 0.8 * Description: An IrDA LMP event driver for Linux * Status: Experimental. * Author: Dag Brattli <dagb@cs.uit.no> * Created at: Mon Aug 4 20:40:53 1997 * Modified at: ...
gpl-2.0
jehoffmann/l4linux
arch/alpha/kernel/irq_i8259.c
11941
3962
/* * linux/arch/alpha/kernel/irq_i8259.c * * This is the 'legacy' 8259A Programmable Interrupt Controller, * present in the majority of PC/AT boxes. * * Started hacking from linux-2.3.30pre6/arch/i386/kernel/i8259.c. */ #include <linux/init.h> #include <linux/cache.h> #include <linux/sched.h> #include <lin...
gpl-2.0
aeroevan/linux
net/netfilter/xt_state.c
12709
2008
/* Kernel module to match connection tracking information. */ /* (C) 1999-2001 Paul `Rusty' Russell * (C) 2002-2005 Netfilter Core Team <coreteam@netfilter.org> * * 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 ...
gpl-2.0
eiselekd/gcc
gcc/testsuite/gcc.target/i386/avx2-i32gatherd-4.c
166
1096
/* { dg-do run } */ /* { dg-require-effective-target avx2 } */ /* { dg-options "-O2 -mavx2" } */ #include <string.h> #include "avx2-check.h" static void compute_i32gatherd (int *src, int *s1, int *s2, int *mask, int scale, int *r) { int i; for (i = 0; i < 4; ++i) if ((mask[i] >> 31) & 1) r[i] = *(int *...
gpl-2.0
vmayoral/ubuntu-utopic
drivers/clocksource/tcb_clksrc.c
166
10160
#include <linux/init.h> #include <linux/clocksource.h> #include <linux/clockchips.h> #include <linux/interrupt.h> #include <linux/irq.h> #include <linux/clk.h> #include <linux/err.h> #include <linux/ioport.h> #include <linux/io.h> #include <linux/platform_device.h> #include <linux/atmel_tc.h> /* * We're configured ...
gpl-2.0
iains/darwin-gcc-4-8
gcc/testsuite/gcc.dg/cpp/trad/redef2.c
166
1444
/* Test for redefining traditional macros with significant differences. */ /* { dg-do preprocess } */ #define foo bar /* { dg-message "previous def" "foo prev def" } */ #define foo barr /* { dg-warning "redefined" "foo redefined" } */ #undef foo #define foo bar /* { dg-message "previous def" "foo prev def 2...
gpl-2.0
zhjwpku/gsoc
net/netfilter/nf_synproxy_core.c
1190
10144
/* * Copyright (c) 2013 Patrick McHardy <kaber@trash.net> * * 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> #include <linux/skbuff.h> #include <asm/...
gpl-2.0
dantes1984/linux
net/sunrpc/svcauth_unix.c
1958
21596
#include <linux/types.h> #include <linux/sched.h> #include <linux/module.h> #include <linux/sunrpc/types.h> #include <linux/sunrpc/xdr.h> #include <linux/sunrpc/svcsock.h> #include <linux/sunrpc/svcauth.h> #include <linux/sunrpc/gss_api.h> #include <linux/sunrpc/addr.h> #include <linux/err.h> #include <linux/seq_file.h...
gpl-2.0
MoKee/android_kernel_samsung_sc03e
drivers/gpio/pcf857x.c
2726
10044
/* * pcf857x - driver for pcf857x, pca857x, and pca967x I2C GPIO expanders * * Copyright (C) 2007 David Brownell * * 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 ...
gpl-2.0
AndreyPopovNew/asuswrt-merlin-rt-n
release/src-rt-7.x.main/src/linux/linux-2.6.36/arch/x86/pci/mmconfig_64.c
4006
2893
/* * mmconfig.c - Low-level direct PCI config space access via MMCONFIG * * This is an 64bit optimized version that always keeps the full mmconfig * space mapped. This allows lockless config space operation. */ #include <linux/pci.h> #include <linux/init.h> #include <linux/acpi.h> #include <linux/bitmap.h> #inclu...
gpl-2.0
asturel/android_tegra3_grouper
net/sched/sch_atm.c
4262
19370
/* net/sched/sch_atm.c - ATM VC selection "queueing discipline" */ /* Written 1998-2000 by Werner Almesberger, EPFL ICA */ #include <linux/module.h> #include <linux/slab.h> #include <linux/init.h> #include <linux/interrupt.h> #include <linux/string.h> #include <linux/errno.h> #include <linux/skbuff.h> #include <linux...
gpl-2.0
ChaOSChriS/android_kernel_google_msm
arch/arm/mach-s3c24xx/simtec-nor.c
4774
1840
/* linux/arch/arm/mach-s3c2410/nor-simtec.c * * Copyright (c) 2008 Simtec Electronics * http://armlinux.simtec.co.uk/ * Ben Dooks <ben@simtec.co.uk> * * Simtec NOR mapping * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 a...
gpl-2.0
kamma-cz/Oppo-Find5-Kernel-Source
drivers/media/dvb/frontends/cxd2820r_t2.c
5030
9064
/* * Sony CXD2820R demodulator driver * * Copyright (C) 2010 Antti Palosaari <crope@iki.fi> * * 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
RenderKernels/kernel_lge_msm8974-caf
drivers/net/ethernet/qlogic/qlcnic/qlcnic_hw.c
5030
47371
/* * QLogic qlcnic NIC Driver * Copyright (c) 2009-2010 QLogic Corporation * * See LICENSE.qlcnic for copyright and licensing details. */ #include "qlcnic.h" #include <linux/slab.h> #include <net/ip.h> #include <linux/bitops.h> #define MASK(n) ((1ULL<<(n))-1) #define OCM_WIN_P3P(addr) (addr & 0xffc0000) #defi...
gpl-2.0
Negamann303/kernel-nk1-negalite-lt02ltespr
drivers/video/fb_defio.c
5030
6352
/* * linux/drivers/video/fb_defio.c * * Copyright (C) 2006 Jaya Kumar * * 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. */ #include <linux/module.h> #include <linux/kernel.h> #include <linux...
gpl-2.0
slade87/ALE21-Kernel
drivers/media/pci/ttpci/budget-ci.c
7334
45951
/* * budget-ci.c: driver for the SAA7146 based Budget DVB cards * * Compiled from various sources by Michael Hunold <michael@mihu.de> * * msp430 IR support contributed by Jack Thomasson <jkt@Helius.COM> * partially based on the Siemens DVB driver by Ralph+Marcus Metzler * * CI interface support (c) 2004...
gpl-2.0
flipz/android-2.6.27-heroc
fs/sysv/balloc.c
10150
5765
/* * linux/fs/sysv/balloc.c * * minix/bitmap.c * Copyright (C) 1991, 1992 Linus Torvalds * * ext/freelists.c * Copyright (C) 1992 Remy Card (card@masi.ibp.fr) * * xenix/alloc.c * Copyright (C) 1992 Doug Evans * * coh/alloc.c * Copyright (C) 1993 Pascal Haible, Bruno Haible * * sysv/balloc.c...
gpl-2.0
TeamEpsilon/linux-3.8
arch/alpha/kernel/irq_srm.c
11942
1352
/* * Handle interrupts from the SRM, assuming no additional weirdness. */ #include <linux/init.h> #include <linux/sched.h> #include <linux/irq.h> #include "proto.h" #include "irq_impl.h" /* * Is the palcode SMP safe? In other words: can we call cserve_ena/dis * at the same time in multiple CPUs? To be safe I ad...
gpl-2.0
MIPS/karma-linux-mti
Documentation/blackfin/gptimers-example.c
12966
1923
/* * Simple gptimers example * http://docs.blackfin.uclinux.org/doku.php?id=linux-kernel:drivers:gptimers * * Copyright 2007-2009 Analog Devices Inc. * * Licensed under the GPL-2 or later. */ #include <linux/interrupt.h> #include <linux/module.h> #include <asm/gptimers.h> #include <asm/portmux.h> /* ... rando...
gpl-2.0
parvata/liquid-chocolate-jb
drivers/rtc/rtc-ds1553.c
167
11618
/* * An rtc driver for the Dallas DS1553 * * Copyright (C) 2006 Atsushi Nemoto <anemo@mba.ocn.ne.jp> * * 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/bcd.h...
gpl-2.0
felixhaedicke/nst-kernel
src/sound/arm/pxa2xx-pcm-lib.c
167
7361
/* * 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> #include <linux/dma-mapping.h> #include <sound/core.h> #include <sound/pcm.h> #include <sound/pcm_...
gpl-2.0
FireHound-Devices/android_kernel_cyanogen_msm8916
sound/core/pcm_lib.c
423
77340
/* * Digital Audio (PCM) abstract layer * Copyright (c) by Jaroslav Kysela <perex@perex.cz> * Abramo Bagnara <abramo@alsa-project.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
Saylance/android_kernel_samsung_n7000
kernel/softirq.c
423
22979
/* * linux/kernel/softirq.c * * Copyright (C) 1992 Linus Torvalds * * Distribute under GPLv2. * * Rewritten. Old one was good in 2.2, but in 2.3 it was immoral. --ANK (990903) * * Remote softirq infrastructure is by Jens Axboe. */ #include <linux/module.h> #include <linux/kernel_stat.h> #include <linux/inter...
gpl-2.0
motoTurboZ/kernel-msm
fs/minix/file.c
679
1176
/* * linux/fs/minix/file.c * * Copyright (C) 1991, 1992 Linus Torvalds * * minix regular file handling primitives */ #include "minix.h" /* * We have mostly NULLs here: the current defaults are OK for * the minix filesystem. */ const struct file_operations minix_file_operations = { .llseek = generic_file...
gpl-2.0
ZerozCool/ProjectMangos
dep/src/g3dlite/Image1uint8.cpp
679
5105
/** @file Image1uint8.cpp @maintainer Morgan McGuire, http://graphics.cs.williams.edu @created 2007-01-31 @edited 2008-01-13 */ #include "G3D/Image1uint8.h" #include "G3D/Image3uint8.h" #include "G3D/Image1.h" #include "G3D/GImage.h" #include "G3D/Color1.h" #include "G3D/Color1uint8.h" #include "G3D/Color4....
gpl-2.0
Alphix/linuxtv
drivers/iio/accel/st_accel_spi.c
935
1780
/* * STMicroelectronics accelerometers driver * * Copyright 2012-2013 STMicroelectronics Inc. * * Denis Ciocca <denis.ciocca@st.com> * * Licensed under the GPL-2. */ #include <linux/kernel.h> #include <linux/module.h> #include <linux/slab.h> #include <linux/spi/spi.h> #include <linux/iio/iio.h> #include <linu...
gpl-2.0
sktjdgns1189/android_kernel_samsung_SHW-M130K
arch/x86/crypto/aesni-intel_glue.c
935
22816
/* * Support for Intel AES-NI instructions. This file contains glue * code, the real AES implementation is in intel-aes_asm.S. * * Copyright (C) 2008, Intel Corp. * Author: Huang Ying <ying.huang@intel.com> * * This program is free software; you can redistribute it and/or modify * it under the terms of the G...
gpl-2.0
marek-g/kobo-kernel-2.6.35.3-marek
drivers/media/video/ovcamchip/ov7x20.c
1703
10484
/* OmniVision OV7620/OV7120 Camera Chip Support Code * * Copyright (c) 1999-2004 Mark McClelland <mark@alpha.dyndns.org> * http://alpha.dyndns.org/ov511/ * * OV7620 fixes by Charl P. Botha <cpbotha@ieee.org> * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU...
gpl-2.0
slade87/ALE21-Kernel
drivers/media/dvb-frontends/cxd2820r_c.c
2471
7460
/* * Sony CXD2820R demodulator driver * * Copyright (C) 2010 Antti Palosaari <crope@iki.fi> * * 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
janimo/android_kernel_huawei_u9200
arch/powerpc/oprofile/op_model_cell.c
2983
50592
/* * Cell Broadband Engine OProfile Support * * (C) Copyright IBM Corporation 2006 * * Author: David Erb (djerb@us.ibm.com) * Modifications: * Carl Love <carll@us.ibm.com> * Maynard Johnson <maynardj@us.ibm.com> * * This program is free software; you can redistribute it and/or * modify it under the ter...
gpl-2.0
pacificIT/udoo_kernel_imx
crypto/camellia.c
4263
36800
/* * Copyright (C) 2006 * NTT (Nippon Telegraph and Telephone 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 License, or (at your option) any la...
gpl-2.0
CyanogenMod/android_kernel_oneplus_onyx
drivers/media/dvb/frontends/dvb_dummy_fe.c
5031
7065
/* * Driver for Dummy Frontend * * Written by Emard <emard@softhome.net> * * 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) an...
gpl-2.0
GuneetAtwal/android_kernel_iocean_mtk6589t
drivers/media/video/cx88/cx88-dvb.c
5031
48367
/* * * device driver for Conexant 2388x based TV cards * MPEG Transport Stream (DVB) routines * * (c) 2004, 2005 Chris Pascoe <c.pascoe@itee.uq.edu.au> * (c) 2004 Gerd Knorr <kraxel@bytesex.org> [SuSE Labs] * * This program is free software; you can redistribute it and/or modify * it under the terms of the G...
gpl-2.0
androidrbox/android_kernel_amazon_bueller
drivers/hid/hid-tmff.c
5287
7409
/* * Force feedback support for various HID compliant devices by ThrustMaster: * ThrustMaster FireStorm Dual Power 2 * and possibly others whose device ids haven't been added. * * Modified to support ThrustMaster devices by Zinx Verituse * on 2003-01-25 from the Logitech force feedback driver, * which is b...
gpl-2.0
SomethingExplosive/android_kernel_lge_mako
crypto/xts.c
7335
8865
/* XTS: as defined in IEEE1619/D16 * http://grouper.ieee.org/groups/1619/email/pdf00086.pdf * (sector sizes which are not a multiple of 16 bytes are, * however currently unsupported) * * Copyright (c) 2007 Rik Snel <rsnel@cube.dyndns.org> * * Based om ecb.c * Copyright (c) 2006 Herbert Xu <herbert@gondor.apana....
gpl-2.0
ragepekr/RageKernel
drivers/staging/comedi/drivers/ni_670x.c
8103
10074
/* comedi/drivers/ni_670x.c Hardware driver for NI 670x devices COMEDI - Linux Control and Measurement Device Interface Copyright (C) 1997-2001 David A. Schleef <ds@schleef.org> This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public Li...
gpl-2.0
tyler6389/android_kernel_samsung_baffinve
arch/arm/plat-samsung/dma.c
11175
1922
/* linux/arch/arm/plat-samsung/dma.c * * Copyright (c) 2003-2009 Simtec Electronics * Ben Dooks <ben@simtec.co.uk> * http://armlinux.simtec.co.uk/ * * S3C DMA core * * 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 * pub...
gpl-2.0
rukin5197/android_kernel_htc_msm7x30
drivers/usb/misc/sisusbvga/sisusb_con.c
11431
36803
/* * sisusb - usb kernel driver for SiS315(E) based USB2VGA dongles * * VGA text mode console part * * Copyright (C) 2005 by Thomas Winischhofer, Vienna, Austria * * If distributed as part of the Linux kernel, this code is licensed under the * terms of the GPL v2. * * Otherwise, the following license terms ap...
gpl-2.0
izzaeroth/FunkNA-KERNEL
arch/m68k/lib/memmove.c
12711
1858
/* * 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. */ #include <linux/module.h> #include <linux/string.h> void *memmove(void *dest, const void *src, size_t n) { void *xdest = dest; size_t temp...
gpl-2.0
SlimRoms/kernel_samsung_mondrianwifi
arch/powerpc/math-emu/fmsub.c
13735
1123
#include <linux/types.h> #include <linux/errno.h> #include <asm/uaccess.h> #include <asm/sfp-machine.h> #include <math-emu/soft-fp.h> #include <math-emu/double.h> int fmsub(void *frD, void *frA, void *frB, void *frC) { FP_DECL_D(R); FP_DECL_D(A); FP_DECL_D(B); FP_DECL_D(C); FP_DECL_D(T); FP_DECL_EX; #ifdef DEB...
gpl-2.0
android-armv7a-belalang-tempur/android_kernel_samsung_royss
net/mac80211/michael.c
15015
2237
/* * Michael MIC implementation - optimized for TKIP MIC operations * Copyright 2002-2003, Instant802 Networks, 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. */ #includ...
gpl-2.0