repo_name string | path string | copies string | size string | content string | license string |
|---|---|---|---|---|---|
TeamVilleC2/android_kernel_htc_liberty-villec2 | arch/mips/jz4740/setup.c | 7575 | 1529 | /*
* Copyright (C) 2009-2010, Lars-Peter Clausen <lars@metafoo.de>
* Copyright (C) 2011, Maarten ter Huurne <maarten@treewalker.org>
* JZ4740 setup code
*
* 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
* Fr... | gpl-2.0 |
drewis/android_kernel_htc_ruby | drivers/media/dvb/mantis/mantis_i2c.c | 8343 | 6764 | /*
Mantis PCI bridge driver
Copyright (C) Manu Abraham (abraham.manu@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 option) any later v... | gpl-2.0 |
skritchz/android_kernel_motorola_surnia | arch/ia64/kernel/elfcore.c | 10903 | 1812 | #include <linux/elf.h>
#include <linux/coredump.h>
#include <linux/fs.h>
#include <linux/mm.h>
#include <asm/elf.h>
Elf64_Half elf_core_extra_phdrs(void)
{
return GATE_EHDR->e_phnum;
}
int elf_core_write_extra_phdrs(struct file *file, loff_t offset, size_t *size,
unsigned long limit)
{
const struct elf_... | gpl-2.0 |
treznorx/android-tegra-nv-2.6.39-rel-14r7 | drivers/acpi/acpica/utdecode.c | 152 | 15380 | /******************************************************************************
*
* Module Name: utdecode - Utility decoding routines (value-to-string)
*
*****************************************************************************/
/*
* Copyright (C) 2000 - 2011, Intel Corp.
* All rights reserved.
*
* Redistr... | gpl-2.0 |
Evisceration/linux-kernel | sound/oss/msnd.c | 152 | 8423 | /*********************************************************************
*
* msnd.c - Driver Base
*
* Turtle Beach MultiSound Sound Card Driver for Linux
*
* Copyright (C) 1998 Andrew Veliath
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public L... | gpl-2.0 |
BIBIMAINETTIDEV/imx6m300-linux-3.10.17 | drivers/hwmon/lm85.c | 1432 | 50101 | /*
* lm85.c - Part of lm_sensors, Linux kernel modules for hardware
* monitoring
* Copyright (c) 1998, 1999 Frodo Looijaard <frodol@dds.nl>
* Copyright (c) 2002, 2003 Philip Pokorny <ppokorny@penguincomputing.com>
* Copyright (c) 2003 Margit Schubert-While <margitsw@t-online.de>
* Copyright (c) 2004 ... | gpl-2.0 |
ikarosdev/triumph-kernel-msm7x30 | drivers/ieee1394/hosts.c | 1688 | 6421 | /*
* IEEE 1394 for Linux
*
* Low level (host adapter) management.
*
* Copyright (C) 1999 Andreas E. Bombe
* Copyright (C) 1999 Emanuel Pirker
*
* This code is licensed under the GPL. See the file COPYING in the root
* directory of the kernel sources for details.
*/
#include <linux/module.h>
#include <linux/... | gpl-2.0 |
allanm84/linux-imx | arch/arm/mach-omap2/prm2xxx.c | 2712 | 5729 | /*
* OMAP2xxx PRM module functions
*
* Copyright (C) 2010-2012 Texas Instruments, Inc.
* Copyright (C) 2010 Nokia Corporation
* Benoît Cousson
* Paul Walmsley
* Rajendra Nayak <rnayak@ti.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Publi... | gpl-2.0 |
supertoast/kernel-2.6.35-series-U8650-U8510-M865-Gingerbread | drivers/usb/storage/option_ms.c | 3992 | 4453 | /*
* Driver for Option High Speed Mobile Devices.
*
* (c) 2008 Dan Williams <dcbw@redhat.com>
*
* Inspiration taken from sierra_ms.c by Kevin Lloyd <klloyd@sierrawireless.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as pub... | gpl-2.0 |
micromys/linux-sunxi | drivers/staging/serqt_usb2/serqt_usb2.c | 3992 | 41442 | /*
* This code was developed for the Quatech USB line for linux, it used
* much of the code developed by Greg Kroah-Hartman for USB serial devices
*
*/
#include <linux/errno.h>
#include <linux/init.h>
#include <linux/slab.h>
#include <linux/tty.h>
#include <linux/tty_driver.h>
#include <linux/tty_flip.h>
#include ... | gpl-2.0 |
evitareul/android_kernel_htc_evitareul.DONTUSE | drivers/media/dvb/frontends/tda826x.c | 4248 | 5035 | /*
Driver for Philips tda8262/tda8263 DVBS Silicon tuners
(c) 2006 Andrew de Quincey
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 |
yajnab/android_kernel_samsung_msm7x27 | arch/sh/kernel/cpu/sh4a/hwblk-sh7722.c | 4504 | 3722 | /*
* arch/sh/kernel/cpu/sh4a/hwblk-sh7722.c
*
* SH7722 hardware block support
*
* Copyright (C) 2009 Magnus Damm
*
* 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 th... | gpl-2.0 |
JustAkan/jolla-kernel_GK-GPRO_Gen3 | drivers/net/wireless/b43/sdio.c | 5528 | 4746 | /*
* Broadcom B43 wireless driver
*
* SDIO over Sonics Silicon Backplane bus glue for b43.
*
* Copyright (C) 2009 Albert Herranz
* Copyright (C) 2009 Michael Buesch <m@bues.ch>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as pub... | gpl-2.0 |
MaxiCM/android_kernel_motorola_msm8226 | drivers/net/ethernet/cisco/enic/vnic_rq.c | 7320 | 5500 | /*
* Copyright 2008-2010 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... | gpl-2.0 |
erorcun/android_kernel_oneplus_msm8974-3.10 | drivers/net/ethernet/dec/tulip/pnic2.c | 9624 | 12465 | /*
drivers/net/ethernet/dec/tulip/pnic2.c
Copyright 2000,2001 The Linux Kernel Team
Written/copyright 1994-2001 by Donald Becker.
Modified to hep support PNIC_II by Kevin B. Hendricks
This software may be used and distributed according to the terms
of the GNU General Public License, incorporated herein ... | gpl-2.0 |
Phreya/phreya_kernel_onyx_cm | drivers/input/touchscreen/mtouch.c | 9880 | 5340 | /*
* MicroTouch (3M) serial touchscreen driver
*
* Copyright (c) 2004 Vojtech Pavlik
*/
/*
* 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.
*/
/*
* 2005/02/19 Dan Streetman <... | gpl-2.0 |
scotthartbti/samsung_kernel_d2att | drivers/input/touchscreen/mtouch.c | 9880 | 5340 | /*
* MicroTouch (3M) serial touchscreen driver
*
* Copyright (c) 2004 Vojtech Pavlik
*/
/*
* 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.
*/
/*
* 2005/02/19 Dan Streetman <... | gpl-2.0 |
droidcore/KrakenTC | drivers/scsi/aic94xx/aic94xx_scb.c | 9880 | 27270 | /*
* Aic94xx SAS/SATA driver SCB management.
*
* Copyright (C) 2005 Adaptec, Inc. All rights reserved.
* Copyright (C) 2005 Luben Tuikov <luben_tuikov@adaptec.com>
*
* This file is licensed under GPLv2.
*
* This file is part of the aic94xx driver.
*
* The aic94xx driver is free software; you can redistribute... | gpl-2.0 |
wanam/Adam-Kernel-GalaxyS6-G925F | sound/soc/codecs/audience/es705-i2s.c | 153 | 8102 | /*
* es705-i2s.c -- Audience eS705 I2S interface
*
* Copyright 2011 Audience, Inc.
*
* Author: Greg Clemson <gclemson@audience.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 ... | gpl-2.0 |
DSMan195276/protura-gcc | gcc/testsuite/c-c++-common/torture/vector-subscript-1.c | 153 | 1130 | /* { dg-do run } */
/* { dg-options "-fno-common" { target { hppa*-*-hpux* } } } */
#define vector __attribute__((vector_size(sizeof(int)*4) ))
/* Check to make sure that we extract and insert the vector at the same
location for vector subscripting and that vectors layout are the same
as arrays. */
struct TV4
{... | gpl-2.0 |
NEKTech-Labs/wrapfs-kernel-linux-3.17 | drivers/edac/cell_edac.c | 409 | 7930 | /*
* Cell MIC driver for ECC counting
*
* Copyright 2007 Benjamin Herrenschmidt, IBM Corp.
* <benh@kernel.crashing.org>
*
* This file may be distributed under the terms of the
* GNU General Public License.
*/
#undef DEBUG
#include <linux/edac.h>
#include <linux/module.h>
#include <linux/init.h>
... | gpl-2.0 |
xplodwild/packaged-linux-linaro-3.2-ci | scripts/kconfig/symbol.c | 665 | 27714 | /*
* Copyright (C) 2002 Roman Zippel <zippel@linux-m68k.org>
* Released under the terms of the GNU GPL v2.0.
*/
#include <ctype.h>
#include <stdlib.h>
#include <string.h>
#include <regex.h>
#include <sys/utsname.h>
#include "lkc.h"
struct symbol symbol_yes = {
.name = "y",
.curr = { "y", yes },
.flags = SYMBOL... | gpl-2.0 |
russelldias98/linux_kernel_3.0.68 | drivers/gpu/drm/nouveau/nv50_display.c | 1945 | 27798 | /*
* Copyright (C) 2008 Maarten Maathuis.
* 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 deal in the Software without restriction, including
* without limitation the rights to use... | gpl-2.0 |
carepack/android_kernel_google_msm | drivers/md/md.c | 2457 | 218979 | /*
md.c : Multiple Devices driver for Linux
Copyright (C) 1998, 1999, 2000 Ingo Molnar
completely rewritten, based on the MD driver code from Marc Zyngier
Changes:
- RAID-1/RAID-5 extensions by Miguel de Icaza, Gadi Oxman, Ingo Molnar
- RAID-6 extensions by H. Peter Anvin <hpa@zytor.com>
- boo... | gpl-2.0 |
jameskdev/lge-kernel-batman_skt | arch/arm/mach-tegra/board-harmony-pinmux.c | 2457 | 11993 | /*
* arch/arm/mach-tegra/board-harmony-pinmux.c
*
* Copyright (C) 2010 Google, Inc.
*
* This software is licensed under the terms of the GNU General Public
* License version 2, as published by the Free Software Foundation, and
* may be copied, distributed, and modified under those terms.
*
* This program is di... | gpl-2.0 |
kgp700/nexroid-sgs4ltea-kk | drivers/acpi/sysfs.c | 2969 | 18930 | /*
* sysfs.c - ACPI sysfs interface to userspace.
*/
#include <linux/init.h>
#include <linux/kernel.h>
#include <linux/moduleparam.h>
#include <acpi/acpi_drivers.h>
#define _COMPONENT ACPI_SYSTEM_COMPONENT
ACPI_MODULE_NAME("sysfs");
#define PREFIX "ACPI: "
#ifdef CONFIG_ACPI_DEBUG
/*
* ACPI debug sysfs I/F, inc... | gpl-2.0 |
SOKP/kernel_samsung_hlte | drivers/usb/serial/oti6858.c | 3993 | 27227 | /*
* Ours Technology Inc. OTi-6858 USB to serial adapter driver.
*
* Copyleft (C) 2007 Kees Lemmens (adapted for kernel 2.6.20)
* Copyright (C) 2006 Tomasz Michal Lukaszewski (FIXME: add e-mail)
* Copyright (C) 2001-2004 Greg Kroah-Hartman (greg@kroah.com)
* Copyright (C) 2003 IBM Corp.
*
* Many thanks to the ... | gpl-2.0 |
Euphoria-OS-Devices/android_kernel_lge_g3 | arch/c6x/kernel/process.c | 4505 | 5569 | /*
* Port on Texas Instruments TMS320C6x architecture
*
* Copyright (C) 2004, 2006, 2009, 2010, 2011 Texas Instruments Incorporated
* Author: Aurelien Jacquiot (aurelien.jacquiot@jaluna.com)
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Publ... | gpl-2.0 |
playfulgod/kernel_lge_fx3 | arch/arm/mach-exynos/dev-dwmci.c | 4761 | 1902 | /*
* linux/arch/arm/mach-exynos4/dev-dwmci.c
*
* Copyright (c) 2011 Samsung Electronics Co., Ltd.
* http://www.samsung.com
*
* Platform device for Synopsys DesignWare Mobile Storage IP
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public Licen... | gpl-2.0 |
kernel13D/linux-rpi | arch/cris/arch-v10/lib/string.c | 27801 | 7100 | /* A memcpy for CRIS.
Copyright (C) 1994-2005 Axis Communications.
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 must retain the above copyright
... | gpl-2.0 |
cipriancraciun/linux | kernel/cpu.c | 154 | 16115 | /* CPU control.
* (C) 2001, 2002, 2003, 2004 Rusty Russell
*
* This code is licenced under the GPL.
*/
#include <linux/proc_fs.h>
#include <linux/smp.h>
#include <linux/init.h>
#include <linux/notifier.h>
#include <linux/sched.h>
#include <linux/unistd.h>
#include <linux/cpu.h>
#include <linux/export.h>
#include <l... | gpl-2.0 |
googyanas/Googy-Kernel | drivers/misc/modem_if/modem_link_device_pld.c | 154 | 48408 | /*
* Copyright (C) 2010 Samsung Electronics.
*
* This software is licensed under the terms of the GNU General Public
* License version 2, as published by the Free Software Foundation, and
* may be copied, distributed, and modified under those terms.
*
* This program is distributed in the hope that it will be use... | gpl-2.0 |
KylinUI/android_kernel_motorola_msm8960dt-common | drivers/net/bonding/bond_sysfs.c | 922 | 45529 | /*
* Copyright(c) 2004-2005 Intel 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; either version 2 of the License, or
* (at your option) any later versi... | gpl-2.0 |
HRTKernel/Hacker_Kernel_SM-G928F | arch/arm/mach-s3c24xx/s3c2443.c | 1178 | 2959 | /* linux/arch/arm/mach-s3c2443/s3c2443.c
*
* Copyright (c) 2007 Simtec Electronics
* Ben Dooks <ben@simtec.co.uk>
*
* Samsung S3C2443 Mobile CPU 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 ... | gpl-2.0 |
TeamBliss-Devices/android_kernel_google_msm | drivers/pinctrl/pinctrl-tegra.c | 1946 | 13342 | /*
* Driver for the NVIDIA Tegra pinmux
*
* Copyright (c) 2011, NVIDIA CORPORATION. All rights reserved.
*
* Derived from code:
* Copyright (C) 2010 Google, Inc.
* Copyright (C) 2010 NVIDIA Corporation
* Copyright (C) 2009-2011 ST-Ericsson AB
*
* This program is free software; you can redistribute it and/or ... | gpl-2.0 |
joolswills/linux | drivers/acpi/bgrt.c | 1946 | 2810 | /*
* Copyright 2012 Red Hat, Inc <mjg@redhat.com>
* Copyright 2012 Intel Corporation
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*/
#include <linux/kernel.h>
#include <li... | gpl-2.0 |
F4uzan/mono_oneplus3 | drivers/mtd/nand/sm_common.c | 1946 | 4567 | /*
* Copyright © 2009 - Maxim Levitsky
* Common routines & support for xD format
*
* 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/m... | gpl-2.0 |
osmc/vero2-recovery | arch/m68k/platform/coldfire/intc.c | 5018 | 3515 | /*
* intc.c -- support for the old ColdFire interrupt controller
*
* (C) Copyright 2009, Greg Ungerer <gerg@snapgear.com>
*
* 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... | gpl-2.0 |
jdsingle76/SPH_L710_MK5_Kernel | drivers/block/paride/epat.c | 15514 | 7137 | /*
epat.c (c) 1997-8 Grant R. Guenther <grant@torque.net>
Under the terms of the GNU General Public License.
This is the low level protocol driver for the EPAT parallel
to IDE adapter from Shuttle Technologies. This adapter is
used in many popular parallel port ... | gpl-2.0 |
projectz201408/zkernel | sound/core/oss/copy.c | 15514 | 2883 | /*
* Linear conversion Plug-In
* Copyright (c) 2000 by Abramo Bagnara <abramo@alsa-project.org>
*
*
* This library is free software; you can redistribute it and/or modify
* it under the terms of the GNU Library General Public License as
* published by the Free Software Foundation; either version 2 of
* ... | gpl-2.0 |
syntheticpp/linux | drivers/thermal/of-thermal.c | 155 | 22532 | /*
* of-thermal.c - Generic Thermal Management device tree support.
*
* Copyright (C) 2013 Texas Instruments
* Copyright (C) 2013 Eduardo Valentin <eduardo.valentin@ti.com>
*
*
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
*
* This program is free software; you can redistrib... | gpl-2.0 |
kisslab/qemu | hw/9pfs/virtio-9p-coth.c | 155 | 2282 | /*
* Virtio 9p backend
*
* Copyright IBM, Corp. 2010
*
* Authors:
* Harsh Prateek Bora <harsh@linux.vnet.ibm.com>
* Venkateswararao Jujjuri(JV) <jvrao@linux.vnet.ibm.com>
*
* This work is licensed under the terms of the GNU GPL, version 2. See
* the COPYING file in the top-level directory.
*
*/
#include... | gpl-2.0 |
ms705/linux | arch/powerpc/platforms/85xx/p1023_rds.c | 411 | 3417 | /*
* Copyright 2010-2011, 2013 Freescale Semiconductor, Inc.
*
* Author: Roy Zang <tie-fei.zang@freescale.com>
*
* Description:
* P1023 RDS Board Setup
*
* 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 |
leilihh/linux | arch/arm/mach-s3c24xx/mach-vstms.c | 2203 | 3616 | /* linux/arch/arm/mach-s3c2412/mach-vstms.c
*
* (C) 2006 Thomas Gleixner <tglx@linutronix.de>
*
* Derived from mach-smdk2413.c - (C) 2006 Simtec Electronics
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by... | gpl-2.0 |
Tommy-Geenexus/android_kernel_sony_msm8994_suzuran_6.0.x | arch/arm/kernel/kprobes-test.c | 2715 | 42429 | /*
* arch/arm/kernel/kprobes-test.c
*
* Copyright (C) 2011 Jon Medhurst <tixy@yxit.co.uk>.
*
* 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 file contains test c... | gpl-2.0 |
Saylance/android_kernel_samsung_n7000 | arch/arm/mach-ep93xx/gesbc9312.c | 2971 | 1139 | /*
* arch/arm/mach-ep93xx/gesbc9312.c
* Glomation GESBC-9312-sx support.
*
* Copyright (C) 2006 Lennert Buytenhek <buytenh@wantstofly.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 Foundatio... | gpl-2.0 |
Team-Exhibit/android_kernel_samsung_u8500 | drivers/acpi/acpica/utalloc.c | 3227 | 10360 | /******************************************************************************
*
* Module Name: utalloc - local memory allocation routines
*
*****************************************************************************/
/*
* Copyright (C) 2000 - 2011, Intel Corp.
* All rights reserved.
*
* Redistribution and ... | gpl-2.0 |
TeskeVirtualSystem/odroid_mptcp | drivers/acpi/acpica/exresop.c | 3227 | 18244 |
/******************************************************************************
*
* Module Name: exresop - AML Interpreter operand/object resolution
*
*****************************************************************************/
/*
* Copyright (C) 2000 - 2011, Intel Corp.
* All rights reserved.
*
* Redistrib... | gpl-2.0 |
GAXUSXX/GalaxyS7edge_G935F_Kernel | drivers/infiniband/hw/ehca/hcp_if.c | 4251 | 28472 | /*
* IBM eServer eHCA Infiniband device driver for Linux on POWER
*
* Firmware Infiniband Interface code for POWER
*
* Authors: Christoph Raisch <raisch@de.ibm.com>
* Hoang-Nam Nguyen <hnguyen@de.ibm.com>
* Joachim Fenkes <fenkes@de.ibm.com>
* Gerd Bayer <gerd.bayer@de.ibm.com>
... | gpl-2.0 |
schqiushui/android_kernel_htc_msm8974 | sound/soc/blackfin/bf5xx-ad1980.c | 7323 | 2936 | /*
* File: sound/soc/blackfin/bf5xx-ad1980.c
* Author: Cliff Cai <Cliff.Cai@analog.com>
*
* Created: Tue June 06 2008
* Description: Board driver for AD1980/1 audio codec
*
* Modified:
* Copyright 2008 Analog Devices Inc.
*
* Bugs: Enter bugs at http://blackfin.uclinu... | gpl-2.0 |
kaldaris/WIDzard-A850K | arch/x86/kernel/cpu/mtrr/cleanup.c | 8091 | 25308 | /*
* MTRR (Memory Type Range Register) cleanup
*
* Copyright (C) 2009 Yinghai Lu
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your... | gpl-2.0 |
Silentlys/android_kernel_zuk_msm8996 | arch/parisc/lib/io.c | 13979 | 9956 | /*
* arch/parisc/lib/io.c
*
* Copyright (c) Matthew Wilcox 2001 for Hewlett-Packard
* Copyright (c) Randolph Chung 2001 <tausq@debian.org>
*
* IO accessing functions which shouldn't be inlined because they're too big
*/
#include <linux/kernel.h>
#include <linux/module.h>
#include <asm/io.h>
/* Copies a block o... | gpl-2.0 |
apc-llc/gcc-5.1.1-knc | gcc/testsuite/gcc.dg/torture/pr54098.c | 156 | 2569 | /* { dg-do compile } */
extern int printf(const char *, ...);
struct list_head {
struct list_head *next, *prev;
};
struct resource {
unsigned long long start;
unsigned long long end;
unsigned long flags;
struct resource *parent, *sibling, *child;
};
struct pci_dev {
struct list_head bus_list;
struct resource re... | gpl-2.0 |
jonsmirl/lpc31xx-uboot | arch/powerpc/cpu/mpc824x/traps.c | 156 | 4914 | /*
* linux/arch/powerpc/kernel/traps.c
*
* Copyright (C) 1995-1996 Gary Thomas (gdt@linuxppc.org)
*
* Modified by Cort Dougan (cort@cs.nmt.edu)
* and Paul Mackerras (paulus@cs.anu.edu.au)
*
* (C) Copyright 2000
* Wolfgang Denk, DENX Software Engineering, wd@denx.de.
*
* See file CREDITS for list of people w... | gpl-2.0 |
Kishii/335 | dep/tbb/src/rml/server/rml_server.cpp | 156 | 46761 | /*
Copyright 2005-2009 Intel Corporation. All Rights Reserved.
This file is part of Threading Building Blocks.
Threading Building Blocks 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 |
r1mikey/linux-picoxcell | drivers/tty/serial/bfin_uart.c | 412 | 39932 | /*
* Blackfin On-Chip Serial Driver
*
* Copyright 2006-2011 Analog Devices Inc.
*
* Enter bugs at http://blackfin.uclinux.org/
*
* Licensed under the GPL-2 or later.
*/
#if defined(CONFIG_SERIAL_BFIN_CONSOLE) && defined(CONFIG_MAGIC_SYSRQ)
#define SUPPORT_SYSRQ
#endif
#define DRIVER_NAME "bfin-uart"
#define p... | gpl-2.0 |
Potin/linux-am33x-04.06.00.07 | drivers/vhost/test.c | 668 | 7325 | /* Copyright (C) 2009 Red Hat, Inc.
* Author: Michael S. Tsirkin <mst@redhat.com>
*
* This work is licensed under the terms of the GNU GPL, version 2.
*
* test virtio server in host kernel.
*/
#include <linux/compat.h>
#include <linux/eventfd.h>
#include <linux/vhost.h>
#include <linux/miscdevice.h>
#include <li... | gpl-2.0 |
ffzg/rhel-3.10-zram | drivers/crypto/ux500/hash/hash_core.c | 1436 | 51856 | /*
* Cryptographic API.
* Support for Nomadik hardware crypto engine.
* Copyright (C) ST-Ericsson SA 2010
* Author: Shujuan Chen <shujuan.chen@stericsson.com> for ST-Ericsson
* Author: Joakim Bech <joakim.xx.bech@stericsson.com> for ST-Ericsson
* Author: Berne Hebark <berne.herbark@stericsson.com> for ST-Ericsso... | gpl-2.0 |
sachinthomaspj/android_kernel_htc_pico | drivers/net/fsl_pq_mdio.c | 2972 | 11718 | /*
* Freescale PowerQUICC Ethernet Driver -- MIIM bus implementation
* Provides Bus interface for MIIM regs
*
* Author: Andy Fleming <afleming@freescale.com>
* Modifier: Sandeep Gopalpet <sandeep.kumar@freescale.com>
*
* Copyright 2002-2004, 2008-2009 Freescale Semiconductor, Inc.
*
* Based on gianfar_mii.c an... | gpl-2.0 |
storm31/android_kernel_samsung_aries | drivers/acpi/acpica/dsobject.c | 3228 | 24843 | /******************************************************************************
*
* Module Name: dsobject - Dispatcher object management routines
*
*****************************************************************************/
/*
* Copyright (C) 2000 - 2011, Intel Corp.
* All rights reserved.
*
* Redistributio... | gpl-2.0 |
MoKee/android_kernel_lge_star | drivers/acpi/acpica/dsobject.c | 3228 | 24843 | /******************************************************************************
*
* Module Name: dsobject - Dispatcher object management routines
*
*****************************************************************************/
/*
* Copyright (C) 2000 - 2011, Intel Corp.
* All rights reserved.
*
* Redistributio... | gpl-2.0 |
STS-Dev-Team/kernel_omap4_xt912 | arch/powerpc/mm/mmu_context_hash32.c | 3740 | 3445 | /*
* This file contains the routines for handling the MMU on those
* PowerPC implementations where the MMU substantially follows the
* architecture specification. This includes the 6xx, 7xx, 7xxx,
* 8260, and POWER3 implementations but excludes the 8xx and 4xx.
* -- paulus
*
* Derived from arch/ppc/mm/init.c:... | gpl-2.0 |
adityak74/android_kernel_micromax_doodle | net/sctp/sm_sideeffect.c | 4252 | 49061 | /* SCTP kernel implementation
* (C) Copyright IBM Corp. 2001, 2004
* Copyright (c) 1999 Cisco, Inc.
* Copyright (c) 1999-2001 Motorola, Inc.
*
* This file is part of the SCTP kernel implementation
*
* These functions work with the state functions in sctp_sm_statefuns.c
* to implement that state operations. The... | gpl-2.0 |
thicklizard/jewel | drivers/i2c/i2c-smbus.c | 4252 | 7229 | /*
* i2c-smbus.c - SMBus extensions to the I2C protocol
*
* Copyright (C) 2008 David Brownell
* Copyright (C) 2010 Jean Delvare <khali@linux-fr.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... | gpl-2.0 |
MSM8226-Samsung/android_kernel_samsung_ms01lte | sound/soc/codecs/twl6040.c | 4764 | 44069 | /*
* ALSA SoC TWL6040 codec driver
*
* Author: Misael Lopez Cruz <x0052729@ti.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 ho... | gpl-2.0 |
mahirkukreja/delos3geurkernel | arch/um/kernel/skas/uaccess.c | 4764 | 5237 | /*
* Copyright (C) 2002 - 2007 Jeff Dike (jdike@{addtoit,linux.intel}.com)
* Licensed under the GPL
*/
#include <linux/err.h>
#include <linux/highmem.h>
#include <linux/mm.h>
#include <linux/module.h>
#include <linux/sched.h>
#include <asm/current.h>
#include <asm/page.h>
#include <asm/pgtable.h>
#include "kern_uti... | gpl-2.0 |
rachitrawat/Vengeance-Kernel-MSM7x27-Nanhu | sound/soc/codecs/twl6040.c | 4764 | 44069 | /*
* ALSA SoC TWL6040 codec driver
*
* Author: Misael Lopez Cruz <x0052729@ti.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 ho... | gpl-2.0 |
bq/linux-e60622 | drivers/isdn/hisax/asuscom.c | 5020 | 11573 | /* $Id: asuscom.c,v 1.14.2.4 2004/01/13 23:48:39 keil Exp $
*
* low level stuff for ASUSCOM NETWORK INC. ISDNLink cards
*
* Author Karsten Keil
* Copyright by Karsten Keil <keil@isdn4linux.de>
*
* This software may be used and distributed according to the terms
* of the GNU General Public License,... | gpl-2.0 |
michaelwu/kernel-msm | drivers/staging/comedi/drivers/pcl724.c | 7836 | 5901 | /*
comedi/drivers/pcl724.c
Michal Dobes <dobes@tesnet.cz>
hardware driver for Advantech cards:
card: PCL-724, PCL-722, PCL-731
driver: pcl724, pcl722, pcl731
and ADLink cards:
card: ACL-7122, ACL-7124, PET-48DIO
driver: acl7122, acl7124, pet48dio
Options for PCL-724, P... | gpl-2.0 |
Fusion-Devices/android_kernel_samsung_jf | drivers/base/attribute_container.c | 8860 | 12278 | /*
* attribute_container.c - implementation of a simple container for classes
*
* Copyright (c) 2005 - James Bottomley <James.Bottomley@steeleye.com>
*
* This file is licensed under GPLv2
*
* The basic idea here is to enable a device to be attached to an
* aritrary numer of classes without having to allocate st... | gpl-2.0 |
evan-a-a/linux-braswell | tools/objtool/elf.c | 157 | 8781 | /*
* elf.c - ELF access library
*
* Adapted from kpatch (https://github.com/dynup/kpatch):
* Copyright (C) 2013-2015 Josh Poimboeuf <jpoimboe@redhat.com>
* Copyright (C) 2014 Seth Jennings <sjenning@redhat.com>
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the ... | gpl-2.0 |
federivas/s6500d_official_kernel | drivers/staging/tidspbridge/pmgr/dspapi.c | 157 | 44689 | /*
* dspapi.c
*
* DSP-BIOS Bridge driver support functions for TI OMAP processors.
*
* Common DSP API functions, also includes the wrapper
* functions called directly by the DeviceIOControl interface.
*
* Copyright (C) 2005-2006 Texas Instruments, Inc.
*
* This package is free software; you can redistribute i... | gpl-2.0 |
yangxiaohua1977/sound-linux-4.5.7 | drivers/misc/apds990x.c | 413 | 34849 | /*
* This file is part of the APDS990x sensor driver.
* Chip is combined proximity and ambient light sensor.
*
* Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
*
* Contact: Samu Onkalo <samu.p.onkalo@nokia.com>
*
* This program is free software; you can redistribute it and/or
* modify it und... | gpl-2.0 |
sandeshghimire/xlnx-3.17 | drivers/media/pci/cx23885/cx23888-ir.c | 669 | 35945 | /*
* Driver for the Conexant CX23885/7/8 PCIe bridge
*
* CX23888 Integrated Consumer Infrared Controller
*
* Copyright (C) 2009 Andy Walls <awalls@md.metrocast.net>
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as publis... | gpl-2.0 |
evil-at-wow/cmangos-wotlk | dep/src/g3dlite/ConvexPolyhedron.cpp | 669 | 13677 | /**
@file ConvexPolyhedron.cpp
@author Morgan McGuire, http://graphics.cs.williams.edu
@created 2001-11-11
@edited 2009-08-10
Copyright 2000-2009, Morgan McGuire.
All rights reserved.
*/
#include "G3D/platform.h"
#include "G3D/ConvexPolyhedron.h"
#include "G3D/debug.h"
namespace G3D {
ConvexPolyg... | gpl-2.0 |
mndza/linux-xlnx | sound/oss/dev_table.c | 1181 | 5584 | /*
* sound/oss/dev_table.c
*
* Device call tables.
*
*
* 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 more info.
*/
#include <linux/init.h>
#i... | gpl-2.0 |
CyanogenMod/android_kernel_motorola_otus | drivers/video/msm/mdss/mdss_edp_aux.c | 1181 | 29398 | /* 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 |
TheStrix/caf_msm8916 | drivers/char/tpm/tpm_ppi.c | 1693 | 13690 | #include <linux/acpi.h>
#include <acpi/acpi_drivers.h>
#include "tpm.h"
static const u8 tpm_ppi_uuid[] = {
0xA6, 0xFA, 0xDD, 0x3D,
0x1B, 0x36,
0xB4, 0x4E,
0xA4, 0x24,
0x8D, 0x10, 0x08, 0x9D, 0x16, 0x53
};
static char *tpm_device_name = "TPM";
#define TPM_PPI_REVISION_ID 1
#define TPM_PPI_FN_VERSION 1
#define TPM... | gpl-2.0 |
networkimprov/linux | drivers/regulator/gpio-regulator.c | 2205 | 10073 | /*
* gpio-regulator.c
*
* Copyright 2011 Heiko Stuebner <heiko@sntech.de>
*
* based on fixed.c
*
* Copyright 2008 Wolfson Microelectronics PLC.
*
* Author: Mark Brown <broonie@opensource.wolfsonmicro.com>
*
* Copyright (c) 2009 Nokia Corporation
* Roger Quadros <ext-roger.quadros@nokia.com>
*
* This progr... | gpl-2.0 |
showp1984/bricked_ville | arch/arm/mach-lpc32xx/common.c | 2717 | 5858 | /*
* arch/arm/mach-lpc32xx/common.c
*
* Author: Kevin Wells <kevin.wells@nxp.com>
*
* Copyright (C) 2010 NXP Semiconductors
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either vers... | gpl-2.0 |
Spartonos/android_kernel_motorola_falcon_umts | arch/arm/mach-omap2/voltagedomains3xxx_data.c | 4765 | 2959 | /*
* OMAP3 voltage domain data
*
* Copyright (C) 2007, 2010 Texas Instruments, Inc.
* Rajendra Nayak <rnayak@ti.com>
* Lesly A M <x0080970@ti.com>
* Thara Gopinath <thara@ti.com>
*
* Copyright (C) 2008, 2011 Nokia Corporation
* Kalle Jokiniemi
* Paul Walmsley
*
* This program is free software; you can redis... | gpl-2.0 |
lani11/Potsy_Kernel | drivers/isdn/hisax/saphir.c | 5021 | 7480 | /* $Id: saphir.c,v 1.10.2.4 2004/01/13 23:48:39 keil Exp $
*
* low level stuff for HST Saphir 1
*
* Author Karsten Keil
* Copyright by Karsten Keil <keil@isdn4linux.de>
*
* This software may be used and distributed according to the terms
* of the GNU General Public License, incorporated herein by... | gpl-2.0 |
aditheking/G7102_MM_SWA_Opensource | drivers/misc/eeprom/eeprom_93cx6.c | 8093 | 7518 | /*
* Copyright (C) 2004 - 2006 rt2x00 SourceForge Project
* <http://rt2x00.serialmonkey.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 yo... | gpl-2.0 |
neldar/linux_gt-i8190 | drivers/scsi/dpt_i2o.c | 8093 | 97076 | /***************************************************************************
dpti.c - description
-------------------
begin : Thu Sep 7 2000
copyright : (C) 2000 by Adaptec
July 30, 2001 First version being submitted
... | gpl-2.0 |
VanirAOSP/kernel_samsung_exynos5420 | arch/x86/kernel/ioport.c | 8093 | 2960 | /*
* This contains the io-permission bitmap code - written by obz, with changes
* by Linus. 32/64 bits code unification by Miguel Botón.
*/
#include <linux/sched.h>
#include <linux/kernel.h>
#include <linux/capability.h>
#include <linux/errno.h>
#include <linux/types.h>
#include <linux/ioport.h>
#include <linux/smp... | gpl-2.0 |
Drgravy/g3stock | arch/ia64/xen/time.c | 9885 | 6603 | /******************************************************************************
* arch/ia64/xen/time.c
*
* Copyright (c) 2008 Isaku Yamahata <yamahata at valinux co jp>
* VA Linux Systems Japan K.K.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms o... | gpl-2.0 |
DZB-Team/zombie_kernel_sprout | arch/mips/dec/tc.c | 14237 | 2056 | /*
* TURBOchannel architecture calls.
*
* Copyright (c) Harald Koerfgen, 1998
* Copyright (c) 2001, 2003, 2005, 2006 Maciej W. Rozycki
* Copyright (c) 2005 James Simmons
*
* This file is subject to the terms and conditions of the GNU
* General Public License. See the file "COPYING" in the main
* directory o... | gpl-2.0 |
pombredanne/bcm11351 | drivers/media/rc/ir-rx51.c | 158 | 12195 | /*
* Copyright (C) 2008 Nokia Corporation
*
* Based on lirc_serial.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
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any la... | gpl-2.0 |
Forzaferrarileo/fuji-msm8660-JB-3.4.0 | drivers/input/touchscreen/atmel_mxt_ts.c | 158 | 68236 | /*
* Atmel maXTouch Touchscreen driver
*
* Copyright (C) 2010 Samsung Electronics Co.Ltd
* Author: Joonyoung Shim <jy0922.shim@samsung.com>
* 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 G... | gpl-2.0 |
HinTak/linux | drivers/iio/common/ssp_sensors/ssp_dev.c | 158 | 16395 | // SPDX-License-Identifier: GPL-2.0-or-later
/*
* Copyright (C) 2014, Samsung Electronics Co. Ltd. All Rights Reserved.
*/
#include <linux/iio/iio.h>
#include <linux/interrupt.h>
#include <linux/io.h>
#include <linux/mfd/core.h>
#include <linux/module.h>
#include <linux/of.h>
#include <linux/of_platform.h>
#include... | gpl-2.0 |
virtualAMP/vamp-qemu | net/checksum.c | 158 | 2207 | /*
* IP checksumming functions.
* (c) 2008 Gerd Hoffmann <kraxel@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; under version 2 of the License.
*
* This program is d... | gpl-2.0 |
ziozzang/linux | drivers/gpu/drm/nouveau/nvkm/subdev/bus/hwsq.c | 414 | 3713 | /*
* Copyright 2013 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 |
javelinanddart/android_kernel_htc_msm8974 | drivers/iio/magnetometer/ak8975.c | 670 | 12679 | /*
* A sensor driver for the magnetometer AK8975.
*
* Magnetic compass sensor driver for monitoring magnetic flux information.
*
* Copyright (c) 2010, NVIDIA 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 ... | gpl-2.0 |
magyarm/bluetooth-next | drivers/media/usb/tm6000/tm6000-dvb.c | 1694 | 11034 | /*
* tm6000-dvb.c - dvb-t support for TM5600/TM6000/TM6010 USB video capture devices
*
* Copyright (C) 2007 Michel Ludwig <michel.ludwig@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 Softw... | gpl-2.0 |
ptmr3/i717-7005_ICS_Kernel | sound/i2c/other/ak4117.c | 4766 | 16871 | /*
* Routines for control of the AK4117 via 4-wire serial interface
* IEC958 (S/PDIF) receiver by Asahi Kasei
* Copyright (c) by 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 b... | gpl-2.0 |
daemon32/android_kernel_lge_fx3t | drivers/staging/speakup/speakup_audptr.c | 7582 | 5960 | /*
* originally written by: Kirk Reiser <kirk@braille.uwo.ca>
* this version considerably modified by David Borowski, david575@rogers.com
*
* Copyright (C) 1998-99 Kirk Reiser.
* Copyright (C) 2003 David Borowski.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of ... | gpl-2.0 |
shankarathi07/linux_lg_jb | arch/mips/math-emu/dp_sqrt.c | 7838 | 4346 | /* IEEE754 floating point arithmetic
* double precision square root
*/
/*
* MIPS floating point support
* Copyright (C) 1994-2000 Algorithmics Ltd.
*
* ########################################################################
*
* This program is free software; you can distribute it and/or modify it
* under th... | gpl-2.0 |
KINGbabasula/KING_kernel | arch/mips/math-emu/dp_sqrt.c | 7838 | 4346 | /* IEEE754 floating point arithmetic
* double precision square root
*/
/*
* MIPS floating point support
* Copyright (C) 1994-2000 Algorithmics Ltd.
*
* ########################################################################
*
* This program is free software; you can distribute it and/or modify it
* under th... | gpl-2.0 |
bbbLinux/kernel | kernel/trace/trace_sched_switch.c | 159 | 5842 | /*
* trace context switch
*
* Copyright (C) 2007 Steven Rostedt <srostedt@redhat.com>
*
*/
#include <linux/module.h>
#include <linux/fs.h>
#include <linux/debugfs.h>
#include <linux/kallsyms.h>
#include <linux/uaccess.h>
#include <linux/ftrace.h>
#include <trace/events/sched.h>
#include "trace.h"
static struct t... | gpl-2.0 |
shane87/linux_wx435kt-froyo | drivers/video/msm/ebi2_tmd20.c | 159 | 44379 | /* Copyright (c) 2008-2009, 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.