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
/* * CHRP pci routines. */ #include <linux/kernel.h> #include <linux/pci.h> #include <linux/delay.h> #include <linux/string.h> #include <linux/init.h> #include <asm/io.h> #include <asm/pgtable.h> #include <asm/irq.h> #include <asm/hydra.h> #include <asm/prom.h> #include <asm/machdep.h> #include <asm/sections.h> #in...
augustayu/fastsocket
kernel/arch/powerpc/platforms/chrp/pci.c
C
gpl-2.0
10,671
/* * Implementation of the userspace SID hashtable. * * Author : Eamon Walsh, <ewalsh@epoch.ncsc.mil> */ #include <errno.h> #include <stdio.h> #include <stdlib.h> #include <stdint.h> #include <string.h> #include "selinux_internal.h" #include <selinux/avc.h> #include "avc_sidtab.h" #include "avc_internal.h" static ...
KubaKaszycki/kubux
libselinux/src/avc_sidtab.c
C
gpl-3.0
2,894
/* * jsimd_i386.c * * Copyright 2009 Pierre Ossman <ossman@cendio.se> for Cendio AB * Copyright 2009-2011, 2013-2014 D. R. Commander * * Based on the x86 SIMD extension for IJG JPEG library, * Copyright (C) 1999-2006, MIYASAKA Masaru. * For conditions of distribution and use, see copyright notice in jsimdext.in...
cedewey/sol
wp-content/themes/gulp-dev/node_modules/mozjpeg/f47f5773-89ce-4b83-810e-48145ecc3389/simd/jsimd_i386.c
C
gpl-3.0
28,380
/* linpack/csvdc.f -- translated by f2c (version 20050501). You must link the resulting object file with libf2c: on Microsoft Windows system, link with libf2c.lib; on Linux or Unix systems, link with .../path/to/libf2c.a -lm or, if you install libf2c.a in a standard place, with -lf2c -lm ...
eile/ITK
Modules/ThirdParty/VNL/src/vxl/v3p/netlib/linpack/csvdc.c
C
apache-2.0
39,375
/* * amrnb audio input device * * Copyright (C) 2008 Google, Inc. * Copyright (C) 2008 HTC Corporation * Copyright (c) 2009-2010, Code Aurora Forum. 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...
chrisch1974/htc7x30-2.6-flyer
arch/arm/mach-msm/qdsp5v2/audio_amrnb_in.c
C
gpl-2.0
22,485
/****************************************************************************** * * Module Name: nsrepair2 - Repair for objects returned by specific * predefined methods * *****************************************************************************/ /* * Copyright (C) 2000 - 2015, Intel...
AiJiaZone/linux-4.0
virt/drivers/acpi/acpica/nsrepair2.c
C
gpl-2.0
31,111
/* * Copyright (C) ST-Ericsson SA 2010 * * License terms: GNU General Public License (GPL) version 2 * Author: Virupax Sadashivpetimath <virupax.sadashivpetimath@stericsson.com> * * RTC clock driver for the RTC part of the AB8500 Power management chip. * Based on RTC clock driver for the AB3100 Analog Baseband C...
itgb/opCloudRouter
qca/src/linux/drivers/rtc/rtc-ab8500.c
C
gpl-2.0
12,132
#include QMK_KEYBOARD_H #include "debug.h" #include "action_layer.h" #define BASE 0 // default layer #define FN1 1 // media layer #define CAPS_CTL CTL_T(KC_CAPS) // Caps on tap, Ctrl on hold. #define COPY LCTL(KC_V) // C-c Copy #define PASTE LCTL(KC_V) // C-v Paste #define ZM_NRM LCTL(KC_0) ...
kll/qmk_firmware
layouts/community/ergodox/ab/keymap.c
C
gpl-2.0
7,321
/* * Copyright (C) 2014 Freie Universität Berlin * * This file is subject to the terms and conditions of the GNU Lesser General * Public License v2.1. See the file LICENSE in the top level directory for more * details. */ /** * @ingroup tests * @{ * * @file * @brief Application for testing low-level S...
lazytech-org/RIOT
tests/periph_spi/main.c
C
lgpl-2.1
13,326
/* * Simplified MAC Kernel (smack) security module * * This file contains the smack hook function implementations. * * Author: * Casey Schaufler <casey@schaufler-ca.com> * * Copyright (C) 2007 Casey Schaufler <casey@schaufler-ca.com> * Copyright (C) 2009 Hewlett-Packard Development Company, L.P. * ...
pichina/linux-bcache
security/smack/smack_lsm.c
C
gpl-2.0
70,465
/** ****************************************************************************** * @file stm32l1xx_hal_tim_ex.c * @author MCD Application Team * @brief TIM HAL module driver. * This file provides firmware functions to manage the following * functionalities of the Timer extension pe...
mbedmicro/mbed
targets/TARGET_STM/TARGET_STM32L1/device/stm32l1xx_hal_tim_ex.c
C
apache-2.0
9,388
/* * Copyright (C) 2013-2017 Oracle Corporation * This file is based on ast_mode.c * Copyright 2012 Red Hat Inc. * Parts based on xf86-video-ast * Copyright (c) 2005 ASPEED Technology Inc. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated document...
jmahler/linux-next
drivers/staging/vboxvideo/vbox_mode.c
C
gpl-2.0
25,976
/* * inode.c -- user mode filesystem api for usb gadget controllers * * Copyright (C) 2003-2004 David Brownell * Copyright (C) 2003 Agilent Technologies * * 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...
DreamStar001/Vegito_vibe_k5
drivers/usb/gadget/inode.c
C
gpl-2.0
53,765
/* CopyRight (C) 1999, Dmitry Obukhov, dso@usa.net mailto: dso@usa.net http://www.EmbeddedStuff.com ---------------------------------------------- Last modified 6 Apr 97 ---------------------------------------------- Converts C (C++) source to HTML code fragment with syntax highlighting. Since program written...
kevintianbalance/.emacs.d
elisp/cscope-15.7a/contrib/webcscope/hilite.c
C
gpl-2.0
8,434
/* * Copyright 2010-2011 Freescale Semiconductor, Inc. * * See file CREDITS for list of people who contributed to this * project. * * 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...
JeremySavonet/Eurobot-2017-Moon-Village
software/custom_leds/fpga/software/spl_bsp/uboot-socfpga/board/freescale/p1_p2_rdb_pc/p1_p2_rdb_pc.c
C
gpl-3.0
11,737
/* Update additional symbol information in symbol table at the given index. Copyright (C) 2000, 2001, 2002 Red Hat, Inc. This file is part of Red Hat elfutils. Written by Ulrich Drepper <drepper@redhat.com>, 2000. Red Hat elfutils is free software; you can redistribute it and/or modify it under the term...
AOKP/external_elfutils
libelf/gelf_update_syminfo.c
C
gpl-2.0
4,328
/* * Functions related to sysfs handling */ #include <linux/kernel.h> #include <linux/slab.h> #include <linux/module.h> #include <linux/bio.h> #include <linux/blkdev.h> #include <linux/blktrace_api.h> #include "blk.h" struct queue_sysfs_entry { struct attribute attr; ssize_t (*show)(struct request_queue *, char *...
vinay94185vinay/Hybrid
block/blk-sysfs.c
C
gpl-2.0
15,179
/* * lp5521.c - LP5521 LED Driver * * Copyright (C) 2007 Nokia Corporation * * Written by Mathias Nyman <mathias.nyman@nokia.com> * Updated by Felipe Balbi <felipe.balbi@nokia.com> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as...
felixhaedicke/nst-kernel
src/drivers/leds/leds-lp5521.c
C
gpl-2.0
18,002
/* * Test program for MSA instruction DIV_U.H * * Copyright (C) 2019 Wave Computing, Inc. * Copyright (C) 2019 Aleksandar Markovic <amarkovic@wavecomp.com> * Copyright (C) 2019 RT-RK Computer Based Systems LLC * Copyright (C) 2019 Mateja Marjanovic <mateja.marjanovic@rt-rk.com> * * This program is fre...
dslutz/qemu
tests/tcg/mips/user/ase/msa/int-divide/test_msa_div_u_h.c
C
gpl-2.0
7,665
/* * Copyright (c) 2012, Freescale Semiconductor, Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, * are permitted provided that the following conditions are met: * * o Redistributions of source code must retain the above copyright notice, this list...
ArdaFu/rt-thread
bsp/imx6sx/iMX6_Platform_SDK/sdk/drivers/cpu_utility/src/cpu_workpoint.c
C
apache-2.0
3,960
/* ========================================================================== */ /* === ldlsymbolmex.c: LDLSYMBOL mexFunction =============================== */ /* ========================================================================== */ /* MATLAB interface for symbolic LDL' factorization using the LDL sparse mat...
pchrapka/brain-modelling
external/fieldtrip-20160128/external/dmlt/external/gpstuff/SuiteSparse/LDL/MATLAB/ldlsymbolmex.c
C
mit
5,408
/* * kernel/power/suspend.c - Suspend to RAM and standby functionality. * * Copyright (c) 2003 Patrick Mochel * Copyright (c) 2003 Open Source Development Lab * Copyright (c) 2009 Rafael J. Wysocki <rjw@sisk.pl>, Novell Inc. * * This file is released under the GPLv2. */ #include <linux/string.h> #include <linu...
HackerOO7/android_kernel_huawei_u8951
kernel/power/suspend.c
C
gpl-2.0
8,165
/*- * Copyright (c) 1983, 1992, 1993 * The Regents of the University of California. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the abov...
openrisc/or1k-src
winsup/cygwin/gmon.c
C
gpl-2.0
7,486
// SPDX-License-Identifier: GPL-2.0 /* ePAPR hypervisor byte channel device driver * * Copyright 2009-2011 Freescale Semiconductor, Inc. * * Author: Timur Tabi <timur@freescale.com> * * This driver support three distinct interfaces, all of which are related to * ePAPR hypervisor byte channels. * * 1) An early-...
rperier/linux
drivers/tty/ehv_bytechan.c
C
gpl-2.0
22,295
/* * Copyright (c) 2002 The FFmpeg Project * * 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) an...
ashishlal/pjproject-2.0.1
third_party/ffmpeg/libavcodec/wmv2dec.c
C
gpl-2.0
14,797
/* * TEST SUITE FOR MB/WC FUNCTIONS IN C LIBRARY * * FILE: dat_towctrans.c * * TOWCTRANS: wint_t towctrans (wint_t wc, wctrans_t charclass); */ #include <errno.h> #include <stdlib.h> #include <wctype.h> #include "tst_types.h" #include "tgn_locdef.h" /* * NOTE: * Set ret_flg = 1, when a return value is...
utds3lab/pemu
plugins/glibc-2.13-new/localedata/tests-mbwc/dat_towctrans.c
C
gpl-2.0
2,739
/* tmp421.c * * Copyright (C) 2009 Andre Prendel <andre.prendel@gmx.de> * Preliminary support by: * Melvin Rook, Raymond Ng * * 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...
SanDisk-Open-Source/SSD_Dashboard
uefi/linux-source-3.8.0/drivers/hwmon/tmp421.c
C
gpl-2.0
8,505
/* * Copyright (C) 1999, 2000, 2004 MIPS Technologies, Inc. * All rights reserved. * Authors: Carsten Langgaard <carstenl@mips.com> * Maciej W. Rozycki <macro@mips.com> * * This program is free software; you can distribute it and/or modify it * under the terms of the GNU General Public License (Version 2) a...
jameshilliard/m8-3.4.0-gb1fa77f
arch/mips/pci/ops-gt64xxx_pci0.c
C
gpl-2.0
3,755
/* * This code is derived from the VIA reference driver (copyright message * below) provided to Red Hat by VIA Networking Technologies, Inc. for * addition to the Linux kernel. * * The code has been merged into one source file, cleaned up to follow * Linux coding style, ported to the Linux 2.6 kernel tree and cl...
standak3/m8_ul_4.4.2_original
drivers/net/ethernet/via/via-velocity.c
C
gpl-2.0
69,701
/* * Driver for S3 SonicVibes soundcard * Copyright (c) by Jaroslav Kysela <perex@perex.cz> * * BUGS: * It looks like 86c617 rev 3 doesn't supports DDMA buffers above 16MB? * Driver sometimes hangs... Nobody knows why at this moment... * * This program is free software; you can redistribute it and/or...
Evervolv/android_kernel_htc_msm8974
sound/pci/sonicvibes.c
C
gpl-2.0
49,942
#include <linux/buffer_head.h> #include <linux/hdreg.h> #include <linux/slab.h> #include <asm/dasd.h> #include <asm/ebcdic.h> #include <asm/uaccess.h> #include <asm/vtoc.h> #include "check.h" #include "ibm.h" static sector_t cchh2blk (struct vtoc_cchh *ptr, struct hd_geometry *geo) { sector_t cyl; __u16 head; ...
jameshilliard/m8-3.4.0-gb1fa77f
block/partitions/ibm.c
C
gpl-2.0
5,511
/* * * Author Karsten Keil <kkeil@novell.com> * * Copyright 2008 by Karsten Keil <kkeil@novell.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 dis...
jameshilliard/m8-3.4.0-gb1fa77f
drivers/isdn/mISDN/layer2.c
C
gpl-2.0
50,588
/* * net/core/netprio_cgroup.c Priority Control Group * * 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. * * ...
jameshilliard/m8-3.4.0-gb1fa77f
net/core/netprio_cgroup.c
C
gpl-2.0
7,152
/************************************************************************** * * Copyright 2010 VMware, Inc. * 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 wit...
execunix/vinos
xsrc/external/mit/MesaLib7/dist/src/gallium/auxiliary/util/u_format_yuv.c
C
apache-2.0
26,432
/* * Copyright (C) 2009 Texas Instruments Inc * Copyright (C) 2014 Lad, Prabhakar <prabhakar.csengg@gmail.com> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the Lic...
bas-t/linux_media
drivers/media/platform/davinci/vpif_capture.c
C
gpl-2.0
44,209
/* * linux/arch/arm/mach-realview/realview_eb.c * * Copyright (C) 2004 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; eithe...
zhengsjembest/linux_am335x
linux-3.2.0-psp04.06.00.08.sdk/arch/arm/mach-realview/realview_eb.c
C
gpl-2.0
13,095
/* * ISP1362 HCD (Host Controller Driver) for USB. * * Copyright (C) 2005 Lothar Wassmann <LW@KARO-electronics.de> * * Derived from the SL811 HCD, rewritten for ISP116x. * Copyright (C) 2005 Olav Kongas <ok@artecdesign.ee> * * Portions: * Copyright (C) 2004 Psion Teklogix (for NetBook PRO) * Copyright (C) 200...
thanhnhiel/linux-emcraft
drivers/usb/host/isp1362-hcd.c
C
gpl-2.0
89,685
/* linux/drivers/i2c/busses/i2c-s3c2410.c * * Copyright (C) 2004,2005 Simtec Electronics * Ben Dooks <ben@simtec.co.uk> * * S3C2410 I2C Controller * * 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 ...
ghmajx/asuswrt-merlin
release/src-rt/linux/linux-2.6/drivers/i2c/busses/i2c-s3c2410.c
C
gpl-2.0
20,842
/* AFS superblock handling * * Copyright (c) 2002, 2007 Red Hat, Inc. All rights reserved. * * This software may be freely redistributed under the terms of the * GNU General Public License. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free...
KOala888/GB_kernel
linux_kernel_galaxyplayer-master/fs/afs/super.c
C
gpl-2.0
12,261
/* * linux/fs/buffer.c * * Copyright (C) 1991, 1992, 2002 Linus Torvalds */ /* * Start bdflush() with kernel_thread not syscall - Paul Gortmaker, 12/95 * * Removed a lot of unnecessary code and simplified things now that * the buffer cache isn't our primary cache - Andrew Tridgell 12/96 * * Speed up hash,...
soap-DEIM/l4android
fs/buffer.c
C
gpl-2.0
87,133
/* Helper handling for netfilter. */ /* (C) 1999-2001 Paul `Rusty' Russell * (C) 2002-2006 Netfilter Core Team <coreteam@netfilter.org> * (C) 2003,2004 USAGI/WIDE Project <http://www.linux-ipv6.org> * (C) 2006-2012 Patrick McHardy <kaber@trash.net> * * This program is free software; you can redistribute it and/or...
qzhuyan/linux
net/netfilter/nf_conntrack_helper.c
C
gpl-2.0
13,479
/* * Copyright (C) 2000-2003 Axis Communications AB * * Authors: Bjorn Wesen (bjornw@axis.com) * Mikael Starvik (starvik@axis.com) * Tobias Anderberg (tobiasa@axis.com), CRISv32 port. * * This file handles the architecture-dependent parts of process handling.. */ #include <linux/sc...
aberlemont/linux
arch/cris/arch-v32/kernel/process.c
C
gpl-2.0
4,772
/* * Copyright 2012-15 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...
hannes/linux
drivers/gpu/drm/amd/display/dc/dce112/dce112_compressor.c
C
gpl-2.0
25,103
// SPDX-License-Identifier: GPL-2.0+ /* * vsp1_drv.c -- R-Car VSP1 Driver * * Copyright (C) 2013-2015 Renesas Electronics Corporation * * Contact: Laurent Pinchart (laurent.pinchart@ideasonboard.com) */ #include <linux/clk.h> #include <linux/delay.h> #include <linux/device.h> #include <linux/interrupt.h> #incl...
apopple/linux
drivers/media/platform/vsp1/vsp1_drv.c
C
gpl-2.0
21,913
/* * carlu - userspace testing utility for ar9170 devices * * Firmware parsers * * Copyright 2009-2011 Christian Lamparter <chunkeey@googlemail.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 Softwar...
PennartLoettring/Poettrix
rootfs/usr/lib/firmware/carl9170fw/tools/carlu/src/fw.c
C
gpl-2.0
3,649
/* * Copyright (C) 2013 Intel Corporation * * 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 * * Unless required by applicable law or...
hmallat/bluez5
bluez5/android/hal-a2dp.c
C
gpl-2.0
3,823
/* GLIB - Library of useful routines for C programming * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald * * gpoll.c: poll(2) abstraction * Copyright 1998 Owen Taylor * Copyright 2008 Red Hat, Inc. * * This library is free software; you can redistribute it and/or * modify it under the ...
xbmc/atv2
xbmc/lib/libmms/glib-2.20.4/glib/gpoll.c
C
gpl-2.0
11,289
// SPDX-License-Identifier: GPL-2.0 #include <linux/perf_event.h> #include <linux/nospec.h> #include <asm/intel-family.h> enum perf_msr_id { PERF_MSR_TSC = 0, PERF_MSR_APERF = 1, PERF_MSR_MPERF = 2, PERF_MSR_PPERF = 3, PERF_MSR_SMI = 4, PERF_MSR_PTSC = 5, PERF_MSR_IRPERF = 6, PERF_MSR_THERM = 7...
codeaurora-unoffical/linux-msm
arch/x86/events/msr.c
C
gpl-2.0
7,191
/* * Copyright (C) 2008 Google, Inc. * Copyright (c) 2008-2010, Code Aurora Forum. 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. * *...
sigma-random/asuswrt-merlin
release/src-rt-7.x.main/src/linux/linux-2.6.36/arch/arm/mach-msm/devices-qsd8x50.c
C
gpl-2.0
3,119
/* * 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. * * arch/sh64/kernel/sh_ksyms.c * * Copyright (C) 2000, 2001 Paolo Alberelli * */ #include <linux/rwsem.h> #include <linux/module.h> #in...
ghmajx/asuswrt-merlin
release/src-rt/linux/linux-2.6/arch/sh64/kernel/sh_ksyms.c
C
gpl-2.0
1,687
/* Address ranges. Copyright (C) 1998-2014 Free Software Foundation, Inc. Contributed by Cygnus Solutions. This file is part of the GNU Simulators. 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...
tuliom/binutils-gdb
sim/common/sim-arange.c
C
gpl-2.0
7,244
/* * Copyright (c) 2006 Jiri Benc <jbenc@suse.cz> * Copyright 2007 Johannes Berg <johannes@sipsolutions.net> * * 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 <linu...
wkritzinger/asuswrt-merlin
release/src-rt-7.x.main/src/linux/linux-2.6.36/net/mac80211/debugfs_netdev.c
C
gpl-2.0
12,386
#include <stdio.h> #include <assert.h> #include <time.h> #include <stdlib.h> #include <stdint.h> #include <string.h> typedef const char *str_t; #include "kbtree.h" KBTREE_INIT(int, uint32_t, kb_generic_cmp) KBTREE_INIT(str, str_t, kb_str_cmp) static int data_size = 5000000; static unsigned *int_data; static char **s...
libnano/primer3-py
primer3/src/libprimer3/klib/test/kbtree_test.c
C
gpl-2.0
2,209
/* * GPL HEADER START * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This program 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 Software Foundation. * * This program is distributed...
BPI-SINOVOIP/BPI-Mainline-kernel
linux-4.14/drivers/staging/lustre/lustre/ldlm/ldlm_flock.c
C
gpl-2.0
18,498
/* * TI ADC081C/ADC101C/ADC121C 8/10/12-bit ADC driver * * Copyright (C) 2012 Avionic Design GmbH * Copyright (C) 2016 Intel * * 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. ...
geminy/aidear
oss/linux/linux-4.7/drivers/iio/adc/ti-adc081c.c
C
gpl-3.0
5,826
/* * Marvell PATA driver. * * For the moment we drive the PATA port in legacy mode. That * isn't making full use of the device functionality but it is * easy to get working. * * (c) 2006 Red Hat */ #include <linux/kernel.h> #include <linux/module.h> #include <linux/pci.h> #include <linux/init.h> #include <linu...
MetSystem/fastsocket
kernel/drivers/ata/pata_marvell.c
C
gpl-2.0
4,476
/* * Video for Linux Two * * A generic video device interface for the LINUX operating system * using a set of device structures/vectors for low level operations. * * This file replaces the videodev.c file that comes with the * regular kernel distribution. * * This program is free software; you can redistribute...
ystk/linux-poky-debian
drivers/media/v4l2-core/v4l2-common.c
C
gpl-2.0
30,460
/* crypto/evp/evp_enc.c */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * * This package is an SSL implementation written * by Eric Young (eay@cryptsoft.com). * The implementation was written so as to conform with Netscapes SSL. * * This library is free for commercial and non...
837468220/python-for-android
python3-alpha/openssl/crypto/evp/evp_enc.c
C
apache-2.0
16,714
/* Area: ffi_call, closure_call Purpose: Check structure alignment of uint16. Limitations: none. PR: none. Originator: <hos@tamanegi.org> 20031203 */ /* { dg-do run } */ #include "ffitest.h" typedef struct cls_struct_align { unsigned char a; unsigned short b; unsigned char c; } cls_struct_align; ...
lshain-android-source/external-libffi
testsuite/libffi.call/cls_align_uint16.c
C
mit
2,592
/* * Quota code necessary even when VFS quota support is not compiled * into the kernel. The interesting stuff is over in dquot.c, here * we have symbols for initial quotactl(2) handling, the sysctl(2) * variables, etc - things needed even when quota support disabled. */ #include <linux/fs.h> #include <linux/nam...
jigpu/input
fs/quota/quota.c
C
gpl-2.0
24,683
/* * linux/kernel/irq/chip.c * * Copyright (C) 1992, 1998-2006 Linus Torvalds, Ingo Molnar * Copyright (C) 2005-2006, Thomas Gleixner, Russell King * * This file contains the core interrupt handling code, for irq-chip * based architectures. * * Detailed information is available in Documentation/DocBook/generic...
droidzone/Supernova-Kernel
kernel/kernel/irq/chip.c
C
gpl-2.0
18,719
/* * (C) COPYRIGHT 2016 ARM Limited. All rights reserved. * Author: Liviu Dudau <Liviu.Dudau@arm.com> * * This program is free software and is provided to you under the terms of the * GNU General Public License version 2 as published by the Free Software * Foundation, and any use by you of this program is subject...
BPI-SINOVOIP/BPI-Mainline-kernel
linux-4.14/drivers/gpu/drm/arm/malidp_crtc.c
C
gpl-2.0
16,219
/* Kernel thread helper functions. * Copyright (C) 2004 IBM Corporation, Rusty Russell. * * Creation is done via kthreadd, so that we get a clean environment * even if we're invoked from userspace (think modprobe, hotplug cpu, * etc.). */ #include <linux/sched.h> #include <linux/kthread.h> #include <linux/compl...
iwinoto/v4l-media_build-devel
media/kernel/kthread.c
C
gpl-2.0
18,999
/* Implementation of the MAXLOC intrinsic Copyright (C) 2002-2015 Free Software Foundation, Inc. Contributed by Paul Brook <paul@nowt.org> This file is part of the GNU Fortran 95 runtime library (libgfortran). Libgfortran is free software; you can redistribute it and/or modify it under the terms of the GNU Gene...
evaautomation/gcc-linaro
libgfortran/generated/maxloc0_16_r10.c
C
gpl-2.0
9,168
/* * Copyright 2015 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...
codebam/linux
drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c
C
gpl-2.0
22,886
/* * arch/sh/kernel/cpu/sh4a/clock-sh7723.c * * SH7723 clock framework support * * Copyright (C) 2009 Magnus Damm * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of t...
WhiteBearSolutions/WBSAirback
packages/wbsairback-kernel-image/wbsairback-kernel-image-3.2.43/arch/sh/kernel/cpu/sh4a/clock-sh7723.c
C
apache-2.0
11,054
/* * irq_comm.c: Common API for in kernel interrupt controller * Copyright (c) 2007, 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. * * T...
shirishpargaonkar/cifsclient
virt/kvm/irq_comm.c
C
gpl-2.0
10,324
/* * drivers/misc/tegra-baseband/bb-power.c * * Copyright (C) 2011 NVIDIA Corporation * * 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 ...
DmitryADP/diff_qc750
kernel/drivers/misc/tegra-baseband/bb-power.c
C
gpl-2.0
8,209
/* * SPDX-License-Identifier: MIT * * Copyright © 2016 Intel Corporation */ #include <linux/prime_numbers.h> #include "gt/intel_engine_pm.h" #include "gt/intel_gpu_commands.h" #include "gt/intel_gt.h" #include "gt/intel_gt_pm.h" #include "gem/i915_gem_region.h" #include "huge_gem_object.h" #include "i915_selftest...
rperier/linux
drivers/gpu/drm/i915/gem/selftests/i915_gem_mman.c
C
gpl-2.0
34,178
// SPDX-License-Identifier: GPL-2.0 /* * Copyright (c) 2009-2010 Intel Corporation * * Authors: * Jesse Barnes <jbarnes@virtuousgeek.org> */ /* * Some Intel Ibex Peak based platforms support so-called "intelligent * power sharing", which allows the CPU and GPU to cooperate to maximize * performance within a gi...
CSE3320/kernel-code
linux-5.8/drivers/platform/x86/intel_ips.c
C
gpl-2.0
42,748
/* * Driver O/S-independent utility routines * * Copyright (C) 1999-2016, 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 Public License version 2 (...
Fevax/exynos8890_stock
drivers/net/wireless/bcmdhd4359/bcmutils.c
C
gpl-2.0
90,245
// SPDX-License-Identifier: GPL-2.0-only /* * QLogic iSCSI Offload Driver * Copyright (c) 2016 Cavium Inc. */ #include "qedi.h" #include "qedi_dbg.h" #include <linux/uaccess.h> #include <linux/debugfs.h> #include <linux/module.h> int qedi_do_not_recover; static struct dentry *qedi_dbg_root; void qedi_dbg_host_in...
CSE3320/kernel-code
linux-5.8/drivers/scsi/qedi/qedi_debugfs.c
C
gpl-2.0
5,629
// SPDX-License-Identifier: GPL-2.0-or-later /* * Stereo and SAP detection for cx88 * * Copyright (c) 2009 Marton Balint <cus@fazekas.hu> */ #include "cx88.h" #include "cx88-reg.h" #include <linux/slab.h> #include <linux/kernel.h> #include <linux/module.h> #include <linux/jiffies.h> #include <asm/div64.h> #def...
CSE3320/kernel-code
linux-5.8/drivers/media/pci/cx88/cx88-dsp.c
C
gpl-2.0
8,319
/* * Copyright (C) 2012 - Virtual Open Systems and Columbia University * Author: Christoffer Dall <c.dall@virtualopensystems.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 Foundati...
mikedlowis-prototypes/albase
source/kernel/arch/arm/kvm/mmio.c
C
bsd-2-clause
5,166
#include <linux/hw_breakpoint.h> #include "util.h" #include "../perf.h" #include "evlist.h" #include "evsel.h" #include "parse-options.h" #include "parse-events.h" #include "exec_cmd.h" #include "string.h" #include "symbol.h" #include "cache.h" #include "header.h" #include "debugfs.h" #include "parse-events-bison.h" #d...
aps243/kernel-imx
tools/perf/util/parse-events.c
C
gpl-2.0
28,075
// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (c) 2010-2014, The Linux Foundation. All rights reserved. */ #include <linux/device.h> #include <linux/interrupt.h> #include <crypto/internal/hash.h> #include "common.h" #include "core.h" #include "sha.h" /* crypto hw padding constant for first operation */ #...
BPI-SINOVOIP/BPI-Mainline-kernel
linux-5.4/drivers/crypto/qce/sha.c
C
gpl-2.0
14,645
/* Copyright (C) 2010 Willow Garage <http://www.willowgarage.com> Copyright (C) 2004 - 2010 Ivo van Doorn <IvDoorn@gmail.com> <http://rt2x00.serialmonkey.com> This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Softwar...
Isopod/linux
drivers/net/wireless/ralink/rt2x00/rt2x00usb.c
C
gpl-2.0
23,035
// SPDX-License-Identifier: GPL-2.0-only /* * DMA Engine test module * * Copyright (C) 2007 Atmel Corporation * Copyright (C) 2013 Intel Corporation */ #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt #include <linux/delay.h> #include <linux/dma-mapping.h> #include <linux/dmaengine.h> #include <linux/freezer.h> #inclu...
BPI-SINOVOIP/BPI-Mainline-kernel
linux-5.4/drivers/dma/dmatest.c
C
gpl-2.0
34,898
// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2012 Russell King */ #include <linux/clk.h> #include <linux/component.h> #include <linux/module.h> #include <linux/of_graph.h> #include <linux/platform_device.h> #include <drm/drm_atomic_helper.h> #include <drm/drm_drv.h> #include <drm/drm_ioctl.h> #includ...
CSE3320/kernel-code
linux-5.8/drivers/gpu/drm/armada/armada_drv.c
C
gpl-2.0
7,766
/* * Linux-DVB Driver for DiBcom's DiB9000 and demodulator-family. * * Copyright (C) 2005-10 DiBcom (http://www.dibcom.fr/) * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as * published by the Free Software Foundation, version 2. *...
BPI-SINOVOIP/BPI-Mainline-kernel
linux-4.14/drivers/media/dvb-frontends/dib9000.c
C
gpl-2.0
72,259
/* FUNCTION <<strcasestr>>---case-insensitive character string search INDEX strcasestr ANSI_SYNOPSIS #include <string.h> char *strcasestr(const char *<[s]>, const char *<[find]>); TRAD_SYNOPSIS #include <string.h> int strcasecmp(<[s]>, <[find]>) char *<[s]>; char *<[find]>; DESCRIPTION <<strcasestr>> searc...
GarethNelson/Zoidberg
userland/newlib/newlib/libc/string/strcasestr.c
C
gpl-2.0
4,975
// SPDX-License-Identifier: GPL-2.0 /* * camss-csiphy-2ph-1-0.c * * Qualcomm MSM Camera Subsystem - CSIPHY Module 2phase v1.0 * * Copyright (c) 2011-2015, The Linux Foundation. All rights reserved. * Copyright (C) 2016-2018 Linaro Ltd. */ #include "camss-csiphy.h" #include <linux/delay.h> #include <linux/inter...
HinTak/linux
drivers/media/platform/qcom/camss/camss-csiphy-2ph-1-0.c
C
gpl-2.0
4,783
/* Copyright (c) 2008-2010, 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...
Jarbu12/Xperia-M-Kernel
kernel/drivers/video/msm/mddi_sharp.c
C
gpl-3.0
25,454
/* * Copyright (C) 2012 Avionic Design GmbH * Copyright (C) 2012-2013 NVIDIA 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 version 2 as * published by the Free Software Foundation. */ #include <l...
ziqiaozhou/cachebar
source/drivers/gpu/drm/tegra/drm.c
C
gpl-2.0
17,587
/* Copyright (C) 1993, 1995, 1996, 1997 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper <drepper@gnu.ai.mit.edu>, 1993. 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 ...
voku/external-alsa-lib
src/compat/hsearch_r.c
C
lgpl-2.1
6,640
/******************************************************************************* * * Copyright (c) 2015-2016 Intel Corporation. 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) Ve...
bas-t/linux_media
drivers/infiniband/hw/i40iw/i40iw_virtchnl.c
C
gpl-2.0
26,514
/* This file is part of libmicrohttpd (C) 2007, 2008 Christian Grothoff libmicrohttpd 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 ...
izenecloud/icma
source/libmicrohttpd/src/testzzuf/daemontest_post.c
C
apache-2.0
10,485
/* * drivers/media/video/exynos/hevc/hevc_opr.c * * Samsung HEVC driver * This file contains hw related functions. * * Copyright (c) 2010 Samsung Electronics Co., Ltd. * http://www.samsung.com/ * e This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Pub...
Galaxy-Tab-S2/android_kernel_samsung_gts28wifi
drivers/media/platform/exynos/hevc/hevc_opr.c
C
gpl-2.0
29,287
/** ****************************************************************************** * @file misc.c * @author MCD Application Team * @version V3.5.0 * @date 11-March-2011 * @brief This file provides all the miscellaneous firmware functions (add-on * to CMSIS functions). *****************...
cnshaker/myrx
system/src/stm32f1-stdperiph/misc.c
C
apache-2.0
7,042
#include "builtin.h" #include "tree-walk.h" #include "xdiff-interface.h" #include "blob.h" #include "exec_cmd.h" #include "merge-blobs.h" static const char merge_tree_usage[] = "git merge-tree <base-tree> <branch1> <branch2>"; struct merge_list { struct merge_list *next; struct merge_list *link; /* other stages for...
overtherain/scriptfile
tool-kit/git-2.1.2/builtin/merge-tree.c
C
mit
9,196
// SPDX-License-Identifier: GPL-2.0-only /* Tom Kelly's Scalable TCP * * See http://www.deneholme.net/tom/scalable/ * * John Heffner <jheffner@sc.edu> */ #include <linux/module.h> #include <net/tcp.h> /* These factors derived from the recommended values in the aer: * .01 and and 7/8. */ #define TCP_SCALABLE_AI...
penberg/linux
net/ipv4/tcp_scalable.c
C
gpl-2.0
1,460
/* filename: main.c */ #include "issp_revision.h" #ifdef PROJECT_REV_304 /* Copyright 2006-2007, Cypress Semiconductor Corporation. // //THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND //CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, //INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF //MERCH...
honeyx/S3mini_golden_kernel
drivers/input/keyboard/cypress/issp_main.c
C
gpl-2.0
132,606
/* * GPL HEADER START * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This program 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 Software Foundation. * * This program is distributed...
geminy/aidear
oss/linux/linux-4.7/drivers/staging/lustre/lustre/obdclass/llog_cat.c
C
gpl-3.0
7,203
/* * osd_initiator - Main body of the osd initiator library. * * Note: The file does not contain the advanced security functionality which * is only needed by the security_manager's initiators. * * Copyright (C) 2008 Panasas Inc. All rights reserved. * * Authors: * Boaz Harrosh <ooo@electrozaur.com> * Be...
geminy/aidear
oss/linux/linux-4.7/drivers/scsi/osd/osd_initiator.c
C
gpl-3.0
57,347
// SPDX-License-Identifier: GPL-2.0 /* Copyright(c) 2013 - 2018 Intel Corporation. */ /* ethtool support for iavf */ #include "iavf.h" #include <linux/uaccess.h> /* ethtool statistics helpers */ /** * struct iavf_stats - definition for an ethtool statistic * @stat_string: statistic name to display in ethtool -S o...
GuillaumeSeren/linux
drivers/net/ethernet/intel/iavf/iavf_ethtool.c
C
gpl-2.0
31,144
/* * linux/kernel/printk.c * * Copyright (C) 1991, 1992 Linus Torvalds * * Modified to make sys_syslog() more flexible: added commands to * return the last 4k of kernel messages, regardless of whether * they've been read or not. Added option to suppress kernel printk's * to the console. Added hook for send...
CyanogenMod/android_kernel_sony_msm8974
kernel/printk.c
C
gpl-2.0
46,989
/* * Copyright (C) 2011-2012, LG Eletronics,Inc. All rights reserved. * LGIT LCD device driver * * 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. * * Th...
keeeener/nicki
kernel/drivers/video/msm/mipi_lgit.c
C
gpl-2.0
5,994
/* * TI OMAP2 32kHz sync timer emulation. * * Copyright (C) 2007-2008 Nokia Corporation * Written by Andrzej Zaborowski <andrew@openedhand.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 Foun...
SSLAB-HSA/HSAemu
qemu/hw/omap_synctimer.c
C
gpl-3.0
2,861
/** * drivers/extcon/extcon-usb-gpio.c - USB GPIO extcon driver * * Copyright (C) 2015 Texas Instruments Incorporated - http://www.ti.com * Author: Roger Quadros <rogerq@ti.com> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version...
mkvdv/au-linux-kernel-autumn-2017
linux/drivers/extcon/extcon-usb-gpio.c
C
gpl-3.0
8,079
/* * 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 version. * * FFmpeg is distributed...
CTSRD-SOAAP/chromium-42.0.2311.135
third_party/ffmpeg/libavcodec/arm/vp8dsp_init_neon.c
C
bsd-3-clause
5,935