code stringlengths 1.03k 250k | repo_name stringlengths 7 70 | path stringlengths 4 177 | language stringclasses 1
value | license stringclasses 15
values | size int64 1.03k 250k |
|---|---|---|---|---|---|
/* Intel(R) Gigabit Ethernet Linux driver
* Copyright(c) 2007-2014 Intel Corporation.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms and conditions of the GNU General Public License,
* version 2, as published by the Free Software Foundation.
*
* This program is dist... | elopez/linux | drivers/net/ethernet/intel/igb/igb_main.c | C | gpl-2.0 | 220,510 |
/*
* Samsung S5P SoC series DP (Display Port) interface driver.
*
* Copyright (c) 2011 Samsung Electronics Co., Ltd.
* Author: Jingoo Han <jg1.han@samsung.com>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Fr... | garwynn/D710SPR_FL24_Kernel | drivers/video/s5p-dp.c | C | gpl-2.0 | 67,895 |
/*
* Copyright (C) 2007
*
* Author: Eric Biederman <ebiederm@xmision.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 <linux/module.... | janrinze/loox7xxport.loox2624 | ipc/ipc_sysctl.c | C | gpl-2.0 | 4,164 |
/*
* SDIO access interface for drivers - linux specific (pci only)
*
* Copyright (C) 1999-2011, Broadcom Corporation
*
* Unless you and Broadcom execute a separate written software license
* agreement governing use of this software, this software is licensed to you
* under the terms of the GNU General P... | j1nx/Openlinux.Amlogic.M3 | drivers/amlogic/wifi/broadcm_40181/bcmsdh_linux.c | C | gpl-2.0 | 19,391 |
/**
* FreeRDP: A Remote Desktop Protocol Implementation
* Device Redirection Virtual Channel
*
* Copyright 2010-2011 Vic Lee
* Copyright 2010-2012 Marc-Andre Moreau <marcandre.moreau@gmail.com>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance w... | vaginessa/FreeRDP | channels/rdpdr/client/rdpdr_capabilities.c | C | apache-2.0 | 5,560 |
/*
* Linux INET6 implementation
* FIB front-end.
*
* Authors:
* Pedro Roque <roque@di.fc.ul.pt>
*
* 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 ... | Nick73/King_Kernel | net/ipv6/route.c | C | gpl-2.0 | 73,698 |
/* Copyright (c) 2015, 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... | CaptainThrowback/kernel_htc_m8gpe | arch/arm/mach-msm/scm-mpu.c | C | gpl-2.0 | 2,456 |
// SPDX-License-Identifier: GPL-2.0-or-later
/*
* Copyright (C) 2019 Oracle. All Rights Reserved.
* Author: Darrick J. Wong <darrick.wong@oracle.com>
*/
#include "xfs.h"
#include "xfs_fs.h"
#include "xfs_shared.h"
#include "xfs_format.h"
#include "xfs_log_format.h"
#include "xfs_trans_resv.h"
#include "xfs_mount.h"... | chenshuo/linux-study | fs/xfs/xfs_iwalk.c | C | gpl-2.0 | 20,150 |
/*
* bcache setup/teardown code, and some metadata io - read a superblock and
* figure out what to do with it.
*
* Copyright 2010, 2011 Kent Overstreet <kent.overstreet@gmail.com>
* Copyright 2012 Google, Inc.
*/
#include "bcache.h"
#include "btree.h"
#include "debug.h"
#include "request.h"
#include <linux/buff... | ddk50/cbc-linux-kernel | drivers/md/bcache/super.c | C | gpl-2.0 | 47,583 |
/* radare - LGPL - Copyright 2009-2015 - nibble, pancake */
#include <r_types.h>
#include <r_util.h>
#include <r_lib.h>
#include <r_bin.h>
#include "mach0/fatmach0.h"
static RBinXtrData * extract(RBin *bin, int idx);
static RList * extractall(RBin *bin);
static RBinXtrData * oneshot(const ut8 *buf, ut64 size, int idx... | four0four/radare2 | libr/bin/p/bin_xtr_fatmach0.c | C | gpl-3.0 | 4,579 |
/* Copyright (C) 2006-2015 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Jakub Jelinek <jakub@redhat.com>, 2006.
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 by t... | quan-na/glibc | nptl/tst-mutexpp10.c | C | gpl-2.0 | 7,099 |
/*
* linux/arch/arm/mach-exynos/midas-gpio.c
*
* Copyright (c) 2010 Samsung Electronics Co., Ltd.
* http://www.samsung.com/
*
* EXYNOS - GPIO setting in set board
*
* 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... | emwno/android_kernel_N7100 | arch/arm/mach-exynos/t0-gpio.c | C | gpl-2.0 | 61,560 |
/*
* Copyright 2008 Cisco Systems, Inc. All rights reserved.
* Copyright 2007 Nuova Systems, Inc. All rights reserved.
*
* This program is free software; you may redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; version 2 of the ... | augustayu/fastsocket | kernel/drivers/scsi/fnic/fnic_fcs.c | C | gpl-2.0 | 35,056 |
/******************************************************************************
* xc_foreign_memory.c
*
* Functions for mapping foreign domain's memory.
*
* 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 Fre... | flexiant/xen | tools/libxc/xc_foreign_memory.c | C | gpl-2.0 | 3,812 |
/*
* Copyright (c) 1997-2007 Kungliga Tekniska Högskolan
* (Royal Institute of Technology, Stockholm, Sweden).
* 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 ... | kamenim/samba | source4/heimdal/kdc/kerberos5.c | C | gpl-3.0 | 50,738 |
/*
* KMVC decoder
* Copyright (c) 2006 Konstantin Shishkov
*
* This file is part of FFmpeg.
*
* FFmpeg 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 (a... | endlessm/chromium-browser | third_party/ffmpeg/libavcodec/kmvc.c | C | bsd-3-clause | 16,290 |
/*
* 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 WARRAN... | eagleeyetom/android_kernel_mediatek | drivers/misc/mediatek/combo/drv_wlan/mt6628/wlan/mgmt/scan.c | C | gpl-2.0 | 106,258 |
/* SPDX-License-Identifier: LGPL-2.1+ */
#include "alloc-util.h"
#include "def.h"
#include "dns-domain.h"
#include "extract-word.h"
#include "string-util.h"
#include "timesyncd-conf.h"
#include "timesyncd-manager.h"
#include "timesyncd-server.h"
int manager_parse_server_string(Manager *m, ServerType type, const char ... | dsd/systemd | src/timesync/timesyncd-conf.c | C | gpl-2.0 | 3,958 |
/*
* Marvell Wireless LAN device driver: major functions
*
* Copyright (C) 2011, Marvell International Ltd.
*
* This software file (the "File") is distributed by Marvell International
* Ltd. under the terms of the GNU General Public License Version 2, June 1991
* (the "License"). You may use, redistribute and/o... | crseanpaul/exynos-drm-next | drivers/net/wireless/mwifiex/main.c | C | gpl-2.0 | 28,493 |
/**
* @file
* @author Daniel Blazevic <daniel.blazevic@gmail.com>
* @date 2014
* @brief Get Alarm Summary Request
*
* @section LICENSE
*
* Copyright (C) 2014 Daniel Blazevic <daniel.blazevic@gmail.com>
*
* Permission is hereby granted, free of charge, to any person obtaining
* a copy of this software and ass... | tjaffri/msiot-samples | AllJoyn/Samples/BACnetAdapter/bacnet-stack-0.8.2/demo/handler/s_get_alarm_sum.c | C | mit | 4,051 |
/*
* %CopyrightBegin%
*
* Copyright Ericsson AB 1998-2016. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
... | fenollp/otp | lib/erl_interface/src/not_used/send_link.c | C | apache-2.0 | 2,718 |
/* This file is part of the Emulex RoCE Device Driver for
* RoCE (RDMA over Converged Ethernet) adapters.
* Copyright (C) 2012-2015 Emulex. All rights reserved.
* EMULEX and SLI are trademarks of Emulex.
* www.emulex.com
*
* This software is available to you under a choice of one of two licenses.
* You may choos... | mikedlowis-prototypes/albase | source/kernel/drivers/infiniband/hw/ocrdma/ocrdma_stats.c | C | bsd-2-clause | 29,790 |
#include <linux/amlogic/ge2d/ge2d.h>
static inline void _stretchblt(ge2d_context_t *wq,
int src_x, int src_y, int src_w, int src_h,
int dst_x, int dst_y, int dst_w, int dst_h, int block)
{
ge2d_cmd_t *ge2d_cmd_cfg = ge2d_wq_get_cmd(wq);
ge2d_cmd_cfg->src1_x_... | peyo-hd/kernel_odrc | drivers/amlogic/display/ge2d/stretchblt.c | C | gpl-2.0 | 3,770 |
/*******************************************************************************
* Filename: target_core_tmr.c
*
* This file contains SPC-3 task management infrastructure
*
* (c) Copyright 2009-2012 RisingTide Systems LLC.
*
* Nicholas A. Bellinger <nab@kernel.org>
*
* This program is free software; you can r... | augustayu/fastsocket | kernel/drivers/target/target_core_tmr.c | C | gpl-2.0 | 11,651 |
// SPDX-License-Identifier: GPL-2.0
#include <linux/init.h>
#include <linux/static_call.h>
#include <linux/bug.h>
#include <linux/smp.h>
#include <linux/sort.h>
#include <linux/slab.h>
#include <linux/module.h>
#include <linux/cpu.h>
#include <linux/processor.h>
#include <asm/sections.h>
extern struct static_call_site... | rperier/linux-rockchip | kernel/static_call.c | C | gpl-2.0 | 12,655 |
/* 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/module.h>
#include <l... | docent-net/kernel-2.6.11.12 | kernel/cpu.c | C | gpl-2.0 | 4,265 |
/*
* linux/drivers/clocksource/timer-sp.c
*
* Copyright (C) 1999 - 2003 ARM Limited
* Copyright (C) 2000 Deep Blue Solutions Ltd
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; eith... | mkvdv/au-linux-kernel-autumn-2017 | linux/drivers/clocksource/timer-sp804.c | C | gpl-3.0 | 7,728 |
/*
* Copyright © 2016 Intel Corporation
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation
* the rights to use, copy, modify, merge, pub... | hannes/linux | drivers/gpu/drm/i915/intel_lpe_audio.c | C | gpl-2.0 | 10,493 |
/*
* 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) 1992 Ross Biro
* Copyright (C) Linus Torvalds
* Copyright (C) 1994, 95, 96, 97, 98, 2000 Ralf Baechle
* Copyright (C) 199... | qzhuyan/linux | arch/mips/kernel/ptrace.c | C | gpl-2.0 | 36,295 |
/*
bttv-i2c.c -- all the i2c code is here
bttv - Bt848 frame grabber driver
Copyright (C) 1996,97,98 Ralph Metzler (rjkm@thp.uni-koeln.de)
& Marcus Metzler (mocm@thp.uni-koeln.de)
(c) 1999-2003 Gerd Knorr <kraxel@bytesex.org>
(c) 2005 Mauro Carvalho Chehab <mchehab@infradead.org>
- Mul... | nandra/omap_850_kernel | drivers/media/video/bt8xx/bttv-i2c.c | C | gpl-2.0 | 11,990 |
/*
* DECnet An implementation of the DECnet protocol suite for the LINUX
* operating system. DECnet is implemented using the BSD Socket
* interface as the means of communication with the user level.
*
* DECnet Network Services Protocol (Output)
*
* Author: Edu... | xtreamerdev/linux-xtr | net/decnet/dn_nsp_out.c | C | gpl-2.0 | 19,331 |
/******************************************************************************
* mt_gpio.c - MTKLinux GPIO Device Driver
*
* Copyright 2008-2009 MediaTek Co.,Ltd.
*
* DESCRIPTION:
* This file provid the other drivers GPIO relative functions
*
****************************************************************... | lbule/ALPS.L0.MP6.V3.18_LCSH6795_LWT_L_KERNEL | drivers/misc/mediatek/gpio/mt_gpio_core.c | C | gpl-2.0 | 18,979 |
/*
* Freescale eSDHC controller driver.
*
* Copyright (c) 2007, 2010, 2012 Freescale Semiconductor, Inc.
* Copyright (c) 2009 MontaVista Software, Inc.
*
* Authors: Xiaobo Xie <X.Xie@freescale.com>
* Anton Vorontsov <avorontsov@ru.mvista.com>
*
* This program is free software; you can redistribute it and/o... | dastuam/linux37-beaglebone | drivers/mmc/host/sdhci-of-esdhc.c | C | gpl-2.0 | 6,728 |
/*
AIX-specific printcap loading
Copyright (C) Jean-Pierre.Boulard@univ-rennes1.fr 1996
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at... | javierag/samba | source3/printing/print_aix.c | C | gpl-3.0 | 3,492 |
/*
* nghttp2 - HTTP/2 C Library
*
* Copyright (c) 2013 Tatsuhiro Tsujikawa
*
* 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 ri... | eaglewu/swoole | thirdparty/nghttp2/nghttp2_hd_huffman.c | C | apache-2.0 | 6,466 |
/***************************************************************************
*
* Copyright (C) 2007-2008 SMSC
*
* 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 ... | JijonHyuni/HyperKernel-JB | virt/drivers/net/usb/smsc95xx.c | C | gpl-2.0 | 33,893 |
/*
comedi/drivers/jr3_pci.c
hardware driver for JR3/PCI force sensor board
COMEDI - Linux Control and Measurement Device Interface
Copyright (C) 2007 Anders Blomdell <anders.blomdell@control.lth.se>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General ... | jiangweifeng04/linux_kernel_2_6_32 | linux-2.6.32.61/drivers/staging/comedi/drivers/jr3_pci.c | C | gpl-2.0 | 25,586 |
/*
* RFC 3389 comfort noise generator
* Copyright (c) 2012 Martin Storsjo
*
* This file is part of FFmpeg.
*
* FFmpeg 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... | ShawnKoo/avplayer-1 | third_party/android/ffmpeg_2.0/jni/ffmpeg/libavcodec/cngenc.c | C | gpl-3.0 | 3,537 |
/*
* Copyright (c) 2014-2015, Ericsson AB. All rights reserved.
* Copyright (c) 2014, Centricular Ltd
* Author: Sebastian Dröge <sebastian@centricular.com>
*
* Redistribution and use in source and binary forms, with or without modification,
* are permitted provided that the following conditions are met:
*
*... | pererikb/openwebrtc | local/owr_image_renderer.c | C | bsd-2-clause | 12,708 |
/*
* Copyright © 2010 Intel Corporation
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation
* the rights to use, copy, modify, merge, pub... | Evervolv/android_kernel_htc_msm8974 | drivers/gpu/drm/gma500/mdfld_dsi_output.c | C | gpl-2.0 | 14,862 |
/* Misc. support for CPU family lm32bf.
THIS FILE IS MACHINE GENERATED WITH CGEN.
Copyright 1996-2013 Free Software Foundation, Inc.
This file is part of the GNU simulators.
This file is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
... | hzq1001/or1k-src | sim/lm32/cpu.c | C | gpl-2.0 | 1,765 |
/* Copyright (c) 2008-2009, 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... | Evervolv/android_kernel_htc_msm8974 | arch/arm/mach-msm/mpp.c | C | gpl-2.0 | 2,226 |
#include "headers.h"
static BOOLEAN MatchSrcIpv6Address(S_CLASSIFIER_RULE *pstClassifierRule,IPV6Header *pstIpv6Header);
static BOOLEAN MatchDestIpv6Address(S_CLASSIFIER_RULE *pstClassifierRule,IPV6Header *pstIpv6Header);
static VOID DumpIpv6Header(IPV6Header *pstIpv6Header);
static UCHAR * GetNextIPV6ChainedHeader(U... | Evervolv/android_kernel_htc_msm8974 | drivers/staging/bcm/IPv6Protocol.c | C | gpl-2.0 | 11,817 |
/*
* Author: Thomas Ingleby <thomas.c.ingleby@intel.com>
* Copyright (c) 2014 Intel Corporation.
*
* Permission is hereby granted, free of charge, to any person obtaining
* a copy of this software and associated documentation files (the
* "Software"), to deal in the Software without restriction, including
* with... | twobitcircus/galileo-data-painting | node_modules_intel/mraa/examples/gpio_read6.c | C | mit | 1,669 |
// SPDX-License-Identifier: GPL-2.0-only
/*
* Signal Handling for ARC
*
* Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com)
*
* vineetg: Jan 2010 (Restarting of timer related syscalls)
*
* vineetg: Nov 2009 (Everything needed for TIF_RESTORE_SIGMASK)
* -do_signal() supports TIF_RESTORE... | GuillaumeSeren/linux | arch/arc/kernel/signal.c | C | gpl-2.0 | 11,280 |
/*
LUFA Library
Copyright (C) Dean Camera, 2014.
dean [at] fourwalledcubicle [dot] com
www.lufa-lib.org
*/
/*
Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com)
Permission to use, copy, modify, distribute, and sell this
software and its documentation for any purp... | RIVeR-Lab/walrus | walrus_firmware/walrus_bootloader/src/LUFA/Drivers/USB/Core/XMEGA/Template/Template_Endpoint_Control_W.c | C | bsd-3-clause | 2,994 |
/* $NoKeywords:$ */
/**
* @file
*
* AMD Family_15 Orochi thermal initialization
*
* Performs processor thermal initialization.
*
* @xrefitem bom "File Content Label" "Release Content"
* @e project: AGESA
* @e sub-project: CPU/Family/0x15/OR
* @e \$Revision: 55600 $ @e \$Date: 2011-06-23 12:39:18 -0600... | lkundrak/coreboot | src/vendorcode/amd/agesa/f15/Proc/CPU/Family/0x15/OR/cpuF15OrSoftwareThermal.c | C | gpl-2.0 | 5,582 |
/* $NoKeywords:$ */
/**
* @file
*
* AMD Family_10 Power Plane Initialization
*
* Performs the "BIOS Requirements for Power Plane Initialization" as described
* in the BKDG.
*
* @xrefitem bom "File Content Label" "Release Content"
* @e project: AGESA
* @e sub-project: CPU/F10
* @e \$Revision: 56279 $ ... | BTDC/coreboot | src/vendorcode/amd/agesa/f15/Proc/CPU/Family/0x10/cpuF10PowerPlane.c | C | gpl-2.0 | 18,693 |
/*
* Copyright (c) 2003, 2011, Oracle and/or its affiliates. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* - Redistributions of source code must retain the above copyright
* no... | frohoff/jdk8u-jdk | src/share/demo/jvmti/hprof/hprof_loader.c | C | gpl-2.0 | 8,122 |
/* $Id: xscuwdt.c,v 1.1.2.1 2011/01/20 04:04:40 sadanan Exp $ */
/******************************************************************************
*
* Copyright (C) 2010 - 2015 Xilinx, Inc. All rights reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associ... | andrewandrepowell/zybo_petalinux | zybo_petalinux_webcam/zybo_petalinux_webcam.sdk/standalone_bsp_0/ps7_cortexa9_0/libsrc/scuwdt_v2_1/src/xscuwdt.c | C | gpl-3.0 | 6,868 |
/* Copyright (C) 2003 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Bao Duong <bduong@progress.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 by the Fre... | Bytewerk/uClinux-ipcam | uClibc/test/nptl/tst-cleanup2.c | C | gpl-2.0 | 1,621 |
/* linux/arch/arm/mach-exynos4/mach-universal_c210.c
*
* Copyright (c) 2010 Samsung Electronics Co., Ltd.
*
* 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/pl... | EPDCenter/android_kernel_allwinner_a31_unusual | arch/arm/mach-exynos/mach-universal_c210.c | C | gpl-2.0 | 27,019 |
/* Copyright (C) 2016 B.A.T.M.A.N. contributors:
*
* Matthias Schiffer
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of version 2 of the GNU General Public
* License as published by the Free Software Foundation.
*
* This program is distributed in the hope that it ... | bas-t/linux_media | net/batman-adv/netlink.c | C | gpl-2.0 | 16,171 |
/* semaphore.c: FR-V semaphores
*
* Copyright (C) 2003 Red Hat, Inc. All Rights Reserved.
* Written by David Howells (dhowells@redhat.com)
* - Derived from lib/rwsem-spinlock.c
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as pu... | ghmajx/asuswrt-merlin | release/src-rt/linux/linux-2.6/arch/frv/kernel/semaphore.c | C | gpl-2.0 | 3,665 |
/*
comedi/drivers/pcmad.c
Hardware driver for Winsystems PCM-A/D12 and PCM-A/D16
COMEDI - Linux Control and Measurement Device Interface
Copyright (C) 2000,2001 David A. Schleef <ds@schleef.org>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU ... | KOala888/GB_kernel | linux_kernel_galaxyplayer-master/drivers/staging/comedi/drivers/pcmad.c | C | gpl-2.0 | 4,341 |
/*
* Copyright (c) 2010-2011 Atheros Communications Inc.
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
* THE SOFTWARE IS PROVIDED "AS IS" A... | JijonHyuni/HyperKernel-JB | virt/drivers/net/wireless/ath/ath9k/ar9003_calib.c | C | gpl-2.0 | 25,376 |
/* Copyright (C) 2005-2015 Free Software Foundation, Inc.
Contributed by Richard Henderson <rth@redhat.com>.
This file is part of the GNU Offloading and Multi Processing Library
(libgomp).
Libgomp is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public Licen... | stlankes/HermitCore | usr/libgomp/ordered.c | C | bsd-3-clause | 8,440 |
/*
* 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) 1991, 1992 Linus Torvalds
* Copyright (C) 1994 - 2000, 2006 Ralf Baechle
* Copyright (C) 1999, 2000 Silicon Graphics, In... | EAVR/EV3.14 | ev3sources/extra/linux-03.20.00.13/arch/mips/kernel/signal32.c | C | gpl-2.0 | 22,480 |
#include <linux/sched.h>
#include <linux/module.h>
#include <linux/poll.h>
#include <linux/mutex.h>
#include <linux/uaccess.h>
#include <asm/io.h>
#include <linux/fs.h>
#include <linux/semaphore.h>
#include <linux/cdev.h>
#include <linux/kfifo.h>
#include <linux/wakelock.h>
#include <linux/wait.h>
#include <linux/platf... | visi0nary/mediatek | mt6732/mediatek/kernel/drivers/emd_ctl/emd_ctl_chr.c | C | gpl-2.0 | 25,690 |
/*
* Scsi Host Layer for MPT (Message Passing Technology) based controllers
*
* This code is based on drivers/scsi/mpt2sas/mpt2_scsih.c
* Copyright (C) 2007-2012 LSI Corporation
* (mailto:DL-MPTFusionLinux@lsi.com)
*
* This program is free software; you can redistribute it and/or
* modify it under the terms o... | rahulkodinya/drm | drivers/scsi/mpt2sas/mpt2sas_scsih.c | C | gpl-2.0 | 247,052 |
/*
* Lossless video DSP utils
*
* This file is part of FFmpeg.
*
* FFmpeg 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 option) any later versi... | CTSRD-SOAAP/chromium-42.0.2311.135 | third_party/ffmpeg/libavcodec/x86/lossless_videodsp_init.c | C | bsd-3-clause | 2,705 |
// SPDX-License-Identifier: GPL-2.0
/*
* Shared Memory Communications over RDMA (SMC-R) and RoCE
*
* Manage send buffer.
* Producer:
* Copy user space data into send buffer, if send buffer space available.
* Consumer:
* Trigger RDMA write into RMBE of peer and send CDC, if RMBE space available.
*
* Copyright I... | koct9i/linux | net/smc/smc_tx.c | C | gpl-2.0 | 18,820 |
/* lzo1c_cc.c -- LZO1C compression internal entry point
This file is part of the LZO real-time data compression library.
Copyright (C) 2008 Markus Franz Xaver Johannes Oberhumer
Copyright (C) 2007 Markus Franz Xaver Johannes Oberhumer
Copyright (C) 2006 Markus Franz Xaver Johannes Oberhumer
Copyright (... | walkerka/opentoonz | thirdparty/lzo/2.03/src/lzo1c_cc.c | C | bsd-3-clause | 4,894 |
/*****************************************************************************/
/*
* devio.c -- User space communication with USB devices.
*
* Copyright (C) 1999-2000 Thomas Sailer (sailer@ife.ee.ethz.ch)
*
* This program is free software; you can redistribute it and/or modify
* it under t... | WukLab/Hotpot | hotpot-kernel/drivers/usb/core/devio.c | C | gpl-2.0 | 56,575 |
/*
* libata-scsi.c - helper library for ATA
*
* Maintained by: Tejun Heo <tj@kernel.org>
* Please ALWAYS copy linux-ide@vger.kernel.org
* on emails.
*
* Copyright 2003-2004 Red Hat, Inc. All rights reserved.
* Copyright 2003-2004 Jeff Garzik
*
*
* This program is free software; you can r... | jeremytrimble/adi-linux | drivers/ata/libata-scsi.c | C | gpl-2.0 | 108,444 |
/*
* Copyright (C) 2013 Red Hat
* Author: Rob Clark <robdclark@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 published by
* the Free Software Foundation.
*
* This program is distributed in the hope that it ... | brammittendorff/PF_RING | linux-3.16.7-ckt9/drivers/gpu/drm/msm/msm_iommu.c | C | lgpl-2.1 | 4,023 |
/*
* 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 Silicon Graphics, Inc. All Rights Reserved.
*/
/*
* This file contains a module version of the ioc3 serial driver. ... | mkvdv/au-linux-kernel-autumn-2017 | linux/drivers/tty/serial/ioc3_serial.c | C | gpl-3.0 | 58,786 |
/*
* linux/ipc/msgutil.c
* Copyright (C) 1999, 2004 Manfred Spraul
*
* This file is released under GNU General Public Licence version 2 or
* (at your option) any later version.
*
* See the file COPYING for more details.
*/
#include <linux/spinlock.h>
#include <linux/init.h>
#include <linux/security.h>
#include... | infraredbg/Lenovo_A820_kernel_kk | kernel/ipc/msgutil.c | C | gpl-2.0 | 2,804 |
// SPDX-License-Identifier: GPL-2.0-only
/*
* IIO ADC driver for NXP LPC18xx ADC
*
* Copyright (C) 2016 Joachim Eastwood <manabian@gmail.com>
*
* UNSUPPORTED hardware features:
* - Hardware triggers
* - Burst mode
* - Interrupts
* - DMA
*/
#include <linux/clk.h>
#include <linux/err.h>
#include <linux/iio... | mpe/powerpc | drivers/iio/adc/lpc18xx_adc.c | C | gpl-2.0 | 5,336 |
/*
* usb-serial driver for Quatech SSU-100
*
* based on ftdi_sio.c and the original serqt_usb.c from Quatech
*
*/
#include <linux/errno.h>
#include <linux/slab.h>
#include <linux/tty.h>
#include <linux/tty_driver.h>
#include <linux/tty_flip.h>
#include <linux/module.h>
#include <linux/serial.h>
#include <linux/us... | kmihelich/linux-espressobin | drivers/usb/serial/ssu100.c | C | gpl-2.0 | 13,980 |
/*
* fs/nfs/idmap.c
*
* UID and GID to name mapping for clients.
*
* Copyright (c) 2002 The Regents of the University of Michigan.
* All rights reserved.
*
* Marius Aamodt Eriksen <marius@umich.edu>
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted pro... | Savaged-Zen/Savaged-Zen-Inc | fs/nfs/idmap.c | C | gpl-2.0 | 17,785 |
/* linux/arch/arm/plat-s3c64xx/dma.c
*
* Copyright 2009 Openmoko, Inc.
* Copyright 2009 Simtec Electronics
* Ben Dooks <ben@simtec.co.uk>
* http://armlinux.simtec.co.uk/
*
* S3C64XX DMA core
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public... | pombredanne/bcm11351 | arch/arm/mach-s3c64xx/dma.c | C | gpl-2.0 | 16,705 |
/*
* Copyright (C) 2008 Ole André Vadla Ravnås <ole.andre.ravnas@tandberg.com>
*
* 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 opti... | verybigdog/gst-plugins-bad | sys/wasapi/gstwasapi.c | C | gpl-2.0 | 1,370 |
/**
* dwc3_otg.c - DesignWare USB3 DRD Controller OTG
*
* Copyright (c) 2012-2013, The Linux Foundation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
* only version 2 as published by the Free Sof... | jameshilliard/m8-3.4.0-gb1fa77f | drivers/usb/dwc3/dwc3_otg.c | C | gpl-2.0 | 30,186 |
/*
* drm gem CMA (contiguous memory allocator) helper functions
*
* Copyright (C) 2012 Sascha Hauer, Pengutronix
*
* Based on Samsung Exynos code
*
* Copyright (c) 2011 Samsung Electronics Co., Ltd.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU Genera... | eabatalov/au-linux-kernel-autumn-2017 | linux/drivers/gpu/drm/drm_gem_cma_helper.c | C | gpl-3.0 | 17,787 |
/* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not... | PerilousApricot/lstore | vendor/apr-util-accre/dbd/apr_dbd_pgsql.c | C | apache-2.0 | 39,809 |
/*
* arch/arm/mach-mv78xx0/common.c
*
* Core functions for Marvell MV78xx0 SoCs
*
* This file is licensed under the terms of the GNU General Public
* License version 2. This program is licensed "as is" without any
* warranty of any kind, whether express or implied.
*/
#include <linux/kernel.h>
#include <linux... | infraredbg/Lenovo_A820_kernel_kk | kernel/arch/arm/mach-mv78xx0/common.c | C | gpl-2.0 | 10,457 |
// SPDX-License-Identifier: GPL-2.0-only
/*
* Copyright 2007, Google Inc.
* Copyright 2012, Intel Inc.
*
* based on omap.c driver, which was
* Copyright (C) 2004 Nokia Corporation
* Written by Tuukka Tikkanen and Juha Yrjölä <juha.yrjola@nokia.com>
* Misc hacks here and there by Tony Lindgren <tony@atomide... | CSE3320/kernel-code | linux-5.8/drivers/mmc/host/android-goldfish.c | C | gpl-2.0 | 13,343 |
/*
* Copyright (C) 2011 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 distributed in the hope that it will be useful,
* but WITH... | fear130986/GT-I9195_EUR_KK_Opensource_kernel | arch/arm/mach-msm/board-s5000-tsp_msm8930.c | C | gpl-2.0 | 10,598 |
/*
* omap-mcbsp.c -- OMAP ALSA SoC DAI driver using McBSP port
*
* Copyright (C) 2008 Nokia Corporation
*
* Contact: Jarkko Nikula <jarkko.nikula@bitmer.com>
* Peter Ujfalusi <peter.ujfalusi@ti.com>
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the ... | NebulaOy/linux | sound/soc/omap/omap-mcbsp.c | C | gpl-2.0 | 22,405 |
#include "util.h"
#include <sys/types.h>
#include <byteswap.h>
#include <unistd.h>
#include <stdio.h>
#include <stdlib.h>
#include <linux/list.h>
#include <linux/kernel.h>
#include <linux/bitops.h>
#include <sys/utsname.h>
#include "evlist.h"
#include "evsel.h"
#include "header.h"
#include "../perf.h"
#include "trace-... | fritsch/linux | tools/perf/util/header.c | C | gpl-2.0 | 68,135 |
/*
* exynos_adc.c - Support for ADC in EXYNOS SoCs
*
* 8 ~ 10 channel, 10/12-bit ADC
*
* Copyright (C) 2013 Naveen Krishna Chatradhi <ch.naveen@samsung.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* th... | garyvan/openwrt | linux-3.10.20-rt14/drivers/iio/adc/exynos_adc.c | C | gpl-2.0 | 11,167 |
/*
* HID Sensors Driver
* Copyright (c) 2012, Intel Corporation.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms and conditions of the GNU General Public License,
* version 2, as published by the Free Software Foundation.
*
* This program is distributed in the hope ... | andyhui/linux-kernel-3.12.17 | drivers/iio/magnetometer/hid-sensor-magn-3d.c | C | gpl-2.0 | 11,147 |
/*
* Copyright 2015-2016, Aneesh Kumar K.V, IBM 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.
*/... | zzpu/linux-stack | arch/powerpc/mm/pgtable-book3s64.c | C | gpl-2.0 | 3,691 |
/* Copyright (c) 2012-2014, 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... | SOKP/kernel_moto_shamu | sound/soc/msm/qdsp6v2/msm-compr-q6-v2.c | C | gpl-2.0 | 43,157 |
//=============================================================================
// File : sharp_bb.c
//
// Description:
//
// Revision History:
//
// Version Date Author Description of Changes
//-----------------------------------------------------------------------------
// 1.... | widz4rd/WIDzard-A860S | drivers/dmb/isdbt/sharp/ntv/nmi_test.c | C | gpl-2.0 | 10,695 |
/*
* Xiph RTP Protocols
* Copyright (c) 2009 Colin McQuillian
* Copyright (c) 2010 Josh Allmann
*
* This file is part of FFmpeg.
*
* FFmpeg 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; eithe... | ashishlal/pjproject-2.0.1 | third_party/ffmpeg/libavformat/rtpdec_xiph.c | C | gpl-2.0 | 13,146 |
// SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0
/*******************************************************************************
*
* Module Name: dbtest - Various debug-related tests
*
******************************************************************************/
#include <acpi/acpi.h>
#include "accommon.h"
#... | CSE3320/kernel-code | linux-5.8/drivers/acpi/acpica/dbtest.c | C | gpl-2.0 | 29,348 |
/* linux/arch/arm/plat-s3c/dev-hsmmc2.c
*
* Copyright (c) 2009 Samsung Electronics
* Copyright (c) 2009 Maurus Cuelenaere
*
* Based on arch/arm/plat-s3c/dev-hsmmc1.c
* original file Copyright (c) 2008 Simtec Electronics
*
* S3C series device definition for hsmmc device 2
*
* This program is free software; you... | JackpotClavin/android_kernel_samsung_venturi | arch/arm/plat-samsung/dev-hsmmc2.c | C | gpl-2.0 | 2,313 |
/*
* Copyright (C) ST-Ericsson SA 2011
*
* Display output device driver
*
* Author: Marcus Lorentzon <marcus.xm.lorentzon@stericsson.com>
* for ST-Ericsson.
*
* License terms: GNU General Public License (GPL), version 2.
*/
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/fs.h>
#include <li... | honeyx/S3mini_golden_kernel | drivers/misc/dispdev/dispdev.c | C | gpl-2.0 | 14,586 |
/*******************************************************************
* This file is part of the Emulex Linux Device Driver for *
* Fibre Channel Host Bus Adapters. *
* Copyright (C) 2004-2012 Emulex. All rights reserved. *
* EMULEX and SLI are trademarks of Emulex. ... | giantdisaster/btrfs | drivers/scsi/lpfc/lpfc_scsi.c | C | gpl-2.0 | 156,899 |
/******************************************************************************
*
* 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... | eabatalov/au-linux-kernel-autumn-2017 | linux/drivers/net/wireless/realtek/rtlwifi/rc.c | C | gpl-3.0 | 8,638 |
/*
* Copyright (C) 2015, Samsung Electronics 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 Free Software Foundation; either version 2 of the License, or
* (at your option) any... | glewarne/S6-UniBase | drivers/sensorhub/brcm/ssp_sensorhub.c | C | gpl-2.0 | 19,097 |
/* bnx2.c: Broadcom NX2 network driver.
*
* Copyright (c) 2004-2010 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.
*
* Written by: Michael Chan (mchan@broadcom.c... | DerArtem/android-tegra-2.6.36-honeycomb-folio-nvidia | drivers/net/bnx2.c | C | gpl-2.0 | 212,983 |
/******************************************************************************
* Copyright (c) 2004, 2008 IBM Corporation
* All rights reserved.
* This program and the accompanying materials
* are made available under the terms of the BSD License
* which accompanies this distribution, and is available at
* http:... | rpaleari/qtrace | src/roms/SLOF/board-js2x/rtas/rtas_pci.c | C | gpl-2.0 | 3,111 |
/*
Copyright (C) 2010 Willow Garage <http://www.willowgarage.com>
Copyright (C) 2009 - 2010 Ivo van Doorn <IvDoorn@gmail.com>
Copyright (C) 2009 Mattias Nissler <mattias.nissler@gmx.de>
Copyright (C) 2009 Felix Fietkau <nbd@openwrt.org>
Copyright (C) 2009 Xose Vazquez Perez <xose.vazquez@gmail.com>
Copyright (C) ... | kbc-developers/android_kernel_semc_xperia2011 | ti_wlan/compat-wireless-wl12xx/drivers/net/wireless/rt2x00/rt2800usb.c | C | gpl-2.0 | 32,092 |
/*
* LCD panel driver for Sharp LS037V7DW01
*
* Copyright (C) 2008 Nokia Corporation
* Author: Tomi Valkeinen <tomi.valkeinen@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
* the Free Software F... | EAVR/EV3.14 | ev3sources/extra/linux-03.20.00.13/drivers/video/omap2/displays/panel-sharp-ls037v7dw01.c | C | gpl-2.0 | 3,616 |
// SPDX-License-Identifier: GPL-2.0
/*
* Copyright(c) 2008 - 2010 Realtek Corporation. All rights reserved.
*
* Contact Information: wlanfae <wlanfae@realtek.com>
*/
#include "rtllib.h"
#include <linux/etherdevice.h>
#include "rtl819x_TS.h"
static void TsSetupTimeOut(struct timer_list *unused)
{
}
static void TsI... | BPI-SINOVOIP/BPI-Mainline-kernel | linux-5.4/drivers/staging/rtl8192e/rtl819x_TSProc.c | C | gpl-2.0 | 14,122 |
/*
* linux/kernel/time/tick-sched.c
*
* Copyright(C) 2005-2006, Thomas Gleixner <tglx@linutronix.de>
* Copyright(C) 2005-2007, Red Hat, Inc., Ingo Molnar
* Copyright(C) 2006-2007 Timesys Corp., Thomas Gleixner
*
* No idle tick implementation for low and high resolution timers
*
* Started by: Thomas Glei... | maoze/linux-3-14-for-arm | linux-3.14/kernel/time/tick-sched.c | C | gpl-3.0 | 29,816 |
/*
* jcprepct.c
*
* Copyright (C) 1994, Thomas G. Lane.
* This file is part of the Independent JPEG Group's software.
* For conditions of distribution and use, see the accompanying README file.
*
* This file contains the compression preprocessing controller.
* This controller manages the color conversion, downs... | ioquake/jedi-outcast | utils/tgajpg/jcprepct.c | C | gpl-2.0 | 12,772 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.