repo_name string | path string | copies string | size string | content string | license string |
|---|---|---|---|---|---|
HRTKernel/samsung_exynos_7420 | drivers/net/ethernet/xircom/xirc2ps_cs.c | 2318 | 53279 | /* [xirc2ps_cs.c wk 03.11.99] (1.40 1999/11/18 00:06:03)
* Xircom CreditCard Ethernet Adapter IIps driver
* Xircom Realport 10/100 (RE-100) driver
*
* This driver supports various Xircom CreditCard Ethernet adapters
* including the CE2, CE IIps, RE-10, CEM28, CEM33, CE33, CEM56,
* CE3-100, CE3B, RE-100, REM10BT,... | gpl-2.0 |
RaspberryPi-CM/android_kernel_raspberry_pi2 | arch/powerpc/oprofile/op_model_pa6t.c | 2318 | 5913 | /*
* Copyright (C) 2006-2007 PA Semi, Inc
*
* Author: Shashi Rao, PA Semi
*
* Maintained by: Olof Johansson <olof@lixom.net>
*
* Based on arch/powerpc/oprofile/op_model_power4.c
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License vers... | gpl-2.0 |
chrnueve/udooImaxdi | kernel_oficial_source/drivers/usb/serial/kl5kusb105.c | 3086 | 19631 | /*
* KLSI KL5KUSB105 chip RS232 converter driver
*
* Copyright (C) 2010 Johan Hovold <jhovold@gmail.com>
* Copyright (C) 2001 Utz-Uwe Haus <haus@uuhaus.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
* ... | gpl-2.0 |
lovers-fancy/SC-05D_Kernel | fs/qnx4/namei.c | 3342 | 3327 | /*
* QNX4 file system, Linux implementation.
*
* Version : 0.2.1
*
* Using parts of the xiafs filesystem.
*
* History :
*
* 01-06-1998 by Richard Frowijn : first release.
* 21-06-1998 by Frank Denis : dcache support, fixed error codes.
* 04-07-1998 by Frank Denis : first step for rmdir/unlink.
*/
#inc... | gpl-2.0 |
Honor8Dev/android_kernel_huawei_FRD-L04 | drivers/md/dm-sysfs.c | 3598 | 2335 | /*
* Copyright (C) 2008 Red Hat, Inc. All rights reserved.
*
* This file is released under the GPL.
*/
#include <linux/sysfs.h>
#include <linux/dm-ioctl.h>
#include "dm.h"
struct dm_sysfs_attr {
struct attribute attr;
ssize_t (*show)(struct mapped_device *, char *);
ssize_t (*store)(struct mapped_device *, cha... | gpl-2.0 |
AragaoAnderson/n5x_kernel_google_msm | fs/nilfs2/file.c | 5390 | 4484 | /*
* file.c - NILFS regular file handling primitives including fsync().
*
* Copyright (C) 2005-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 Found... | gpl-2.0 |
OptimusG-Dev-Team/caf-clean-kernel | arch/powerpc/sysdev/bestcomm/fec.c | 9486 | 7075 | /*
* Bestcomm FEC tasks driver
*
*
* Copyright (C) 2006-2007 Sylvain Munaut <tnt@246tNt.com>
* Copyright (C) 2003-2004 MontaVista, Software, Inc.
* ( by Dale Farnsworth <dfarnsworth@mvista.com> )
*
* This file is licensed under the terms of the GNU General Public License
* version 2. Th... | gpl-2.0 |
Megatron007/Megabyte_kernel_victara | arch/parisc/kernel/binfmt_elf32.c | 9486 | 3565 | /*
* Support for 32-bit Linux/Parisc ELF binaries on 64 bit kernels
*
* Copyright (C) 2000 John Marvin
* Copyright (C) 2000 Hewlett Packard Co.
*
* Heavily inspired from various other efforts to do the same thing
* (ia64,sparc64/mips64)
*/
/* Make sure include/asm-parisc/elf.h does the right thing */
#define ... | gpl-2.0 |
Maxr1998/hellsCore-mako | drivers/net/wireless/libertas/ethtool.c | 9742 | 3371 | #include <linux/hardirq.h>
#include <linux/netdevice.h>
#include <linux/ethtool.h>
#include <linux/delay.h>
#include "decl.h"
#include "cmd.h"
#include "mesh.h"
static void lbs_ethtool_get_drvinfo(struct net_device *dev,
struct ethtool_drvinfo *info)
{
struct lbs_private *priv = dev->ml_priv;
snprintf(info-... | gpl-2.0 |
EdwinMoq/android_kernel_lge_omap4-common | drivers/media/dvb/b2c2/flexcop-fe-tuner.c | 9998 | 16141 | /*
* Linux driver for digital TV devices equipped with B2C2 FlexcopII(b)/III
* flexcop-fe-tuner.c - methods for frontend attachment and DiSEqC controlling
* see flexcop.c for copyright information
*/
#include <media/tuner.h>
#include "flexcop.h"
#include "mt312.h"
#include "stv0299.h"
#include "s5h1420.h"
#include ... | gpl-2.0 |
EAVR/EV3.14 | ev3sources/extra/linux-03.20.00.13/arch/arm/mach-netx/pfifo.c | 14606 | 1670 | /*
* arch/arm/mach-netx/pfifo.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 program is... | gpl-2.0 |
zarboz/XBMC-PVR-mac | xbmc/guilib/GUITextBox.cpp | 15 | 10994 | /*
* Copyright (C) 2005-2008 Team XBMC
* http://www.xbmc.org
*
* This Program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2, or (at your option)
* any later version.
*
... | gpl-2.0 |
119/aircam-openwrt | build_dir/toolchain-arm_v5te_gcc-linaro_uClibc-0.9.32_eabi/uClibc-0.9.32/libc/sysdeps/linux/xtensa/pread_write.c | 15 | 5187 | /* vi: set sw=4 ts=4: */
/*
* Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org>
*
* Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
*/
/*
* Based in part on the files
* ./sysdeps/unix/sysv/linux/pwrite.c,
* ./sysdeps/unix/sysv/linux/pread.c,
* sysdeps/posix/pread.c
* sysde... | gpl-2.0 |
gshwang/kernel | drivers/md/dm-raid1.c | 15 | 30251 | /*
* Copyright (C) 2003 Sistina Software Limited.
*
* This file is released under the GPL.
*/
#include "dm.h"
#include "dm-bio-list.h"
#include "dm-io.h"
#include "dm-log.h"
#include "kcopyd.h"
#include <linux/ctype.h>
#include <linux/init.h>
#include <linux/mempool.h>
#include <linux/module.h>
#include <linux/pa... | gpl-2.0 |
mymedia2/gcc | gcc/cfgbuild.c | 15 | 18411 | /* Control flow graph building code for GNU compiler.
Copyright (C) 1987-2016 Free Software Foundation, Inc.
This file is part of GCC.
GCC 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, or ... | gpl-2.0 |
Tuxinou/test | src/server/scripts/World/mob_generic_creature.cpp | 15 | 8128 | /*
* Copyright (C) 2008-2011 TrinityCore <http://www.trinitycore.org/>
* Copyright (C) 2006-2009 ScriptDev2 <https://scriptdev2.svn.sourceforge.net/>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software ... | gpl-2.0 |
AOSP-TEAM/android_kernel_samsung_i9100g | drivers/media/video/uvc/uvc_v4l2.c | 783 | 28586 | /*
* uvc_v4l2.c -- USB Video Class driver - V4L2 API
*
* Copyright (C) 2005-2009
* Laurent Pinchart (laurent.pinchart@skynet.be)
*
* 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
* t... | gpl-2.0 |
mdeejay/shooter_u-gb-crc | arch/arm/mach-omap2/sdrc2xxx.c | 1039 | 4290 | /*
* linux/arch/arm/mach-omap2/sdrc2xxx.c
*
* SDRAM timing related functions for OMAP2xxx
*
* Copyright (C) 2005, 2008 Texas Instruments Inc.
* Copyright (C) 2005, 2008 Nokia Corporation
*
* Tony Lindgren <tony@atomide.com>
* Paul Walmsley
* Richard Woodruff <r-woodruff2@ti.com>
*
* This program is free sof... | gpl-2.0 |
bigzz/linux-btrfs | sound/pcmcia/vx/vxp_ops.c | 1551 | 15737 | /*
* Driver for Digigram VXpocket soundcards
*
* lowlevel routines for VXpocket soundcards
*
* Copyright (c) 2002 by Takashi Iwai <tiwai@suse.de>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Soft... | gpl-2.0 |
nimengyu2/ti-arm9-linux-03.21.00.04 | drivers/rtc/rtc-at91rm9200.c | 1551 | 10461 | /*
* Real Time Clock interface for Linux on Atmel AT91RM9200
*
* Copyright (C) 2002 Rick Bronson
*
* Converted to RTC class model by Andrew Victor
*
* Ported to Linux 2.6 by Steven Scholz
* Based on s3c2410-rtc.c Simtec Electronics
*
* Based on sa1100-rtc.c by Nils Faerber
* Based on rtc.c by Paul Gortmaker
... | gpl-2.0 |
ArtVandelae/steamos_kernel | arch/mips/dec/prom/init.c | 2063 | 3532 | /*
* init.c: PROM library initialisation code.
*
* Copyright (C) 1998 Harald Koerfgen
* Copyright (C) 2002, 2004 Maciej W. Rozycki
*/
#include <linux/init.h>
#include <linux/kernel.h>
#include <linux/linkage.h>
#include <linux/smp.h>
#include <linux/string.h>
#include <linux/types.h>
#include <asm/bootinfo.h>
#i... | gpl-2.0 |
Hybridmax/G92XF_Mystery_Kernel | drivers/mtd/devices/sst25l.c | 2319 | 10029 | /*
* sst25l.c
*
* Driver for SST25L SPI Flash chips
*
* Copyright © 2009 Bluewater Systems Ltd
* Author: Andre Renaud <andre@bluewatersys.com>
* Author: Ryan Mallon
*
* Based on m25p80.c
*
* This code is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public Lice... | gpl-2.0 |
Starship-Android/starship_kernel_moto_shamu | drivers/platform/x86/dell-wmi-aio.c | 2319 | 5457 | /*
* WMI hotkeys support for Dell All-In-One series
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* ... | gpl-2.0 |
Vegaviet-DevTeam/Kernel_N4_N910SLK | drivers/net/ethernet/3com/3c574_cs.c | 2319 | 33978 | /* 3c574.c: A PCMCIA ethernet driver for the 3com 3c574 "RoadRunner".
Written 1993-1998 by
Donald Becker, becker@scyld.com, (driver core) and
David Hinds, dahinds@users.sourceforge.net (from his PC card code).
Locking fixes (C) Copyright 2003 Red Hat Inc
This software may be used and distributed according to the... | gpl-2.0 |
AOKP/vigor_aosp_kernel | drivers/net/wireless/b43/lo.c | 2319 | 27502 | /*
Broadcom B43 wireless driver
G PHY LO (LocalOscillator) Measuring and Control routines
Copyright (c) 2005 Martin Langer <martin-langer@gmx.de>,
Copyright (c) 2005, 2006 Stefano Brivio <stefano.brivio@polimi.it>
Copyright (c) 2005-2007 Michael Buesch <mb@bu3sch.de>
Copyright (c) 2005, 2006 Danny van Dy... | gpl-2.0 |
mdeejay/shooteru-ics-aosp | arch/powerpc/platforms/85xx/socrates_fpga_pic.c | 2831 | 8543 | /*
* Copyright (C) 2008 Ilya Yanok, Emcraft Systems
*
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
*/
#include <linux/irq.h>
#include <linux/of_platform.h>
#include <l... | gpl-2.0 |
olegsvs/android_kernel_ark_benefit_m7 | drivers/net/phy/bcm87xx.c | 3343 | 5345 | /*
* This file is subject to the terms and conditions of the GNU General Public
* License. See the file "COPYING" in the main directory of this archive
* for more details.
*
* Copyright (C) 2011 - 2012 Cavium, Inc.
*/
#include <linux/module.h>
#include <linux/phy.h>
#include <linux/of.h>
#define PHY_ID_BCM8706... | gpl-2.0 |
cr1exe/android_kernel_sony_taoshan | sound/soc/omap/omap4-hdmi-card.c | 4879 | 3208 | /*
* omap4-hdmi-card.c
*
* OMAP ALSA SoC machine driver for TI OMAP4 HDMI
* Copyright (C) 2011 Texas Instruments Incorporated - http://www.ti.com/
* Author: Ricardo Neri <ricardo.neri@ti.com>
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public ... | gpl-2.0 |
sultanxda/android_kernel_lge_v400 | drivers/video/uvesafb.c | 4879 | 52195 | /*
* A framebuffer driver for VBE 2.0+ compliant video cards
*
* (c) 2007 Michal Januszewski <spock@gentoo.org>
* Loosely based upon the vesafb driver.
*
*/
#include <linux/init.h>
#include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/skbuff.h>
#include <linux/timer.h>
#include <linux/compl... | gpl-2.0 |
XXMrHyde/android_kernel_google_msm | drivers/staging/iio/gyro/adis16260_ring.c | 4879 | 3606 | #include <linux/export.h>
#include <linux/interrupt.h>
#include <linux/mutex.h>
#include <linux/kernel.h>
#include <linux/spi/spi.h>
#include <linux/slab.h>
#include "../iio.h"
#include "../ring_sw.h"
#include "../trigger_consumer.h"
#include "adis16260.h"
/**
* adis16260_read_ring_data() read data registers which w... | gpl-2.0 |
TeamVilleC2/android_kernel_htc_liberty-villec2 | drivers/hid/hid-twinhan.c | 5135 | 4958 | /*
* HID driver for TwinHan IR remote control
*
* Based on hid-gyration.c
*
* Copyright (c) 2009 Bruno Prémont <bonbons@linux-vserver.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 Fou... | gpl-2.0 |
cameron581/lge-kernel-gproj | sound/synth/emux/emux_oss.c | 7439 | 12048 | /*
* Interface for OSS sequencer emulation
*
* Copyright (C) 1999 Takashi Iwai <tiwai@suse.de>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, o... | gpl-2.0 |
Jackeagle/kernel_samsung_kmini3g-caf | samples/kprobes/kprobe_example.c | 10767 | 2750 | /*
* NOTE: This example is works on x86 and powerpc.
* Here's a sample kernel module showing the use of kprobes to dump a
* stack trace and selected registers when do_fork() is called.
*
* For more information on theory of operation of kprobes, see
* Documentation/kprobes.txt
*
* You will see the trace data in ... | gpl-2.0 |
yaymalaga/yayPrime_kernel | sound/pci/oxygen/xonar_lib.c | 11023 | 3782 | /*
* helper functions for Asus Xonar cards
*
* Copyright (c) Clemens Ladisch <clemens@ladisch.de>
*
*
* This driver is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License, version 2.
*
* This driver is distributed in the hope that it will be useful,
*... | gpl-2.0 |
StelixROM/android_kernel_htc_msm8960 | lib/bitrev.c | 13071 | 2157 | #include <linux/types.h>
#include <linux/module.h>
#include <linux/bitrev.h>
MODULE_AUTHOR("Akinobu Mita <akinobu.mita@gmail.com>");
MODULE_DESCRIPTION("Bit ordering reversal functions");
MODULE_LICENSE("GPL");
const u8 byte_rev_table[256] = {
0x00, 0x80, 0x40, 0xc0, 0x20, 0xa0, 0x60, 0xe0,
0x10, 0x90, 0x50, 0xd0, ... | gpl-2.0 |
crtc-demos/gcc-ia16 | libgcc/config/libbid/_tf_to_sd.c | 16 | 1244 | /* Copyright (C) 2007-2016 Free Software Foundation, Inc.
This file is part of GCC.
GCC 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, or (at your option) any later
version.
GCC is distribute... | gpl-2.0 |
n1koo/eglibc-trusty | argp/argp-fs-xinl.c | 16 | 1634 | /* Real definitions for extern inline functions in argp-fmtstream.h
Copyright (C) 1997-2014 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Written by Miles Bader <miles@gnu.ai.mit.edu>.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms o... | gpl-2.0 |
sebastianscatularo/glibc | nptl/tst-tsd3.c | 16 | 2541 | /* Copyright (C) 2003-2014 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@redhat.com>, 2003.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published b... | gpl-2.0 |
foxsat-hdr/linux-kernel | drivers/char/drm/drm_fops.c | 16 | 11992 | /**
* \file drm_fops.h
* File operations for DRM
*
* \author Rickard E. (Rik) Faith <faith@valinux.com>
* \author Daryll Strauss <daryll@valinux.com>
* \author Gareth Hughes <gareth@valinux.com>
*/
/*
* Created: Mon Jan 4 08:58:31 1999 by faith@valinux.com
*
* Copyright 1999 Precision Insight, Inc., Cedar... | gpl-2.0 |
blademainer/open-jdk | hotspot/src/cpu/sparc/vm/assembler_sparc.cpp | 16 | 169011 | /*
* Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free ... | gpl-2.0 |
fengjiachun/linux-2.6.11.12 | net/irda/irlan/irlan_eth.c | 16 | 10524 | /*********************************************************************
*
* Filename: irlan_eth.c
* Version:
* Description:
* Status: Experimental.
* Author: Dag Brattli <dagb@cs.uit.no>
* Created at: Thu Oct 15 08:37:58 1998
* Modified at: Tue Mar 21 09:06:41 20... | gpl-2.0 |
o11s/open80211s | mm/zswap.c | 272 | 24848 | /*
* zswap.c - zswap driver file
*
* zswap is a backend for frontswap that takes pages that are in the process
* of being swapped out and attempts to compress and store them in a
* RAM-based memory pool. This can result in a significant I/O reduction on
* the swap device and, in the case where decompressing from... | gpl-2.0 |
newrage/testv1 | dep/ACE_wrappers/ace/Mem_Map.cpp | 272 | 8862 | // $Id: Mem_Map.cpp 91286 2010-08-05 09:04:31Z johnnyw $
// Defines the member functions for the memory mapping facility.
#include "ace/Mem_Map.h"
#if !defined (__ACE_INLINE__)
#include "ace/Mem_Map.inl"
#endif /* __ACE_INLINE__ */
#include "ace/OS_NS_sys_stat.h"
#include "ace/OS_NS_fcntl.h"
#include "ace/OS_NS_stri... | gpl-2.0 |
cpaasch/mptcp-net-next | drivers/pwm/pwm-tegra.c | 528 | 6071 | /*
* drivers/pwm/pwm-tegra.c
*
* Tegra pulse-width-modulation controller driver
*
* Copyright (c) 2010, NVIDIA Corporation.
* Based on arch/arm/plat-mxc/pwm.c by Sascha Hauer <s.hauer@pengutronix.de>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU Genera... | gpl-2.0 |
MCherifiOSS/linux | drivers/spi/spi-tegra20-sflash.c | 1296 | 16725 | /*
* SPI driver for Nvidia's Tegra20 Serial Flash Controller.
*
* Copyright (c) 2012, NVIDIA CORPORATION. All rights reserved.
*
* Author: Laxman Dewangan <ldewangan@nvidia.com>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms and conditions of the GNU General Publi... | gpl-2.0 |
ionux/linux | sound/drivers/mpu401/mpu401.c | 1296 | 7596 | /*
* Driver for generic MPU-401 boards (UART mode only)
* Copyright (c) by Jaroslav Kysela <perex@perex.cz>
* Copyright (c) 2004 by Castet Matthieu <castet.matthieu@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... | gpl-2.0 |
maliyu/SMDKV210-kernel | lib/find_last_bit.c | 2064 | 1108 | /* find_last_bit.c: fallback find next bit implementation
*
* Copyright (C) 2008 IBM Corporation
* Written by Rusty Russell <rusty@rustcorp.com.au>
* (Inspired by David Howell's find_next_bit implementation)
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU ... | gpl-2.0 |
leyarx/android_kernel_viewsonic_n710 | arch/s390/kernel/topology.c | 2576 | 7071 | /*
* Copyright IBM Corp. 2007
* Author(s): Heiko Carstens <heiko.carstens@de.ibm.com>
*/
#define KMSG_COMPONENT "cpu"
#define pr_fmt(fmt) KMSG_COMPONENT ": " fmt
#include <linux/kernel.h>
#include <linux/mm.h>
#include <linux/init.h>
#include <linux/device.h>
#include <linux/bootmem.h>
#include <linux/sched.... | gpl-2.0 |
firstred/surfacepro3-kernel | drivers/leds/leds-ot200.c | 2576 | 3080 | /*
* Bachmann ot200 leds driver.
*
* Author: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
* Christian Gmeiner <christian.gmeiner@gmail.com>
*
* License: GPL as published by the FSF.
*/
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/platform_device.h>
#include <linux/slab.h>
#incl... | gpl-2.0 |
lkuza2/android_kernel_lge_geehrc | drivers/gpu/drm/drm_stub.c | 2576 | 11850 | /**
* \file drm_stub.h
* Stub support
*
* \author Rickard E. (Rik) Faith <faith@valinux.com>
*/
/*
* Created: Fri Jan 19 10:48:35 2001 by faith@acm.org
*
* Copyright 2001 VA Linux Systems, Inc., Sunnyvale, California.
* All Rights Reserved.
*
* Permission is hereby granted, free of charge, to any person obt... | gpl-2.0 |
MWisBest/kernel_samsung_tuna | arch/s390/kernel/topology.c | 2576 | 7071 | /*
* Copyright IBM Corp. 2007
* Author(s): Heiko Carstens <heiko.carstens@de.ibm.com>
*/
#define KMSG_COMPONENT "cpu"
#define pr_fmt(fmt) KMSG_COMPONENT ": " fmt
#include <linux/kernel.h>
#include <linux/mm.h>
#include <linux/init.h>
#include <linux/device.h>
#include <linux/bootmem.h>
#include <linux/sched.... | gpl-2.0 |
qdk0901/q98_source | arch/powerpc/platforms/52xx/mpc52xx_pic.c | 2832 | 16969 | /*
*
* 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 |
timduru/tf101-kernel-tegra | sound/soc/fsl/mpc5200_psc_ac97.c | 3088 | 9170 | /*
* linux/sound/mpc5200-ac97.c -- AC97 support for the Freescale MPC52xx chip.
*
* Copyright (C) 2009 Jon Smirl, Digispeaker
* Author: Jon Smirl <jonsmirl@gmail.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* pu... | gpl-2.0 |
htc-mirror/kingdom-ics-crc-3.0.16-1655ff7 | drivers/staging/go7007/wis-tw2804.c | 3088 | 7922 | /*
* Copyright (C) 2005-2006 Micronas USA Inc.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License (Version 2) as
* published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WIT... | gpl-2.0 |
fulcrum7/mq107-kernel | security/selinux/ss/hashtab.c | 12560 | 2990 | /*
* Implementation of the hash table type.
*
* Author : Stephen Smalley, <sds@epoch.ncsc.mil>
*/
#include <linux/kernel.h>
#include <linux/slab.h>
#include <linux/errno.h>
#include "hashtab.h"
struct hashtab *hashtab_create(u32 (*hash_value)(struct hashtab *h, const void *key),
int (*keycmp)(struct hash... | gpl-2.0 |
wkritzinger/asuswrt-merlin | release/src-rt-6.x.4708/linux/linux-2.6.36/security/selinux/ss/hashtab.c | 12560 | 2990 | /*
* Implementation of the hash table type.
*
* Author : Stephen Smalley, <sds@epoch.ncsc.mil>
*/
#include <linux/kernel.h>
#include <linux/slab.h>
#include <linux/errno.h>
#include "hashtab.h"
struct hashtab *hashtab_create(u32 (*hash_value)(struct hashtab *h, const void *key),
int (*keycmp)(struct hash... | gpl-2.0 |
Oi-Android/android_kernel_xiaomi_ferrari-mr | drivers/video/geode/display_gx1.c | 14352 | 6318 | /*
* drivers/video/geode/display_gx1.c
* -- Geode GX1 display controller
*
* Copyright (C) 2005 Arcom Control Systems Ltd.
*
* Based on AMD's original 2.4 driver:
* Copyright (C) 2004 Advanced Micro Devices, Inc.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms... | gpl-2.0 |
rduivenvoorde/QGIS | src/providers/hana/qgshanasettings.cpp | 17 | 10972 | /***************************************************************************
qgshanasettings.cpp
--------------------------------------
Date : 31-05-2019
Copyright : (C) SAP SE
Author : Maxim Rylov
***************************************************************************/
/*******************... | gpl-2.0 |
morozovvl/qbalance | src/SMTPEmail/src/mimetext.cpp | 17 | 1276 | /*
Copyright (c) 2011-2012 - Tőkés Attila
This file is part of SmtpClient for Qt.
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 Software Foundation; either
version 2.1 of the License, or (at your op... | gpl-2.0 |
uraran/rk3066-kernel | drivers/net/wireless/mt5931/mgmt/rlm.c | 273 | 52828 | /*
** $Id: //Department/DaVinci/BRANCHES/MT6620_WIFI_DRIVER_V2_3/mgmt/rlm.c#2 $
*/
/*! \file "rlm.c"
\brief
*/
/*
** $Log: rlm.c $
*
* 07 17 2012 yuche.tsai
* NULL
* Compile no error before trial run.
*
* 11 15 2011 cm.chang
* NULL
* Check length HT cap IE about RX associate request frame
*
* 11 10... | gpl-2.0 |
DerickBeckwith/linux-stable | drivers/staging/android/ion/ion_cma_heap.c | 273 | 5635 | /*
* drivers/staging/android/ion/ion_cma_heap.c
*
* Copyright (C) Linaro 2012
* Author: <benjamin.gaignard@linaro.org> for ST-Ericsson.
*
* 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... | gpl-2.0 |
LorDClockaN/Ace_CM7_kernel | drivers/net/s6gmac.c | 529 | 34248 | /*
* Ethernet driver for S6105 on chip network device
* (c)2008 emlix GmbH http://www.emlix.com
* Authors: Oskar Schirmer <os@emlix.com>
* Daniel Gloeckner <dg@emlix.com>
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as publish... | gpl-2.0 |
CoRfr/linux | tools/power/cpupower/utils/cpupower.c | 529 | 4767 | /*
* (C) 2010,2011 Thomas Renninger <trenn@suse.de>, Novell Inc.
*
* Licensed under the terms of the GNU GPL License version 2.
*
* Ideas taken over from the perf userspace tool (included in the Linus
* kernel git repo): subcommand builtins and param parsing.
*/
#include <stdio.h>
#include <stdlib.h>
... | gpl-2.0 |
ehigh2014/linux | drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_82599.c | 1297 | 10272 | /*******************************************************************************
Intel 10 Gigabit PCI Express Linux driver
Copyright(c) 1999 - 2013 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 |
bananacakes/holiday-2.6.35-crc | arch/cris/arch-v32/mm/intmem.c | 1553 | 3821 | /*
* Simple allocator for internal RAM in ETRAX FS
*
* Copyright (c) 2004 Axis Communications AB.
*/
#include <linux/list.h>
#include <linux/slab.h>
#include <asm/io.h>
#include <memmap.h>
#define STATUS_FREE 0
#define STATUS_ALLOCATED 1
#ifdef CONFIG_ETRAX_L2CACHE
#define RESERVED_SIZE 66*1024
#else
#define RES... | gpl-2.0 |
k4k/linux | arch/powerpc/oprofile/op_model_cell.c | 1553 | 50474 | /*
* Cell Broadband Engine OProfile Support
*
* (C) Copyright IBM Corporation 2006
*
* Author: David Erb (djerb@us.ibm.com)
* Modifications:
* Carl Love <carll@us.ibm.com>
* Maynard Johnson <maynardj@us.ibm.com>
*
* This program is free software; you can redistribute it and/or
* modify it under the ter... | gpl-2.0 |
BHSPitMonkey/linwizard-strtrk | init/noinitramfs.c | 1809 | 1426 | /*
* init/noinitramfs.c
*
* Copyright (C) 2006, NXP Semiconductors, All Rights Reserved
* Author: Jean-Paul Saman <jean-paul.saman@nxp.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 Foundati... | gpl-2.0 |
Vegaviet-Dev/Kernel_N4_N910SLK | drivers/nfc/pn533.c | 2065 | 66760 | /*
* Copyright (C) 2011 Instituto Nokia de Tecnologia
* Copyright (C) 2012-2013 Tieto Poland
*
* 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 |
boype/kernel_tuna_jb42 | arch/mips/sibyte/bcm1480/smp.c | 2833 | 5500 | /*
* Copyright (C) 2001,2002,2004 Broadcom Corporation
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
*
* Thi... | gpl-2.0 |
ColDReaVeR/android_kernel_samsung_coriplus | arch/mips/sibyte/sb1250/smp.c | 2833 | 4826 | /*
* Copyright (C) 2001, 2002, 2003 Broadcom Corporation
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
*
* T... | gpl-2.0 |
shminer/android_kernel_lge_f460 | arch/sh/drivers/pci/fixups-snapgear.c | 4625 | 1100 | /*
* arch/sh/drivers/pci/ops-snapgear.c
*
* Author: David McCullough <davidm@snapgear.com>
*
* Ported to new API by Paul Mundt <lethal@linux-sh.org>
*
* Highly leveraged from pci-bigsur.c, written by Dustin McIntire.
*
* May be copied or modified under the terms of the GNU General Public
* License. See linu... | gpl-2.0 |
SimpleAOSP-Kernel/kernel_flo | arch/mips/bcm47xx/gpio.c | 4881 | 2516 | /*
* This file is subject to the terms and conditions of the GNU General Public
* License. See the file "COPYING" in the main directory of this archive
* for more details.
*
* Copyright (C) 2007 Aurelien Jarno <aurelien@aurel32.net>
*/
#include <linux/export.h>
#include <linux/ssb/ssb.h>
#include <linux/ssb/ssb... | gpl-2.0 |
xens0117/android_kernel_samsung_klte | drivers/staging/iio/adc/ad7192.c | 4881 | 30136 | /*
* AD7190 AD7192 AD7195 SPI ADC driver
*
* Copyright 2011 Analog Devices Inc.
*
* Licensed under the GPL-2.
*/
#include <linux/interrupt.h>
#include <linux/device.h>
#include <linux/kernel.h>
#include <linux/slab.h>
#include <linux/sysfs.h>
#include <linux/spi/spi.h>
#include <linux/regulator/consumer.h>
#incl... | gpl-2.0 |
abev66/linux-kernel-vta2-ns | arch/x86/lib/string_32.c | 4881 | 4715 | /*
* Most of the string-functions are rather heavily hand-optimized,
* see especially strsep,strstr,str[c]spn. They should work, but are not
* very easy to understand. Everything is done entirely within the register
* set, making the functions fast and clean. String instructions have been
* used through-out, makin... | gpl-2.0 |
prototype-U/lenovo_a706_kernel | drivers/mmc/host/of_mmc_spi.c | 5137 | 4311 | /*
* OpenFirmware bindings for the MMC-over-SPI driver
*
* Copyright (c) MontaVista Software, Inc. 2008.
*
* Author: Anton Vorontsov <avorontsov@ru.mvista.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 |
TheNotOnly/linux-3.5 | arch/arm/mach-vt8500/devices-wm8505.c | 7953 | 2955 | /* linux/arch/arm/mach-vt8500/devices-wm8505.c
*
* Copyright (C) 2010 Alexey Charkov <alchark@gmail.com>
*
* 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.
*
... | gpl-2.0 |
nycbjr/android_kernel_asus_tf700_3_1 | drivers/lguest/interrupts_and_traps.c | 7953 | 20663 | /*P:800
* Interrupts (traps) are complicated enough to earn their own file.
* There are three classes of interrupts:
*
* 1) Real hardware interrupts which occur while we're running the Guest,
* 2) Interrupts for virtual devices attached to the Guest, and
* 3) Traps and faults from the Guest.
*
* Real hardware i... | gpl-2.0 |
joisonwk/linux | drivers/firmware/dmi-id.c | 12817 | 6648 | /*
* Export SMBIOS/DMI info via sysfs to userspace
*
* Copyright 2007, Lennart Poettering
*
* Licensed under GPLv2
*/
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/dmi.h>
#include <linux/device.h>
#include <linux/slab.h>
struct dmi_device_attribute{
struct device_a... | gpl-2.0 |
zhoukejun/android-2.6.27-yf255 | fs/autofs4/inode.c | 18 | 10747 | /* -*- c -*- --------------------------------------------------------------- *
*
* linux/fs/autofs/inode.c
*
* Copyright 1997-1998 Transmeta Corporation -- All Rights Reserved
* Copyright 2005-2006 Ian Kent <raven@themaw.net>
*
* This file is part of the Linux kernel and is made available under
* the terms of... | gpl-2.0 |
dodocat/vlc | modules/packetizer/mpeg4audio.c | 18 | 36426 | /*****************************************************************************
* mpeg4audio.c: parse and packetize an MPEG 4 audio stream
*****************************************************************************
* Copyright (C) 2001, 2002, 2006 VLC authors and VideoLAN
* $Id$
*
* Authors: Laurent Aimar <fenri... | gpl-2.0 |
fanghuaqi/rt-thread | bsp/fh8620/platform/plat-v2/timer.c | 18 | 2766 | /*
* This file is part of FH8620 BSP for RT-Thread distribution.
*
* Copyright (c) 2016 Shanghai Fullhan Microelectronics Co., Ltd.
* 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 Fre... | gpl-2.0 |
sattarvoybek/OwnKernel-sprout | arch/arm/mach-mt6582/sprout/lcm/ili9806c_dsi_vdo_txd.c | 18 | 14140 | /*
* Copyright (C) 2011-2014 MediaTek Inc.
*
* This program is free software: you can redistribute it and/or modify it under the terms of the
* GNU General Public License version 2 as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;... | gpl-2.0 |
xiaowei942/kernel-11 | drivers/base/dmapool.c | 18 | 12244 |
#include <linux/device.h>
#include <linux/mm.h>
#include <asm/io.h> /* Needed for i386 to build */
#include <linux/dma-mapping.h>
#include <linux/dmapool.h>
#include <linux/slab.h>
#include <linux/module.h>
#include <linux/poison.h>
#include <linux/sched.h>
/*
* Pool allocator ... wraps the dma_alloc_coherent page ... | gpl-2.0 |
sigma-random/wireshark | epan/dissectors/packet-sscop.c | 18 | 15366 | /* packet-sscop.c
* Routines for SSCOP (Q.2110, Q.SAAL) frame disassembly
* Guy Harris <guy@alum.mit.edu>
*
* Wireshark - Network traffic analyzer
* By Gerald Combs <gerald@wireshark.org>
* Copyright 1998
*
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GN... | gpl-2.0 |
dakr/xbmc | xbmc/interfaces/builtins/GUIContainerBuiltins.cpp | 18 | 4955 | /*
* Copyright (C) 2005-2015 Team Kodi
* http://kodi.tv
*
* This Program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2, or (at your option)
* any later version.
*
* T... | gpl-2.0 |
getitnowmarketing/archos_kernel_27 | drivers/net/wan/lmc/lmc_main.c | 18 | 62212 | /*
* Copyright (c) 1997-2000 LAN Media Corporation (LMC)
* All rights reserved. www.lanmedia.com
* Generic HDLC port Copyright (C) 2008 Krzysztof Halasa <khc@pm.waw.pl>
*
* This code is written by:
* Andrew Stanley-Jones (asj@cban.com)
* Rob Braun (bbraun@vix.com),
* Michael Graff (explorer@vix.com) a... | gpl-2.0 |
infected-lp/android_kernel_sony_msm | drivers/input/touchscreen/cyttsp4/cyttsp4_proximity.c | 18 | 14586 | /*
* cyttsp4_proximity.c
* Cypress TrueTouch(TM) Standard Product V4 Proximity touch reports module.
* For use with Cypress Txx4xx parts.
* Supported parts include:
* TMA4XX
* TMA1036
*
* Copyright (C) 2013 Cypress Semiconductor
*
* This program is free software; you can redistribute it and/or
* modify it un... | gpl-2.0 |
tomasbw/linux-yocto-4.4 | kernel/kprobes.c | 530 | 62168 | /*
* Kernel Probes (KProbes)
* kernel/kprobes.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 later version.
*
* This pr... | gpl-2.0 |
benjamingwynn/android_kernel_htc_msm7227 | kernel/kallsyms.c | 1042 | 13259 | /*
* kallsyms.c: in-kernel printing of symbolic oopses and stack traces.
*
* Rewritten and vastly simplified by Rusty Russell for in-kernel
* module loader:
* Copyright 2002 Rusty Russell <rusty@rustcorp.com.au> IBM Corporation
*
* ChangeLog:
*
* (25/Aug/2004) Paulo Marques <pmarques@grupopie.com>
* Ch... | gpl-2.0 |
thesawolf/android_kernel_rockchip_rk3188 | drivers/usb/gadget/uvc_v4l2.c | 1554 | 8498 | /*
* uvc_v4l2.c -- USB Video Class Gadget driver
*
* Copyright (C) 2009-2010
* Laurent Pinchart (laurent.pinchart@ideasonboard.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 |
longsleep/ubuntu-odroidc | arch/mips/mm/gup.c | 2066 | 7697 | /*
* Lockless get_user_pages_fast for MIPS
*
* Copyright (C) 2008 Nick Piggin
* Copyright (C) 2008 Novell Inc.
* Copyright (C) 2011 Ralf Baechle
*/
#include <linux/sched.h>
#include <linux/mm.h>
#include <linux/vmstat.h>
#include <linux/highmem.h>
#include <linux/swap.h>
#include <linux/hugetlb.h>
#include <asm/... | gpl-2.0 |
luckpizza/n8000-kernel-aufs | drivers/media/video/v4l2-event.c | 2578 | 6823 | /*
* v4l2-event.c
*
* V4L2 events.
*
* Copyright (C) 2009--2010 Nokia Corporation.
*
* Contact: Sakari Ailus <sakari.ailus@maxwell.research.nokia.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 th... | gpl-2.0 |
ShinySide/HispAsian_Kernel | arch/arm/mach-msm/acpuclock-7x30.c | 3090 | 14228 | /*
*
* Copyright (C) 2007 Google, Inc.
* Copyright (c) 2007-2012, The Linux Foundation. All rights reserved.
*
* 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.... | gpl-2.0 |
TeamGlade-Devices/android_kernel_samsung_i9082 | net/802/tr.c | 3346 | 15492 | /*
* NET3: Token ring device handling subroutines
*
* 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.
*
* Fixe... | gpl-2.0 |
rogersb11/android_kernel_samsung_smdk4x12 | drivers/usb/serial/navman.c | 4114 | 3688 | /*
* Navman Serial USB driver
*
* Copyright (C) 2006 Greg Kroah-Hartman <gregkh@suse.de>
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* version 2 as published by the Free Software Foundation.
*
* TODO:
* Add termios method that... | gpl-2.0 |
cm-b2g/platform_kernel_lge_msm | drivers/staging/ramster/xvmalloc.c | 4882 | 12691 | /*
* xvmalloc memory allocator
*
* Copyright (C) 2008, 2009, 2010 Nitin Gupta
*
* This code is released using a dual license strategy: BSD/GPL
* You can choose the licence that better fits your requirements.
*
* Released under the terms of 3-clause BSD License
* Released under the terms of GNU General Public ... | gpl-2.0 |
nvertigo/AK-OnePone | arch/mips/sibyte/swarm/rtc_xicor1241.c | 9490 | 5504 | /*
* Copyright (C) 2000, 2001 Broadcom Corporation
*
* Copyright (C) 2002 MontaVista Software Inc.
* Author: jsun@mvista.com or jsun@junsun.net
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software ... | gpl-2.0 |
yeewang/pjsip | tests/pjsua/tools/cmp_wav.c | 19 | 7378 | /* $Id$ */
/*
* Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com)
* Copyright (C) 2003-2008 Benny Prijono <benny@prijono.org>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; eit... | gpl-2.0 |
kgp700/exyroid-sgs2-nics | drivers/mfd/max77686.c | 19 | 6452 | /*
* max77686.c - mfd core driver for the Maxim 77686
*
* Copyright (C) 2011 Samsung Electronics
* Chiwoong Byun <woong.byun@smasung.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 |
simonvik/systemd | src/udev/udevd.c | 19 | 64168 | /*
* Copyright (C) 2004-2012 Kay Sievers <kay@vrfy.org>
* Copyright (C) 2004 Chris Friesen <chris_friesen@sympatico.ca>
* Copyright (C) 2009 Canonical Ltd.
* Copyright (C) 2009 Scott James Remnant <scott@netsplit.com>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms o... | gpl-2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.