repo_name string | path string | copies string | size string | content string | license string |
|---|---|---|---|---|---|
bigzz/ZenKernel_Shamu | drivers/tty/hvc/hvc_beat.c | 8667 | 3211 | /*
* Beat hypervisor console driver
*
* (C) Copyright 2006 TOSHIBA CORPORATION
*
* This code is based on drivers/char/hvc_rtas.c:
* (C) Copyright IBM Corporation 2001-2005
* (C) Copyright Red Hat, Inc. 2005
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GN... | gpl-2.0 |
dryize/endeavoru_4.18 | arch/mips/kernel/gpio_txx9.c | 13531 | 2288 | /*
* A gpio chip driver for TXx9 SoCs
*
* Copyright (C) 2008 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/init.h>
... | gpl-2.0 |
johnzz/fastsocket | kernel/arch/xtensa/boot/lib/zmem.c | 14043 | 1984 | #include <linux/zlib.h>
/* bits taken from ppc */
extern void *avail_ram, *end_avail;
void exit (void)
{
for (;;);
}
void *zalloc(unsigned size)
{
void *p = avail_ram;
size = (size + 7) & -8;
avail_ram += size;
if (avail_ram > end_avail) {
//puts("oops... out of me... | gpl-2.0 |
pcarrier/linux | drivers/char/tpm/tpm-chip.c | 476 | 6163 | /*
* Copyright (C) 2004 IBM Corporation
* Copyright (C) 2014 Intel Corporation
*
* Authors:
* Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
* Leendert van Doorn <leendert@watson.ibm.com>
* Dave Safford <safford@watson.ibm.com>
* Reiner Sailer <sailer@watson.ibm.com>
* Kylene Hall <kjhall@us.ibm.com>
*
* ... | gpl-2.0 |
getitnowmarketing/Gz-One-Commando | drivers/net/usb/rndis_host.c | 476 | 19039 | /*
* Host Side support for RNDIS Networking Links
* Copyright (C) 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 o... | gpl-2.0 |
EPDCenter/android_kernel_amlogic_s805_3go_aplay2 | crypto/cast6_generic.c | 2268 | 9687 | /* Kernel cryptographic api.
* cast6.c - Cast6 cipher algorithm [rfc2612].
*
* CAST-256 (*cast6*) is a DES like Substitution-Permutation Network (SPN)
* cryptosystem built upon the CAST-128 (*cast5*) [rfc2144] encryption
* algorithm.
*
* Copyright (C) 2003 Kartikey Mahendra Bhatt <kartik_me@hotmail.com>.
*
* T... | gpl-2.0 |
tvall43/linux-stable | init/do_mounts_rd.c | 2524 | 8635 | /*
* Many of the syscalls used in this file expect some of the arguments
* to be __user pointers not __kernel pointers. To limit the sparse
* noise, turn off sparse checking for this file.
*/
#ifdef __CHECKER__
#undef __CHECKER__
#warning "Sparse checking disabled for this file"
#endif
#include <linux/kernel.h>
#... | gpl-2.0 |
junkyde/vikinger | drivers/tty/vt/keyboard.c | 3036 | 51751 | /*
* Written for linux by Johan Myreen as a translation from
* the assembly version by Linus (with diacriticals added)
*
* Some additional features added by Christoph Niemann (ChN), March 1993
*
* Loadable keymaps by Risto Kankkunen, May 1993
*
* Diacriticals redone & other small changes, aeb@cwi.nl, June 1993
... | gpl-2.0 |
SlimRoms/kernel_lge_hammerhead | fs/cifs/inode.c | 3292 | 61057 | /*
* fs/cifs/inode.c
*
* Copyright (C) International Business Machines Corp., 2002,2010
* Author(s): Steve French (sfrench@us.ibm.com)
*
* This library is free software; you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published
* by the Free So... | gpl-2.0 |
sub77-bkp/slim_kernel_samsung_matisse | arch/powerpc/platforms/52xx/mpc52xx_pic.c | 4572 | 16971 | /*
*
* Programmable Interrupt Controller functions for the Freescale MPC52xx.
*
* Copyright (C) 2008 Secret Lab Technologies Ltd.
* Copyright (C) 2006 bplan GmbH
* Copyright (C) 2004 Sylvain Munaut <tnt@246tNt.com>
* Copyright (C) 2003 Montavista Software, Inc
*
* Based on the code from the 2.4 kernel by
* Da... | gpl-2.0 |
EPDCenter/android_kernel_woxter_nimbus_98q | net/bluetooth/hidp/sock.c | 7644 | 7095 | /*
HIDP implementation for Linux Bluetooth stack (BlueZ).
Copyright (C) 2003-2004 Marcel Holtmann <marcel@holtmann.org>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License version 2 as
published by the Free Software Foundation;
TH... | gpl-2.0 |
SM-G920P/SM-G920P-Kernel | crypto/async_tx/async_pq.c | 7644 | 12825 | /*
* Copyright(c) 2007 Yuri Tikhonov <yur@emcraft.com>
* Copyright(c) 2009 Intel 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 ... | gpl-2.0 |
noobnl/android_kernel_samsung_d2-jb_2.5.1 | arch/mips/cavium-octeon/executive/cvmx-helper-errata.c | 13532 | 2592 | /***********************license start***************
* Author: Cavium Networks
*
* Contact: support@caviumnetworks.com
* This file is part of the OCTEON SDK
*
* Copyright (c) 2003-2008 Cavium Networks
*
* This file is free software; you can redistribute it and/or modify
* it under the terms of the GNU General ... | gpl-2.0 |
omegamoon/rockchip-rk3188-generic | drivers/scsi/fnic/vnic_wq.c | 14044 | 4356 | /*
* Copyright 2008 Cisco Systems, Inc. All rights reserved.
* Copyright 2007 Nuova Systems, Inc. All rights reserved.
*
* This program is free software; you may 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 |
zhang-xin/kdi | drivers/net/usb/net1080.c | 221 | 15748 | /*
* Net1080 based USB host-to-host 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 opt... | gpl-2.0 |
IllusionRom/android_kernel_lge_hammerhead | drivers/media/platform/msm/camera_v1/vx6953_reg.c | 1757 | 3642 | /* Copyright (c) 2010, The Linux Foundation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
* only version 2 as published by the Free Software Foundation.
*
* This program is distributed in the hope... | gpl-2.0 |
Split-Screen/android_kernel_samsung_trlte | drivers/gpu/drm/nouveau/core/engine/vp/nve0.c | 2269 | 3346 | /*
* Copyright 2012 Red Hat Inc.
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation
* the rights to use, copy, modify, merge, publish, d... | gpl-2.0 |
AOKPSaber/kernel_samsung_p4 | drivers/scsi/qla4xxx/ql4_isr.c | 2781 | 30630 | /*
* QLogic iSCSI HBA Driver
* Copyright (c) 2003-2010 QLogic Corporation
*
* See LICENSE.qla4xxx for copyright and licensing details.
*/
#include "ql4_def.h"
#include "ql4_glbl.h"
#include "ql4_dbg.h"
#include "ql4_inline.h"
/**
* qla4xxx_copy_sense - copy sense data into cmd sense buffer
* @ha: Pointer to h... | gpl-2.0 |
Ca1ne/EnochPrima | drivers/acpi/proc.c | 3037 | 10961 | #include <linux/proc_fs.h>
#include <linux/seq_file.h>
#include <linux/suspend.h>
#include <linux/bcd.h>
#include <asm/uaccess.h>
#include <acpi/acpi_bus.h>
#include <acpi/acpi_drivers.h>
#ifdef CONFIG_X86
#include <linux/mc146818rtc.h>
#endif
#include "sleep.h"
#define _COMPONENT ACPI_SYSTEM_COMPONENT
/*
* this... | gpl-2.0 |
corcor67/SMPL_M8_SENSE | drivers/rtc/rtc-rv3029c2.c | 3805 | 11868 | /*
* Micro Crystal RV-3029C2 rtc class driver
*
* Author: Gregory Hermant <gregory.hermant@calao-systems.com>
*
* based on previously existing rtc class drivers
*
* 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 |
shareefalis/android_kernel_samsung_d2-jb_2.5.1 | arch/arm/mach-omap2/board-ti8168evm.c | 4829 | 1878 | /*
* Code for TI8168/TI8148 EVM.
*
* Copyright (C) 2010 Texas Instruments, Inc. - http://www.ti.com/
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
* published by the Free Software Foundation version 2.
*
* This program is dist... | gpl-2.0 |
MattCrystal/yolo-computing-machine | arch/arm/mach-omap2/board-am3517crane.c | 4829 | 2773 | /*
* Support for AM3517/05 Craneboard
* http://www.mistralsolutions.com/products/craneboard.php
*
* Copyright (C) 2010 Mistral Solutions Pvt Ltd. <www.mistralsolutions.com>
* Author: R.Srinath <srinath@mistralsolutions.com>
*
* Based on mach-omap2/board-am3517evm.c
*
* This program is free software; you can re... | gpl-2.0 |
garwynn/caf_kernel_msm | arch/x86/kernel/early_printk.c | 5085 | 6533 | #include <linux/console.h>
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/string.h>
#include <linux/screen_info.h>
#include <linux/usb/ch9.h>
#include <linux/pci_regs.h>
#include <linux/pci_ids.h>
#include <linux/errno.h>
#include <asm/io.h>
#include <asm/processor.h>
#include <asm/fcntl.h>
#include ... | gpl-2.0 |
blueskycoco/sam | fs/ocfs2/quota_global.c | 7133 | 27300 | /*
* Implementation of operations over global quota file
*/
#include <linux/spinlock.h>
#include <linux/fs.h>
#include <linux/slab.h>
#include <linux/quota.h>
#include <linux/quotaops.h>
#include <linux/dqblk_qtree.h>
#include <linux/jiffies.h>
#include <linux/writeback.h>
#include <linux/workqueue.h>
#include <clu... | gpl-2.0 |
davidmueller13/david_kernel_aosp_flo_6.0 | Documentation/vDSO/vdso_test.c | 8413 | 2488 | /*
* vdso_test.c: Sample code to test parse_vdso.c on x86_64
* Copyright (c) 2011 Andy Lutomirski
* Subject to the GNU General Public License, version 2
*
* You can amuse yourself by compiling with:
* gcc -std=gnu99 -nostdlib
* -Os -fno-asynchronous-unwind-tables -flto
* vdso_test.c parse_vdso.c -o vds... | gpl-2.0 |
faux123/HTC-Endeavoru | fs/affs/symlink.c | 12509 | 1737 | /*
* linux/fs/affs/symlink.c
*
* 1995 Hans-Joachim Widmaier - Modified for affs.
*
* Copyright (C) 1991, 1992 Linus Torvalds
*
* affs symlink handling code
*/
#include "affs.h"
static int affs_symlink_readpage(struct file *file, struct page *page)
{
struct buffer_head *bh;
struct inode *inode = page->... | gpl-2.0 |
getitnowmarketing/Incrediblec-mr3 | arch/sparc/kernel/prom_irqtrans.c | 1502 | 21933 | #include <linux/kernel.h>
#include <linux/string.h>
#include <linux/init.h>
#include <linux/of.h>
#include <linux/of_platform.h>
#include <asm/oplib.h>
#include <asm/prom.h>
#include <asm/irq.h>
#include <asm/upa.h>
#include "prom.h"
#ifdef CONFIG_PCI
/* PSYCHO interrupt mapping support. */
#define PSYCHO_IMAP_A_SLO... | gpl-2.0 |
vic3t3chn0/Samsung_Wave_Kernel_SD_NAND | arch/arm/mach-omap2/powerdomains2xxx_data.c | 2526 | 2777 | /*
* OMAP2XXX powerdomain definitions
*
* Copyright (C) 2007-2008 Texas Instruments, Inc.
* Copyright (C) 2007-2011 Nokia Corporation
*
* Paul Walmsley, Jouni Högander
*
* 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
*... | gpl-2.0 |
goodhanrry/n9200_goodhanrry_kernel | arch/mips/jz4740/irq.c | 3038 | 4022 | /*
* Copyright (C) 2009-2010, Lars-Peter Clausen <lars@metafoo.de>
* JZ4740 platform IRQ support
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software Foundation; either version 2 of the License, ... | gpl-2.0 |
slukk/mako_msm | drivers/s390/net/qeth_core_main.c | 3806 | 156531 | /*
* drivers/s390/net/qeth_core_main.c
*
* Copyright IBM Corp. 2007, 2009
* Author(s): Utz Bacher <utz.bacher@de.ibm.com>,
* Frank Pavlic <fpavlic@de.ibm.com>,
* Thomas Spatzier <tspat@de.ibm.com>,
* Frank Blaschka <frank.blaschka@de.ibm.com>
*/
#define KMSG_COMPONENT "qeth"
#define pr_fmt(fmt) KM... | gpl-2.0 |
charles1018/kernel_sony_14.4.A.0.157 | drivers/staging/media/lirc/lirc_zilog.c | 4062 | 41534 | /*
* i2c IR lirc driver for devices with zilog IR processors
*
* Copyright (c) 2000 Gerd Knorr <kraxel@goldbach.in-berlin.de>
* modified for PixelView (BT878P+W/FM) by
* Michal Kochanowicz <mkochano@pld.org.pl>
* Christoph Bartelmus <lirc@bartelmus.de>
* modified for KNC ONE TV Station/Anubis Typhoon T... | gpl-2.0 |
TeamWin/android_kernel_motorola_msm8226 | arch/arm/mach-prima2/prima2.c | 4830 | 1063 | /*
* Defines machines for CSR SiRFprimaII
*
* Copyright (c) 2011 Cambridge Silicon Radio Limited, a CSR plc group company.
*
* Licensed under GPLv2 or later.
*/
#include <linux/init.h>
#include <linux/kernel.h>
#include <asm/sizes.h>
#include <asm/mach-types.h>
#include <asm/mach/arch.h>
#include <linux/of.h>
#i... | gpl-2.0 |
armani-dev/android_kernel_xiaomi_armani_OLD | sound/oss/pas2_card.c | 5086 | 9558 | /*
* sound/oss/pas2_card.c
*
* Detection routine for the Pro Audio Spectrum cards.
*/
#include <linux/init.h>
#include <linux/interrupt.h>
#include <linux/module.h>
#include <linux/spinlock.h>
#include "sound_config.h"
#include "pas2.h"
#include "sb.h"
static unsigned char dma_bits[] = {
4, 1, 2, 3, 0, 5, 6, 7
... | gpl-2.0 |
KylinUI/android_kernel_htc_m7 | drivers/cpufreq/exynos4210-cpufreq.c | 5086 | 7482 | /*
* Copyright (c) 2010-2011 Samsung Electronics Co., Ltd.
* http://www.samsung.com
*
* EXYNOS4210 - CPU frequency scaling support
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Founda... | gpl-2.0 |
HighwindONE/Kernel_GoldStar | drivers/gpu/drm/gma500/gem.c | 5342 | 8430 | /*
* psb GEM interface
*
* Copyright (c) 2011, Intel Corporation.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms and conditions of the GNU General Public License,
* version 2, as published by the Free Software Foundation.
*
* This program is distributed in the ho... | gpl-2.0 |
Ken-Liu/OpenScrKernel_For_XC210 | drivers/mca/mca-bus.c | 9694 | 4717 | /* -*- mode: c; c-basic-offset: 8 -*- */
/*
* MCA bus support functions for sysfs.
*
* (C) 2002 James Bottomley <James.Bottomley@HansenPartnership.com>
*
**-----------------------------------------------------------------------------
**
** This program is free software; you can redistribute it and/or modify
** ... | gpl-2.0 |
awifi-dev/android_kernel_lge_awifi_test | arch/sparc/mm/extable.c | 13534 | 2252 | /*
* linux/arch/sparc/mm/extable.c
*/
#include <linux/module.h>
#include <asm/uaccess.h>
void sort_extable(struct exception_table_entry *start,
struct exception_table_entry *finish)
{
}
/* Caller knows they are in a range if ret->fixup == 0 */
const struct exception_table_entry *
search_extable(const struct ex... | gpl-2.0 |
lsigithub/axxia_yocto_linux_4.1 | drivers/mfd/lpc_ich.c | 223 | 30401 | /*
* lpc_ich.c - LPC interface for Intel ICH
*
* LPC bridge function of the Intel ICH contains many other
* functional units, such as Interrupt controllers, Timers,
* Power Management, System Management, GPIO, RTC, and LPC
* Configuration Registers.
*
* This driver is derived from lpc_sch.
* Copyright ... | gpl-2.0 |
aosm/gcc | gcc/testsuite/gcc.c-torture/execute/20020226-1.c | 223 | 2372 | /* This tests the rotate patterns that some machines support. */
#include <limits.h>
#ifndef CHAR_BIT
#define CHAR_BIT 8
#endif
#define ROR(a,b) (((a) >> (b)) | ((a) << ((sizeof (a) * CHAR_BIT) - (b))))
#define ROL(a,b) (((a) << (b)) | ((a) >> ((sizeof (a) * CHAR_BIT) - (b))))
#define CHAR_VALUE ((unsigned char)0x... | gpl-2.0 |
kaylorchen/Linux_for_mini2440 | net/decnet/dn_dev.c | 479 | 33778 | /*
* DECnet An implementation of the DECnet protocol suite for the LINUX
* operating system. DECnet is implemented using the BSD Socket
* interface as the means of communication with the user level.
*
* DECnet Device Layer
*
* Authors: Steve Whitehouse <SteveW@A... | gpl-2.0 |
preludedrew/htc-kernel-msm7x30_fork | sound/oss/pss.c | 991 | 32902 | /*
* sound/oss/pss.c
*
* The low level driver for the Personal Sound System (ECHO ESC614).
*
*
* Copyright (C) by Hannu Savolainen 1993-1997
*
* OSS/Free for Linux is distributed under the GNU GENERAL PUBLIC LICENSE (GPL)
* Version 2 (June 1991). See the "COPYING" file distributed with this software
* for mor... | gpl-2.0 |
ProtouProject/android_kernel_msm | drivers/media/platform/msm/wfd/wfd-util.c | 2271 | 5700 | /* 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 |
0xD34D/kernel_amazon_tate | drivers/net/wireless/iwlwifi/iwl-led.c | 2271 | 6336 | /******************************************************************************
*
* Copyright(c) 2003 - 2011 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 |
wuby986/Sixty-4Stroke-kernel | net/phonet/pep-gprs.c | 2783 | 6950 | /*
* File: pep-gprs.c
*
* GPRS over Phonet pipe end point socket
*
* Copyright (C) 2008 Nokia Corporation.
*
* Author: Rémi Denis-Courmont
*
* 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 Softw... | gpl-2.0 |
civato/Note8.0-StormCharger-Android-4.2.2 | drivers/mtd/nand/tmio_nand.c | 2783 | 14905 | /*
* Toshiba TMIO NAND flash controller driver
*
* Slightly murky pre-git history of the driver:
*
* Copyright (c) Ian Molton 2004, 2005, 2008
* Original work, independent of sharps code. Included hardware ECC support.
* Hard ECC did not work for writes in the early revisions.
* Copyright (c) Dirk Opfer 2... | gpl-2.0 |
championswimmer/android_kernel_sony_seagull | arch/arm/mach-msm/board-msm8x60-vcm.c | 3295 | 3442 | /* Copyright (c) 2010, The Linux Foundation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
* only version 2 as published by the Free Software Foundation.
*
* This program is distributed in the hope... | gpl-2.0 |
xjljian/huawei-kernel-3.4 | fs/reiserfs/procfs.c | 4831 | 14971 | /* -*- linux-c -*- */
/* fs/reiserfs/procfs.c */
/*
* Copyright 2000 by Hans Reiser, licensing governed by reiserfs/README
*/
/* proc info support a la one created by Sizif@Botik.RU for PGC */
#include <linux/module.h>
#include <linux/time.h>
#include <linux/seq_file.h>
#include <asm/uaccess.h>
#include "reiserfs... | gpl-2.0 |
ShinySide/HispAsian_Lollipop_J4 | drivers/isdn/divert/divert_init.c | 5087 | 2334 | /* $Id divert_init.c,v 1.5.6.2 2001/01/24 22:18:17 kai Exp $
*
* Module init for DSS1 diversion services for i4l.
*
* Copyright 1999 by Werner Cornelius (werner@isdn4linux.de)
*
* This software may be used and distributed according to the terms
* of the GNU General Public License, incorporated herein by re... | gpl-2.0 |
AntaresOne/android_kernel_samsung_jf | kernel/uid16.c | 7647 | 5403 | /*
* Wrapper functions for 16bit uid back compatibility. All nicely tied
* together in the faint hope we can take the out in five years time.
*/
#include <linux/mm.h>
#include <linux/mman.h>
#include <linux/notifier.h>
#include <linux/reboot.h>
#include <linux/prctl.h>
#include <linux/capability.h>
#include <linux/... | gpl-2.0 |
kamarush/sony_yuga_kernel | Documentation/cgroups/cgroup_event_listener.c | 8415 | 2185 | /*
* cgroup_event_listener.c - Simple listener of cgroup events
*
* Copyright (C) Kirill A. Shutemov <kirill@shutemov.name>
*/
#include <assert.h>
#include <errno.h>
#include <fcntl.h>
#include <libgen.h>
#include <limits.h>
#include <stdio.h>
#include <string.h>
#include <unistd.h>
#include <sys/eventfd.h>
#def... | gpl-2.0 |
ribalda/linux-old | arch/mips/dec/kn01-berr.c | 8927 | 5192 | /*
* Bus error event handling code for DECstation/DECsystem 3100
* and 2100 (KN01) systems equipped with parity error detection
* logic.
*
* Copyright (c) 2005 Maciej W. Rozycki
*
* 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 |
Cobaltum/kernel_u8110 | drivers/mca/mca-driver.c | 9951 | 1788 | /* -*- mode: c; c-basic-offset: 8 -*- */
/*
* MCA driver support functions for sysfs.
*
* (C) 2002 James Bottomley <James.Bottomley@HansenPartnership.com>
*
**-----------------------------------------------------------------------------
**
** This program is free software; you can redistribute it and/or modify
... | gpl-2.0 |
scottellis/linux-pansenti | drivers/atm/nicstarmac.c | 13023 | 6098 | /*
* this file included by nicstar.c
*/
/*
* nicstarmac.c
* Read this ForeRunner's MAC address from eprom/eeprom
*/
#include <linux/kernel.h>
typedef void __iomem *virt_addr_t;
#define CYCLE_DELAY 5
/*
This was the original definition
#define osp_MicroDelay(microsec) \
do { int _i = 4*microsec; while (... | gpl-2.0 |
krzycz/prd | drivers/media/platform/soc_camera/sh_mobile_ceu_camera.c | 480 | 55949 | /*
* V4L2 Driver for SuperH Mobile CEU interface
*
* Copyright (C) 2008 Magnus Damm
*
* Based on V4L2 Driver for PXA camera host - "pxa_camera.c",
*
* Copyright (C) 2006, Sascha Hauer, Pengutronix
* Copyright (C) 2008, Guennadi Liakhovetski <kernel@pengutronix.de>
*
* This program is free software; you can re... | gpl-2.0 |
olexiyt/telechips-linux | drivers/s390/cio/ccwgroup.c | 736 | 16806 | /*
* bus driver for ccwgroup
*
* Copyright IBM Corp. 2002, 2009
*
* Author(s): Arnd Bergmann (arndb@de.ibm.com)
* Cornelia Huck (cornelia.huck@de.ibm.com)
*/
#include <linux/module.h>
#include <linux/errno.h>
#include <linux/slab.h>
#include <linux/list.h>
#include <linux/device.h>
#include <linux/init... | gpl-2.0 |
olegsvs/android_kernel_ark_benefit_m7_mm | drivers/mmc/host/s3cmci.c | 736 | 46995 | /*
* linux/drivers/mmc/s3cmci.h - Samsung S3C MCI driver
*
* Copyright (C) 2004-2006 maintech GmbH, Thomas Kleffel <tk@maintech.de>
*
* Current driver maintained by Ben Dooks and Simtec Electronics
* Copyright (C) 2008 Simtec Electronics <ben-linux@fluff.org>
*
* This program is free software; you can redist... | gpl-2.0 |
GameTheory-/android_kernel_lge_l1m | drivers/net/wireless/ath/ath9k/calib.c | 1248 | 11530 | /*
* 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 |
TI-OpenLink/wl12xx_soldel_maintenance | drivers/mtd/maps/intel_vr_nor.c | 1248 | 7852 | /*
* drivers/mtd/maps/intel_vr_nor.c
*
* An MTD map driver for a NOR flash bank on the Expansion Bus of the Intel
* Vermilion Range chipset.
*
* The Vermilion Range Expansion Bus supports four chip selects, each of which
* has 64MiB of address space. The 2nd BAR of the Expansion Bus PCI Device
* is a 256MiB me... | gpl-2.0 |
agrabren/android_kernel_htc_shooter | arch/alpha/kernel/sys_eb64p.c | 2272 | 5765 | /*
* linux/arch/alpha/kernel/sys_eb64p.c
*
* Copyright (C) 1995 David A Rusling
* Copyright (C) 1996 Jay A Estabrook
* Copyright (C) 1998, 1999 Richard Henderson
*
* Code supporting the EB64+ and EB66.
*/
#include <linux/kernel.h>
#include <linux/types.h>
#include <linux/mm.h>
#include <linux/sched.h>
#include... | gpl-2.0 |
CyanogenMod/android_kernel_huawei_angler | drivers/scsi/nsp32.c | 2528 | 90538 | /*
* NinjaSCSI-32Bi Cardbus, NinjaSCSI-32UDE PCI/CardBus SCSI driver
* Copyright (C) 2001, 2002, 2003
* YOKOTA Hiroshi <yokota@netlab.is.tsukuba.ac.jp>
* GOTO Masanori <gotom@debian.or.jp>, <gotom@debian.org>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms ... | gpl-2.0 |
ISTweak/android_kernel_sharp_is15sh | drivers/media/video/s5p-fimc/mipi-csis.c | 2784 | 18239 | /*
* Samsung S5P/EXYNOS4 SoC series MIPI-CSI receiver driver
*
* Copyright (C) 2011 Samsung Electronics Co., Ltd.
* Contact: Sylwester Nawrocki, <s.nawrocki@samsung.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
*... | gpl-2.0 |
hastalafiesta/Samsung_STE_Kernel | drivers/media/dvb/pt1/pt1.c | 3040 | 24980 | /*
* driver for Earthsoft PT1/PT2
*
* Copyright (C) 2009 HIRANO Takahito <hiranotaka@zng.info>
*
* based on pt1dvr - http://pt1dvr.sourceforge.jp/
* by Tomoaki Ishikawa <tomy@users.sourceforge.jp>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General ... | gpl-2.0 |
wSedlacek/kernel_moto_shamu | drivers/media/platform/s5p-tv/mixer_reg.c | 3808 | 14917 | /*
* Samsung TV Mixer driver
*
* Copyright (c) 2010-2011 Samsung Electronics Co., Ltd.
*
* Tomasz Stanislawski, <t.stanislaws@samsung.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 Foundiat... | gpl-2.0 |
uberlaggydarwin/bugfree-wookie | drivers/staging/iio/impedance-analyzer/ad5933.c | 4320 | 20309 | /*
* AD5933 AD5934 Impedance Converter, Network Analyzer
*
* Copyright 2011 Analog Devices Inc.
*
* Licensed under the GPL-2.
*/
#include <linux/interrupt.h>
#include <linux/device.h>
#include <linux/kernel.h>
#include <linux/sysfs.h>
#include <linux/i2c.h>
#include <linux/regulator/consumer.h>
#include <linux/s... | gpl-2.0 |
kbc-developers/padfone2_kernel | arch/arm/mach-imx/mach-cpuimx51.c | 4832 | 8429 | /*
*
* Copyright (C) 2010 Eric Bénard <eric@eukrea.com>
*
* based on board-mx51_babbage.c which is
* Copyright 2009 Freescale Semiconductor, Inc. All Rights Reserved.
* Copyright (C) 2009-2010 Amit Kucheria <amit.kucheria@canonical.com>
*
* The code contained herein is licensed under the GNU General Public
* L... | gpl-2.0 |
Droid-Concepts/kernel_samsung_jf | net/sunrpc/xprtrdma/rpc_rdma.c | 5088 | 28365 | /*
* Copyright (c) 2003-2007 Network Appliance, 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) Version 2, available from the file
* COPYING in the main directory of th... | gpl-2.0 |
TeamGlide/android_kernel_htc_msm7x30 | drivers/scsi/NCR5380.c | 7648 | 93330 | /*
* NCR 5380 generic driver routines. These should make it *trivial*
* to implement 5380 SCSI drivers under Linux with a non-trantor
* architecture.
*
* Note that these routines also work with NR53c400 family chips.
*
* Copyright 1993, Drew Eckhardt
* Visionary Computing
* (Unix an... | gpl-2.0 |
utilite-computer/linux-kernel-3.0 | kernel/trace/trace_workqueue.c | 8160 | 7555 | /*
* Workqueue statistical tracer.
*
* Copyright (C) 2008 Frederic Weisbecker <fweisbec@gmail.com>
*
*/
#include <trace/events/workqueue.h>
#include <linux/list.h>
#include <linux/percpu.h>
#include <linux/slab.h>
#include <linux/kref.h>
#include "trace_stat.h"
#include "trace.h"
/* A cpu workqueue thread */
s... | gpl-2.0 |
12019/old_samsung-lt02wifi-kernel | drivers/input/keyboard/hil_kbd.c | 8160 | 15102 | /*
* Generic linux-input device driver for keyboard devices
*
* Copyright (c) 2001 Brian S. Julin
* 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. Redistributions of source code mus... | gpl-2.0 |
DooMLoRD/semc-kernel-msm7x30-dev | drivers/gpu/drm/r128/r128_irq.c | 8416 | 3517 | /* r128_irq.c -- IRQ handling for radeon -*- linux-c -*- */
/*
* Copyright (C) The Weather Channel, Inc. 2002. All Rights Reserved.
*
* The Weather Channel (TM) funded Tungsten Graphics to develop the
* initial release of the Radeon 8500 driver under the XFree86 license.
* This notice must be preserved.
*
* Pe... | gpl-2.0 |
pacificIT/Kernel_Unico | drivers/net/wimax/i2400m/sdio-fw.c | 9184 | 7208 | /*
* Intel Wireless WiMAX Connection 2400m
* Firmware uploader's SDIO specifics
*
*
* Copyright (C) 2007-2008 Intel Corporation. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* * ... | gpl-2.0 |
SlimRoms/kernel_samsung_t1 | drivers/media/video/pvrusb2/pvrusb2-encoder.c | 9440 | 14688 | /*
*
*
* Copyright (C) 2005 Mike Isely <isely@pobox.com>
* Copyright (C) 2004 Aurelien Alleaume <slts@free.fr>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of ... | gpl-2.0 |
TeamExodus/kernel_moto_shamu | drivers/mtd/nand/nand_bch.c | 9440 | 7099 | /*
* This file provides ECC correction for more than 1 bit per block of data,
* using binary BCH codes. It relies on the generic BCH library lib/bch.c.
*
* Copyright © 2011 Ivan Djelic <ivan.djelic@parrot.com>
*
* This file is free software; you can redistribute it and/or modify it
* under the terms of the GNU G... | gpl-2.0 |
adrian17/gcc | gcc/testsuite/gcc.c-torture/compile/980408-1.c | 225 | 4083 | typedef struct _RunlengthPacket
{
unsigned short
red,
green,
blue,
length;
unsigned short
index;
} RunlengthPacket;
typedef struct _Image
{
int
status,
temporary;
char
filename[1664 ];
long int
filesize;
int
pipe;
char
magick[1664 ],
*comments,
*label,
... | gpl-2.0 |
buenajuan300/android_kernel_samsung_grandprimevelte | drivers/char/hw_random/atmel-rng.c | 481 | 3311 | /*
* Copyright (c) 2011 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 <linux/kernel.h>
#include <linux/module.h>
#include <l... | gpl-2.0 |
JB1tz/Moto_omap3_ics_kernel | drivers/net/sfc/falcon.c | 481 | 90249 | /****************************************************************************
* Driver for Solarflare Solarstorm network controllers and boards
* Copyright 2005-2006 Fen Systems Ltd.
* Copyright 2006-2008 Solarflare Communications Inc.
*
* This program is free software; you can redistribute it and/or modify it
* ... | gpl-2.0 |
Oceandragon/engine | code/opus-1.1/silk/table_LSF_cos.c | 481 | 4191 | /***********************************************************************
Copyright (c) 2006-2011, Skype Limited. 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 retai... | gpl-2.0 |
virtuous/kernel-vivow-gingerbread-v2 | drivers/mtd/nand/davinci_nand.c | 737 | 24339 | /*
* davinci_nand.c - NAND Flash Driver for DaVinci family chips
*
* Copyright © 2006 Texas Instruments.
*
* Port to 2.6.23 Copyright © 2008 by:
* Sander Huijsen <Shuijsen@optelecom-nkf.com>
* Troy Kisky <troy.kisky@boundarydevices.com>
* Dirk Behme <Dirk.Behme@gmail.com>
*
* This program is free softwa... | gpl-2.0 |
LeeDroid-/Pyramid-2.6.35-MR | crypto/testmgr.c | 737 | 55042 | /*
* Algorithm testing framework and tests.
*
* Copyright (c) 2002 James Morris <jmorris@intercode.com.au>
* Copyright (c) 2002 Jean-Francois Dive <jef@linuxbe.org>
* Copyright (c) 2007 Nokia Siemens Networks
* Copyright (c) 2008 Herbert Xu <herbert@gondor.apana.org.au>
*
* This program is free software; you ca... | gpl-2.0 |
bachtk/linux | drivers/media/usb/dvb-usb-v2/dvb_usb_core.c | 737 | 28349 | /*
* DVB USB framework
*
* Copyright (C) 2004-6 Patrick Boettcher <patrick.boettcher@desy.de>
* Copyright (C) 2012 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 So... | gpl-2.0 |
loxdegio/linux-zenx | arch/mips/dec/platform.c | 2017 | 1120 | /*
* DEC platform devices.
*
* Copyright (c) 2014 Maciej W. Rozycki
*
* 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 ve... | gpl-2.0 |
robacklin/linux-2.6.39.4 | drivers/infiniband/hw/mthca/mthca_main.c | 2529 | 37418 | /*
* Copyright (c) 2004, 2005 Topspin Communications. All rights reserved.
* Copyright (c) 2005 Sun Microsystems, Inc. All rights reserved.
* Copyright (c) 2005 Mellanox Technologies. All rights reserved.
*
* This software is available to you under a choice of one of two
* licenses. You may choose to be license... | gpl-2.0 |
Oi-Android/android_kernel_xiaomi_ferrari | drivers/s390/net/ctcm_dbug.c | 2529 | 1873 | /*
* Copyright IBM Corp. 2001, 2007
* Authors: Peter Tiedemann (ptiedem@de.ibm.com)
*
*/
#include <linux/stddef.h>
#include <linux/string.h>
#include <linux/kernel.h>
#include <linux/errno.h>
#include <linux/ctype.h>
#include <linux/sysctl.h>
#include <linux/module.h>
#include <linux/init.h>
#include <linux/fs.h>
... | gpl-2.0 |
MoKee/android_kernel_samsung_crespo | arch/mips/jz4740/gpio.c | 2529 | 15170 | /*
* Copyright (C) 2009-2010, Lars-Peter Clausen <lars@metafoo.de>
* JZ4740 platform GPIO support
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software Foundation; either version 2 of the License,... | gpl-2.0 |
latlontude/linux | drivers/net/wireless/cw1200/bh.c | 2529 | 14821 | /*
* Device handling thread implementation for mac80211 ST-Ericsson CW1200 drivers
*
* Copyright (c) 2010, ST-Ericsson
* Author: Dmitry Tarnyagin <dmitry.tarnyagin@lockless.no>
*
* Based on:
* ST-Ericsson UMAC CW1200 driver, which is
* Copyright (c) 2010, ST-Ericsson
* Author: Ajitpal Singh <ajitpal.singh@ster... | gpl-2.0 |
Dee-UK/D33_KK_Kernel | drivers/staging/comedi/drivers/pcl812.c | 2529 | 47561 | /*
* comedi/drivers/pcl812.c
*
* Author: Michal Dobes <dobes@tesnet.cz>
*
* hardware driver for Advantech cards
* card: PCL-812, PCL-812PG, PCL-813, PCL-813B
* driver: pcl812, pcl812pg, pcl813, pcl813b
* and for ADlink cards
* card: ACL-8112DG, ACL-8112HG, ACL-8112PG, ACL-8113, ACL-8216
* driver: a... | gpl-2.0 |
desalesouche/android_kernel_huawei_honor_3.4 | drivers/net/wireless/ray_cs.c | 4833 | 87155 | /*=============================================================================
*
* A PCMCIA client driver for the Raylink wireless LAN card.
* The starting point for this module was the skeleton.c in the
* PCMCIA 2.9.12 package written by David Hinds, dahinds@users.sourceforge.net
*
*
* Copyright (c) 1998 Cor... | gpl-2.0 |
jgcaaprom/android_kernel_oneplus_msm8974 | net/ax25/ax25_iface.c | 5089 | 5040 | /*
* 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.
*
* Copyright (C) Jonathan Naylor G4KLX (g4klx@g4klx.demon.co.u... | gpl-2.0 |
hroark13/zw340 | drivers/char/hw_random/tx4939-rng.c | 5089 | 4607 | /*
* RNG driver for TX4939 Random Number Generators (RNG)
*
* Copyright (C) 2009 Atsushi Nemoto <anemo@mba.ocn.ne.jp>
*
* 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/mod... | gpl-2.0 |
Arc-Team/android_kernel_htc_a11 | drivers/net/wireless/atmel_cs.c | 5089 | 10247 | /*** -*- linux-c -*- **********************************************************
Driver for Atmel at76c502 at76c504 and at76c506 wireless cards.
Copyright 2000-2001 ATMEL Corporation.
Copyright 2003 Simon Kelley.
This code was developed from version 2.1.1 of the Atmel drivers,
released by... | gpl-2.0 |
curbthepain/revkernel_s5 | drivers/net/ethernet/brocade/bna/bfa_ioc_ct.c | 5089 | 24491 | /*
* Linux network driver for Brocade Converged Network Adapter.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License (GPL) Version 2 as
* published by the Free Software Foundation
*
* This program is distributed in the hope that it will ... | gpl-2.0 |
TeamApexQ/android_kernel_samsung_d2 | drivers/infiniband/hw/qib/qib_mr.c | 8161 | 11915 | /*
* Copyright (c) 2006, 2007, 2008, 2009 QLogic Corporation. All rights reserved.
* Copyright (c) 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)... | gpl-2.0 |
AscendG630-DEV/kernel_huawei_msm8610 | arch/sh/mm/tlb-sh3.c | 8929 | 2267 | /*
* arch/sh/mm/tlb-sh3.c
*
* SH-3 specific TLB operations
*
* Copyright (C) 1999 Niibe Yutaka
* Copyright (C) 2002 Paul Mundt
*
* Released under the terms of the GNU GPL v2.0.
*/
#include <linux/signal.h>
#include <linux/sched.h>
#include <linux/kernel.h>
#include <linux/errno.h>
#include <linux/string.h>
#... | gpl-2.0 |
zombah/android_kernel_nokia_msm8610 | arch/mn10300/kernel/ptrace.c | 8929 | 9827 | /* MN10300 Process tracing
*
* Copyright (C) 2007 Matsushita Electric Industrial Co., Ltd.
* Copyright (C) 2007 Red Hat, Inc. All Rights Reserved.
* Modified 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 Pub... | gpl-2.0 |
christianjann/L4T_PREEMPT_RT | arch/mn10300/kernel/fpu.c | 8929 | 4214 | /* MN10300 FPU management
*
* Copyright (C) 2007 Red Hat, Inc. All Rights Reserved.
* Written by David Howells (dhowells@redhat.com)
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public Licence
* as published by the Free Software Foundation; eith... | gpl-2.0 |
HRTKernel/test | drivers/infiniband/hw/mthca/mthca_mr.c | 9953 | 23989 | /*
* Copyright (c) 2004 Topspin Communications. All rights reserved.
* Copyright (c) 2005 Mellanox Technologies. All rights reserved.
*
* This software is available to you under a choice of one of two
* licenses. You may choose to be licensed under the terms of the GNU
* General Public License (GPL) Version 2, ... | gpl-2.0 |
wenfengliaoshuzhai/linux | tools/perf/util/scripting-engines/trace-event-python.c | 226 | 31205 | /*
* trace-event-python. Feed trace events to an embedded Python interpreter.
*
* Copyright (C) 2010 Tom Zanussi <tzanussi@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;... | gpl-2.0 |
Stane1983/amlogic-m3 | drivers/hwmon/max6650.c | 994 | 20901 | /*
* max6650.c - Part of lm_sensors, Linux kernel modules for hardware
* monitoring.
*
* (C) 2007 by Hans J. Koch <hjk@linutronix.de>
*
* based on code written by John Morris <john.morris@spirentcom.com>
* Copyright (c) 2003 Spirent Communications
* and Claus Gindhart <claus.gindhart@kontron.com>
*... | gpl-2.0 |
joaquimorg/android_kernel_huawei_u8510 | drivers/hwmon/ltc4215.c | 1506 | 8530 | /*
* Driver for Linear Technology LTC4215 I2C Hot Swap Controller
*
* Copyright (C) 2009 Ira W. Snyder <iws@ovro.caltech.edu>
*
* 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 o... | gpl-2.0 |
HandyMenny/android_kernel_samsung_msm | drivers/net/ixgbe/ixgbe_common.c | 1506 | 90561 | /*******************************************************************************
Intel 10 Gigabit PCI Express Linux driver
Copyright(c) 1999 - 2011 Intel Corporation.
This program is free software; you can redistribute it and/or modify it
under the terms and conditions of the GNU General Public License,
ver... | gpl-2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.