text
stringlengths
4
6.14k
#include <console/console.h> #include <device/pci.h> #include <device/pci_ids.h> #include <string.h> #include <stdint.h> #include <cpu/amd/multicore.h> #include <cpu/amd/amdk8_sysconf.h> #include <stdlib.h> // Global variables for MB layouts and these will be shared by irqtable mptable and acpi_tables //busnum is def...
/* * Copyright (c) Bull S.A. 2007 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 Free Software Foundation. * * This program is distributed in the hope that it would be useful, but * ...
/* * PKCS #5 (Password-based Encryption) * Copyright (c) 2009, Jouni Malinen <j@w1.fi> * * This software may be distributed under the terms of the BSD license. * See README for more details. */ #ifndef PKCS5_H #define PKCS5_H u8 *pkcs5_decrypt(const u8 *enc_alg, size_t enc_alg_len, const u8 *enc_data, size_t en...
// SPDX-License-Identifier: GPL-2.0 /****************************************************************************** * * Copyright(c) 2007 - 2011 Realtek Corporation. All rights reserved. * ******************************************************************************/ /* The purpose of rtw_io.c a. provides the AP...
/* * Copyright (C) 2008-2015 TrinityCore <http://www.trinitycore.org/> * Copyright (C) 2005-2009 MaNGOS <http://getmangos.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 ver...
#ifndef _LINUX_IRQDESC_H #define _LINUX_IRQDESC_H struct irq_affinity_notify; struct proc_dir_entry; struct timer_rand_state; struct module; struct irq_desc { struct irq_data irq_data; struct timer_rand_state *timer_rand_state; unsigned int __percpu *kstat_irqs; irq_flow_handler_t handle_irq; #ifdef CONFIG_IRQ_P...
/* { dg-do compile } */ /* { dg-options "-O2 -fdump-ipa-all-graph" } */ void foo (void) { } /* { dg-final { scan-ipa-dump-times "subgraph" 1 "inline.dot" } } */ /* { dg-final { scan-ipa-dump-times "subgraph" 1 "cp.dot" } } */
/* * Copyright (C) 2008-2009 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,...
#ifndef HEADER_OPENSSLV_H # define HEADER_OPENSSLV_H #ifdef __cplusplus extern "C" { #endif /*- * Numeric release version identifier: * MNNFFPPS: major minor fix patch status * The status nibble has one of the values 0 for development, 1 to e for betas * 1 to 14, and f for release. The patch level is exactly th...
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CHROME_BROWSER_EXTENSIONS_API_MESSAGING_NATIVE_MESSAGE_PORT_H_ #define CHROME_BROWSER_EXTENSIONS_API_MESSAGING_NATIVE_MESSAGE_PORT_H_ #includ...
#ifndef I965_DRM_PUBLIC_H #define I965_DRM_PUBLIC_H struct brw_winsys_screen; struct brw_winsys_screen * i965_drm_winsys_screen_create(int drmFD); #endif
// // Copyright (C) 2017 LunarG, Inc. // Copyright (C) 2018 Google, 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: // // Redistributions of source code must retain the above cop...
/* * OMAP 32ksynctimer/counter_32k-related code * * Copyright (C) 2009 Texas Instruments * Copyright (C) 2010 Nokia Corporation * Tony Lindgren <tony@atomide.com> * Added OMAP4 support - Santosh Shilimkar <santosh.shilimkar@ti.com> * * This program is free software; you can redistribute it and/or modify * it u...
/* * ALSA driver for Echoaudio soundcards. * Copyright (C) 2003-2004 Giuliano Pochini <pochini@shiny.it> * * 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. *...
/* * Port on Texas Instruments TMS320C6x architecture * * Copyright (C) 2004, 2009 Texas Instruments Incorporated * Author: Aurelien Jacquiot (aurelien.jacquiot@jaluna.com) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version...
/* * Copyright (c) 2005 Ammasso, Inc. All rights reserved. * Copyright (c) 2005 Open Grid Computing, 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) Version 2, availabl...
#include <linux/pci.h> #include <linux/module.h> #include <linux/pci-aspm.h> #include "pci.h" static void pci_free_resources(struct pci_dev *dev) { int i; msi_remove_pci_irq_vectors(dev); pci_cleanup_rom(dev); for (i = 0; i < PCI_NUM_RESOURCES; i++) { struct resource *res = dev->resource + i; if (res->paren...
#ifndef __ASM_S390_BITSPERLONG_H #define __ASM_S390_BITSPERLONG_H #ifndef __s390x__ #define __BITS_PER_LONG 32 #else #define __BITS_PER_LONG 64 #endif #include <asm-generic/bitsperlong.h> #endif
/* Unix SMB/CIFS implementation. Safe string handling routines. Copyright (C) Andrew Tridgell 1994-1998 Copyright (C) Andrew Bartlett <abartlet@samba.org> 2003 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...
#ifndef _CRYPTO_ENGINE_EXPORT_H_ #define _CRYPTO_ENGINE_EXPORT_H_ // ======================================================== // CHIP SELECTION // ======================================================== #include <mach/mt_typedefs.h> // ======================================================== // CRYPTO ENGINE EXPORT...
/* * pkey.h * * Copyright (C) AB Strakt * Copyright (C) Jean-Paul Calderone * See LICENSE for details. * * Export pkey functions and data structure. * See the file RATIONALE for a short explanation of why this module was written. * */ #ifndef PyOpenSSL_crypto_PKEY_H_ #define PyOpenSSL_crypto_PKEY_H_ extern ...
#ifndef __DRV_CLK_MT6735_PG_H #define __DRV_CLK_MT6735_PG_H enum subsys_id { SYS_MD1 = 0, SYS_MD2 = 1, SYS_CONN = 2, SYS_DIS = 3, SYS_MFG = 4, SYS_ISP = 5, SYS_VDE = 6, SYS_VEN = 7, NR_SYSS = 8, }; struct pg_callbacks { void (*before_off)(enum subsys_id sys); void (*after_on)(enum subsys_id sys); }; /* re...
/* A wrapper around the AP_InertialNav class which uses the NavEKF filter if available, and falls back to the AP_InertialNav filter when EKF is not available */ #pragma once #include <AP_NavEKF/AP_Nav_Common.h> // definitions shared by inertial and ekf nav filters class AP_InertialNav_NavEKF : pub...
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CONTENT_BROWSER_GEOLOCATION_WIFI_DATA_PROVIDER_WIN_H_ #define CONTENT_BROWSER_GEOLOCATION_WIFI_DATA_PROVIDER_WIN_H_ #include "content/browser...
/* * arch/arm/mach-pxa/include/mach/lubbock.h * * Author: Nicolas Pitre * Created: Jun 15, 2001 * Copyright: MontaVista Software 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...
#ifdef CONFIG_SCHED_AUTOGROUP #include <linux/kref.h> #include <linux/rwsem.h> struct autogroup { struct kref kref; struct task_group *tg; struct rw_semaphore lock; unsigned long id; int nice; }; extern void autogroup_init(struct task_struct *init_task); extern void autogroup_free(struct task_group *tg); s...
/* * * (c) 2007 Pengutronix, Sascha Hauer <s.hauer@pengutronix.de> * * SPDX-License-Identifier: GPL-2.0+ */ #include <common.h> #include <netdev.h> #include <asm/arch/clock.h> #include <asm/arch/imx-regs.h> #include <asm/arch/sys_proto.h> DECLARE_GLOBAL_DATA_PTR; int dram_init(void) { /* dram_init must store ...
#ifndef _ASM_X86_MMU_CONTEXT_H #define _ASM_X86_MMU_CONTEXT_H #include <asm/desc.h> #include <linux/atomic.h> #include <linux/mm_types.h> #include <trace/events/tlb.h> #include <asm/pgalloc.h> #include <asm/tlbflush.h> #include <asm/paravirt.h> #include <asm/mpx.h> #ifndef CONFIG_PARAVIRT static inline void paravirt...
/* 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...
/* * omap dmm user: virtual address space management * * Copyright (C) 2010-2011 Texas Instruments * * Written by Hari Kanigeri <h-kanigeri2@ti.com> * Ramesh Gupta <grgupta@ti.com> * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public Li...
/* * Copyright (C) 2012-2018 Team Kodi * This file is part of Kodi - https://kodi.tv * * SPDX-License-Identifier: GPL-2.0-or-later * See LICENSES/README.md for more information. */ #pragma once #include <stdint.h> struct ANativeWindow; typedef struct ANativeWindow ANativeWindow; typedef enum { ActivityO...
/* BFD support for the s390 processor. Copyright (C) 2000-2014 Free Software Foundation, Inc. Contributed by Carl B. Pedersen and Martin Schwidefsky. This file is part of BFD, the Binary File Descriptor library. This program is free software; you can redistribute it and/or modify it under the terms of ...
// // CYRTextStorage.h // // Version 0.2.0 // // Created by Illya Busigin on 01/05/2014. // Copyright (c) 2014 Cyrillian, Inc. // // Distributed under MIT license. // Get the latest version from here: // // https://github.com/illyabusigin/CYRTextView // // The MIT License (MIT) // // Copyright (c) 2014 Cyrillian...
// // TUVerticalNinePatch.h // NinePatch // // Copyright 2009 Tortuga 22, Inc. All rights reserved. // #import <UIKit/UIKit.h> #import <CoreGraphics/CoreGraphics.h> #import "TUNinePatch.h" #import "TUNinePatchProtocols.h" /** Concrete TUNinePatch instance. Handles NinePatches that only stretch vertically. Only in...
/* $Id: except.c 3553 2011-05-05 06:14:19Z nanang $ */ /* * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) * Copyright (C) 2003-2008 Benny Prijono <benny@prijono.org> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as publi...
/* * Copyright (c) 2012 Clément Bœsch * * 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 lat...
/* Copyright 2017 Zach White <skullydazed@gmail.com> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 2 of the License, or * (at your option) any later version. * * This p...
// RUN: %clang_cc1 -emit-llvm %s -o - -triple=x86_64-apple-darwin10 | FileCheck %s // This file tests the clang extension which allows initializing the components // of a complex number individually using an initialization list. (There is a // extensive description and test in test/Sema/complex-init-list.c.) _Comple...
// // Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. // /*============================================================================= ** ** Source: test6.c ** ** Dependencies: PAL_Initialize ** PAL_Ter...
#include "../rt2860/ap.h"
// SPDX-License-Identifier: GPL-2.0 #include <stdio.h> #include <stdlib.h> #include <string.h> #include <linux/perf_event.h> #include <linux/bpf.h> #include <net/if.h> #include <errno.h> #include <assert.h> #include <sys/sysinfo.h> #include <sys/ioctl.h> #include <signal.h> #include <libbpf.h> #include <bpf/bpf.h> #inc...
/* Copyright (C) 2006 MySQL AB & MySQL Finland AB & TCX DataKonsult AB 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. This program is distributed in the hope t...
/* { dg-do run } */ /* { dg-require-effective-target avx } */ /* { dg-options "-O2 -mavx" } */ #include "avx-check.h" static __m256d __attribute__((noinline, unused)) test (double *e) { return _mm256_load_pd (e); } void static avx_test (void) { union256d u; double e [4] __attribute__ ((aligned (8))) = {41124....
// SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright (C) 2017 Joe Lawrence <joe.lawrence@redhat.com> */ /* * livepatch-callbacks-demo.c - (un)patching callbacks livepatch demo * * * Purpose * ------- * * Demonstration of registering livepatch (un)patching callbacks. * * * Usage * ----- * * Step 1...
// SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright (C) 2018 John Crispin <john@phrozen.org> * * Based on code from * Allwinner Technology Co., Ltd. <www.allwinnertech.com> * */ #include <linux/delay.h> #include <linux/err.h> #include <linux/io.h> #include <linux/kernel.h> #include <linux/module.h> #incl...
/* * Copyright (C) 2008 Carlos Garcia Campos <carlosgc@gnome.org> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2, or (at your option) * any later version. * * This p...
#include "mem_map.h" #include "ports.h"
/* * linux/drivers/devfreq/governor_simpleondemand.c * * Copyright (C) 2011 Samsung Electronics * MyungJoo Ham <myungjoo.ham@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 * published by the Free Softwar...
/* * Copyright (C) 2010 Igalia S.L. * * 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 option) any later version. * * This library i...
// Copyright (c) 2011 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // // This file's dependencies should be kept to a minimum so that it can be // included in WebKit code that doesn't rely on much of common. #ifndef N...
/* * 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...
#ifndef _NFNETLINK_LOG_H #define _NFNETLINK_LOG_H /* This file describes the netlink messages (i.e. 'protocol packets'), * and not any kind of function definitions. It is shared between kernel and * userspace. Don't put kernel specific stuff in here */ #include <linux/types.h> #include <linux/netfilter/nfnetlink....
// Copyright 2013 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef ASH_SYSTEM_BRIGHTNESS_CONTROL_DELEGATE_H_ #define ASH_SYSTEM_BRIGHTNESS_CONTROL_DELEGATE_H_ #include "base/callback.h" namespace ui { class Acce...
// SPDX-License-Identifier: GPL-2.0-only /* * STMicroelectronics st_lsm6dsx spi driver * * Copyright 2016 STMicroelectronics Inc. * * Lorenzo Bianconi <lorenzo.bianconi@st.com> * Denis Ciocca <denis.ciocca@st.com> */ #include <linux/kernel.h> #include <linux/module.h> #include <linux/spi/spi.h> #include <linux/...
/* { dg-do compile { target { ilp32 } } } */ /* { dg-skip-if "" { powerpc*-*-darwin* } { "*" } { "" } } */ /* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power5" } } */ /* { dg-options "-O2 -mcpu=power5" } */ /* { dg-final { scan-assembler "popcntb" } } */ /* { dg-final { scan-assembler...
/* * Apple Onboard Audio Alsa helpers * * Copyright 2006 Johannes Berg <johannes@sipsolutions.net> * * GPL v2, can be found in COPYING. */ #include <linux/module.h> #include "alsa.h" static int index = -1; module_param(index, int, 0444); MODULE_PARM_DESC(index, "index for AOA sound card."); static struct aoa_ca...
/* Test that most-minor versions greater than 9 work. */ /* { dg-options "-mmacosx-version-min=10.4.10" } */ /* { dg-do compile { target *-*-darwin* } } */ int main(void) { #if __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ != 1040 fail me; #endif return 0; }
/* Copyright (c) 2010, 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...
/* profile.h Copyright (C) 2002 by Red Hat, Incorporated. All rights reserved. Permission to use, copy, modify, and distribute this software is freely granted, provided that this notice is preserved. */ #ifndef __XSCALE_PROFILE_H__ #define __XSCALE_PROFILE_H__ /* FIXME: We need to create a string ver...
/* * Generic serial console support * * Author: Mark A. Greer <mgreer@mvista.com> * * Code in serial_edit_cmdline() copied from <file:arch/ppc/boot/simple/misc.c> * and was written by Matt Porter <mporter@kernel.crashing.org>. * * 2001,2006 (c) MontaVista Software, Inc. This file is licensed under * the terms...
/* * 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) 2008 Maxime Bizon <mbizon@freebox.fr> */ #include <linux/init.h> #include <linux/kernel.h> #include <linux/delay.h> #inclu...
/* * Copyright (c) 2016, 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...
/* * linux/arch/arm/mach-at91/clock.h * * 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. */ #define CLK_TYPE_PRIMARY 0x1 #define CLK_TYPE_PLL 0x2 #define CLK_TYPE_PROGRAMMABLE 0...
/* * Copyright 1993, 1995 Christopher Seiwald. * * This file is part of Jam - see jam.c for Copyright information. */ # include "jam.h" # include "option.h" /* * option.c - command line option processing * * {o >o * \<>) "Process command line options as defined in <option.h>. * Return the number of a...
/* tea6420 - i2c-driver for the tea6420 by SGS Thomson Copyright (C) 1998-2003 Michael Hunold <michael@mihu.de> The tea6420 is a bus controlled audio-matrix with 5 stereo inputs, 4 stereo outputs and gain control for each output. It is cascadable, i.e. it can be found at the adresses 0x98 and...
/* Configure decNumber for either host or target. Copyright (C) 2008 Free Software Foundation, Inc. This file is part of GCC. GCC is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, ...
/* * Copyright (C) 2009-2010 Freescale Semiconductor, Inc. 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...
// Copyright 2014 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef COMPONENTS_TRANSLATE_CORE_COMMON_PREF_NAMES_H_ #define COMPONENTS_TRANSLATE_CORE_COMMON_PREF_NAMES_H_ namespace prefs { extern const char kEnabl...
/* { dg-options { "-fwrapv" } } */ extern void abort (void); extern void exit (int); int dd (int x, int d) { return x / d; } int main () { int i; for (i = -3; i <= 3; i++) { if (dd (i, 1) != i / 1) abort (); if (dd (i, 2) != i / 2) abort (); if (dd (i, 3) != i / 3) abort (); if (dd...
/* Copyright (c) 2009, Code Aurora Forum. 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 * notice, this list of con...
// Copyright (c) 2013 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CHROME_BROWSER_COMPONENT_UPDATER_WIDEVINE_CDM_COMPONENT_INSTALLER_H_ #define CHROME_BROWSER_COMPONENT_UPDATER_WIDEVINE_CDM_COMPONENT_INSTALLER...
// // IQUIViewController+Additions.h // https://github.com/hackiftekhar/IQKeyboardManager // Copyright (c) 2013-16 Iftekhar Qurashi. // // 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...
/* * Copyright (C) 2013 Apple 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: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions a...
/* * Copyright (C) 2010 Google 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: * * 1. Redistributions of source code must retain the above copyright * notice, this list of condit...
/* * EISA specific code * * This file is licensed under the GPL V2 */ #include <linux/ioport.h> #include <linux/eisa.h> #include <linux/io.h> static __init int eisa_bus_probe(void) { void __iomem *p = ioremap(0x0FFFD9, 4); if (readl(p) == 'E' + ('I'<<8) + ('S'<<16) + ('A'<<24)) EISA_bus = 1; iounmap(p); ret...
/* * Support for Intel Camera Imaging ISP subsystem. * Copyright (c) 2015, 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 progra...
/* * Copyright 2011 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #ifndef GrBinHashKey_DEFINED #define GrBinHashKey_DEFINED #include "GrTypes.h" /** * GrBinHashKey is a hash key class that can take a data chunk of any predetermined * ...
/* * Copyright (C) 2008 Eduard - Gabriel Munteanu * * This file is released under GPL version 2. */ #ifndef _LINUX_KMEMTRACE_H #define _LINUX_KMEMTRACE_H #ifdef __KERNEL__ #include <trace/events/kmem.h> #ifdef CONFIG_KMEMTRACE extern void kmemtrace_init(void); #else static inline void kmemtrace_init(void) { } #...
/* Copyright (C) 2004 Free Software Foundation. PR other/15526 Verify correct overflow checking with -ftrapv. Written by Falk Hueffner, 20th May 2004. */ /* { dg-do run } */ /* { dg-options "-ftrapv" } */ /* { dg-require-effective-target trapping } */ __attribute__((noinline)) int mulv(int a, int b) { r...
/* * volume_id - reads filesystem label and uuid * * Copyright (C) 2004 Kay Sievers <kay.sievers@vrfy.org> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 o...
//********************************************************* // // Copyright (c) Microsoft. All rights reserved. // This code is licensed under the MIT License (MIT). // THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF // ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY // IMPLIED WARRANTIES OF FITNESS FOR A PARTICU...
/* * Linux ethernet bridge * * Authors: * Lennert Buytenhek <buytenh@gnu.org> * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version * 2 of the License, or (at your option) a...
/* * Watchdog driver for CSR SiRFprimaII and SiRFatlasVI * * Copyright (c) 2013 Cambridge Silicon Radio Limited, a CSR plc group company. * * Licensed under GPLv2 or later. */ #include <linux/module.h> #include <linux/watchdog.h> #include <linux/platform_device.h> #include <linux/moduleparam.h> #include <linux/o...
#ifndef _PPC64_PPC32_H #define _PPC64_PPC32_H #include <linux/compat.h> #include <asm/siginfo.h> #include <asm/signal.h> /* * Data types and macros for providing 32b PowerPC support. * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License *...
#ifndef __LINUX_FIB_RULES_H #define __LINUX_FIB_RULES_H #include <linux/types.h> #include <linux/rtnetlink.h> /* rule is permanent, and cannot be deleted */ #define FIB_RULE_PERMANENT 0x00000001 #define FIB_RULE_INVERT 0x00000002 #define FIB_RULE_UNRESOLVED 0x00000004 #define FIB_RULE_DEV_DETACHED 0x00000008 /* try...
/* * Copyright (C) 2010 Pengutronix * Uwe Kleine-Koenig <u.kleine-koenig@pengutronix.de> * * This program is free software; you can redistribute it and/or modify it under * the terms of the GNU General Public License version 2 as published by the * Free Software Foundation. */ #include <mach/mx35.h> #include <ma...
#ifndef BCM63XX_GPIO_H #define BCM63XX_GPIO_H #include <linux/init.h> #include <bcm63xx_cpu.h> int __init bcm63xx_gpio_init(void); static inline unsigned long bcm63xx_gpio_count(void) { switch (bcm63xx_get_cpu_id()) { case BCM6328_CPU_ID: return 32; case BCM6358_CPU_ID: return 40; case BCM6338_CPU_ID: retu...
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- #ifndef __org_xml_sax_helpers_XMLFilterImpl__ #define __org_xml_sax_helpers_XMLFilterImpl__ #pragma interface #include <java/lang/Object.h> #include <gcj/array.h> extern "Java" { namespace org { namespace xml { namespace sax { ...
/* Copyright (c) 2008-2009 Christopher J. W. Lloyd Permission is hereby granted,free of charge,to any person obtaining a copy of this software and associated documentation files (the "Software"),to deal in the Software without restriction,including without limitation the rights to use,copy,modify,merge,publish,distrib...
/* * BPF Jit compiler defines * * Copyright IBM Corp. 2012,2015 * * Author(s): Martin Schwidefsky <schwidefsky@de.ibm.com> * Michael Holzheu <holzheu@linux.vnet.ibm.com> */ #ifndef __ARCH_S390_NET_BPF_JIT_H #define __ARCH_S390_NET_BPF_JIT_H #ifndef __ASSEMBLY__ #include <linux/filter.h> #include <linux/...
//****************************************************************************** // // Copyright (c) 2015 Microsoft Corporation. All rights reserved. // // This code is licensed under the MIT License (MIT). // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR // IMPLIED, INCLUDING BUT NOT LI...
#ifndef _SPARC64_SCRATCHPAD_H #define _SPARC64_SCRATCHPAD_H /* Sun4v scratchpad registers, accessed via ASI_SCRATCHPAD. */ #define SCRATCHPAD_MMU_MISS 0x00 /* Shared with OBP - set by OBP */ #define SCRATCHPAD_CPUID 0x08 /* Shared with OBP - set by hypervisor */ #define SCRATCHPAD_UTSBREG1 0x10 #define SCRATCHPA...
/* * Copyright 2013 Emilio López * Emilio López <emilio@elopez.com.ar> * * Copyright 2015 Maxime Ripard * Maxime Ripard <maxime.ripard@free-electrons.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 S...
/* * drivers/video/tegra/host/nvhost_memmgr.h * * Tegra Graphics Host Memory Management Abstraction header * * Copyright (c) 2012, NVIDIA 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 ...
/* * jcapistd.c * * Copyright (C) 1994-1996, 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 application interface code for the compression half * of the JPEG library. These are the ...
/* * 32bit -> 64bit ioctl wrapper for timer API * Copyright (c) by Takashi Iwai <tiwai@suse.de> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License,...
/* pkread.c */ #include <stdio.h> #include <stdlib.h> #include <openssl/pem.h> #include <openssl/err.h> #include <openssl/pkcs12.h> /* Simple PKCS#12 file reader */ int main(int argc, char **argv) { FILE *fp; EVP_PKEY *pkey; X509 *cert; STACK_OF(X509) *ca = NULL; PKCS12 *p12; int i; if (argc != 4) { fprintf...
/* * Copyright (C) 2007 Google, Inc. * Author: Brian Swetland <swetland@google.com> * * This software is licensed under the terms of the GNU General Public * License version 2, as published by the Free Software Foundation, and * may be copied, distributed, and modified under those terms. * * This program is dis...
/* * Copyright (c) 2000-2002 Vojtech Pavlik <vojtech@ucw.cz> * Copyright (c) 2001-2002, 2007 Johann Deneux <johann.deneux@gmail.com> * * USB/RS232 I-Force joysticks and wheels. */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License ...
/* * arch/s390/lib/spinlock.c * Out of line spinlock code. * * Copyright (C) IBM Corp. 2004, 2006 * Author(s): Martin Schwidefsky (schwidefsky@de.ibm.com) */ #include <linux/types.h> #include <linux/module.h> #include <linux/spinlock.h> #include <linux/init.h> #include <asm/io.h> int spin_retry = 1000...