repo_name
string
path
string
copies
string
size
string
content
string
license
string
kyupltd/linux
arch/sparc/prom/tree_32.c
12136
7216
/* * tree.c: Basic device tree traversal/scanning for the Linux * prom library. * * Copyright (C) 1995 David S. Miller (davem@caip.rutgers.edu) */ #include <linux/string.h> #include <linux/types.h> #include <linux/kernel.h> #include <linux/sched.h> #include <linux/ctype.h> #include <linux/module.h> #incl...
gpl-2.0
winxuser/android_kernel_samsung_i9305
arch/arm/mach-exynos/asv-4x12.c
105
8831
/* linux/arch/arm/mach-exynos/asv-4x12.c * * Copyright (c) 2011 Samsung Electronics Co., Ltd. * http://www.samsung.com/ * * EXYNOS4X12 - ASV(Adaptive Supply Voltage) driver * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 ...
gpl-2.0
bugralevent/linux
sound/pci/hda/patch_si3054.c
617
9753
/* * Universal Interface for Intel High Definition Audio Codec * * HD audio interface patch for Silicon Labs 3054/5 modem codec * * Copyright (c) 2005 Sasha Khapyorsky <sashak@alsa-project.org> * Takashi Iwai <tiwai@suse.de> * * * This driver is free software; you can redistribute it and/or...
gpl-2.0
gianmarcorev/rpi_linux
arch/x86/kernel/kgdb.c
617
21349
/* * 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, or (at your option) any * later version. * * This program is distributed in the hope that it will be useful, but * WIT...
gpl-2.0
omonar/linux
drivers/net/ethernet/octeon/octeon_mgmt.c
617
42429
/* * This file is subject to the terms and conditions of the GNU General Public * License. See the file "COPYING" in the main directory of this archive * for more details. * * Copyright (C) 2009-2012 Cavium, Inc */ #include <linux/platform_device.h> #include <linux/dma-mapping.h> #include <linux/etherdevice.h> ...
gpl-2.0
mgenereu/linux
drivers/net/wireless/iwlwifi/iwl-1000.c
873
4689
/****************************************************************************** * * Copyright(c) 2008 - 2014 Intel Corporation. All rights reserved. * * 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 Fr...
gpl-2.0
TimWSpence/linux
drivers/gpio/gpio-wm831x.c
1385
7522
/* * gpiolib support for Wolfson WM831x PMICs * * Copyright 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 as published by the *...
gpl-2.0
kongzizaixian/linux
drivers/usb/c67x00/c67x00-ll-hpi.c
2153
12492
/* * c67x00-ll-hpi.c: Cypress C67X00 USB Low level interface using HPI * * Copyright (C) 2006-2008 Barco N.V. * Derived from the Cypress cy7c67200/300 ezusb linux driver and * based on multiple host controller drivers inside the linux kernel. * * This program is free software; you can redistribute it and/o...
gpl-2.0
TeamRegular/android_kernel_alcatel_msm8916
fs/reiserfs/journal.c
2153
124107
/* ** Write ahead logging implementation copyright Chris Mason 2000 ** ** The background commits make this code very interrelated, and ** overly complex. I need to rethink things a bit....The major players: ** ** journal_begin -- call with the number of blocks you expect to log. ** If the current tran...
gpl-2.0
alexax66/kernel_samsung_a3xelte
drivers/input/keyboard/adp5589-keys.c
2409
30335
/* * Description: keypad driver for ADP5589, ADP5585 * I2C QWERTY Keypad and IO Expander * Bugs: Enter bugs at http://blackfin.uclinux.org/ * * Copyright (C) 2010-2011 Analog Devices Inc. * Licensed under the GPL-2. */ #include <linux/module.h> #include <linux/init.h> #include <linux/interrupt.h> #include <l...
gpl-2.0
xixi012023/sultan-kernel-vivid-homeslice-ION
arch/arm/mach-gemini/board-wbd222.c
2665
2857
/* * Support for Wiliboard WBD-222 * * Copyright (C) 2009 Imre Kaloz <kaloz@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 the License, or * (at you...
gpl-2.0
omnirom/android_kernel_asus_tegra3
drivers/net/ax88796.c
2921
24433
/* drivers/net/ax88796.c * * Copyright 2005,2007 Simtec Electronics * Ben Dooks <ben@simtec.co.uk> * * Asix AX88796 10/100 Ethernet controller support * Based on ne.c, by Donald Becker, et-al. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Publi...
gpl-2.0
TeamWin/android_kernel_lge_msm8974
arch/powerpc/platforms/pseries/pci_dlpar.c
4457
5825
/* * PCI Dynamic LPAR, PCI Hot Plug and PCI EEH recovery code * for RPA-compliant PPC64 platform. * Copyright (C) 2003 Linda Xie <lxie@us.ibm.com> * Copyright (C) 2005 International Business Machines * * Updates, 2005, John Rose <johnrose@austin.ibm.com> * Updates, 2005, Linas Vepstas <linas@austin.ibm.com> * ...
gpl-2.0
jejecule/kernel_despair_find7
arch/blackfin/kernel/dma-mapping.c
4713
3397
/* * Dynamic DMA mapping support * * Copyright 2005-2009 Analog Devices Inc. * * Licensed under the GPL-2 or later */ #include <linux/types.h> #include <linux/gfp.h> #include <linux/string.h> #include <linux/spinlock.h> #include <linux/dma-mapping.h> #include <linux/scatterlist.h> #include <linux/export.h> stat...
gpl-2.0
bashrc/linux-sunxi
drivers/scsi/aacraid/rkt.c
8041
3111
/* * Adaptec AAC series RAID controller driver * (c) Copyright 2001 Red Hat Inc. * * based on the old aacraid driver that is.. * Adaptec aacraid device driver for Linux. * * Copyright (c) 2000-2010 Adaptec, Inc. * 2010 PMC-Sierra, Inc. (aacraid@pmc-sierra.com) * * This program is free software; ...
gpl-2.0
jpihet/linux-omap
drivers/ps3/sys-manager-core.c
8553
2032
/* * PS3 System Manager core. * * Copyright (C) 2007 Sony Computer Entertainment Inc. * Copyright 2007 Sony 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
Ken-Liu/OpenScrKernel_For_XC210
arch/x86/kernel/init_task.c
8809
1278
#include <linux/mm.h> #include <linux/module.h> #include <linux/sched.h> #include <linux/init.h> #include <linux/init_task.h> #include <linux/fs.h> #include <linux/mqueue.h> #include <asm/uaccess.h> #include <asm/pgtable.h> #include <asm/desc.h> static struct signal_struct init_signals = INIT_SIGNALS(init_signals); s...
gpl-2.0
lujji/JXD-7800b-JB-kernel
drivers/video/aty/mach64_accel.c
9321
11876
/* * ATI Mach64 Hardware Acceleration */ #include <linux/delay.h> #include <linux/fb.h> #include <video/mach64.h> #include "atyfb.h" /* * Generic Mach64 routines */ /* this is for DMA GUI engine! work in progress */ typedef struct { u32 frame_buf_offset; u32 system_mem_addr; u32 command; u32 r...
gpl-2.0
baselsayeh/Kyleopen-4.4
net/ceph/buffer.c
10857
1396
#include <linux/ceph/ceph_debug.h> #include <linux/module.h> #include <linux/slab.h> #include <linux/ceph/buffer.h> #include <linux/ceph/decode.h> struct ceph_buffer *ceph_buffer_new(size_t len, gfp_t gfp) { struct ceph_buffer *b; b = kmalloc(sizeof(*b), gfp); if (!b) return NULL; b->vec.iov_base = kmalloc(...
gpl-2.0
CyanogenMod/lge-kernel-sniper
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
MSM8226-Samsung/kernel_samsung_msm8226
fs/jfs/jfs_uniupr.c
14953
7707
/* * Copyright (C) International Business Machines Corp., 2000-2002 * * 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
viaembedded/vab820-kernel-bsp-old
arch/mips/ralink/cevt-rt3352.c
1386
3701
/* * This file is subject to the terms and conditions of the GNU General Public * License. See the file "COPYING" in the main directory of this archive * for more details. * * Copyright (C) 2013 by John Crispin <blogic@openwrt.org> */ #include <linux/clockchips.h> #include <linux/clocksource.h> #include <linux/...
gpl-2.0
zarboz/android_kernel_flounder
arch/alpha/kernel/traps.c
1898
27624
/* * arch/alpha/kernel/traps.c * * (C) Copyright 1994 Linus Torvalds */ /* * This file initializes the trap entry points */ #include <linux/jiffies.h> #include <linux/mm.h> #include <linux/sched.h> #include <linux/tty.h> #include <linux/delay.h> #include <linux/module.h> #include <linux/init.h> #include <linux/...
gpl-2.0
Jazz-823/kernel_sony_togari-216-
drivers/coresight/coresight-funnel.c
2154
6598
/* 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
locke12456/linux
fs/jfs/resize.c
2154
15073
/* * Copyright (C) International Business Machines Corp., 2000-2004 * * 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
ZhizhouTian/kernel-stable
fs/jfs/resize.c
2154
15073
/* * Copyright (C) International Business Machines Corp., 2000-2004 * * 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
Zero015/UniKernel
drivers/misc/cb710/core.c
2410
8482
/* * cb710/core.c * * Copyright by Michał Mirosław, 2008-2009 * * 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/kernel.h> #include <linux/module.h> #includ...
gpl-2.0
razaina/android-kernel-samsung-smdk4412
drivers/staging/tidspbridge/core/wdt.c
3434
3165
/* * wdt.c * * DSP-BIOS Bridge driver support functions for TI OMAP processors. * * IO dispatcher for a shared memory channel driver. * * Copyright (C) 2010 Texas Instruments, Inc. * * This package is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License v...
gpl-2.0
cm-3470/android_kernel_samsung_degaslte
arch/arm/mach-exynos/mach-exynos4-dt.c
4714
3116
/* * Samsung's Exynos4210 flattened device tree enabled machine * * Copyright (c) 2010-2011 Samsung Electronics Co., Ltd. * http://www.samsung.com * Copyright (c) 2010-2011 Linaro Ltd. * www.linaro.org * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU Ge...
gpl-2.0
SinxOner/android_kernel_lge_p710
arch/um/os-Linux/util.c
4970
3308
/* * Copyright (C) 2000 - 2007 Jeff Dike (jdike@{addtoit,linux.intel}.com) * Licensed under the GPL */ #include <stdio.h> #include <stdlib.h> #include <unistd.h> #include <errno.h> #include <signal.h> #include <string.h> #include <termios.h> #include <wait.h> #include <sys/mman.h> #include <sys/utsname.h> #include ...
gpl-2.0
viaembedded/vab820-kernel-bsp
arch/um/drivers/pty.c
4970
3182
/* * Copyright (C) 2001 - 2007 Jeff Dike (jdike@{addtoit,linux.intel}.com) * Licensed under the GPL */ #include <stdio.h> #include <stdlib.h> #include <unistd.h> #include <errno.h> #include <fcntl.h> #include <string.h> #include <termios.h> #include <sys/stat.h> #include "chan_user.h" #include "os.h" #include "um_m...
gpl-2.0
HighwindONE/Kernel_GoldStar
arch/powerpc/sysdev/axonram.c
5994
9433
/* * (C) Copyright IBM Deutschland Entwicklung GmbH 2006 * * Author: Maxim Shchetynin <maxim@de.ibm.com> * * Axon DDR2 device driver. * It registers one block device per Axon's DDR2 memory bank found on a system. * Block devices are called axonram?, their major and minor numbers are * available in /proc/devices...
gpl-2.0
victor2002/a770k_kernel
drivers/video/msm/mddi_client_dummy.c
6506
2513
/* drivers/video/msm_fb/mddi_client_dummy.c * * Support for "dummy" mddi client devices which require no * special initialization code. * * Copyright (C) 2007 Google Incorporated * * This software is licensed under the terms of the GNU General Public * License version 2, as published by the Free Software Founda...
gpl-2.0
TeamHackDroid/android_kernel_samsung_galaxys2plus-common
arch/arm/mach-davinci/usb.c
8042
4106
/* * USB */ #include <linux/init.h> #include <linux/platform_device.h> #include <linux/dma-mapping.h> #include <linux/usb/musb.h> #include <mach/common.h> #include <mach/irqs.h> #include <mach/cputype.h> #include <mach/usb.h> #define DAVINCI_USB_OTG_BASE 0x01c64000 #define DA8XX_USB0_BASE 0x01e00000 #define DA8X...
gpl-2.0
davidmueller13/bricked-hammerhead
drivers/char/agp/backend.c
8298
9086
/* * AGPGART driver backend routines. * Copyright (C) 2004 Silicon Graphics, Inc. * Copyright (C) 2002-2003 Dave Jones. * Copyright (C) 1999 Jeff Hartmann. * Copyright (C) 1999 Precision Insight, Inc. * Copyright (C) 1999 Xi Graphics, Inc. * * Permission is hereby granted, free of charge, to any person obtainin...
gpl-2.0
c8813q-dev/android_kernel_huawei_c8813q
drivers/gpu/drm/radeon/atombios_i2c.c
1131
4061
/* * Copyright 2011 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
vk2rq/linux-stable
drivers/char/ip2/i2lib.c
1643
66114
/******************************************************************************* * * (c) 1999 by Computone Corporation * ******************************************************************************** * * * PACKAGE: Linux tty Device Driver for IntelliPort family of multiport * serial I/O control...
gpl-2.0
premaca/android_kernel_cyanogen_msm8916
net/sunrpc/clnt.c
1643
56242
/* * 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
sandymanu/android_kernel_xiaomi_kenzo
fs/hfsplus/xattr.c
2155
18494
/* * linux/fs/hfsplus/xattr.c * * Vyacheslav Dubeyko <slava@dubeyko.com> * * Logic of processing extended attributes */ #include "hfsplus_fs.h" #include "xattr.h" const struct xattr_handler *hfsplus_xattr_handlers[] = { &hfsplus_xattr_osx_handler, &hfsplus_xattr_user_handler, &hfsplus_xattr_trusted_handler, ...
gpl-2.0
ptmr3/i717-7005_ICS_Kernel
drivers/gpu/drm/i915/dvo_tfp410.c
2667
7947
/* * Copyright © 2007 Dave Mueller * * 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,...
gpl-2.0
prasad-joshi/logfs
drivers/of/device.c
3179
4212
#include <linux/string.h> #include <linux/kernel.h> #include <linux/of.h> #include <linux/of_device.h> #include <linux/init.h> #include <linux/module.h> #include <linux/mod_devicetable.h> #include <linux/slab.h> #include <asm/errno.h> /** * of_match_device - Tell if a struct device matches an of_device_id list * @i...
gpl-2.0
cuteprince/jb_kernel_3.0.16_htc_golfu
drivers/s390/net/ctcm_sysfs.c
3179
5395
/* * drivers/s390/net/ctcm_sysfs.c * * Copyright IBM Corp. 2007, 2007 * Authors: Peter Tiedemann (ptiedem@de.ibm.com) * */ #undef DEBUG #undef DEBUGDATA #undef DEBUGCCW #define KMSG_COMPONENT "ctcm" #define pr_fmt(fmt) KMSG_COMPONENT ": " fmt #include <linux/sysfs.h> #include <linux/slab.h> #include "ctcm_main...
gpl-2.0
ihadzic/linux-vcrtcm
drivers/video/matrox/matroxfb_crtc2.c
4203
20397
/* * * Hardware accelerated Matrox Millennium I, II, Mystique, G100, G200, G400 and G450. * * (c) 1998-2002 Petr Vandrovec <vandrove@vc.cvut.cz> * * Portions Copyright (c) 2001 Matrox Graphics Inc. * * Version: 1.65 2002/08/14 * */ #include "matroxfb_maven.h" #include "matroxfb_crtc2.h" #include "matroxfb_mi...
gpl-2.0
spezi77/kernel_msm
arch/arm/mach-imx/mm-imx5.c
4715
7485
/* * Copyright 2008-2010 Freescale Semiconductor, Inc. All Rights Reserved. * * The code contained herein is licensed under the GNU General Public * License. You may obtain a copy of the GNU General Public License * Version 2 or later at the following locations: * * http://www.opensource.org/licenses/gpl-licens...
gpl-2.0
alexax66/CM12.1_kernel_serranodsxx
net/ipv4/xfrm4_tunnel.c
7275
2765
/* xfrm4_tunnel.c: Generic IP tunnel transformer. * * Copyright (C) 2003 David S. Miller (davem@redhat.com) */ #define pr_fmt(fmt) "IPsec: " fmt #include <linux/skbuff.h> #include <linux/module.h> #include <linux/mutex.h> #include <net/xfrm.h> #include <net/ip.h> #include <net/protocol.h> static int ipip_output(s...
gpl-2.0
mgherzan/linux-arm
drivers/media/video/saa7164/saa7164-api.c
8043
44788
/* * Driver for the NXP SAA7164 PCIe bridge * * Copyright (c) 2010 Steven Toth <stoth@kernellabs.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 Licens...
gpl-2.0
DirtyJerz/omap
drivers/block/aoe/aoedev.c
8299
5423
/* Copyright (c) 2007 Coraid, Inc. See COPYING for GPL terms. */ /* * aoedev.c * AoE device utility functions; maintains device list. */ #include <linux/hdreg.h> #include <linux/blkdev.h> #include <linux/netdevice.h> #include <linux/delay.h> #include <linux/slab.h> #include "aoe.h" static void dummy_timer(ulong);...
gpl-2.0
Ander-Alvarez/ultracm13
samples/tracepoints/tracepoint-probe-sample.c
9323
1346
/* * tracepoint-probe-sample.c * * sample tracepoint probes. */ #include <linux/module.h> #include <linux/file.h> #include <linux/dcache.h> #include "tp-samples-trace.h" /* * Here the caller only guarantees locking for struct file and struct inode. * Locking must therefore be done in the probe to use the dentry...
gpl-2.0
060411121/zcl_linux
drivers/video/fbdev/g364fb.c
10091
6919
/* $Id: g364fb.c,v 1.3 1998/08/28 22:43:00 tsbogend Exp $ * * linux/drivers/video/g364fb.c -- Mips Magnum frame buffer device * * (C) 1998 Thomas Bogendoerfer * * This driver is based on tgafb.c * * Copyright (C) 1997 Geert Uytterhoeven * Copyright (C) 1995 Jay Estabrook * * This file is subject to the t...
gpl-2.0
mehrvarz/msm-kitkat-tm-usbhost-charge
arch/tile/lib/memmove.c
12395
1452
/* * Copyright 2010 Tilera 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 * as published by the Free Software Foundation, version 2. * * This program is distributed in the hope that it will ...
gpl-2.0
garwynn/SMN900P_MI5_Kernel
drivers/net/fddi/skfp/hwmtm.c
12651
56623
/****************************************************************************** * * (C)Copyright 1998,1999 SysKonnect, * a business unit of Schneider & Koch & Co. Datensysteme GmbH. * * See the file "skfddi.c" for further information. * * This program is free software; you can redistribute it and/or modify * it...
gpl-2.0
vanlamtung/linux-2.6-imx
drivers/acpi/acpica/uttrack.c
364
20630
/****************************************************************************** * * Module Name: uttrack - Memory allocation tracking routines (debug only) * *****************************************************************************/ /* * Copyright (C) 2000 - 2015, Intel Corp. * All rights reserved. * * Red...
gpl-2.0
BoyGau/linux
fs/xfs/xfs_attr_inactive.c
620
11963
/* * Copyright (c) 2000-2005 Silicon Graphics, Inc. * Copyright (c) 2013 Red Hat, Inc. * All Rights Reserved. * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as * published by the Free Software Foundation. * * This program is distr...
gpl-2.0
AOSPA-L/android_kernel_oneplus_msm8974
arch/mips/mm/c-r4k.c
620
38690
/* * This file is subject to the terms and conditions of the GNU General Public * License. See the file "COPYING" in the main directory of this archive * for more details. * * Copyright (C) 1996 David S. Miller (davem@davemloft.net) * Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002 Ralf Baechle (ralf@gnu.org) ...
gpl-2.0
JoeyJiao/kernel-2.6.32-V858
drivers/media/video/cx18/cx18-gpio.c
620
9268
/* * cx18 gpio functions * * Derived from ivtv-gpio.c * * Copyright (C) 2007 Hans Verkuil <hverkuil@xs4all.nl> * Copyright (C) 2008 Andy Walls <awalls@radix.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 ...
gpl-2.0
rcoscali/nethunter-kernel-samsung-tuna
net/can/bcm.c
876
40027
/* * bcm.c - Broadcast Manager to filter/send (cyclic) CAN content * * Copyright (c) 2002-2007 Volkswagen Group Electronic Research * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. ...
gpl-2.0
jiangjiali66/linux-xlnx
drivers/gpu/drm/msm/hdmi/hdmi_audio.c
1132
8691
/* * Copyright (C) 2013 Red Hat * Author: Rob Clark <robdclark@gmail.com> * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 as published by * the Free Software Foundation. * * This program is distributed in the hope that it ...
gpl-2.0
FrozenCow/FIRE-ICE
drivers/usb/core/hcd-pci.c
1388
17635
/* * (C) Copyright David Brownell 2000-2002 * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by the * Free Software Foundation; either version 2 of the License, or (at your * option) any later version. * * This program i...
gpl-2.0
dbones/linux
drivers/mfd/ssbi.c
1388
8090
/* Copyright (c) 2009-2013, The Linux Foundation. All rights reserved. * Copyright (c) 2010, Google Inc. * * Original authors: Code Aurora Forum * * Author: Dima Zavin <dima@android.com> * - Largely rewritten from original to not be an i2c driver. * * This program is free software; you can redistribute it and/...
gpl-2.0
ea4862/boeffla41
arch/arm/mach-msm/gpio-v2.c
1644
12453
/* Copyright (c) 2010, 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
lzh6710/ubuntu-trusty
arch/arm/mach-footbridge/dc21285.c
1900
9033
/* * linux/arch/arm/kernel/dec21285.c: PCI functions for DC21285 * * Copyright (C) 1998-2001 Russell King * Copyright (C) 1998-2000 Phil Blundell * * 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
idl3r/P8000-Kernel
arch/powerpc/kernel/legacy_serial.c
2156
17729
#include <linux/kernel.h> #include <linux/serial.h> #include <linux/serial_8250.h> #include <linux/serial_core.h> #include <linux/console.h> #include <linux/pci.h> #include <linux/of_address.h> #include <linux/of_device.h> #include <linux/serial_reg.h> #include <asm/io.h> #include <asm/mmu.h> #include <asm/prom.h> #inc...
gpl-2.0
wjb/mx-common
drivers/misc/lis3lv02d/lis3lv02d_i2c.c
2924
7322
/* * drivers/hwmon/lis3lv02d_i2c.c * * Implements I2C interface for lis3lv02d (STMicroelectronics) accelerometer. * Driver is based on corresponding SPI driver written by Daniel Mack * (lis3lv02d_spi.c (C) 2009 Daniel Mack <daniel@caiaq.de> ). * * Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies)....
gpl-2.0
bourne015/kernel-3.0-s5pv210
drivers/staging/rtl8192e/r8180_93cx6.c
2924
3420
/* This files contains card eeprom (93c46 or 93c56) programming routines, memory is addressed by 16 bits words. This is part of rtl8180 OpenSource driver. Copyright (C) Andrea Merello 2004 <andreamrl@tiscali.it> Released under the terms of GPL (General Public Licence) Parts of this driver are based...
gpl-2.0
dark-falcon/android_kernel_motorola_msm8916
net/sunrpc/bc_svc.c
3692
2030
/****************************************************************************** (c) 2007 Network Appliance, Inc. All Rights Reserved. (c) 2009 NetApp. All Rights Reserved. NetApp provides this source code under the GPL v2 License. The GPL v2 license is available at http://opensource.org/licenses/gpl-license.php. T...
gpl-2.0
trlsmax/rk3188_kernel_tinyastro
drivers/usb/gadget/config.c
3948
5783
/* * usb/gadget/config.c -- simplify building config descriptors * * Copyright (C) 2003 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, o...
gpl-2.0
DrGrip/tiamat-2.6.38-LEO-Dr_Grip
drivers/mfd/ucb1x00-core.c
4204
19086
/* * linux/drivers/mfd/ucb1x00-core.c * * Copyright (C) 2001 Russell King, All Rights Reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License. * * ...
gpl-2.0
MichaelQQ/Linux_PE
arch/x86/realmode/rm/wakemain.c
4716
1541
#include "wakeup.h" #include "boot.h" static void udelay(int loops) { while (loops--) io_delay(); /* Approximately 1 us */ } static void beep(unsigned int hz) { u8 enable; if (!hz) { enable = 0x00; /* Turn off speaker */ } else { u16 div = 1193181/hz; outb(0xb6, 0x43); /* Ctr 2, squarewave, load, binar...
gpl-2.0
wulsic/Hyper_CM11
arch/m68k/mm/cache.c
4716
2915
/* * linux/arch/m68k/mm/cache.c * * Instruction cache handling * * Copyright (C) 1995 Hamish Macdonald */ #include <linux/module.h> #include <asm/pgalloc.h> #include <asm/traps.h> static unsigned long virt_to_phys_slow(unsigned long vaddr) { if (CPU_IS_060) { unsigned long paddr; /* The PLPAR instruc...
gpl-2.0
Grace5921/untouched
drivers/gpio/gpio-mpc5200.c
5228
9826
/* * MPC52xx gpio driver * * Copyright (c) 2008 Sascha Hauer <s.hauer@pengutronix.de>, Pengutronix * * 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 distri...
gpl-2.0
ochiman/e405-kernel
drivers/staging/rtl8192e/r819xE_phy.c
109
91655
#include "r8192E.h" #include "r8192E_hw.h" #include "r819xE_phyreg.h" #include "r8190_rtl8256.h" #include "r819xE_phy.h" #include "r8192E_dm.h" #ifdef ENABLE_DOT11D #include "ieee80211/dot11d.h" #endif static const u32 RF_CHANNEL_TABLE_ZEBRA[] = { 0, 0x085c, //2412 1 0x08dc, //2417 2 0x095c, //2422 3 0x09dc, //242...
gpl-2.0
y503869692/git
rerere.c
109
17925
#include "cache.h" #include "lockfile.h" #include "string-list.h" #include "rerere.h" #include "xdiff-interface.h" #include "dir.h" #include "resolve-undo.h" #include "ll-merge.h" #include "attr.h" #include "pathspec.h" #define RESOLVED 0 #define PUNTED 1 #define THREE_STAGED 2 void *RERERE_RESOLVED = &RERERE_RESOLVED...
gpl-2.0
ch33kybutt/D3v1l-kernel
fs/logfs/dir.c
109
21625
/* * 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
chijure/android_kernel_huawei_y210
drivers/staging/tm6000/tm6000-video.c
109
37926
/* * tm6000-video.c - driver for TM5600/TM6000/TM6010 USB video capture devices * * Copyright (C) 2006-2007 Mauro Carvalho Chehab <mchehab@infradead.org> * * Copyright (C) 2007 Michel Ludwig <michel.ludwig@gmail.com> * - Fixed module load/unload * * This program is free software; you can redistribute it an...
gpl-2.0
cretin45/htc-kernel-pyramid
drivers/video/msm_8x60/mdp4_overlay_dsi_video.c
109
13191
/* Copyright (c) 2010, 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
larks/linux-rcu
drivers/media/dvb/dvb-usb/usb-urb.c
109
7062
/* usb-urb.c is part of the DVB USB library. * * Copyright (C) 2004-6 Patrick Boettcher (patrick.boettcher@desy.de) * see dvb-usb-init.c for copyright information. * * This file keeps functions for initializing and handling the * BULK and ISOC USB data transfers in a generic way. * Can be used for DVB-only and a...
gpl-2.0
taozhijiang/linux
sound/soc/au1x/psc-i2s.c
621
11115
/* * Au12x0/Au1550 PSC ALSA ASoC audio support. * * (c) 2007-2008 MSC Vertriebsges.m.b.H., * Manuel Lauss <manuel.lauss@gmail.com> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundat...
gpl-2.0
cile381/s7_flat_kernel
arch/arm/mach-keystone/platsmp.c
877
1477
/* * Keystone SOC SMP platform code * * Copyright 2013 Texas Instruments, Inc. * Cyril Chemparathy <cyril@ti.com> * Santosh Shilimkar <santosh.shillimkar@ti.com> * * Based on platsmp.c, Copyright (C) 2002 ARM Ltd. * * This program is free software; you can redistribute it and/or modify it * under the terms an...
gpl-2.0
psyke83/codeaurora-kernel_samsung_europa
drivers/gpu/drm/drm_sman.c
1645
8782
/************************************************************************** * * Copyright 2006 Tungsten Graphics, Inc., Bismarck., ND., USA. * All Rights Reserved. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the * "Softwa...
gpl-2.0
cuzz1369/android_kernel_lge_g3
arch/arm/mach-msm/msm_bus/msm_bus_id.c
1901
2559
/* Copyright (c) 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 hope...
gpl-2.0
Split-Screen/android_kernel_lge_g3
arch/arm/mach-msm/msm_bus/msm_bus_id.c
1901
2559
/* Copyright (c) 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 hope...
gpl-2.0
Canonical-kernel/Ubuntu-kernel
drivers/gpu/drm/radeon/cik_blit_shaders.c
2925
5796
/* * Copyright 2012 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
carvsdriver/android_kernel_samsung_n5110-common
drivers/staging/rtl8192e/ieee80211/ieee80211_softmac_wx.c
2925
13458
/* IEEE 802.11 SoftMAC layer * Copyright (c) 2005 Andrea Merello <andreamrl@tiscali.it> * * Mostly extracted from the rtl8180-sa2400 driver for the * in-kernel generic ieee802.11 stack. * * Some pieces of code might be stolen from ipw2100 driver * copyright of who own it's copyright ;-) * * PS wx handler mostl...
gpl-2.0
C3C0/zte_skate_35
arch/s390/kvm/diag.c
3437
1743
/* * diag.c - handling diagnose 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...
gpl-2.0
ashishtanwer/mptcp_android-4.2.2_Nexus4
arch/arm/mach-mmp/ttc_dkb.c
4717
3824
/* * linux/arch/arm/mach-mmp/ttc_dkb.c * * Support for the Marvell PXA910-based TTC_DKB Development Platform. * * 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 * publishhed by the Free Software Foundation. */ #inclu...
gpl-2.0
Stuxnet-Kernel/kernel_mako
drivers/net/wireless/ath/ath9k/eeprom_4k.c
4973
33600
/* * 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
CyanogenMod/android_kernel_huawei_msm8928
lib/mpi/mpi-cmp.c
4973
1647
/* mpi-cmp.c - MPI functions * Copyright (C) 1998, 1999 Free Software Foundation, Inc. * * This file is part of GnuPG. * * GnuPG 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
DmitryADP/diff_qc750
kernel/arch/mips/dec/wbflush.c
4973
2109
/* * Setup the right wbflush routine for the different DECstations. * * Created with information from: * DECstation 3100 Desktop Workstation Functional Specification * DECstation 5000/200 KN02 System Module Functional Specification * mipsel-linux-objdump --disassemble vmunix | grep "wbflush" :-) *...
gpl-2.0
netarchy/nexus-s
drivers/staging/vt6656/usbpipe.c
5997
20616
/* * Copyright (c) 1996, 2003 VIA Networking Technologies, Inc. * All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your opt...
gpl-2.0
AnguisCaptor/PwnKernel_Hammerhead
arch/sh/lib64/dbg.c
9069
7231
/*-------------------------------------------------------------------------- -- -- Identity : Linux50 Debug Funcions -- -- File : arch/sh/lib64/dbg.c -- -- Copyright 2000, 2001 STMicroelectronics Limited. -- Copyright 2004 Richard Curnow (evt_debug etc) -- -----------------------------------------------------------...
gpl-2.0
CheckYourScreen/Arsenic.Kernel_onyx-oos
drivers/video/console/fbcon_ud.c
9837
11960
/* * linux/drivers/video/console/fbcon_ud.c -- Software Rotation - 180 degrees * * Copyright (C) 2005 Antonino Daplas <adaplas @pol.net> * * 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
mkasick/android_kernel_samsung_jfltespr
lib/crc8.c
10349
2461
/* * Copyright (c) 2011 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
1DeMaCr/android_kernel_samsung_codina
drivers/leds/leds-lm3530.c
110
13007
/* * Copyright (C) 2011 ST-Ericsson SA. * Copyright (C) 2009 Motorola, Inc. * * License Terms: GNU General Public License v2 * * Simple driver for National Semiconductor LM3530 Backlight driver chip * * Author: Shreshtha Kumar SAHU <shreshthakumar.sahu@stericsson.com> * based on leds-lm3530.c by Dan Murphy <D....
gpl-2.0
bhree/android_kernel_jena_msm7x27a
drivers/infiniband/hw/ipath/ipath_file_ops.c
110
73449
/* * Copyright (c) 2006, 2007, 2008 QLogic Corporation. All rights reserved. * Copyright (c) 2003, 2004, 2005, 2006 PathScale, Inc. 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-2.0
InnerFire/thunderzap_sprout
kernel/trace/ring_buffer.c
110
132011
/* * Generic ring buffer * * Copyright (C) 2008 Steven Rostedt <srostedt@redhat.com> */ #include <linux/ftrace_event.h> #include <linux/ring_buffer.h> #include <linux/trace_clock.h> #include <linux/trace_seq.h> #include <linux/spinlock.h> #include <linux/irq_work.h> #include <linux/debugfs.h> #include <linux/uacces...
gpl-2.0
dpuyosa/android_kernel_wiko_l5460
arch/arm/kernel/time.c
622
2896
/* * linux/arch/arm/kernel/time.c * * Copyright (C) 1991, 1992, 1995 Linus Torvalds * Modifications for ARM (C) 1994-2001 Russell King * * 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...
gpl-2.0
cfriedt/bluetooth-next
drivers/pinctrl/mvebu/pinctrl-armada-370.c
622
14166
/* * Marvell Armada 370 pinctrl driver based on mvebu pinctrl core * * Copyright (C) 2012 Marvell * * Thomas Petazzoni <thomas.petazzoni@free-electrons.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...
gpl-2.0
GalaxyTab4/android_kernel_samsung_degas
arch/arm/mach-shmobile/setup-sh73a0.c
1390
25055
/* * sh73a0 processor support * * Copyright (C) 2010 Takashi Yoshii * Copyright (C) 2010 Magnus Damm * Copyright (C) 2008 Yoshihiro Shimoda * * 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 Foun...
gpl-2.0
KylinMod/android_kernel_motorola_msm8960-common
drivers/mmc/host/sdhci-esdhc-imx.c
1390
9366
/* * Freescale eSDHC i.MX controller driver for the platform bus. * * derived from the OF-version. * * Copyright (c) 2010 Pengutronix e.K. * Author: Wolfram Sang <w.sang@pengutronix.de> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public Lic...
gpl-2.0
mydongistiny/kernel_huawei_angler-ak
fs/lockd/svclock.c
1646
26489
/* * linux/fs/lockd/svclock.c * * Handling of server-side locks, mostly of the blocked variety. * This is the ugliest part of lockd because we tread on very thin ice. * GRANT and CANCEL calls may get stuck, meet in mid-flight, etc. * IMNSHO introducing the grant callback into the NLM protocol was one * of the wo...
gpl-2.0