repo_name string | path string | copies string | size string | content string | license string |
|---|---|---|---|---|---|
gdetal/kernel_omap | fs/proc/generic.c | 2338 | 19994 | /*
* proc/fs/generic.c --- generic routines for the proc-fs
*
* This file contains generic proc-fs routines for handling
* directories and files.
*
* Copyright (C) 1991, 1992 Linus Torvalds.
* Copyright (C) 1997 Theodore Ts'o
*/
#include <linux/errno.h>
#include <linux/time.h>
#include <linux/proc_fs.h>
#incl... | gpl-2.0 |
onejay09/runnymede-kitkat_3.0.101-wip | tools/perf/builtin-inject.c | 3106 | 5702 | /*
* builtin-inject.c
*
* Builtin inject command: Examine the live mode (stdin) event stream
* and repipe it to stdout while optionally injecting additional
* events into it.
*/
#include "builtin.h"
#include "perf.h"
#include "util/session.h"
#include "util/debug.h"
#include "util/parse-options.h"
static char ... | gpl-2.0 |
namko/UTV210-Kernel-2.6.35.7 | sound/pci/emu10k1/voice.c | 4642 | 4616 | /*
* Copyright (c) by Jaroslav Kysela <perex@perex.cz>
* Creative Labs, Inc.
* Lee Revell <rlrevell@joe-job.com>
* Routines for control of EMU10K1 chips - voice manager
*
* Rewrote voice allocator for multichannel support - rlrevell 12/2004
*
* BUGS:
* --
*
* TODO... | gpl-2.0 |
acuster/FirefoxOS-Flatfish-kernel | sound/soc/codecs/wm8523.c | 4898 | 14469 | /*
* wm8523.c -- WM8523 ALSA SoC Audio driver
*
* 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 version 2 as
* publishe... | gpl-2.0 |
ISTweak/android_kernel_htc_msm8960 | net/x25/x25_dev.c | 4898 | 4512 | /*
* X.25 Packet Layer release 002
*
* This is ALPHA test software. This code may break your machine, randomly fail to work with new
* releases, misbehave and/or generally screw up. It might even work.
*
* This code REQUIRES 2.1.15 or higher
*
* This module:
* This module is free software; you can redistribut... | gpl-2.0 |
thanhphat11/android_kernel_pantech_910 | drivers/usb/host/ohci-sh.c | 4898 | 3246 | /*
* OHCI HCD (Host Controller Driver) for USB.
*
* Copyright (C) 2008 Renesas Solutions Corp.
*
* Author : Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.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 |
settingout/android_kernel_oneplus_msm8974 | sound/soc/codecs/wm8750.c | 4898 | 24917 | /*
* wm8750.c -- WM8750 ALSA SoC audio driver
*
* Copyright 2005 Openedhand Ltd.
*
* Author: Richard Purdie <richard@openedhand.com>
*
* Based on WM8753.c
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published b... | gpl-2.0 |
newkid313/kernel_raybst | drivers/gpu/drm/i915/dvo_ivch.c | 5666 | 10014 | /*
* Copyright © 2006 Intel Corporation
*
* 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, pub... | gpl-2.0 |
Yuskey1989/Nexus_5 | net/ipv4/xfrm4_input.c | 8226 | 4269 | /*
* xfrm4_input.c
*
* Changes:
* YOSHIFUJI Hideaki @USAGI
* Split up af-specific portion
* Derek Atkins <derek@ihtfp.com>
* Add Encapsulation support
*
*/
#include <linux/slab.h>
#include <linux/module.h>
#include <linux/string.h>
#include <linux/netfilter.h>
#include <linux/netfilter_ipv4.h>
#include <net... | gpl-2.0 |
Renzo-Olivares/android_kernel_htc_m7wlv | drivers/media/video/uvc/uvc_isight.c | 9762 | 3903 | /*
* uvc_isight.c -- USB Video Class driver - iSight support
*
* Copyright (C) 2006-2007
* Ivan N. Zlatev <contact@i-nz.net>
* Copyright (C) 2008-2009
* Laurent Pinchart <laurent.pinchart@ideasonboard.com>
*
* This program is free software; you can redistribute it and/or modify
* it under th... | gpl-2.0 |
chillstep1998/AK-OnePone | fs/befs/super.c | 13346 | 3108 | /*
* super.c
*
* Copyright (C) 2001-2002 Will Dyson <will_dyson@pobox.com>
*
* Licensed under the GNU GPL. See the file COPYING for details.
*
*/
#include <linux/fs.h>
#include <asm/page.h> /* for PAGE_SIZE */
#include "befs.h"
#include "super.h"
/**
* load_befs_sb -- Read from disk and properly byteswap all... | gpl-2.0 |
Grarak/grakernel-n1 | drivers/video/tegra/host/host1x/host1x_intr.c | 35 | 6586 | /*
* drivers/video/tegra/host/host1x/host1x_intr.c
*
* Tegra Graphics Host Interrupt Management
*
* Copyright (c) 2010-2012, NVIDIA Corporation.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms and conditions of the GNU General Public License,
* version 2, as publis... | gpl-2.0 |
Fe-Pi/linux | kernel/trace/blktrace.c | 35 | 46371 | // SPDX-License-Identifier: GPL-2.0
/*
* Copyright (C) 2006 Jens Axboe <axboe@kernel.dk>
*
*/
#include <linux/kernel.h>
#include <linux/blkdev.h>
#include <linux/blktrace_api.h>
#include <linux/percpu.h>
#include <linux/init.h>
#include <linux/mutex.h>
#include <linux/slab.h>
#include <linux/debugfs.h>
#include <lin... | gpl-2.0 |
SaleJumper/android-source-browsing.platform--external--checkpolicy | test/dispol.c | 35 | 13486 |
/* Authors: Frank Mayer <mayerf@tresys.com> and Karl MacMillan <kmacmillan@tresys.com>
*
* Copyright (C) 2003 Tresys Technology, LLC
* 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, versi... | gpl-2.0 |
ZeroInfinityXDA/HelixKernel_Nougat | net/batman-adv/gateway_client.c | 291 | 24528 | /* Copyright (C) 2009-2014 B.A.T.M.A.N. contributors:
*
* Marek Lindner
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of version 2 of the GNU General Public
* License as published by the Free Software Foundation.
*
* This program is distributed in the hope that it... | gpl-2.0 |
CyanogenMod/android_kernel_samsung_galaxytab-cdma | drivers/video/sis/sis_main.c | 803 | 185765 | /*
* SiS 300/540/630[S]/730[S],
* SiS 315[E|PRO]/550/[M]65x/[M]66x[F|M|G]X/[M]74x[GX]/330/[M]76x[GX],
* XGI V3XT/V5/V8, Z7
* frame buffer driver for Linux kernels >= 2.4.14 and >=2.6.3
*
* Copyright (C) 2001-2005 Thomas Winischhofer, Vienna, Austria.
*
* This program is free software; you can redistribute it an... | gpl-2.0 |
romracer/sgs2sr-kernel | drivers/staging/usbip/stub_dev.c | 803 | 12166 | /*
* Copyright (C) 2003-2008 Takahiro Hirofuchi
*
* This 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 is distribute... | gpl-2.0 |
AnesHadzi/linux-socfpga | drivers/ide/pmac.c | 803 | 46441 | /*
* Support for IDE interfaces on PowerMacs.
*
* These IDE interfaces are memory-mapped and have a DBDMA channel
* for doing DMA.
*
* Copyright (C) 1998-2003 Paul Mackerras & Ben. Herrenschmidt
* Copyright (C) 2007-2008 Bartlomiej Zolnierkiewicz
*
* This program is free software; you can redistribute it an... | gpl-2.0 |
ajtomato/linux-2.6.34 | drivers/infiniband/hw/nes/nes.c | 803 | 33692 | /*
* Copyright (c) 2006 - 2009 Intel Corporation. All rights reserved.
* Copyright (c) 2005 Open Grid Computing, 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) Versio... | gpl-2.0 |
embeddedarm/linux-2.6.35-ts4800 | fs/nfs/dns_resolve.c | 803 | 7544 | /*
* linux/fs/nfs/dns_resolve.c
*
* Copyright (c) 2009 Trond Myklebust <Trond.Myklebust@netapp.com>
*
* Resolves DNS hostnames into valid ip addresses
*/
#include <linux/hash.h>
#include <linux/string.h>
#include <linux/kmod.h>
#include <linux/slab.h>
#include <linux/module.h>
#include <linux/socket.h>
#include ... | gpl-2.0 |
brycecr/linux | drivers/net/ethernet/netx-eth.c | 1059 | 13737 | /*
* drivers/net/ethernet/netx-eth.c
*
* Copyright (c) 2005 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 progr... | gpl-2.0 |
davidmueller13/android_kernel_lge_msm8974-old | arch/arm/mach-msm/platsmp-8625.c | 1827 | 8023 | /* 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 |
schacon/linux | drivers/rtc/rtc-sun4v.c | 2083 | 2231 | /* rtc-sun4v.c: Hypervisor based RTC for SUN4V systems.
*
* Copyright (C) 2008 David S. Miller <davem@davemloft.net>
*/
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/delay.h>
#include <linux/init.h>
#include <linux/rtc.h>
#include <linux/platform_de... | gpl-2.0 |
tejasjadhav/android_kernel_mocha | drivers/net/ethernet/sun/sunbmac.c | 2083 | 33608 | /* sunbmac.c: Driver for Sparc BigMAC 100baseT ethernet adapters.
*
* Copyright (C) 1997, 1998, 1999, 2003, 2008 David S. Miller (davem@davemloft.net)
*/
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/types.h>
#include <linux/fcntl.h>
#include <linux/interrupt.h>
#include <linux/ioport.h>
#inc... | gpl-2.0 |
SerenityS/android_kernel_samsung_a8elte | sound/pci/ac97/ac97_codec.c | 2083 | 95641 | /*
* Copyright (c) by Jaroslav Kysela <perex@perex.cz>
* Universal interface for Audio Codec '97
*
* For more details look to AC '97 component specification revision 2.2
* by Intel Corporation (http://developer.intel.com).
*
*
* This program is free software; you can redistribute it and/or modify
* it ... | gpl-2.0 |
SlimRoms/kernel_htc_msm8994 | arch/x86/kvm/pmu.c | 2083 | 13774 | /*
* Kernel-based Virtual Machine -- Performance Monitoring Unit support
*
* Copyright 2011 Red Hat, Inc. and/or its affiliates.
*
* Authors:
* Avi Kivity <avi@redhat.com>
* Gleb Natapov <gleb@redhat.com>
*
* This work is licensed under the terms of the GNU GPL, version 2. See
* the COPYING file in the... | gpl-2.0 |
Happy-Ferret/Kernel-Experiments | crypto/khazad.c | 2339 | 52992 | /*
* Cryptographic API.
*
* Khazad Algorithm
*
* The Khazad algorithm was developed by Paulo S. L. M. Barreto and
* Vincent Rijmen. It was a finalist in the NESSIE encryption contest.
*
* The original authors have disclaimed all copyright interest in this
* code and thus put it in the public domain. The subse... | gpl-2.0 |
boype/kernel_tuna_jb43 | drivers/media/dvb/frontends/zl10036.c | 3107 | 12236 | /**
* Driver for Zarlink zl10036 DVB-S silicon tuner
*
* Copyright (C) 2006 Tino Reichardt
* Copyright (C) 2007-2009 Matthias Schwarzott <zzam@gentoo.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 t... | gpl-2.0 |
y10g/lge-kernel-startablet-l06c | arch/alpha/kernel/pci-noop.c | 3875 | 4172 | /*
* linux/arch/alpha/kernel/pci-noop.c
*
* Stub PCI interfaces for Jensen-specific kernels.
*/
#include <linux/pci.h>
#include <linux/init.h>
#include <linux/bootmem.h>
#include <linux/gfp.h>
#include <linux/capability.h>
#include <linux/mm.h>
#include <linux/errno.h>
#include <linux/sched.h>
#include <linux/dma-... | gpl-2.0 |
GameTheory-/android_kernel_d505 | arch/x86/pci/amd_bus.c | 4643 | 9934 | #include <linux/init.h>
#include <linux/pci.h>
#include <linux/topology.h>
#include <linux/cpu.h>
#include <linux/range.h>
#include <asm/amd_nb.h>
#include <asm/pci_x86.h>
#include <asm/pci-direct.h>
#include "bus_numa.h"
/*
* This discovers the pcibus <-> node mapping on AMD K8.
* also get peer root bus resource... | gpl-2.0 |
javelinanddart/mako | arch/powerpc/platforms/wsp/smp.c | 4643 | 2011 | /*
* SMP Support for A2 platforms
*
* Copyright 2007 Benjamin Herrenschmidt, 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; either version
* 2 of the License, or (at y... | gpl-2.0 |
sohkis/android_kernel_lge_hammerhead | drivers/staging/rtl8192e/rtllib_softmac_wx.c | 4899 | 15092 | /* 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 |
bilalliberty/android_kernel_htc_villec2-caf-display | sound/soc/jz4740/jz4740-i2s.c | 4899 | 12934 | /*
* Copyright (C) 2010, Lars-Peter Clausen <lars@metafoo.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 your
* option) any later ver... | gpl-2.0 |
yajnab/android_kernel_samsung_delos3geur | fs/yaffs2/yaffs_mtdif.c | 5155 | 1224 | /*
* YAFFS: Yet Another Flash File System. A NAND-flash specific file system.
*
* Copyright (C) 2002-2010 Aleph One Ltd.
* for Toby Churchill Ltd and Brightstar Engineering
*
* Created by Charles Manning <charles@aleph1.co.uk>
*
* This program is free software; you can redistribute it and/or modify
* it unde... | gpl-2.0 |
c8813q-dev/android_kernel_huawei_c8813q | net/rfkill/input.c | 5155 | 9048 | /*
* Input layer to RF Kill interface connector
*
* Copyright (c) 2007 Dmitry Torokhov
* Copyright 2009 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 S... | gpl-2.0 |
OneEducation/kernel-rk310-lollipop-firefly | drivers/char/agp/i460-agp.c | 5411 | 18895 | /*
* For documentation on the i460 AGP interface, see Chapter 7 (AGP Subsystem) of
* the "Intel 460GTX Chipset Software Developer's Manual":
* http://www.intel.com/design/archives/itanium/downloads/248704.htm
*/
/*
* 460GX support by Chris Ahna <christopher.j.ahna@intel.com>
* Clean up & simplification by David ... | gpl-2.0 |
arj1231/kernel_lge_msm8226 | drivers/video/geode/gx1fb_core.c | 7971 | 12565 | /*
* drivers/video/geode/gx1fb_core.c
* -- Geode GX1 framebuffer driver
*
* Copyright (C) 2005 Arcom Control Systems Ltd.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either versi... | gpl-2.0 |
krystianpe/massive-ninja | arch/mips/pci/ops-rc32434.c | 9507 | 5308 | /*
* BRIEF MODULE DESCRIPTION
* pci_ops for IDT EB434 board
*
* Copyright 2004 IDT Inc. (rischelp@idt.com)
* Copyright 2006 Felix Fietkau <nbd@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... | gpl-2.0 |
dianlujitao/android_kernel_huawei_c8813q | drivers/usb/misc/diag_bridge.c | 36 | 12435 | /*
* Copyright (c) 2011-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 ... | gpl-2.0 |
BTDC/coreboot | src/vendorcode/amd/agesa/f15/Proc/CPU/Family/0x10/F10InitEarlyTable.c | 36 | 5628 | /* $NoKeywords:$ */
/**
* @file
*
* Initialize the Family 10h specific way of running early initialization.
*
* Returns the table of initialization steps to perform at
* AmdInitEarly.
*
* @xrefitem bom "File Content Label" "Release Content"
* @e project: AGESA
* @e sub-project: CPU/FAMILY/0x10
* @e \$R... | gpl-2.0 |
abhijeet-dev/linux-samsung | drivers/net/can/sja1000/peak_pci.c | 36 | 19914 | /*
* Copyright (C) 2007, 2011 Wolfgang Grandegger <wg@grandegger.com>
* Copyright (C) 2012 Stephane Grosjean <s.grosjean@peak-system.com>
*
* Derived from the PCAN project file driver/src/pcan_pci.c:
*
* Copyright (C) 2001-2006 PEAK System-Technik GmbH
*
* This program is free software; you can redistribute it... | gpl-2.0 |
varun10221/linux | drivers/pci/host/pcie-iproc-bcma.c | 548 | 2990 | /*
* Copyright (C) 2015 Broadcom Corporation
* Copyright (C) 2015 Hauke Mehrtens <hauke@hauke-m.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 version 2.
*
* This program is distri... | gpl-2.0 |
gunine/htc-rider-aosp-kernel | drivers/watchdog/sb_wdog.c | 804 | 8683 | /*
* Watchdog driver for SiByte SB1 SoCs
*
* Copyright (C) 2007 OnStor, Inc. * Andrew Sharp <andy.sharp@lsi.com>
*
* This driver is intended to make the second of two hardware watchdogs
* on the Sibyte 12XX and 11XX SoCs available to the user. There are two
* such devices available on the SoC, but it seems that... | gpl-2.0 |
Radium-Devices/Radium_jflte | drivers/hid/hid-lg4ff.c | 1316 | 15134 | /*
* Force feedback support for Logitech Speed Force Wireless
*
* http://wiibrew.org/wiki/Logitech_USB_steering_wheel
*
* Copyright (c) 2010 Simon Wood <simon@mungewell.org>
*/
/*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as... | gpl-2.0 |
GameTheory-/android_kernel_g4stylusn2 | drivers/scsi/aacraid/commctrl.c | 1572 | 24178 | /*
* 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 |
BlackBox-Kernel/blackbox_sprout_lp | drivers/media/platform/davinci/vpif_capture.c | 2084 | 63350 | /*
* Copyright (C) 2009 Texas Instruments 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 option) any later version.
*
* This program... | gpl-2.0 |
imoseyon/leanKernel-shamu | drivers/media/pci/ivtv/ivtv-driver.c | 2084 | 47760 | /*
ivtv driver initialization and card probing
Copyright (C) 2003-2004 Kevin Thayer <nufan_wfk at yahoo.com>
Copyright (C) 2004 Chris Kennedy <c@groovy.org>
Copyright (C) 2005-2007 Hans Verkuil <hverkuil@xs4all.nl>
This program is free software; you can redistribute it and/or modify
it under... | gpl-2.0 |
keks2293/kernel_zte | drivers/crypto/picoxcell_crypto.c | 2084 | 54299 | /*
* Copyright (c) 2010-2011 Picochip Ltd., Jamie Iles
*
* 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.
*
* Thi... | gpl-2.0 |
chaveiro/LG_P920_V30A_Kernel | fs/xfs/xfs_trans_ail.c | 2340 | 23949 | /*
* Copyright (c) 2000-2002,2005 Silicon Graphics, Inc.
* Copyright (c) 2008 Dave Chinner
* 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 d... | gpl-2.0 |
TeamEOS/kernel_moto_shamu | drivers/media/platform/soc_camera/soc_mediabus.c | 3108 | 13428 | /*
* soc-camera media bus helper routines
*
* Copyright (C) 2009, Guennadi Liakhovetski <g.liakhovetski@gmx.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 <... | gpl-2.0 |
thicklizard/m9-patches | drivers/staging/speakup/fakekey.c | 3364 | 2468 | /* fakekey.c
* Functions for simulating keypresses.
*
* Copyright (C) 2010 the Speakup Team
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at yo... | gpl-2.0 |
alpinelinux/linux-stable-grsec | kernel/locking/percpu-rwsem.c | 3876 | 5107 | #include <linux/atomic.h>
#include <linux/rwsem.h>
#include <linux/percpu.h>
#include <linux/wait.h>
#include <linux/lockdep.h>
#include <linux/percpu-rwsem.h>
#include <linux/rcupdate.h>
#include <linux/sched.h>
#include <linux/errno.h>
int __percpu_init_rwsem(struct percpu_rw_semaphore *brw,
const char *name, str... | gpl-2.0 |
mkasick/android_kernel_samsung_jfltevzw | lib/string_helpers.c | 4388 | 1702 | /*
* Helpers for formatting and printing strings
*
* Copyright 31 August 2008 James Bottomley
*/
#include <linux/kernel.h>
#include <linux/math64.h>
#include <linux/export.h>
#include <linux/string_helpers.h>
/**
* string_get_size - get the size in the specified units
* @size: The size to be converted
* @units:... | gpl-2.0 |
mdmower/android_kernel_htc_msm8960 | drivers/gpu/drm/radeon/radeon_state.c | 5668 | 95104 | /* radeon_state.c -- State support for Radeon -*- linux-c -*- */
/*
* Copyright 2000 VA Linux Systems, Inc., Fremont, California.
* All Rights Reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to dea... | gpl-2.0 |
davidmueller13/android_kernel_lge_msm8974 | arch/unicore32/mm/mmu.c | 5924 | 13116 | /*
* linux/arch/unicore32/mm/mmu.c
*
* Code specific to PKUnity SoC and UniCore ISA
*
* Copyright (C) 2001-2010 GUAN Xue-tao
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
... | gpl-2.0 |
ffosilva/android_kernel_sony_msm8974 | arch/arm/plat-mxc/devices/platform-mxc_rtc.c | 7716 | 1032 | /*
* Copyright (C) 2010-2011 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>
#in... | gpl-2.0 |
NoelMacwan/SXDNickiSS | arch/mips/loongson/lemote-2f/machtype.c | 8740 | 1639 | /*
* Copyright (C) 2009 Lemote Inc.
* Author: Wu Zhangjin, wuzhangjin@gmail.com
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software Foundation; either version 2 of the License, or (at your
* opti... | gpl-2.0 |
loglud/acclaim_kernel | arch/mips/loongson/lemote-2f/machtype.c | 8740 | 1639 | /*
* Copyright (C) 2009 Lemote Inc.
* Author: Wu Zhangjin, wuzhangjin@gmail.com
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software Foundation; either version 2 of the License, or (at your
* opti... | gpl-2.0 |
pedestre/Kernel-Apolo-JB-4.1.2 | drivers/rtc/rtc-au1xxx.c | 10020 | 3636 | /*
* Au1xxx counter0 (aka Time-Of-Year counter) RTC interface driver.
*
* Copyright (C) 2008 Manuel Lauss <mano@roarinelk.homelinux.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 details.
*/
... | gpl-2.0 |
cattleprod/for-sense | drivers/rtc/rtc-au1xxx.c | 10020 | 3636 | /*
* Au1xxx counter0 (aka Time-Of-Year counter) RTC interface driver.
*
* Copyright (C) 2008 Manuel Lauss <mano@roarinelk.homelinux.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 details.
*/
... | gpl-2.0 |
GioneeDevTeam/android_kernel_gionee_msm8974 | drivers/staging/tidspbridge/dynload/tramp_table_c6000.c | 11300 | 3059 | /*
* tramp_table_c6000.c
*
* DSP-BIOS Bridge driver support functions for TI OMAP processors.
*
* Copyright (C) 2005-2006 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 version 2 as
* published by the Free ... | gpl-2.0 |
aopp/android_kernel_asus_grouper | arch/alpha/kernel/io.c | 13860 | 12416 | /*
* Alpha IO and memory functions.
*/
#include <linux/kernel.h>
#include <linux/types.h>
#include <linux/string.h>
#include <linux/module.h>
#include <asm/io.h>
/* Out-of-line versions of the i/o routines that redirect into the
platform-specific version. Note that "platform-specific" may mean
"generic", wh... | gpl-2.0 |
dasago13/android_kernel_lenovo_s650 | arch/alpha/kernel/io.c | 13860 | 12416 | /*
* Alpha IO and memory functions.
*/
#include <linux/kernel.h>
#include <linux/types.h>
#include <linux/string.h>
#include <linux/module.h>
#include <asm/io.h>
/* Out-of-line versions of the i/o routines that redirect into the
platform-specific version. Note that "platform-specific" may mean
"generic", wh... | gpl-2.0 |
FAlinux-SoftwareinLife/silfa | OS/uboot/board/keymile/common/ivm.c | 37 | 9159 | /*
* (C) Copyright 2011
* Holger Brunck, Keymile GmbH Hannover, holger.brunck@keymile.com
*
* See file CREDITS for list of people who contributed to this
* project.
*
* 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 ... | gpl-2.0 |
12thmantec/linux-3.5 | arch/x86/kernel/reboot.c | 37 | 21190 | #include <linux/module.h>
#include <linux/reboot.h>
#include <linux/init.h>
#include <linux/pm.h>
#include <linux/efi.h>
#include <linux/dmi.h>
#include <linux/sched.h>
#include <linux/tboot.h>
#include <linux/delay.h>
#include <acpi/reboot.h>
#include <asm/io.h>
#include <asm/apic.h>
#include <asm/desc.h>
#include <as... | gpl-2.0 |
brink182/cfg-loader-mod | lib/libext2fs/source/e2p/iod.c | 37 | 1519 | /*
* iod.c - Iterate a function on each entry of a directory
*
* Copyright (C) 1993, 1994 Remy Card <card@masi.ibp.fr>
* Laboratoire MASI, Institut Blaise Pascal
* Universite Pierre et Marie Curie (Paris VI)
*
* %Begin-Header%
* This file may be redistribute... | gpl-2.0 |
motley-git/Kernel-GT-P7310 | net/core/link_watch.c | 293 | 5548 | /*
* Linux network device link state notification
*
* Author:
* Stefan Rompf <sux@loplof.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 ... | gpl-2.0 |
bhb27/android_kernel_motorola_apq8084 | sound/core/seq/seq_timer.c | 293 | 12316 | /*
* ALSA sequencer Timer
* Copyright (c) 1998-1999 by Frank van de Pol <fvdpol@coil.demon.nl>
* Jaroslav Kysela <perex@perex.cz>
*
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
... | gpl-2.0 |
uwehermann/easybox-904-xdsl-firmware | linux/linux-2.6.32.32/drivers/video/console/fbcon_cw.c | 805 | 10761 | /*
* linux/drivers/video/console/fbcon_ud.c -- Software Rotation - 90 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 details... | gpl-2.0 |
project-voodoo-vibrant/linux_sgh-t759 | drivers/mfd/ucb1400_core.c | 805 | 3607 | /*
* Core functions for:
* Philips UCB1400 multifunction chip
*
* Based on ucb1400_ts.c:
* Author: Nicolas Pitre
* Created: September 25, 2006
* Copyright: MontaVista Software, Inc.
*
* Spliting done by: Marek Vasut <marek.vasut@gmail.com>
* If something doesnt work and it worked before spliting, e-mail m... | gpl-2.0 |
Larspolo/linux | tools/testing/selftests/x86/sigreturn.c | 805 | 19282 | /*
* sigreturn.c - tests for x86 sigreturn(2) and exit-to-userspace
* Copyright (c) 2014-2015 Andrew Lutomirski
*
* 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.... | gpl-2.0 |
gsstudios/Dorimanx-SG2-I9100-Kernel | drivers/ata/pdc_adma.c | 805 | 16691 | /*
* pdc_adma.c - Pacific Digital Corporation ADMA
*
* Maintained by: Tejun Heo <tj@kernel.org>
*
* Copyright 2005 Mark Lord
*
* 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 |
buglabs/bug20-2.6.35-linaro | net/ipv6/anycast.c | 805 | 11811 | /*
* Anycast support for IPv6
* Linux INET6 implementation
*
* Authors:
* David L Stevens (dlstevens@us.ibm.com)
*
* based heavily on net/ipv6/mcast.c
*
* 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 th... | gpl-2.0 |
rbauduin/mptcp | drivers/clk/mxs/clk-imx28.c | 1061 | 10354 | /*
* Copyright 2012 Freescale Semiconductor, Inc.
*
* 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-license.html
* http://www.gnu.or... | gpl-2.0 |
redfuture/linux-kernel | drivers/clk/mxs/clk-imx28.c | 1061 | 10354 | /*
* Copyright 2012 Freescale Semiconductor, Inc.
*
* 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-license.html
* http://www.gnu.or... | gpl-2.0 |
ninjablocks/VAR-SOM-AM33-SDK7-Kernel | fs/nilfs2/cpfile.c | 2853 | 25075 | /*
* cpfile.c - NILFS checkpoint file.
*
* Copyright (C) 2006-2008 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 Li... | gpl-2.0 |
Openwide-Ingenierie/xvisor-next | tools/dtc/livetree.c | 5669 | 13912 | /*
* (C) Copyright David Gibson <dwg@au1.ibm.com>, IBM Corporation. 2005.
*
*
* 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 l... | gpl-2.0 |
gokhanmoral/siyah-xt | security/keys/permission.c | 7461 | 2968 | /* Key permission checking
*
* Copyright (C) 2005 Red Hat, Inc. All Rights Reserved.
* Written by David Howells (dhowells@redhat.com)
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; eit... | gpl-2.0 |
darkknight1812/d851_kernel | security/keys/permission.c | 7461 | 2968 | /* Key permission checking
*
* Copyright (C) 2005 Red Hat, Inc. All Rights Reserved.
* Written by David Howells (dhowells@redhat.com)
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; eit... | gpl-2.0 |
faust93/Ak-xGenesis-geehrc | arch/c6x/platforms/cache.c | 7973 | 10140 | /*
* Copyright (C) 2011 Texas Instruments Incorporated
* Author: Mark Salter <msalter@redhat.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.
*/
#include <linux/of.h>... | gpl-2.0 |
mohamaadhosein/VIPER-KERNEL-D802 | arch/parisc/math-emu/fpudispatch.c | 8741 | 39225 | /*
* Linux/PA-RISC Project (http://www.parisc-linux.org/)
*
* Floating-point emulation code
* Copyright (C) 2001 Hewlett-Packard (Paul Bame) <bame@debian.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
* ... | gpl-2.0 |
carz2/cm-kernel | drivers/net/usb/hso.c | 38 | 88008 | /******************************************************************************
*
* Driver for Option High Speed Mobile Devices.
*
* Copyright (C) 2008 Option International
* Filip Aben <f.aben@option.com>
* Denis Joseph Barrow <d.barow@option.com>
* J... | gpl-2.0 |
BhallaLab/moose-full | dependencies/gsl-2.0/eigen/genherm.c | 38 | 5934 | /* eigen/genherm.c
*
* Copyright (C) 2007 Patrick Alken
*
* 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 3 of the License, or (at
* your option) any later version.
*
... | gpl-2.0 |
grate-driver/linux-2.6 | net/irda/irnet/irnet_ppp.c | 38 | 32898 | /*
* IrNET protocol module : Synchronous PPP over an IrDA socket.
*
* Jean II - HPL `00 - <jt@hpl.hp.com>
*
* This file implement the PPP interface and /dev/irnet character device.
* The PPP interface hook to the ppp_generic module, handle all our
* relationship to the PPP code in the kernel (and by extension t... | gpl-2.0 |
rockly703/original-linux-2.6.28 | arch/powerpc/kernel/rtas.c | 38 | 21681 | /*
*
* Procedures for interfacing to the RTAS on CHRP machines.
*
* Peter Bergner, IBM March 2001.
* Copyright (C) 2001 IBM.
*
* 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 Foundat... | gpl-2.0 |
wido/libvirt | src/vbox/vbox_V3_0.c | 38 | 1395 | /** @file vbox_V3_0.c
* C file to include support for multiple versions of VirtualBox
* at runtime.
*/
/*
* Copyright (C) 2008-2009 Sun Microsystems, Inc.
*
* This file is part of a free software library; you can redistribute
* it and/or modify it under the terms of the GNU Lesser General
* Public License vers... | gpl-2.0 |
Wenzel/kvm | crypto/asymmetric_keys/mscode_parser.c | 38 | 2992 | /* Parse a Microsoft Individual Code Signing blob
*
* Copyright (C) 2014 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 Licence
* as published by the Free S... | gpl-2.0 |
OrN/dolphin | Externals/glslang/glslang/MachineIndependent/preprocessor/PpScanner.cpp | 38 | 28833 | //
//Copyright (C) 2002-2005 3Dlabs Inc. Ltd.
//Copyright (C) 2013 LunarG, Inc.
//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 above co... | gpl-2.0 |
k5t4j5/kernel_htc_hybrid | drivers/spmi/spmi.c | 38 | 19076 | /* Copyright (c) 2012-2013, The Linux Foundation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
* only version 2 as published by the Free Software Foundation.
*
* This program is distributed in the... | gpl-2.0 |
tepelmann/linux-perf | drivers/usb/host/uhci-platform.c | 38 | 4229 | /*
* Generic UHCI HCD (Host Controller Driver) for Platform Devices
*
* Copyright (c) 2011 Tony Prisk <linux@prisktech.co.nz>
*
* This file is based on uhci-grlib.c
* (C) Copyright 2004-2007 Alan Stern, stern@rowland.harvard.edu
*/
#include <linux/of.h>
#include <linux/platform_device.h>
static int uhci_platfo... | gpl-2.0 |
chapuni/gcc | gcc/testsuite/gfortran.dg/used_before_typed_3.f90 | 38 | 1045 | ! { dg-do compile }
! { dg-options "-std=f95" }
! PR fortran/32095
! PR fortran/34228
! Check for a special case when the return-type of a function is given outside
! its "body" and contains symbols defined inside.
MODULE testmod
IMPLICIT REAL(a-z)
CONTAINS
CHARACTER(len=x) FUNCTION test1 (x) ! { dg-error "of I... | gpl-2.0 |
lucaspcamargo/litmus-rt | drivers/gpio/gpio-mpc8xxx.c | 294 | 11450 | /*
* GPIOs on MPC512x/8349/8572/8610 and compatible
*
* Copyright (C) 2008 Peter Korsgaard <jacmet@sunsite.dk>
*
* This file is licensed under the terms of the GNU General Public License
* version 2. This program is licensed "as is" without any warranty of any
* kind, whether express or implied.
*/
#include <... | gpl-2.0 |
vantjnh1991/F160-JB | drivers/slimbus/slim-msm-ctrl.c | 294 | 63409 | /* Copyright (c) 2011-2012, Code Aurora Forum. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
* only version 2 as published by the Free Software Foundation.
*
* This program is distributed in the ho... | gpl-2.0 |
frustreated/linux | sound/pci/echoaudio/indigoiox.c | 550 | 2385 | // SPDX-License-Identifier: GPL-2.0-only
/*
* ALSA driver for Echoaudio soundcards.
* Copyright (C) 2009 Giuliano Pochini <pochini@shiny.it>
*/
#define INDIGO_FAMILY
#define ECHOCARD_INDIGO_IOX
#define ECHOCARD_NAME "Indigo IOx"
#define ECHOCARD_HAS_MONITOR
#define ECHOCARD_HAS_SUPER_INTERLEAVE
#define ECHOCARD_H... | gpl-2.0 |
drod2169/Linux-3.13.x | drivers/usb/gadget/ncm.c | 550 | 5773 | /*
* ncm.c -- NCM gadget driver
*
* Copyright (C) 2010 Nokia Corporation
* Contact: Yauheni Kaliuta <yauheni.kaliuta@nokia.com>
*
* The driver borrows from ether.c which is:
*
* Copyright (C) 2003-2005,2008 David Brownell
* Copyright (C) 2003-2004 Robert Schwebel, Benedikt Spranger
* Copyright (C) 2008 Nokia ... | gpl-2.0 |
Ca1ne/Classic-Sense-Kernel | arch/microblaze/kernel/prom_parse.c | 806 | 25971 | #undef DEBUG
#include <linux/kernel.h>
#include <linux/string.h>
#include <linux/pci_regs.h>
#include <linux/module.h>
#include <linux/ioport.h>
#include <linux/etherdevice.h>
#include <asm/prom.h>
#include <asm/pci-bridge.h>
#define PRu64 "%llx"
/* Max address size we deal with */
#define OF_MAX_ADDR_CELLS 4
#defin... | gpl-2.0 |
ArtemTeleshev/linux | drivers/misc/eeprom/at25.c | 806 | 11933 | /*
* at25.c -- support most SPI EEPROMs, such as Atmel AT25 models
*
* Copyright (C) 2006 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,... | gpl-2.0 |
TheBr0ken/vigor_aosp_kernel | drivers/staging/iio/resolver/ad2s120x.c | 2342 | 7432 | /*
* ad2s120x.c simple support for the ADI Resolver to Digital Converters: AD2S1200/1205
*
* Copyright (c) 2010-2010 Analog Devices Inc.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Fo... | gpl-2.0 |
rishi1998/android_kernel_samsung_i9082 | drivers/misc/atmel_pwm.c | 3622 | 9383 | #include <linux/module.h>
#include <linux/clk.h>
#include <linux/err.h>
#include <linux/slab.h>
#include <linux/io.h>
#include <linux/interrupt.h>
#include <linux/platform_device.h>
#include <linux/atmel_pwm.h>
/*
* This is a simple driver for the PWM controller found in various newer
* Atmel SOCs, including the AV... | gpl-2.0 |
navsdev/kernel-nk1-negalite-lt02ltespr | drivers/w1/slaves/w1_bq27000.c | 4902 | 2499 | /*
* drivers/w1/slaves/w1_bq27000.c
*
* Copyright (C) 2007 Texas Instruments, Inc.
*
* This file is licensed under the terms of the GNU General Public License
* version 2. This program is licensed "as is" without any warranty of any
* kind, whether express or implied.
*
*/
#include <linux/kernel.h>
#include <... | gpl-2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.