repo_name string | path string | copies string | size string | content string | license string |
|---|---|---|---|---|---|
pronobis/linux_kernel_arm_N8000 | sound/drivers/mpu401/mpu401_uart.c | 3748 | 16837 | /*
* Copyright (c) by Jaroslav Kysela <perex@perex.cz>
* Routines for control of MPU-401 in UART mode
*
* MPU-401 supports UART mode which is not capable generate transmit
* interrupts thus output is done via polling. Also, if irq < 0, then
* input is done also via polling. Do not expect good performance.
*... | gpl-2.0 |
daliguro/tf101-kernel-test | drivers/input/touchscreen/w90p910_ts.c | 4004 | 8781 | /*
* Copyright (c) 2008 Nuvoton technology corporation.
*
* Wan ZongShun <mcuos.com@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;version 2 of the License.
*
*/
#include ... | gpl-2.0 |
PRJosh/kernel_samsung_mondrianwifi | arch/mips/netlogic/xlp/setup.c | 4516 | 3124 | /*
* Copyright 2003-2011 NetLogic Microsystems, Inc. (NetLogic). 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 ... | gpl-2.0 |
kyak/qi-kernel | arch/mips/lib/uncached.c | 9380 | 2132 | /*
* 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) 2005 Thiemo Seufer
* Copyright (C) 2005 MIPS Technologies, Inc. All rights reserved.
* Author: Maciej W. Rozycki <macro@... | gpl-2.0 |
shaqfu786/android_kernel_lge_omap4-common | drivers/input/touchscreen/touchit213.c | 9892 | 6060 | /*
* Sahara TouchIT-213 serial touchscreen driver
*
* Copyright (c) 2007-2008 Claudio Nieder <private@claudio.ch>
*
* Based on Touchright driver (drivers/input/touchscreen/touchright.c)
* Copyright (c) 2006 Rick Koch <n1gp@hotmail.com>
* Copyright (c) 2004 Vojtech Pavlik
* and Dan Streetman <ddstreet@ieee.org>
... | gpl-2.0 |
AzraelsKiss/android_kernel_samsung_smdk4412 | arch/alpha/lib/fls.c | 11940 | 1117 | /*
* arch/alpha/lib/fls.c
*/
#include <linux/module.h>
#include <linux/bitops.h>
/* This is fls(x)-1, except zero is held to zero. This allows most
efficient input into extbl, plus it allows easy handling of fls(0)=0. */
const unsigned char __flsm1_tab[256] =
{
0,
0,
1, 1,
2, 2, 2, 2,
3, 3, 3, 3, ... | gpl-2.0 |
daeiron/LGD855_kernel | sound/pci/ctxfi/ctamixer.c | 12708 | 9927 | /**
* Copyright (C) 2008, Creative Technology Ltd. All Rights Reserved.
*
* This source file is released under GPL v2 license (no other versions).
* See the COPYING file included in the main directory of this source
* distribution for the license terms and conditions.
*
* @File ctamixer.c
*
* @Brief
* This fi... | gpl-2.0 |
firstred/surfacepro3-kernel | drivers/i2c/busses/i2c-puv3.c | 165 | 6194 | /*
* I2C driver for PKUnity-v3 SoC
* Code specific to PKUnity SoC and UniCore ISA
*
* Maintained by GUAN Xue-tao <gxt@mprc.pku.edu.cn>
* Copyright (C) 2001-2010 Guan Xuetao
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 a... | gpl-2.0 |
gabrielleLQX/qemu-1.6.0 | roms/ipxe/src/hci/mucurses/windows.c | 165 | 3653 | #include <curses.h>
#include <stddef.h>
#include <stdlib.h>
#include "mucurses.h"
/** @file
*
* MuCurses windows instance functions
*
*/
/**
* Delete a window
*
* @v *win pointer to window being deleted
* @ret rc return status code
*/
int delwin ( WINDOW *win ) {
if ( win == NULL )
return ERR;
/* I thin... | gpl-2.0 |
georgecherian/linux | drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c | 165 | 50776 | /**************************************************************************
*
* Copyright © 2009 VMware, Inc., Palo Alto, CA., USA
* All Rights Reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the
* "Software"), to d... | gpl-2.0 |
thornbirdblue/8064_kernel | drivers/virtio/virtio_pci.c | 165 | 12573 | /*
* Virtio PCI driver
*
* This module allows virtio devices to be used over a virtual PCI device.
* This can be used with QEMU based VMMs like KVM or Xen.
*
* Copyright IBM Corp. 2007
*
* Authors:
* Anthony Liguori <aliguori@us.ibm.com>
*
* This work is licensed under the terms of the GNU GPL, version 2 o... | gpl-2.0 |
stari4ek/hero_kernel | kernel/latencytop.c | 165 | 5333 | /*
* latencytop.c: Latency display infrastructure
*
* (C) Copyright 2008 Intel Corporation
* Author: Arjan van de Ven <arjan@linux.intel.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 Founda... | gpl-2.0 |
temasek/Kernel-Nexus7 | drivers/usb/gadget/cdc2.c | 421 | 6918 | /*
* cdc2.c -- CDC Composite driver, with ECM and ACM support
*
* Copyright (C) 2008 David Brownell
* Copyright (C) 2008 Nokia 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 Foundatio... | gpl-2.0 |
EPDCenter/android_kernel_odys_genio | drivers/mtd/nand/nandsim.c | 933 | 69293 | /*
* NAND flash simulator.
*
* Author: Artem B. Bityuckiy <dedekind@oktetlabs.ru>, <dedekind@infradead.org>
*
* Copyright (C) 2004 Nokia Corporation
*
* Note: NS means "NAND Simulator".
* Note: Input means input TO flash chip, output means output FROM chip.
*
* This program is free software; you can redistrib... | gpl-2.0 |
droidroidz/USCC_R970_kernel_KK | kernel/power/snapshot.c | 1701 | 61949 | /*
* linux/kernel/power/snapshot.c
*
* This file provides system snapshot/restore functionality for swsusp.
*
* Copyright (C) 1998-2005 Pavel Machek <pavel@ucw.cz>
* Copyright (C) 2006 Rafael J. Wysocki <rjw@sisk.pl>
*
* This file is released under the GPLv2.
*
*/
#include <linux/version.h>
#include <linux/m... | gpl-2.0 |
mcgi5sr2/kernel_samsung_smdk4412 | drivers/gpu/drm/nouveau/nouveau_irq.c | 2213 | 3977 | /*
* Copyright (C) 2006 Ben Skeggs.
*
* 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, c... | gpl-2.0 |
choco81/0E_kernel | arch/tile/kernel/process.c | 2725 | 21750 | /*
* Copyright 2010 Tilera Corporation. All Rights Reserved.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation, version 2.
*
* This program is distributed in the hope that it will ... | gpl-2.0 |
jfmcbrayer/grouper-kernel | arch/ia64/hp/sim/simserial.c | 2981 | 24227 | /*
* Simulated Serial Driver (fake serial)
*
* This driver is mostly used for bringup purposes and will go away.
* It has a strong dependency on the system console. All outputs
* are rerouted to the same facility as the one used by printk which, in our
* case means sys_sim.c console (goes via the simulator). The ... | gpl-2.0 |
kozmikkick/tripndroid-endeavoru-3.0 | arch/arm/mach-ks8695/irq.c | 2981 | 4284 | /*
* arch/arm/mach-ks8695/irq.c
*
* Copyright (C) 2006 Ben Dooks <ben@simtec.co.uk>
* Copyright (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 as published by
* the Free Software Foundation; either versi... | gpl-2.0 |
rutvik95/speedx_kernel_i9082 | arch/ia64/hp/sim/simserial.c | 2981 | 24227 | /*
* Simulated Serial Driver (fake serial)
*
* This driver is mostly used for bringup purposes and will go away.
* It has a strong dependency on the system console. All outputs
* are rerouted to the same facility as the one used by printk which, in our
* case means sys_sim.c console (goes via the simulator). The ... | gpl-2.0 |
lgs3137/android_kernel_samsung_msm8660-common | arch/arm/mach-s3c2440/mach-rx3715.c | 2981 | 5098 | /* linux/arch/arm/mach-s3c2440/mach-rx3715.c
*
* Copyright (c) 2003-2004 Simtec Electronics
* Ben Dooks <ben@simtec.co.uk>
*
* http://www.handhelds.org/projects/rx3715.html
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 a... | gpl-2.0 |
dsb9938/HTC_One_max | arch/mips/mm/fault.c | 4005 | 8083 | /*
* 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) 1995 - 2000 by Ralf Baechle
*/
#include <linux/signal.h>
#include <linux/sched.h>
#include <linux/interrupt.h>
#include <li... | gpl-2.0 |
tudorsirb/lge_kernel_p700 | arch/arm/mach-omap1/timer.c | 4773 | 4073 | /**
* OMAP1 Dual-Mode Timers - platform device registration
*
* Contains first level initialization routines which internally
* generates timer device information and registers with linux
* device model. It also has low level function to chnage the timer
* input clock source.
*
* Copyright (C) 2011 Texas Instru... | gpl-2.0 |
mdeejay/android_kernel_monarudo | drivers/staging/olpc_dcon/olpc_dcon_xo_1_5.c | 5029 | 4701 | /*
* Copyright (c) 2009,2010 One Laptop per Child
*
* This program is free software. You can redistribute it and/or
* modify it under the terms of version 2 of the GNU General Public
* License as published by the Free Software Foundation.
*/
#include <linux/acpi.h>
#include <linux/delay.h>
#include <linux... | gpl-2.0 |
bhargz/kernel_pico_3.0.16 | drivers/input/mouse/sermouse.c | 9893 | 9069 | /*
* Copyright (c) 1999-2001 Vojtech Pavlik
*/
/*
* Serial mouse driver for Linux
*/
/*
* 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 |
Martix/shr-fcse | drivers/input/mouse/sermouse.c | 9893 | 9069 | /*
* Copyright (c) 1999-2001 Vojtech Pavlik
*/
/*
* Serial mouse driver for Linux
*/
/*
* 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 |
LeroViten/LerNex-Ancora-Kernel | drivers/input/mouse/sermouse.c | 9893 | 9069 | /*
* Copyright (c) 1999-2001 Vojtech Pavlik
*/
/*
* Serial mouse driver for Linux
*/
/*
* 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 |
invisiblek/android_kernel_oneplus_msm8974 | drivers/input/joystick/twidjoy.c | 9893 | 7696 | /*
* Copyright (c) 2001 Arndt Schoenewald
* Copyright (c) 2000-2001 Vojtech Pavlik
* Copyright (c) 2000 Mark Fletcher
*
* Sponsored by Quelltext AG (http://www.quelltext-ag.de), Dortmund, Germany
*/
/*
* Driver to use Handykey's Twiddler (the first edition, i.e. the one with
* the RS232 interface) as a joy... | gpl-2.0 |
MoKee/android_kernel_htc_flounder | drivers/ptp/ptp_sysfs.c | 10405 | 5915 | /*
* PTP 1588 clock support - sysfs interface.
*
* Copyright (C) 2010 OMICRON electronics GmbH
*
* 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 |
chaostic/Hima-M9 | tools/perf/util/run-command.c | 12197 | 4121 | #include "cache.h"
#include "run-command.h"
#include "exec_cmd.h"
static inline void close_pair(int fd[2])
{
close(fd[0]);
close(fd[1]);
}
static inline void dup_devnull(int to)
{
int fd = open("/dev/null", O_RDWR);
dup2(fd, to);
close(fd);
}
int start_command(struct child_process *cmd)
{
int need_in, need_out... | gpl-2.0 |
stargo/android_kernel_amazon_ford | drivers/ata/pata_isapnp.c | 12197 | 3469 |
/*
* pata-isapnp.c - ISA PnP PATA controller driver.
* Copyright 2005/2006 Red Hat Inc, all rights reserved.
*
* Based in part on ide-pnp.c by Andrey Panin <pazke@donpac.ru>
*/
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/isapnp.h>
#include <linux/init.h>
#include <linux/blkdev.h>
#i... | gpl-2.0 |
mina86/linux | drivers/devfreq/devfreq-event.c | 166 | 12305 | /*
* devfreq-event: a framework to provide raw data and events of devfreq devices
*
* Copyright (C) 2015 Samsung Electronics
* Author: Chanwoo Choi <cw00.choi@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 |
matthew-l-weber/linux-3-10-rc1-moxart | arch/mips/kernel/crash_dump.c | 166 | 1863 | #include <linux/highmem.h>
#include <linux/bootmem.h>
#include <linux/crash_dump.h>
#include <asm/uaccess.h>
static int __init parse_savemaxmem(char *p)
{
if (p)
saved_max_pfn = (memparse(p, &p) >> PAGE_SHIFT) - 1;
return 1;
}
__setup("savemaxmem=", parse_savemaxmem);
static void *kdump_buf_page;
/**
* copy_o... | gpl-2.0 |
itgb/opwrt_ap | target/linux/ar71xx/files/arch/mips/ath79/mach-tl-wr841n.c | 678 | 3548 | /*
* TP-LINK TL-WR841N/ND v1 board support
*
* Copyright (C) 2009-2012 Gabor Juhos <juhosg@openwrt.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.
*/
#include <lin... | gpl-2.0 |
ArtemTeleshev/raspberrypi-linux | crypto/crypto_null.c | 678 | 4414 | /*
* Cryptographic API.
*
* Null algorithms, aka Much Ado About Nothing.
*
* These are needed for IPsec, and may be useful in general for
* testing & debugging.
*
* The null cipher is compliant with RFC2410.
*
* Copyright (c) 2002 James Morris <jmorris@intercode.com.au>
*
* This program is free software; yo... | gpl-2.0 |
jose51197/Infernal | sound/pci/hda/hda_intel.c | 1190 | 80867 | /*
*
* hda_intel.c - Implementation of primary alsa driver code base
* for Intel HD Audio.
*
* Copyright(c) 2004 Intel Corporation. All rights reserved.
*
* Copyright (c) 2004 Takashi Iwai <tiwai@suse.de>
* PeiSen Hou <pshou@realtek.com.tw>
*
* This program is free softw... | gpl-2.0 |
NETFORCE2/linux | drivers/leds/trigger/ledtrig-cpu.c | 1446 | 3877 | /*
* ledtrig-cpu.c - LED trigger based on CPU activity
*
* This LED trigger will be registered for each possible CPU and named as
* cpu0, cpu1, cpu2, cpu3, etc.
*
* It can be bound to any LED just like other triggers using either a
* board file or via sysfs interface.
*
* An API named ledtrig_cpu is exported f... | gpl-2.0 |
84506232/AK-OnePone | net/ipv6/ip6_flowlabel.c | 4518 | 17813 | /*
* ip6_flowlabel.c IPv6 flowlabel manager.
*
* 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 |
HackerOO7/android_kernel_huawei_u8951 | drivers/media/dvb/b2c2/flexcop.c | 5030 | 9029 | /*
* Linux driver for digital TV devices equipped with B2C2 FlexcopII(b)/III
* flexcop.c - main module part
* Copyright (C) 2004-9 Patrick Boettcher <patrick.boettcher@desy.de>
* based on skystar2-driver Copyright (C) 2003 Vadim Catana, skystar@moldova.cc
*
* Acknowledgements:
* John Jurrius from BBTI, Inc. fo... | gpl-2.0 |
aeipDev/deka-kernel-msm7x30-3.4 | net/ipv6/xfrm6_output.c | 7078 | 3636 | /*
* xfrm6_output.c - Common IPsec encapsulation code for IPv6.
* Copyright (C) 2002 USAGI/WIDE Project
* Copyright (c) 2004 Herbert Xu <herbert@gondor.apana.org.au>
*
* 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 |
jassycliq/lg_g2d801 | drivers/infiniband/hw/qib/qib_ud.c | 7078 | 16612 | /*
* 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 |
NooNameR/Dirty | kernel/sched.c | 167 | 229263 | /*
* kernel/sched.c
*
* Kernel scheduler and related syscalls
*
* Copyright (C) 1991-2002 Linus Torvalds
*
* 1996-12-23 Modified by Dave Grothe to fix bugs in semaphores and
* make semaphores SMP safe
* 1998-11-19 Implemented schedule_timeout() and related stuff
* by Andrea Arcangeli
* 2002-01-04 N... | gpl-2.0 |
marcOcram/Acer-Liquid-MT-Kernel | fs/locks.c | 167 | 59009 | /*
* linux/fs/locks.c
*
* Provide support for fcntl()'s F_GETLK, F_SETLK, and F_SETLKW calls.
* Doug Evans (dje@spiff.uucp), August 07, 1992
*
* Deadlock detection added.
* FIXME: one thing isn't handled yet:
* - mandatory locks (requires lots of changes elsewhere)
* Kelly Carmichael (kelly@[142.24.8.65]... | gpl-2.0 |
Jeongseob/page-coloring | arch/um/kernel/ptrace.c | 423 | 4316 | /*
* Copyright (C) 2000 - 2007 Jeff Dike (jdike@{addtoit,linux.intel}.com)
* Licensed under the GPL
*/
#include <linux/audit.h>
#include <linux/ptrace.h>
#include <linux/sched.h>
#include <linux/tracehook.h>
#include <asm/uaccess.h>
#include <skas_ptrace.h>
void user_enable_single_step(struct task_struct *child)... | gpl-2.0 |
ashleyjune/SM-G360T1_kernel | fs/nfsd/nfs4xdr.c | 679 | 91570 | /*
* Server-side XDR for NFSv4
*
* Copyright (c) 2002 The Regents of the University of Michigan.
* All rights reserved.
*
* Kendrick Smith <kmsmith@umich.edu>
* Andy Adamson <andros@umich.edu>
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provide... | gpl-2.0 |
TeamHorizon/android_kernel_lge_c50 | drivers/hwmon/f75375s.c | 2215 | 26563 | /*
* f75375s.c - driver for the Fintek F75375/SP, F75373 and
* F75387SG/RG hardware monitoring features
* Copyright (C) 2006-2007 Riku Voipio
*
* Datasheets available at:
*
* f75375:
* http://www.fintek.com.tw/files/productfiles/F75375_V026P.pdf
*
* f75373:
* http://www.fintek.com.tw/files/produ... | gpl-2.0 |
Mirenk/marshmallow_kernel_b2wlj | drivers/acpi/video.c | 2727 | 47012 | /*
* video.c - ACPI Video Driver ($Revision:$)
*
* Copyright (C) 2004 Luming Yu <luming.yu@intel.com>
* Copyright (C) 2004 Bruno Ducrot <ducrot@poupinou.org>
* Copyright (C) 2006 Thomas Tuttle <linux-kernel@ttuttle.net>
*
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
*
* Thi... | gpl-2.0 |
AAccount/android_kernel_samsung_p4 | drivers/oprofile/event_buffer.c | 3239 | 4624 | /**
* @file event_buffer.c
*
* @remark Copyright 2002 OProfile authors
* @remark Read the file COPYING
*
* @author John Levon <levon@movementarian.org>
*
* This is the global event buffer that the user-space
* daemon reads from. The event buffer is an untyped array
* of unsigned longs. Entries are prefixed by... | gpl-2.0 |
Tkkg1994/Hulk-Kernel | drivers/cdrom/cdrom.c | 3495 | 100490 | /* linux/drivers/cdrom/cdrom.c
Copyright (c) 1996, 1997 David A. van Leeuwen.
Copyright (c) 1997, 1998 Erik Andersen <andersee@debian.org>
Copyright (c) 1998, 1999 Jens Axboe <axboe@image.dk>
May be copied or modified under the terms of the GNU General Public
License. See linux/COPYING for more informa... | gpl-2.0 |
Fevax/kernel_samsung_exynos5422 | drivers/cdrom/cdrom.c | 3495 | 100490 | /* linux/drivers/cdrom/cdrom.c
Copyright (c) 1996, 1997 David A. van Leeuwen.
Copyright (c) 1997, 1998 Erik Andersen <andersee@debian.org>
Copyright (c) 1998, 1999 Jens Axboe <axboe@image.dk>
May be copied or modified under the terms of the GNU General Public
License. See linux/COPYING for more informa... | gpl-2.0 |
McBane87/Sony_Tablet_Z_LP.454_Kernel | drivers/tty/vt/vc_screen.c | 3495 | 14742 | /*
* Provide access to virtual console memory.
* /dev/vcs0: the screen as it is being viewed right now (possibly scrolled)
* /dev/vcsN: the screen of /dev/ttyN (1 <= N <= 63)
* [minor: N]
*
* /dev/vcsaN: idem, but including attributes, and prefixed with
* the 4 bytes lines,columns,x,y (as screendump u... | gpl-2.0 |
SlimRoms/kernel_samsung_tuna | arch/sh/kernel/cpu/sh2a/fpu.c | 4007 | 13875 | /*
* Save/restore floating point context for signal handlers.
*
* Copyright (C) 1999, 2000 Kaz Kojima & Niibe Yutaka
*
* 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.
*
* FIXME! These rout... | gpl-2.0 |
osmc/vero-linux | drivers/bluetooth/bcm203x.c | 4263 | 6913 | /*
*
* Broadcom Blutonium firmware driver
*
* Copyright (C) 2003 Maxim Krasnyansky <maxk@qualcomm.com>
* Copyright (C) 2003 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 as published... | gpl-2.0 |
myfluxi/android_kernel_lge_hammerhead | arch/arm/mach-s3c24xx/s3c2412.c | 4775 | 6038 | /* linux/arch/arm/mach-s3c2412/s3c2412.c
*
* Copyright (c) 2006 Simtec Electronics
* Ben Dooks <ben@simtec.co.uk>
*
* http://armlinux.simtec.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 Fr... | gpl-2.0 |
htc-mirror/ville-ics-crc-3.0.8-ca24d1e | drivers/block/drbd/drbd_actlog.c | 7847 | 34765 | /*
drbd_actlog.c
This file is part of DRBD by Philipp Reisner and Lars Ellenberg.
Copyright (C) 2003-2008, LINBIT Information Technologies GmbH.
Copyright (C) 2003-2008, Philipp Reisner <philipp.reisner@linbit.com>.
Copyright (C) 2003-2008, Lars Ellenberg <lars.ellenberg@linbit.com>.
drbd is free s... | gpl-2.0 |
omega-roms/G900F_Omega_Kernel_KK_4.4.2 | drivers/infiniband/hw/mthca/mthca_catas.c | 9639 | 5347 | /*
* Copyright (c) 2005 Cisco Systems. 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 this source tre... | gpl-2.0 |
chentz78/chentz-N4-Kernel | arch/arm/boot/compressed/ofw-shark.c | 12199 | 5289 | /*
* linux/arch/arm/boot/compressed/ofw-shark.c
*
* by Alexander Schulz
*
* This file is used to get some basic information
* about the memory layout of the shark we are running
* on. Memory is usually divided in blocks a 8 MB.
* And bootargs are copied from OpenFirmware.
*/
#include <linux/kernel.h>
#includ... | gpl-2.0 |
SM-G920P/G920PVPU3BOI1 | arch/powerpc/math-emu/fmsub.c | 13735 | 1123 | #include <linux/types.h>
#include <linux/errno.h>
#include <asm/uaccess.h>
#include <asm/sfp-machine.h>
#include <math-emu/soft-fp.h>
#include <math-emu/double.h>
int
fmsub(void *frD, void *frA, void *frB, void *frC)
{
FP_DECL_D(R);
FP_DECL_D(A);
FP_DECL_D(B);
FP_DECL_D(C);
FP_DECL_D(T);
FP_DECL_EX;
#ifdef DEB... | gpl-2.0 |
shminer/android_kernel_flounder | sound/drivers/opl4/opl4_mixer.c | 15015 | 2867 | /*
* OPL4 mixer functions
* Copyright (c) 2003 by Clemens Ladisch <clemens@ladisch.de>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your opt... | gpl-2.0 |
binkybear/AK-OnePone | arch/arm/mach-msm/oppo/boot_mode.c | 168 | 1921 | /* Copyright (c) 2011-2013, The Linux Foundation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
* only version 2 as published by the Free Software Foundation.
*
* This program is distributed in the... | gpl-2.0 |
Radium-Devices/Radium_jflte | drivers/net/wireless/ipsecdrvtl/ag.c | 168 | 21856 | /*
'des.c' Obfuscated by COBF (Version 1.06 2006-01-07 by BB) at Wed Dec 18 14:11:10 2013
*/
#include"cobf.h"
#ifdef _WIN32
#if defined( UNDER_CE) && defined( bb344) || ! defined( bb338)
#define bb340 1
#define bb336 1
#else
#define bb351 bb357
#define bb330 1
#define bb352 1
#endif
#define bb353 1
#include"uncobf.h... | gpl-2.0 |
TheStrix/caf_msm8916 | arch/um/os-Linux/aio.c | 2216 | 9299 | /*
* Copyright (C) 2004 - 2007 Jeff Dike (jdike@{addtoit,linux.intel}.com)
* Licensed under the GPL
*/
#include <unistd.h>
#include <sched.h>
#include <signal.h>
#include <errno.h>
#include <sys/time.h>
#include <asm/unistd.h>
#include <aio.h>
#include <init.h>
#include <kern_util.h>
#include <os.h>
struct aio_thr... | gpl-2.0 |
byterom/android_kernel_lge_g3 | arch/arm/mach-msm/qdsp6v2/audio_qcelp.c | 2216 | 4767 | /* qcelp(v13k) audio output device
*
* Copyright (C) 2008 Google, Inc.
* Copyright (C) 2008 HTC Corporation
* Copyright (c) 2011-2013, 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 Foundati... | gpl-2.0 |
chirayudesai/laughing-cyril | drivers/video/msm/mdp_hw_init.c | 2216 | 24930 | /* Copyright (c) 2008-2009, 2012 The Linux Foundation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
* only version 2 as published by the Free Software Foundation.
*
* This program is distributed i... | gpl-2.0 |
SlimRoms/kernel_motorola_ghost | arch/arm/mach-msm/qdsp6v2/audio_wmapro.c | 2216 | 7544 | /* wmapro audio output device
*
* Copyright (C) 2008 Google, Inc.
* Copyright (C) 2008 HTC Corporation
* Copyright (c) 2009-2013, 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, a... | gpl-2.0 |
AntaresOne/AntaresCore-Kernel-G4 | drivers/video/nvidia/nvidia.c | 2472 | 39735 | /*
* linux/drivers/video/nvidia/nvidia.c - nVidia fb driver
*
* Copyright 2004 Antonino Daplas <adaplas@pol.net>
*
* This file is subject to the terms and conditions of the GNU General Public
* License. See the file COPYING in the main directory of this archive
* for more details.
*
*/
#include <linux/module... | gpl-2.0 |
TEAM-RAZOR-DEVICES/kernel_lge_g3 | sound/soc/blackfin/bfin-eval-adav80x.c | 5032 | 4078 | /*
* Machine driver for EVAL-ADAV801 and EVAL-ADAV803 on Analog Devices bfin
* evaluation boards.
*
* Copyright 2011 Analog Devices Inc.
* Author: Lars-Peter Clausen <lars@metafoo.de>
*
* Licensed under the GPL-2 or later.
*/
#include <linux/init.h>
#include <linux/platform_device.h>
#include <linux/module.h>
... | gpl-2.0 |
omega-roms/N9005_Omega_Kernel_LL | drivers/leds/leds-hp6xx.c | 7848 | 2283 | /*
* LED Triggers Core
* For the HP Jornada 620/660/680/690 handhelds
*
* Copyright 2008 Kristoffer Ericson <kristoffer.ericson@gmail.com>
* this driver is based on leds-spitz.c by Richard Purdie.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU Genera... | gpl-2.0 |
vic3t3chn0/Samsung_Wave_Kernel_SD_NAND | drivers/net/wan/hdlc_raw.c | 13480 | 2617 | /*
* Generic HDLC support routines for Linux
* HDLC support
*
* Copyright (C) 1999 - 2006 Krzysztof Halasa <khc@pm.waw.pl>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of version 2 of the GNU General Public License
* as published by the Free Software Foundation.
... | gpl-2.0 |
ROM-Jeremy/android_kernel_lge_msm8226-old | drivers/net/wan/hdlc_raw.c | 13480 | 2617 | /*
* Generic HDLC support routines for Linux
* HDLC support
*
* Copyright (C) 1999 - 2006 Krzysztof Halasa <khc@pm.waw.pl>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of version 2 of the GNU General Public License
* as published by the Free Software Foundation.
... | gpl-2.0 |
CyanogenMod/android_kernel_huawei_angler | arch/powerpc/math-emu/fdiv.c | 13736 | 1157 | #include <linux/types.h>
#include <linux/errno.h>
#include <asm/uaccess.h>
#include <asm/sfp-machine.h>
#include <math-emu/soft-fp.h>
#include <math-emu/double.h>
int
fdiv(void *frD, void *frA, void *frB)
{
FP_DECL_D(A);
FP_DECL_D(B);
FP_DECL_D(R);
FP_DECL_EX;
#ifdef DEBUG
printk("%s: %p %p %p\n", __func__, frD... | gpl-2.0 |
rjmccabe3701/LinuxViewPageTables | arch/arm/mach-orion5x/db88f5281-setup.c | 169 | 9972 | /*
* arch/arm/mach-orion5x/db88f5281-setup.c
*
* Marvell Orion-2 Development Board Setup
*
* Maintainer: Tzachi Perelstein <tzachi@marvell.com>
*
* 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 ... | gpl-2.0 |
SlimRoms/kernel_oneplus_msm8974 | arch/arm/mach-pxa/cpufreq-pxa2xx.c | 169 | 14834 | /*
* linux/arch/arm/mach-pxa/cpufreq-pxa2xx.c
*
* Copyright (C) 2002,2003 Intrinsyc Software
*
* 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... | gpl-2.0 |
aidfarh/android_kernel_sony_apq8064 | drivers/net/wireless/rtlwifi/pci.c | 937 | 54479 | /******************************************************************************
*
* Copyright(c) 2009-2012 Realtek Corporation.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of version 2 of the GNU General Public License as
* published by the Free Software Foundati... | gpl-2.0 |
ProjectOpenCannibal/GingerKernel-VM701-2.6.35 | drivers/gpu/drm/drm_memory.c | 937 | 5039 | /**
* \file drm_memory.c
* Memory management wrappers for DRM
*
* \author Rickard E. (Rik) Faith <faith@valinux.com>
* \author Gareth Hughes <gareth@valinux.com>
*/
/*
* Created: Thu Feb 4 14:00:34 1999 by faith@valinux.com
*
* Copyright 1999 Precision Insight, Inc., Cedar Park, Texas.
* Copyright 2000 VA L... | gpl-2.0 |
davidmueller13/f2fs-backport | arch/arm/mach-davinci/board-sffsdr.c | 2473 | 4508 | /*
* Lyrtech SFFSDR board support.
*
* Copyright (C) 2008 Philip Balister, OpenSDR <philip@opensdr.com>
* Copyright (C) 2008 Lyrtech <www.lyrtech.com>
*
* Based on DV-EVM platform, original copyright follows:
*
* Copyright (C) 2007 MontaVista Software, Inc.
*
* This program is free software; you can redistrib... | gpl-2.0 |
CyanogenMod/android_kernel_samsung_lt03lte | drivers/misc/atmel_pwm.c | 5801 | 9378 | #include <linux/module.h>
#include <linux/clk.h>
#include <linux/err.h>
#include <linux/slab.h>
#include <linux/io.h>
#include <linux/interrupt.h>
#include <linux/platform_device.h>
#include <linux/atmel_pwm.h>
/*
* This is a simple driver for the PWM controller found in various newer
* Atmel SOCs, including the AV... | gpl-2.0 |
MikeUYSCUTI/surnia_msm8916 | arch/h8300/kernel/irq.c | 6825 | 3637 | /*
* linux/arch/h8300/kernel/irq.c
*
* Copyright 2007 Yoshinori Sato <ysato@users.sourceforge.jp>
*/
#include <linux/module.h>
#include <linux/types.h>
#include <linux/kernel.h>
#include <linux/sched.h>
#include <linux/kernel_stat.h>
#include <linux/seq_file.h>
#include <linux/init.h>
#include <linux/random.h>
#in... | gpl-2.0 |
DooMLoRD/android_kernel_sony_msm8974 | arch/powerpc/oprofile/op_model_pa6t.c | 11689 | 5937 | /*
* 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 |
jmztaylor/android_kernel_htc_primoc_backup | arch/sparc/prom/memory.c | 12201 | 1937 | /* memory.c: Prom routine for acquiring various bits of information
* about RAM on the machine, both virtual and physical.
*
* Copyright (C) 1995, 2008 David S. Miller (davem@davemloft.net)
* Copyright (C) 1997 Michael A. Griffith (grif@acm.org)
*/
#include <linux/kernel.h>
#include <linux/sort.h>
#incl... | gpl-2.0 |
NamelessRom/android_kernel_oppo_msm8939 | arch/sparc/prom/memory.c | 12201 | 1937 | /* memory.c: Prom routine for acquiring various bits of information
* about RAM on the machine, both virtual and physical.
*
* Copyright (C) 1995, 2008 David S. Miller (davem@davemloft.net)
* Copyright (C) 1997 Michael A. Griffith (grif@acm.org)
*/
#include <linux/kernel.h>
#include <linux/sort.h>
#incl... | gpl-2.0 |
ayeric/android_kernel_motorola_ghost | drivers/ide/ide-sysfs.c | 12457 | 2835 | #include <linux/kernel.h>
#include <linux/ide.h>
char *ide_media_string(ide_drive_t *drive)
{
switch (drive->media) {
case ide_disk:
return "disk";
case ide_cdrom:
return "cdrom";
case ide_tape:
return "tape";
case ide_floppy:
return "floppy";
case ide_optical:
return "optical";
default:
return "UNK... | gpl-2.0 |
smipi1/linux-tinification | drivers/hwspinlock/hwspinlock_core.c | 170 | 17938 | /*
* Hardware spinlock framework
*
* Copyright (C) 2010 Texas Instruments Incorporated - http://www.ti.com
*
* Contact: Ohad Ben-Cohen <ohad@wizery.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 |
coredumb/linux-grsecurity | net/sched/cls_tcindex.c | 170 | 12326 | /*
* net/sched/cls_tcindex.c Packet classifier for skb->tc_index
*
* Written 1998,1999 by Werner Almesberger, EPFL ICA
*/
#include <linux/module.h>
#include <linux/types.h>
#include <linux/kernel.h>
#include <linux/skbuff.h>
#include <linux/errno.h>
#include <linux/slab.h>
#include <net/act_api.h>
#include <net/ne... | gpl-2.0 |
sudipm-mukherjee/parport | arch/x86/um/signal.c | 426 | 14727 | /*
* Copyright (C) 2003 PathScale, Inc.
* Copyright (C) 2003 - 2007 Jeff Dike (jdike@{addtoit,linux.intel}.com)
* Licensed under the GPL
*/
#include <linux/personality.h>
#include <linux/ptrace.h>
#include <linux/kernel.h>
#include <asm/unistd.h>
#include <asm/uaccess.h>
#include <asm/ucontext.h>
#include <frame_... | gpl-2.0 |
RidaShamasneh/nethunter_kernel_g5 | drivers/staging/rtl8723au/hal/rtl8723au_recv.c | 682 | 7453 | /******************************************************************************
*
* Copyright(c) 2007 - 2011 Realtek 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 ... | gpl-2.0 |
jstotero/lge_e510_kernel | arch/arm/mach-msm/modem_notifier.c | 938 | 5198 | /* Copyright (c) 2008-2010, Code Aurora Forum. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
* only version 2 as published by the Free Software Foundation.
*
* This program is distributed in the ho... | gpl-2.0 |
arunthomas/linux | drivers/input/keyboard/st-keyscan.c | 1706 | 6729 | /*
* STMicroelectronics Key Scanning driver
*
* Copyright (c) 2014 STMicroelectonics Ltd.
* Author: Stuart Menefy <stuart.menefy@st.com>
*
* Based on sh_keysc.c, copyright 2008 Magnus Damm
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public Li... | gpl-2.0 |
varchild/vigor_aosp_kernel | arch/mips/kernel/unaligned.c | 2474 | 13884 | /*
* Handle unaligned accesses by emulation.
*
* This file is subject to the terms and conditions of the GNU General Public
* License. See the file "COPYING" in the main directory of this archive
* for more details.
*
* Copyright (C) 1996, 1998, 1999, 2002 by Ralf Baechle
* Copyright (C) 1999 Silicon Graphics,... | gpl-2.0 |
THEindian/glacier_kernel | arch/powerpc/platforms/powermac/low_i2c.c | 2730 | 37112 | /*
* arch/powerpc/platforms/powermac/low_i2c.c
*
* Copyright (C) 2003-2005 Ben. Herrenschmidt (benh@kernel.crashing.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 versi... | gpl-2.0 |
sleshepic/L900-MA7-Kernel | arch/m32r/platforms/usrv/setup.c | 2986 | 5451 | /*
* linux/arch/m32r/platforms/usrv/setup.c
*
* Setup routines for MITSUBISHI uServer
*
* Copyright (c) 2001, 2002, 2003 Hiroyuki Kondo, Hirokazu Takata,
* Hitoshi Yamamoto
*/
#include <linux/irq.h>
#include <linux/kernel.h>
#include <linux/init.h>
#include <asm/system.h>
#... | gpl-2.0 |
tux-mind/tf201-kernel | arch/arm/plat-s3c24xx/spi-bus1-gpg5_6_7.c | 3242 | 1199 | /* linux/arch/arm/plat-s3c24xx/spi-bus0-gpg5_6_7.c
*
* Copyright (c) 2008 Simtec Electronics
* http://armlinux.simtec.co.uk/
* Ben Dooks <ben@simtec.co.uk>
*
* S3C24XX SPI - gpio configuration for bus 1 on gpg5,6,7
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of... | gpl-2.0 |
AndroPlus-org/sony_sources-H2_2014 | drivers/gpu/drm/radeon/atombios_i2c.c | 4266 | 3959 | /*
* Copyright 2011 Advanced Micro Devices, Inc.
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation
* the rights to use, copy, modify, m... | gpl-2.0 |
S3neos/android_kernel_samsung_s3ve3g | drivers/net/wireless/ath/main.c | 4778 | 2386 | /*
* Copyright (c) 2009 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" AND TH... | gpl-2.0 |
guoyingbo/Monarudo_GPE_M7_port | drivers/staging/sep/sep_main.c | 4778 | 126224 | /*
*
* sep_main.c - Security Processor Driver main group of functions
*
* Copyright(c) 2009-2011 Intel Corporation. All rights reserved.
* Contributions(c) 2009-2011 Discretix. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU Gene... | gpl-2.0 |
TV-LP51-Devices/kernel_lge_g3 | sound/soc/imx/imx-pcm.c | 5034 | 2688 | /*
* Copyright 2009 Sascha Hauer <s.hauer@pengutronix.de>
*
* This code is based on code copyrighted by Freescale,
* Liam Girdwood, Javier Martin and probably others.
*
* 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 |
mifl/android_kernel_pantech_im-860s | tools/power/cpupower/utils/helpers/sysfs.c | 5290 | 8945 | /*
* (C) 2004-2009 Dominik Brodowski <linux@dominikbrodowski.de>
* (C) 2011 Thomas Renninger <trenn@novell.com> Novell Inc.
*
* Licensed under the terms of the GNU GPL License version 2.
*/
#include <stdio.h>
#include <errno.h>
#include <stdlib.h>
#include <string.h>
#include <sys/types.h>
#include <sys... | gpl-2.0 |
davidmueller13/kushan_kernel | net/wireless/wext-compat.c | 5290 | 39722 | /*
* cfg80211 - wext compat code
*
* This is temporary code until all wireless functionality is migrated
* into cfg80211, when that happens all the exports here go away and
* we directly assign the wireless handlers of wireless interfaces.
*
* Copyright 2008-2009 Johannes Berg <johannes@sipsolutions.net>
*/
#i... | gpl-2.0 |
Zuli/kernel_sony_lt28 | drivers/media/common/tuners/tda8290.c | 8106 | 24382 | /*
i2c tv tuner chip device driver
controls the philips tda8290+75 tuner chip combo.
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 op... | gpl-2.0 |
CyanogenMod/android_kernel_goldfish | drivers/input/keyboard/amikbd.c | 9386 | 6680 | /*
* Copyright (c) 2000-2001 Vojtech Pavlik
*
* Based on the work of:
* Hamish Macdonald
*/
/*
* Amiga keyboard driver for Linux/m68k
*/
/*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foun... | gpl-2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.