plateform
stringclasses
1 value
repo_name
stringclasses
2 values
name
stringlengths
1
78
ext
stringclasses
2 values
path
stringlengths
15
1.11k
size
int64
1
8.55M
source_encoding
stringclasses
11 values
md5
stringlengths
32
32
text
stringlengths
0
8.49M
google
android
matroxfb_accel
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/video/fbdev/matrox/matroxfb_accel.c
14,815
utf_8
48c775086427bdd1a396adc0de801973
/* * * Hardware accelerated Matrox Millennium I, II, Mystique, G100, G200 and G400 * * Testing, hardware cursor fixes * * PPC betatesting * * G400 support * * (following author is not in any relation with this code, but his code * is included in th...
google
android
matroxfb_DAC1064
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/video/fbdev/matrox/matroxfb_DAC1064.c
33,766
utf_8
943c6d6c823e4244e7c7c1b4132bff3c
/* * * Hardware accelerated Matrox Millennium I, II, Mystique, G100, G200, G400 and G450. * * * Version: 1.65 2002/08/14 * * See matroxfb_base.c for contributors. * */ #include "matroxfb_DAC1064.h" #include "matroxfb_misc.h" #include "matroxfb_accel.h" #include "g450_pll.h" #include <linux/matroxfb.h> #ifdef N...
google
android
card
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/pnp/card.c
10,293
utf_8
1da8e5bfa55ff5c34eae510b0eff4644
/* * card.c - contains functions for managing groups of PnP devices * */ #include <linux/module.h> #include <linux/mutex.h> #include <linux/ctype.h> #include <linux/slab.h> #include <linux/pnp.h> #include <linux/dma-mapping.h> #include "base.h" LIST_HEAD(pnp_cards); static LIST_HEAD(pnp_card_drivers); static const s...
google
android
core
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/pnp/core.c
5,224
utf_8
31a8d4dc70b955adbbc9140d8241919e
/* * core.c - contains all core device and protocol registration functions * */ #include <linux/pnp.h> #include <linux/types.h> #include <linux/list.h> #include <linux/device.h> #include <linux/module.h> #include <linux/mutex.h> #include <linux/init.h> #include <linux/string.h> #include <linux/slab.h> #include <linu...
google
android
support
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/pnp/support.c
4,919
utf_8
753fcb835e0354c3c108d7aaf2412ab6
/* * support.c - standard functions for the use of pnp protocol drivers * */ int pnp_is_active(struct pnp_dev *dev) { /* * I don't think this is very reliable because pnp_disable_dev() * only clears out auto-assigned resources. */ if (!pnp_port_start(dev, 0) && pnp_port_len(dev, 0) <= 1 && !pnp_mem_star...
google
android
interface
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/pnp/interface.c
11,206
utf_8
8611834d9bd94ae25a42135abfff014f
/* * interface.c - contains everything related to the user interface * */ #include <linux/pnp.h> #include <linux/string.h> #include <linux/errno.h> #include <linux/list.h> #include <linux/types.h> #include <linux/stat.h> #include <linux/ctype.h> #include <linux/slab.h> #include <linux/mutex.h> #include <asm/uaccess....
google
android
driver
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/pnp/driver.c
6,427
utf_8
e1f54c2cbbed9fb1d7e3ad068868af8c
/* * driver.c - device id matching, driver model, etc. * */ #include <linux/string.h> #include <linux/list.h> #include <linux/module.h> #include <linux/ctype.h> #include <linux/slab.h> #include <linux/pnp.h> #include "base.h" static int compare_func(const char *ida, const char *idb) { int i; /* we only need to com...
google
android
system
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/pnp/system.c
2,728
utf_8
40d4b9c88cab80bb2cbd9563fcfe9f63
/* * system.c - a driver for reserving pnp system resources * * Some code is based on pnpbios_core.c */ #include <linux/pnp.h> #include <linux/device.h> #include <linux/init.h> #include <linux/slab.h> #include <linux/kernel.h> #include <linux/ioport.h> static const struct pnp_device_id pnp_dev_table[] = { /* Gener...
google
android
quirks
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/pnp/quirks.c
12,476
utf_8
a28d0469973823fc0584cb27454879cb
/* * This file contains quirk handling code for PnP devices * Some devices do not report all their resources, and need to have extra * resources added. This is most easily accomplished at initialisation time * when building up the resource structure for the first time. * */ #include <linux/types.h> #include <...
google
android
resource
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/pnp/resource.c
17,101
utf_8
7a9a56bb4f8ffb4631fd9b6e86199276
/* * resource.c - Contains functions for registering and analyzing resource information * */ #include <linux/module.h> #include <linux/slab.h> #include <linux/errno.h> #include <linux/interrupt.h> #include <linux/kernel.h> #include <asm/io.h> #include <asm/dma.h> #include <asm/irq.h> #include <linux/pci.h> #include ...
google
android
manager
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/pnp/manager.c
10,022
utf_8
0baa7a511027297527188984f4d1442a
/* * manager.c - Resource Management, Conflict Resolution, Activation and Disabling of Devices * */ #include <linux/errno.h> #include <linux/module.h> #include <linux/init.h> #include <linux/kernel.h> #include <linux/pnp.h> #include <linux/bitmap.h> #include <linux/mutex.h> #include "base.h" DEFINE_MUTEX(pnp_res_mut...
google
android
core
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/pnp/pnpbios/core.c
14,401
utf_8
e7ea3fb3aae77183d0d905622b985c31
/* * pnpbios -- PnP BIOS driver * * This driver provides access to Plug-'n'-Play services provided by * the PnP BIOS firmware, described in the following documents: * Plug and Play BIOS Specification, Version 1.0A, 5 May 1994 * Plug and Play BIOS Clarification Paper, 6 October 1994 * Compaq Computer Corp...
google
android
rsparser
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/pnp/pnpbios/rsparser.c
17,053
utf_8
185bca9935164b5fa0f29314ec648d63
/* * rsparser.c - parses and encodes pnpbios resource data streams */ #include <linux/ctype.h> #include <linux/pnp.h> #include <linux/string.h> #ifdef CONFIG_PCI #include <linux/pci.h> #else inline void pcibios_penalize_isa_irq(int irq, int active) { } #endif /* CONFIG_PCI */ #include "../base.h" #include "pnpb...
google
android
bioscalls
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/pnp/pnpbios/bioscalls.c
13,261
utf_8
6633242bcf57ee6562d12b2854336aaf
/* * bioscalls.c - the lowlevel layer of the PnPBIOS driver */ #include <linux/types.h> #include <linux/module.h> #include <linux/init.h> #include <linux/linkage.h> #include <linux/kernel.h> #include <linux/device.h> #include <linux/pnp.h> #include <linux/mm.h> #include <linux/smp.h> #include <linux/kmod.h> #include...
google
android
proc
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/pnp/pnpbios/proc.c
8,377
utf_8
e325429df525a750e010d3b133a99d2c
/* * /proc/bus/pnp interface for Plug and Play devices * * * The .../escd file is utilized by the lsescd utility written by * Gunther Mayer. * * The .../legacy_device_resources file is not used yet. * * The other files are human-readable. */ #include <linux/module.h> #include <linux/kernel.h> #include <linux/...
google
android
core
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/pnp/isapnp/core.c
26,129
utf_8
9140333cf2d6ae7dc6c676b694c4db72
/* * ISA Plug & Play support * 2001-06-03 Added release_region calls to correspond with * request_region calls when a failure occurs. Also * added KERN_* constants to printk() calls. * 2001-11-07 Added isapnp_{,un}register_driver calls along the lines * of the pci driver interface */ #includ...
google
android
compat
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/pnp/isapnp/compat.c
2,196
utf_8
c2156b687bcbc18fdc932c6f024d1878
/* * compat.c - A series of functions to make it easier to convert drivers that use * the old isapnp APIs. If possible use the new APIs instead. * */ #include <linux/module.h> #include <linux/isapnp.h> #include <linux/string.h> static void pnp_convert_id(char *buf, unsigned short vendor, unsigned s...
google
android
proc
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/pnp/isapnp/proc.c
2,707
utf_8
339f3ca4cdaacd497a369da0a1fe43fa
/* * ISA Plug & Play support * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ #include <linux/module.h> #include <linux/isapnp.h> #include <linux/proc_fs.h> #include <linux/init.h> #include <asm/uaccess.h> extern struct pnp_protocol isapnp_protocol; static struct proc_dir_entry *isapnp_proc_bus_dir ...
google
android
core
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/pnp/pnpacpi/core.c
8,207
utf_8
597a50708f39cce9cbf061d576361a71
/* * pnpacpi -- PnP ACPI driver * * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #include <linux/export.h> #include <linux/acpi.h> #include <linux/pnp.h> #include <linux/slab.h> #include <linux/mod_devicetable.h> #include "../base.h" #include "pnpacpi.h" static int num; /* * Compati...
google
android
rsparser
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/pnp/pnpacpi/rsparser.c
26,503
utf_8
ef8b8dc58cd5b7f0846ee896470259b0
/* * pnpacpi -- PnP ACPI driver * * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #include <linux/kernel.h> #include <linux/acpi.h> #include <linux/pci.h> #include <linux/pnp.h> #include <linux/slab.h> #include "../base.h" #include "pnpacpi.h" static void decode_irq_flags(struct pnp_d...
google
android
lguest_user
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/lguest/lguest_user.c
11,945
utf_8
bca704efd518f334e76d0d44abe39d55
/*P:200 This contains all the /dev/lguest code, whereby the userspace * launcher controls and communicates with the Guest. For example, * the first write will tell us the Guest's memory layout and entry * point. A read will run the Guest until something happens, such as * a signal or the Guest accessing a device....
google
android
page_tables
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/lguest/page_tables.c
38,661
utf_8
fd5e1296053622e09a099205551a1345
/*P:700 * The pagetable code, on the other hand, still shows the scars of * previous encounters. It's functional, and as neat as it can be in the * circumstances, but be wary, for these things are subtle and break easily. * The Guest provides a virtual to physical mapping, but we can neither trust * it nor use it...
google
android
core
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/lguest/core.c
10,431
utf_8
12b6e4d53d4aa80ce68eb155060081d6
/*P:400 * This contains run_guest() which actually calls into the Host<->Guest * Switcher and analyzes the return, such as determining if the Guest wants the * Host to do something. This file also contains useful helper routines. :*/ #include <linux/module.h> #include <linux/stringify.h> #include <linux/stddef.h> #...
google
android
hypercalls
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/lguest/hypercalls.c
9,393
utf_8
70051e7824a98bb76515123afe042b6f
/*P:500 * Just as userspace programs request kernel operations through a system * call, the Guest requests Host operations through a "hypercall". You might * notice this nomenclature doesn't really follow any logic, but the name has * been around for long enough that we're stuck with it. As you'd expect, this * ...
google
android
segments
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/lguest/segments.c
7,965
utf_8
66ed6c8611fcab0d6f7c9c0cb2e67f3a
/*P:600 * The x86 architecture has segments, which involve a table of descriptors * which can be used to do funky things with virtual address interpretation. * We originally used to use segments so the Guest couldn't alter the * Guest<->Host Switcher, and then we had to trim Guest segments, and restore * for users...
google
android
interrupts_and_traps
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/lguest/interrupts_and_traps.c
22,447
utf_8
ee32feb66ffdda1d3cf9bed87504ca7e
/*P:800 * Interrupts (traps) are complicated enough to earn their own file. * There are three classes of interrupts: * * 1) Real hardware interrupts which occur while we're running the Guest, * 2) Interrupts for virtual devices attached to the Guest, and * 3) Traps and faults from the Guest. * * Real hardware i...
google
android
core
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/lguest/x86/core.c
24,340
utf_8
4af9336c205e8f2ec0d6916b16d1c044
/* * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ /*P:450 * This file contains the x86-specific lguest code. It used to be all * mixed in with drivers/lguest/core.c but several foolhardy code slashers * wrestled most of the dependencies out to here in preparation for porting * lguest to other arc...
google
android
cn_queue
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/connector/cn_queue.c
3,931
utf_8
df03f8d8624e5ec57afcaf882f630316
/* * cn_queue.c * * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * */ #include <linux/kernel.h> #include <linux/module.h> #include <linux/list.h> #include <linux/workqueue.h> #include <linux/spinlock.h> #include <linux/slab.h> #include <linux/skbuff.h> #include <linux/suspend.h> #inclu...
google
android
connector
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/connector/connector.c
7,819
utf_8
164f7b74560b558bc8aee404c2e68a2b
/* * connector.c * * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #include <linux/kernel.h> #include <linux/module.h> #include <linux/list.h> #include <linux/skbuff.h> #include <net/netlink.h> #include <linux/moduleparam.h> #include <linux/connector.h> #include <linux/slab.h> #includ...
google
android
cn_proc
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/connector/cn_proc.c
11,498
utf_8
dae54a9110a0e456b640e6466908cff9
/* * cn_proc.c - process events connector * * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #include <linux/module.h> #include <linux/kernel.h> #include <linux/ktime.h> #include <linux/init.h> #include <linux/connector.h> #include <linux/gfp.h> #include <linux/ptrace.h> #include <linux/...
google
android
qcom_hwspinlock
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/hwspinlock/qcom_hwspinlock.c
4,541
utf_8
94c5084a63eafe2eca8f6a6b925c74a2
/* */ #include <linux/hwspinlock.h> #include <linux/io.h> #include <linux/kernel.h> #include <linux/mfd/syscon.h> #include <linux/module.h> #include <linux/of.h> #include <linux/of_device.h> #include <linux/platform_device.h> #include <linux/pm_runtime.h> #include <linux/regmap.h> #include "hwspinlock_internal.h" #def...
google
android
hwspinlock_core
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/hwspinlock/hwspinlock_core.c
20,360
utf_8
23d7ca923c5a9882805cbe4decde7de8
/* * Hardware spinlock framework * */ #define pr_fmt(fmt) "%s: " fmt, __func__ #include <linux/kernel.h> #include <linux/module.h> #include <linux/spinlock.h> #include <linux/types.h> #include <linux/err.h> #include <linux/jiffies.h> #include <linux/radix-tree.h> #include <linux/hwspinlock.h> #include <linux/pm_r...
google
android
u8500_hsem
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/hwspinlock/u8500_hsem.c
4,989
utf_8
951f88a5ad7887a7eea542cf8cff3c9c
/* * u8500 HWSEM driver * */ #include <linux/module.h> #include <linux/delay.h> #include <linux/io.h> #include <linux/pm_runtime.h> #include <linux/slab.h> #include <linux/spinlock.h> #include <linux/hwspinlock.h> #include <linux/platform_device.h> #include "hwspinlock_internal.h" /* * Implementation of STE's HSem ...
google
android
sirf_hwspinlock
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/hwspinlock/sirf_hwspinlock.c
3,088
utf_8
8b8e3239d347d4ca197f38749738704c
/* * SIRF hardware spinlock driver * */ #include <linux/kernel.h> #include <linux/module.h> #include <linux/device.h> #include <linux/io.h> #include <linux/pm_runtime.h> #include <linux/slab.h> #include <linux/spinlock.h> #include <linux/hwspinlock.h> #include <linux/platform_device.h> #include <linux/of.h> #include...
google
android
omap_hwspinlock
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/hwspinlock/omap_hwspinlock.c
5,524
utf_8
243d491133fa8cfe8e9abec2785463e9
/* * OMAP hardware spinlock driver * */ #include <linux/kernel.h> #include <linux/module.h> #include <linux/device.h> #include <linux/delay.h> #include <linux/io.h> #include <linux/bitops.h> #include <linux/pm_runtime.h> #include <linux/slab.h> #include <linux/spinlock.h> #include <linux/hwspinlock.h> #include <linu...
google
android
acpi_init
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/platform/mips/acpi_init.c
3,529
utf_8
7d47cb75b3598208bcb9df4076a97ed2
#include <linux/io.h> #include <linux/init.h> #include <linux/ioport.h> #include <linux/export.h> #define SBX00_ACPI_IO_BASE 0x800 #define SBX00_ACPI_IO_SIZE 0x100 #define ACPI_PM_EVT_BLK (SBX00_ACPI_IO_BASE + 0x00) /* 4 bytes */ #define ACPI_PM_CNT_BLK (SBX00_ACPI_IO_BASE + 0x04) /* 2 bytes */ #defin...
google
android
cpu_hwmon
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/platform/mips/cpu_hwmon.c
5,414
utf_8
01f1b6ccfbace99ce0ac3a359db5a064
#include <linux/err.h> #include <linux/module.h> #include <linux/reboot.h> #include <linux/jiffies.h> #include <linux/hwmon.h> #include <linux/hwmon-sysfs.h> #include <loongson.h> #include <boot_param.h> #include <loongson_hwmon.h> /* * Loongson-3 series cpu has two sensors inside, * each of them from 0 to 255, * if...
google
android
olpc-ec
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/platform/olpc/olpc-ec.c
7,967
utf_8
e795c01a653b19f03ab31a7ee1588b9a
/* * Generic driver for the OLPC Embedded Controller. * */ #include <linux/completion.h> #include <linux/debugfs.h> #include <linux/spinlock.h> #include <linux/mutex.h> #include <linux/platform_device.h> #include <linux/slab.h> #include <linux/workqueue.h> #include <linux/module.h> #include <linux/list.h> #include <...
google
android
eeepc-laptop
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/platform/x86/eeepc-laptop.c
37,185
utf_8
636eae926f3e06979b60b1d6fcfd7203
/* * eeepc-laptop.c - Asus Eee PC extras * * Based on asus_acpi.c as patched for the Eee PC by Asus: * ftp://ftp.asus.com/pub/ASUS/EeePC/701/ASUS_ACPI_071126.rar * Based on eee.c from eeepc-linux * */ #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt #include <linux/kernel.h> #include <linux/module.h> #include <li...
google
android
toshiba-wmi
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/platform/x86/toshiba-wmi.c
3,388
utf_8
78591e4b49e8ab49189a5a9ca416d71b
/* * toshiba_wmi.c - Toshiba WMI Hotkey Driver * * */ #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt #include <linux/kernel.h> #include <linux/module.h> #include <linux/init.h> #include <linux/types.h> #include <linux/acpi.h> #include <linux/input.h> #include <linux/input/sparse-keymap.h> MODULE_AUTHOR("Azael Avalos")...
google
android
asus-wmi
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/platform/x86/asus-wmi.c
56,767
utf_8
9dcaee8b36dcf4740240252185b6809d
/* * Asus PC WMI hotkey driver * * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt #include <linux/kernel.h> #include <linux/module.h> #include <linux/init.h> #include <linux/types.h> #include <linux/slab.h> #include <linux/input.h> #include ...
google
android
fujitsu-tablet
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/platform/x86/fujitsu-tablet.c
12,067
utf_8
9b75dfa707bf5eeef2904ca46b951fb7
/* * 59 Temple Place Suite 330, Boston, MA 02111-1307, USA. */ #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt #include <linux/kernel.h> #include <linux/module.h> #include <linux/init.h> #include <linux/bitops.h> #include <linux/io.h> #include <linux/ioport.h> #include <linux/acpi.h> #include <linux/device.h> #include <l...
google
android
samsung-laptop
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/platform/x86/samsung-laptop.c
44,470
utf_8
fd094222705c10bcff574a7a670aa2f0
/* * Samsung Laptop driver * * */ #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt #include <linux/kernel.h> #include <linux/init.h> #include <linux/module.h> #include <linux/delay.h> #include <linux/pci.h> #include <linux/backlight.h> #include <linux/leds.h> #include <linux/fb.h> #include <linux/dmi.h> #include <linux/...
google
android
intel_scu_ipc
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/platform/x86/intel_scu_ipc.c
18,274
utf_8
0716504beaff6595199806c9a5b17941
/* * intel_scu_ipc.c: Driver for the Intel SCU IPC mechanism * * * SCU running in ARC processor communicates with other entity running in IA * core through IPC mechanism which in turn messaging between IA core ad SCU. * SCU has two IPC mechanism IPC-1 and IPC-2. IPC-1 is used between IA32 and * SCU where IPC-2 i...
google
android
intel_oaktrail
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/platform/x86/intel_oaktrail.c
9,677
utf_8
42c612e39e53e1c84a616b5a685c254b
/* * intel_oaktrail.c - Intel OakTrail Platform support. * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA * 02110-1301, USA. * * This driver does below things: * 1. registers itself in the Linux backlight control in * /sys/class/backlight/intel_oaktrail/ * * 2. registers in the rfkill su...
google
android
dell-wmi-aio
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/platform/x86/dell-wmi-aio.c
5,426
utf_8
8c5cfea2acd5434e1150e4a58ee8d84e
/* * WMI hotkeys support for Dell All-In-One series * * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt #include <linux/kernel.h> #include <linux/module.h> #include <linux/init.h> #include <linux/types.h> #include <linux/input.h> #include <l...
google
android
toshiba_haps
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/platform/x86/toshiba_haps.c
6,260
utf_8
7b9393ee2db81b8a16c390d1109b233f
/* * Toshiba HDD Active Protection Sensor (HAPS) driver * * */ #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt #include <linux/kernel.h> #include <linux/module.h> #include <linux/init.h> #include <linux/types.h> #include <linux/acpi.h> struct toshiba_haps_dev { struct acpi_device *acpi_dev; int protection_level; }; s...
google
android
intel_scu_ipcutil
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/platform/x86/intel_scu_ipcutil.c
3,055
utf_8
667f5bbc73cb6934bf72bce600be0bed
/* * intel_scu_ipc.c: Driver for the Intel SCU IPC mechanism * * * This driver provides ioctl interfaces to call intel scu ipc driver api */ #include <linux/module.h> #include <linux/kernel.h> #include <linux/errno.h> #include <linux/types.h> #include <linux/fs.h> #include <linux/fcntl.h> #include <linux/sched.h> ...
google
android
panasonic-laptop
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/platform/x86/panasonic-laptop.c
18,390
utf_8
400abb821c84256c0e469ee3a743a7f2
/* * Panasonic HotKey and LCD brightness control driver * -v0.95 rename driver from drivers/acpi/pcc_acpi.c to * drivers/misc/panasonic-laptop.c * * -v0.9 remove warning about section reference. * remove acpi_os_free * add /proc/acpi/pcc/brightness interface for HAL access * merge dbronaugh's enh...
google
android
compal-laptop
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/platform/x86/compal-laptop.c
30,961
utf_8
227d3f2155fa1bf1436064a6203ef901
/*-*-linux-c-*-*/ /* along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ /* * compal-laptop.c - Compal laptop support. * * This driver exports a few files in /sys/devices/platform/compal-laptop/: * wake_up_XXX Wheth...
google
android
hdaps
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/platform/x86/hdaps.c
17,170
utf_8
dd6a61bc92e2e5ff0211095afc41a32e
/* * hdaps.c - driver for IBM's Hard Drive Active Protection System * * more details. * * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA */ #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt #include <linux/delay.h> #include <linux/platform_device.h> #include <linux/input-polldev.h> #include <linux/kernel....
google
android
asus-laptop
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/platform/x86/asus-laptop.c
53,776
utf_8
80299bddee88e422116adaccfe905669
/* * asus-laptop.c - Asus Laptop Support * * * * Credits: * Pontus Fuchs - Helper functions, cleanup * Johann Wiesner - Small compile fixes * John Belmonte - ACPI code for Toshiba laptop was a good starting point. * Eric Burghard - LED display support for W1N * Josh Green - Light Sens support ...
google
android
eeepc-wmi
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/platform/x86/eeepc-wmi.c
7,519
utf_8
9244c11cb00f4c481bb3fe45a6606a23
/* * Eee PC WMI hotkey driver * * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt #include <linux/kernel.h> #include <linux/module.h> #include <linux/init.h> #include <linux/input.h> #include <linux/input/sparse-keymap.h> #include <linux/dmi....
google
android
ideapad-laptop
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/platform/x86/ideapad-laptop.c
26,146
utf_8
13eb485a856c36a1d2870c08852de63c
/* * ideapad-laptop.c - Lenovo IdeaPad ACPI Extras * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA * 02110-1301, USA. */ #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt #include <linux/kernel.h> #include <linux/module.h> #include <linux/init.h> #include <linux/types.h> #include <linux/acpi.h> #inc...
google
android
classmate-laptop
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/platform/x86/classmate-laptop.c
27,956
utf_8
2270e4b6a1a00d86bfdfe5129d80191d
/* * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include <linux/init.h> #include <linux/module.h> #include <linux/slab.h> #include <linux/workqueue.h> #include <linux/acpi.h> #include <linux/backlight.h> #include <linux/input.h> #include <linux/rfkill.h> struct cmpc_accel { int sensitivity; int...
google
android
fujitsu-laptop
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/platform/x86/fujitsu-laptop.c
32,047
utf_8
77db77fad81ee2551c67e5d79271bb4d
/*-*-linux-c-*-*/ /* along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ /* * fujitsu-laptop.c - Fujitsu laptop support, providing access to additional * features made available on a range of Fujitsu laptops including the...
google
android
dell-rbtn
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/platform/x86/dell-rbtn.c
10,285
utf_8
418f3be63ffe2e3ace51998a1c1aabaa
/* Dell Airplane Mode Switch driver */ #include <linux/module.h> #include <linux/acpi.h> #include <linux/rfkill.h> #include <linux/input.h> enum rbtn_type { RBTN_UNKNOWN, RBTN_TOGGLE, RBTN_SLIDER, }; struct rbtn_data { enum rbtn_type type; struct rfkill *rfkill; struct input_dev *input_dev; bool suspended; }...
google
android
intel-smartconnect
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/platform/x86/intel-smartconnect.c
1,674
utf_8
e55e84689aa5482a177f643ce12235ed
/* * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include <linux/init.h> #include <linux/module.h> #include <linux/acpi.h> static int smartconnect_acpi_init(struct acpi_device *acpi) { unsigned long long value; acpi_status status; status = acpi_evaluate_integer(acpi->handle, "GAOS", NULL, &valu...
google
android
intel_mid_powerbtn
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/platform/x86/intel_mid_powerbtn.c
4,026
utf_8
d3569c5f898ca33f45037383c2653aaf
/* * Power button driver for Medfield. * * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ #include <linux/module.h> #include <linux/init.h> #include <linux/interrupt.h> #include <linux/slab.h> #include <linux/platform_device.h> #include <linux/input.h> #include <linux/mfd/intel_msic.h> #include <linux/pm...
google
android
sony-laptop
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/platform/x86/sony-laptop.c
122,550
windows_1250
f9a355e8d0840a96536007a4c16c0857
/* * ACPI Sony Notebook Control Driver (SNC and SPIC) * * * Earlier work by Werner Almesberger, Paul `Rusty' Russell and Paul Mackerras. * * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * */ #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt #include <linux/kernel.h> #include <linux/module.h> #include <li...
google
android
acer-wmi
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/platform/x86/acer-wmi.c
53,033
utf_8
652183ba685f3941c48a1f10004e4489
/* * Acer WMI Laptop Extras * * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt #include <linux/kernel.h> #include <linux/module.h> #include <linux/init.h> #include <linux/types.h> #include <linux/dmi.h> #include <linux/fb.h> #include <linux...
google
android
intel-rst
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/platform/x86/intel-rst.c
3,770
utf_8
707ceb585d24b5b3c9db7cc0e9c2b1da
/* * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include <linux/init.h> #include <linux/module.h> #include <linux/slab.h> #include <linux/acpi.h> static ssize_t irst_show_wakeup_events(struct device *dev, struct device_attribute *attr, char *buf) { struct acpi_device *acpi;...
google
android
toshiba_bluetooth
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/platform/x86/toshiba_bluetooth.c
7,115
utf_8
c7ccf57e7bdcfcbf40e24d5c1bb1f0bf
/* * Toshiba Bluetooth Enable Driver * */ #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt #include <linux/kernel.h> #include <linux/module.h> #include <linux/init.h> #include <linux/types.h> #include <linux/acpi.h> #include <linux/rfkill.h> #define BT_KILLSWITCH_MASK 0x01 #define BT_PLUGGED_MASK 0x40 #define BT_POWER_M...
google
android
topstar-laptop
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/platform/x86/topstar-laptop.c
4,533
utf_8
67edf43fd4387b94f22b4280b28e3424
/* * ACPI driver for Topstar notebooks (hotkeys support only) * */ #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt #include <linux/kernel.h> #include <linux/module.h> #include <linux/init.h> #include <linux/slab.h> #include <linux/acpi.h> #include <linux/input.h> #include <linux/input/sparse-keymap.h> #define ACPI_TOPST...
google
android
hp-wmi
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/platform/x86/hp-wmi.c
26,352
utf_8
d95f64335a8f8872a2629b1616eb8cd9
/* * HP WMI hotkeys * * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt #include <linux/kernel.h> #include <linux/module.h> #include <linux/init.h> #include <linux/slab.h> #include <linux/types.h> #include <linux/input.h> #include <linux/inpu...
google
android
asus-nb-wmi
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/platform/x86/asus-nb-wmi.c
12,022
utf_8
6b09098c527efb2e5cf3289a33452992
/* * Asus Notebooks WMI hotkey driver * * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt #include <linux/kernel.h> #include <linux/module.h> #include <linux/init.h> #include <linux/input.h> #include <linux/input/sparse-keymap.h> #include <li...
google
android
wmi
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/platform/x86/wmi.c
22,173
utf_8
c55550185dd0f903b7061a6fe7491d8f
/* * ACPI-WMI mapping driver * * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. * * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */ #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt #include <linux/kernel.h> #include <linux/init.h> #include <linux/types.h> #include <linux/device....
google
android
intel_mid_thermal
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/platform/x86/intel_mid_thermal.c
13,907
utf_8
50a94b6bc7d0f798b455c709abbdf775
/* * intel_mid_thermal.c - Intel MID platform thermal driver * */ #define pr_fmt(fmt) "intel_mid_thermal: " fmt #include <linux/module.h> #include <linux/init.h> #include <linux/err.h> #include <linux/param.h> #include <linux/device.h> #include <linux/platform_device.h> #include <linux/slab.h> #include <linux/pm.h> ...
google
android
hp-wireless
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/platform/x86/hp-wireless.c
3,012
utf_8
092acd8b2988225acb2110fa0445edd7
/* * hp-wireless button for Windows 8 * * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include <linux/kernel.h> #include <linux/module.h> #include <linux/init.h> #include <linux/input.h> #include <linux/platform_device.h> #include <linux/acpi.h> #include <acpi/acpi_bus.h> MODULE_AUTHOR("Alex Hu...
google
android
surfacepro3_button
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/platform/x86/surfacepro3_button.c
5,902
utf_8
006b276cfd4bb6f1833b27779bf7e8cb
/* * power/home/volume button support for * Microsoft Surface Pro 3 tablet. * */ #include <linux/kernel.h> #include <linux/module.h> #include <linux/init.h> #include <linux/types.h> #include <linux/input.h> #include <linux/acpi.h> #include <acpi/button.h> #define SURFACE_BUTTON_HID "MSHW0028" #define SURFACE_BUTTO...
google
android
intel_ips
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/platform/x86/intel_ips.c
45,047
utf_8
20db6b0ba1373599dd34b857f6378b07
/* */ /* * 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 given TDP (thermal design point). This driver * performs the coordination between the CPU and GPU, monitors thermal and * power statistics ...
google
android
intel_menlow
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/platform/x86/intel_menlow.c
13,658
utf_8
dca650c067c423c59b854ead29c7ce7d
/* * intel_menlow.c - Intel menlow Driver for thermal management extension * * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. * * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * * This driver creates the sys I/F for programming the sensors. * It also implements the drive...
google
android
msi-wmi
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/platform/x86/msi-wmi.c
9,527
utf_8
b4b7ffdb7504ee5e095aec7428960d29
/* * MSI WMI hotkeys * * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt #include <linux/kernel.h> #include <linux/input.h> #include <linux/input/sparse-keymap.h> #include <linux/acpi.h> #include <linux/backlight.h> #include <linux/slab.h> #i...
google
android
intel_pmc_ipc
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/platform/x86/intel_pmc_ipc.c
18,739
utf_8
577ae0cd033d7474b8d5868885552096
/* * intel_pmc_ipc.c: Driver for the Intel PMC IPC mechanism * * * PMC running in ARC processor communicates with other entity running in IA * core through IPC mechanism which in turn messaging between IA core ad PMC. */ #include <linux/module.h> #include <linux/delay.h> #include <linux/errno.h> #include <linux/i...
google
android
alienware-wmi
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/platform/x86/alienware-wmi.c
15,873
utf_8
073e8474cbfc85840bdcaf3b2982146d
/* * Alienware AlienFX control * * */ #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt #include <linux/acpi.h> #include <linux/module.h> #include <linux/platform_device.h> #include <linux/dmi.h> #include <linux/acpi.h> #include <linux/leds.h> #define LEGACY_CONTROL_GUID "A90597CE-A997-11DA-B012-B622A1EF5492" #define LE...
google
android
mxm-wmi
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/platform/x86/mxm-wmi.c
2,669
utf_8
60820d7c73113632493501897a19c629
/* * MXM WMI driver * * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #include <linux/kernel.h> #include <linux/module.h> #include <linux/init.h> #include <linux/mxm-wmi.h> #include <linux/acpi.h> MODULE_AUTHOR("Dave Airlie"); MODULE_DESCRIPTION("MXM WMI Driver"); MODULE_ALIAS("wmi:"...
google
android
samsung-q10
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/platform/x86/samsung-q10.c
3,817
utf_8
25d96a428f626efeaca5896a4c2dae8a
/* * Driver for Samsung Q10 and related laptops: controls the backlight * * */ #include <linux/module.h> #include <linux/kernel.h> #include <linux/init.h> #include <linux/platform_device.h> #include <linux/backlight.h> #include <linux/dmi.h> #include <linux/acpi.h> #define SAMSUNGQ10_BL_MAX_INTENSITY 7 static acpi...
google
android
dell-smo8800
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/platform/x86/dell-smo8800.c
5,911
utf_8
2514fd7b3450fc375c9128a403f150a3
/* * dell-smo8800.c - Dell Latitude ACPI SMO88XX freefall sensor driver * */ #define DRIVER_NAME "smo8800" #include <linux/kernel.h> #include <linux/module.h> #include <linux/acpi.h> #include <linux/interrupt.h> #include <linux/miscdevice.h> struct smo8800_device { u32 irq; /* acpi device irq *...
google
android
msi-laptop
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/platform/x86/msi-laptop.c
28,906
utf_8
871aab27efab35f813ee57c7f0b10afe
/*-*-linux-c-*-*/ /* along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ /* * msi-laptop.c - MSI S270 laptop support. This laptop is sold under * various brands, including "Cytron/TCM/Medion/Tchibo MD96100". * * Driver ...
google
android
amilo-rfkill
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/platform/x86/amilo-rfkill.c
4,374
utf_8
429c716536557c89f5d87fa3211f6467
/* * Support for rfkill on some Fujitsu-Siemens Amilo laptops. * (at your option) any later version. */ #include <linux/module.h> #include <linux/dmi.h> #include <linux/i8042.h> #include <linux/io.h> #include <linux/moduleparam.h> #include <linux/platform_device.h> #include <linux/rfkill.h> /* * These values were o...
google
android
xo15-ebook
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/platform/x86/xo15-ebook.c
4,080
utf_8
ecf33eb00cbed18c570e9e5b867e3328
/* * OLPC XO-1.5 ebook switch driver * (based on generic ACPI button driver) * * your option) any later version. */ #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt #include <linux/kernel.h> #include <linux/module.h> #include <linux/init.h> #include <linux/types.h> #include <linux/input.h> #include <linux/acpi.h> #d...
google
android
dell-wmi
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/platform/x86/dell-wmi.c
11,104
utf_8
3fa1e19c3dd31dde30821914b7ce0b4b
/* * Dell WMI hotkeys * * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt #include <linux/kernel.h> #include <linux/module.h> #include <linux/init.h> #include <linux/slab.h> #include <linux/types.h> #include <linux/input.h> #include <linux/in...
google
android
intel_pmic_gpio
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/platform/x86/intel_pmic_gpio.c
8,348
utf_8
2f1cef061944e7a68d65bea31671085d
/* Moorestown PMIC GPIO (access through IPC) driver * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ /* Supports: * Moorestown platform PMIC chip */ #define pr_fmt(fmt) "%s: " fmt, __func__ #include <linux/module.h> #include <linux/kernel.h> #include <linux/interrupt.h> #include <linux/delay.h> #inclu...
google
android
tc1100-wmi
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/platform/x86/tc1100-wmi.c
6,634
utf_8
565ae645a5f740099b50f44351708420
/* * HP Compaq TC1100 Tablet WMI Extras Driver * * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. * * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */ #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt #include <linux/kernel.h> #include <linux/module.h> #include <linux/slab.h> #inc...
google
android
acerhdf
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/platform/x86/acerhdf.c
23,964
utf_8
f93d12caef297e5a448cd6bafbd284c8
/* * acerhdf - A driver which monitors the temperature * of the aspire one netbook, turns on/off the fan * as soon as the upper/lower threshold is reached. * * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANT...
google
android
pvpanic
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/platform/x86/pvpanic.c
2,913
utf_8
b67ca41e7b69ac899239ab61144ab75e
/* * pvpanic.c - pvpanic Device Support * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt #include <linux/kernel.h> #include <linux/module.h> #include <linux/init.h> #include <linux/types.h> #include <linux/acpi.h> static int pvpanic_...
google
android
hp_accel
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/platform/x86/hp_accel.c
13,111
utf_8
ba91e990f43f8802656746635477b3be
/* * hp_accel.c - Interface between LIS3LV02DL driver and HP ACPI BIOS * * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt #include <linux/kernel.h> #include <linux/init.h> #include <linux/dmi.h> #include <linux/module.h> #include <linux/typ...
google
android
ibm_rtl
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/platform/x86/ibm_rtl.c
8,267
utf_8
1a27ffb81dc434ae2ee847353ef99206
/* * IBM Real-Time Linux driver * * */ #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt #include <linux/kernel.h> #include <linux/delay.h> #include <linux/module.h> #include <linux/io.h> #include <linux/dmi.h> #include <linux/efi.h> #include <linux/mutex.h> #include <asm/bios_ebda.h> #include <linux/io-64-nonatomic-lo-h...
google
android
apple-gmux
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/platform/x86/apple-gmux.c
17,846
utf_8
e3dbcb3562915c98eabe17570557387b
/* * Gmux driver for Apple laptops * */ #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt #include <linux/module.h> #include <linux/kernel.h> #include <linux/init.h> #include <linux/backlight.h> #include <linux/acpi.h> #include <linux/pnp.h> #include <linux/apple_bl.h> #include <linux/slab.h> #include <linux/delay.h> #in...
google
android
xo1-rfkill
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/platform/x86/xo1-rfkill.c
1,719
utf_8
be7e26d87e143d1bce339d502225d918
/* * Support for rfkill through the OLPC XO-1 laptop embedded controller * * (at your option) any later version. */ #include <linux/module.h> #include <linux/platform_device.h> #include <linux/rfkill.h> #include <linux/olpc-ec.h> static bool card_blocked; static int rfkill_set_block(void *data, bool blocked) { uns...
google
android
toshiba_acpi
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/platform/x86/toshiba_acpi.c
73,528
utf_8
23a94f0da39f9e20da5234cd1144b603
/* * toshiba_acpi.c - Toshiba Laptop ACPI Extras * * * The devolpment page for this driver is located at * http://memebeam.org/toys/ToshibaAcpiDriver. * * Credits: * Jonathan A. Buzzard - Toshiba HCI info, and critical tips on reverse * engineering the Windows drivers * Yasushi Nagato - changes for linux...
google
android
dell-laptop
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/platform/x86/dell-laptop.c
56,748
utf_8
97b6c79da19f058c4cacbb333e79f4c2
/* * Driver for Dell laptop extras * */ #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt #include <linux/module.h> #include <linux/kernel.h> #include <linux/init.h> #include <linux/platform_device.h> #include <linux/backlight.h> #include <linux/err.h> #include <linux/dmi.h> #include <linux/io.h> #include <linux/rfkill.h...
google
android
thinkpad_acpi
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/platform/x86/thinkpad_acpi.c
246,435
utf_8
5139a834e138b79be7c5b85e94903c7f
/* * thinkpad_acpi.c - ThinkPad ACPI Extras * * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA * 02110-1301, USA. */ #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt #define TPACPI_VERSION "0.25" #define TPACPI_SYSFS_VERSION 0x020700 /* * Changelog: * 2007-10-20 changelog trimmed down * * 2...
google
android
chromeos_pstore
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/platform/chrome/chromeos_pstore.c
2,282
utf_8
82032b8bfe1cab2ee6b2fd08a7e8534c
/* * chromeos_pstore.c - Driver to instantiate Chromebook ramoops device * */ #include <linux/dmi.h> #include <linux/module.h> #include <linux/platform_device.h> #include <linux/pstore_ram.h> static struct dmi_system_id chromeos_pstore_dmi_table[] __initdata = { { /* * Today all Chromebooks/boxes ship with Go...
google
android
cros_ec_vbc
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/platform/chrome/cros_ec_vbc.c
3,822
utf_8
97527dd0f7bbab3f88b62faff7b9537a
/* * cros_ec_vbc - Expose the vboot context nvram to userspace * */ #include <linux/of.h> #include <linux/platform_device.h> #include <linux/mfd/cros_ec.h> #include <linux/mfd/cros_ec_commands.h> #include <linux/slab.h> static ssize_t vboot_context_read(struct file *filp, struct kobject *kobj, struct bin_attri...
google
android
cros_ec_dev
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/platform/chrome/cros_ec_dev.c
8,495
utf_8
65c43ca83344383e598e360423946c66
/* * cros_ec_dev - expose the Chrome OS Embedded Controller to user-space * */ #include <linux/fs.h> #include <linux/module.h> #include <linux/platform_device.h> #include <linux/slab.h> #include <linux/uaccess.h> #include "cros_ec_dev.h" /* Device variables */ #define CROS_MAX_DEV 128 static int ec_major; static con...
google
android
cros_ec_proto
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/platform/chrome/cros_ec_proto.c
9,646
utf_8
1b34339f3ce0b3a86a043f8deb9f1980
/* * ChromeOS EC communication protocol helper functions * * */ #include <linux/mfd/cros_ec.h> #include <linux/delay.h> #include <linux/device.h> #include <linux/module.h> #include <linux/slab.h> #define EC_COMMAND_RETRIES 50 static int prepare_packet(struct cros_ec_device *ec_dev, struct cros_ec_command *msg)...
google
android
chromeos_laptop
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/platform/chrome/chromeos_laptop.c
15,463
utf_8
6344e945d0afbe52998795fdee5175db
/* * chromeos_laptop.c - Driver to instantiate Chromebook i2c/smbus devices. * * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * */ #include <linux/dmi.h> #include <linux/i2c.h> #include <linux/platform_data/atmel_mxt_ts.h> #include <linux/input.h> #include <linux/interrupt.h> #includ...
google
android
cros_ec_lightbar
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/platform/chrome/cros_ec_lightbar.c
10,004
utf_8
6156de3d4eb94c23cd5aae5a828fab3f
/* * cros_ec_lightbar - expose the Chromebook Pixel lightbar to userspace * */ #define pr_fmt(fmt) "cros_ec_lightbar: " fmt #include <linux/ctype.h> #include <linux/delay.h> #include <linux/device.h> #include <linux/fs.h> #include <linux/kobject.h> #include <linux/mfd/cros_ec.h> #include <linux/mfd/cros_ec_commands....
google
android
cros_ec_sysfs
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/platform/chrome/cros_ec_sysfs.c
8,594
utf_8
6b66e24fe0aa3b91e238385068724183
/* * cros_ec_sysfs - expose the Chrome OS EC through sysfs * */ #define pr_fmt(fmt) "cros_ec_sysfs: " fmt #include <linux/ctype.h> #include <linux/delay.h> #include <linux/device.h> #include <linux/fs.h> #include <linux/kobject.h> #include <linux/mfd/cros_ec.h> #include <linux/mfd/cros_ec_commands.h> #include <linux...