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
sclp_quiesce
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/s390/char/sclp_quiesce.c
2,202
utf_8
54d2b17c3c4ac8111155a9b0216f916d
/* * signal quiesce handler * */ #include <linux/module.h> #include <linux/types.h> #include <linux/cpumask.h> #include <linux/smp.h> #include <linux/init.h> #include <linux/reboot.h> #include <linux/atomic.h> #include <asm/ptrace.h> #include <asm/smp.h> #include "sclp.h" static void (*old_machine_restart)(char ...
google
android
vmur
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/s390/char/vmur.c
24,761
utf_8
db77eff45a4a61a7f34a15f3ab8a3c56
/* * Linux driver for System z and s390 unit record devices * (z/VM virtual punch, reader, printer) * */ #define KMSG_COMPONENT "vmur" #define pr_fmt(fmt) KMSG_COMPONENT ": " fmt #include <linux/cdev.h> #include <linux/slab.h> #include <linux/module.h> #include <asm/uaccess.h> #include <asm/cio.h> #include <asm/ccw...
google
android
sclp_cpi
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/s390/char/sclp_cpi.c
1,055
utf_8
54b871a1a7f9bef68af3f399b757eeac
/* * SCLP control programm identification * static char *system_name = ""; static char *sysplex_name = ""; module_param(system_name, charp, 0); MODULE_PARM_DESC(system_name, "e.g. hostname - max. 8 characters"); module_param(sysplex_name, charp, 0); MODULE_PARM_DESC(sysplex_name, "if applicable - max. 8 characters...
google
android
tape_34xx
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/s390/char/tape_34xx.c
34,520
utf_8
ee32bb63d4ec8c0191d1e86979b83d81
/* * tape device discipline for 3480/3490 tapes. * */ #define KMSG_COMPONENT "tape_34xx" #define pr_fmt(fmt) KMSG_COMPONENT ": " fmt #include <linux/module.h> #include <linux/init.h> #include <linux/bio.h> #include <linux/workqueue.h> #include <linux/slab.h> #define TAPE_DBF_AREA tape_34xx_dbf #include "tape.h" #...
google
android
tape_3590
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/s390/char/tape_3590.c
44,964
utf_8
06c42146aec648a43322785b9bba03fa
/* * tape device discipline for 3590 tapes. * */ #define KMSG_COMPONENT "tape_3590" #define pr_fmt(fmt) KMSG_COMPONENT ": " fmt #include <linux/module.h> #include <linux/slab.h> #include <linux/init.h> #include <linux/bio.h> #include <asm/ebcdic.h> #define TAPE_DBF_AREA tape_3590_dbf #define BUFSIZE 512 /* size o...
google
android
diag_ftp
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/s390/char/diag_ftp.c
6,311
utf_8
75e8d564eed4af100de2e8b4c1b3bb33
/* * DIAGNOSE X'2C4' instruction based HMC FTP services, useable on z/VM * * */ #define KMSG_COMPONENT "hmcdrv" #define pr_fmt(fmt) KMSG_COMPONENT ": " fmt #include <linux/kernel.h> #include <linux/mm.h> #include <linux/irq.h> #include <linux/wait.h> #include <linux/string.h> #include <asm/ctl_reg.h> #include <a...
google
android
tape_core
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/s390/char/tape_core.c
35,304
utf_8
6117700983c8b527a8c16eda46eef566
/* * basic function of the tape device driver * * S390 and zSeries version */ #define KMSG_COMPONENT "tape" #define pr_fmt(fmt) KMSG_COMPONENT ": " fmt #include <linux/module.h> #include <linux/init.h> // for kernel parameters #include <linux/kmod.h> // for requesting modules #include <linux/spinlock....
google
android
sclp_ctl
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/s390/char/sclp_ctl.c
2,824
utf_8
753318ff976a20042c022f5274311167
/* * IOCTL interface for SCLP * */ #include <linux/compat.h> #include <linux/uaccess.h> #include <linux/miscdevice.h> #include <linux/gfp.h> #include <linux/module.h> #include <linux/ioctl.h> #include <linux/fs.h> #include <asm/compat.h> #include <asm/sclp_ctl.h> #include <asm/sclp.h> #include "sclp.h" /* * Support...
google
android
con3215
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/s390/char/con3215.c
31,142
utf_8
3651ffb5f4e59f59043b6fbc861bc037
/* * 3215 line mode terminal driver. * */ #include <linux/module.h> #include <linux/types.h> #include <linux/kdev_t.h> #include <linux/tty.h> #include <linux/tty_flip.h> #include <linux/vt_kern.h> #include <linux/init.h> #include <linux/console.h> #include <linux/interrupt.h> #include <linux/err.h> #include <linux/r...
google
android
sclp_ocf
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/s390/char/sclp_ocf.c
3,603
utf_8
aebaea24d17942e5d4a4c62c2884a067
/* * SCLP OCF communication parameters sysfs interface * */ #define KMSG_COMPONENT "sclp_ocf" #define pr_fmt(fmt) KMSG_COMPONENT ": " fmt #include <linux/kernel.h> #include <linux/init.h> #include <linux/stat.h> #include <linux/device.h> #include <linux/string.h> #include <linux/ctype.h> #include <linux/kmod.h> #...
google
android
sclp_ftp
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/s390/char/sclp_ftp.c
6,776
utf_8
2f312b8e87cbeaf0864dbdb412d7e235
/* * SCLP Event Type (ET) 7 - Diagnostic Test FTP Services, useable on LPAR * * */ #define KMSG_COMPONENT "hmcdrv" #define pr_fmt(fmt) KMSG_COMPONENT ": " fmt #include <linux/kernel.h> #include <linux/mm.h> #include <linux/slab.h> #include <linux/io.h> #include <linux/wait.h> #include <linux/string.h> #include <...
google
android
defkeymap
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/s390/char/defkeymap.c
6,243
utf_8
9b0d772ed6dc213a4c3ad2bfcb9de25a
/* Do not edit this file! It was automatically generated by */ /* loadkeys --mktable defkeymap.map > defkeymap.c */ #include <linux/types.h> #include <linux/keyboard.h> #include <linux/kd.h> #include <linux/kbd_kern.h> #include <linux/kbd_diacr.h> u_short plain_map[NR_KEYS] = { 0xf000, 0xf000, 0xf000,...
google
android
keyboard
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/s390/char/keyboard.c
12,686
utf_8
0400ef9bf409068a570f92ee8f2c73e4
/* * ebcdic keycode functions for s390 console drivers * * S390 version */ #include <linux/module.h> #include <linux/sched.h> #include <linux/slab.h> #include <linux/sysrq.h> #include <linux/consolemap.h> #include <linux/kbd_kern.h> #include <linux/kbd_diacr.h> #include <asm/uaccess.h> #include "keyboard.h" /* ...
google
android
sclp_cmd
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/s390/char/sclp_cmd.c
17,475
utf_8
84a19e5b900474e8e354fc29cf341d1d
/* */ #define KMSG_COMPONENT "sclp_cmd" #define pr_fmt(fmt) KMSG_COMPONENT ": " fmt #include <linux/completion.h> #include <linux/init.h> #include <linux/errno.h> #include <linux/err.h> #include <linux/export.h> #include <linux/slab.h> #include <linux/string.h> #include <linux/mm.h> #include <linux/mmzone.h> #include ...
google
android
sclp_early
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/s390/char/sclp_early.c
6,925
utf_8
60f91d0b2c0bc9ec3205b7e43dbe32c4
/* * SCLP early driver * */ #define KMSG_COMPONENT "sclp_early" #define pr_fmt(fmt) KMSG_COMPONENT ": " fmt #include <linux/errno.h> #include <asm/ctl_reg.h> #include <asm/sclp.h> #include <asm/ipl.h> #include "sclp_sdias.h" #include "sclp.h" #define SCLP_CMDW_READ_SCP_INFO 0x00020001 #define SCLP_CMDW_READ_SCP_INF...
google
android
sclp_vt220
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/s390/char/sclp_vt220.c
23,529
utf_8
ce614874aafd83ab38f95e7c1de59f48
/* * SCLP VT220 terminal driver. * */ #include <linux/module.h> #include <linux/spinlock.h> #include <linux/list.h> #include <linux/wait.h> #include <linux/timer.h> #include <linux/kernel.h> #include <linux/sysrq.h> #include <linux/tty.h> #include <linux/tty_driver.h> #include <linux/tty_flip.h> #include <linux/errn...
google
android
sclp_config
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/s390/char/sclp_config.c
1,711
utf_8
b65a09939bd9004911c7a255bf511c80
/* */ #define KMSG_COMPONENT "sclp_config" #define pr_fmt(fmt) KMSG_COMPONENT ": " fmt #include <linux/init.h> #include <linux/errno.h> #include <linux/cpu.h> #include <linux/device.h> #include <linux/workqueue.h> #include <asm/smp.h> #include "sclp.h" struct conf_mgm_data { u8 reserved; u8 ev_qualifier; } __attribu...
google
android
monwriter
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/s390/char/monwriter.c
9,761
utf_8
6d5973a225d999d9f09384d6e35653f4
/* * Character device driver for writing z/VM *MONITOR service records. * */ #define KMSG_COMPONENT "monwriter" #define pr_fmt(fmt) KMSG_COMPONENT ": " fmt #include <linux/module.h> #include <linux/moduleparam.h> #include <linux/init.h> #include <linux/errno.h> #include <linux/types.h> #include <linux/kernel.h> #inc...
google
android
con3270
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/s390/char/con3270.c
16,170
utf_8
0c8654061246a34ea78ebbdf07281fe2
/* * IBM/3270 Driver - console view. * * Author(s): * Original 3270 Code for 2.4 written by Richard Hitt (UTS Global) */ #include <linux/module.h> #include <linux/console.h> #include <linux/init.h> #include <linux/interrupt.h> #include <linux/list.h> #include <linux/types.h> #include <linux/slab.h> #include <lin...
google
android
ctrlchar
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/s390/char/ctrlchar.c
1,757
utf_8
a1376770452bc67de74b95fbdd532d9c
/* * Unified handling of special chars. * * */ #include <linux/stddef.h> #include <asm/errno.h> #include <linux/sysrq.h> #include <linux/ctype.h> #include "ctrlchar.h" #ifdef CONFIG_MAGIC_SYSRQ static struct sysrq_work ctrlchar_sysrq; static void ctrlchar_handle_sysrq(struct work_struct *work) { struct sysrq_work...
google
android
tape_std
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/s390/char/tape_std.c
18,512
utf_8
3290a69888aa392275a37653855820ff
/* * standard tape device functions for ibm tapes. * * S390 and zSeries version */ #define KMSG_COMPONENT "tape" #define pr_fmt(fmt) KMSG_COMPONENT ": " fmt #include <linux/stddef.h> #include <linux/kernel.h> #include <linux/bio.h> #include <linux/timer.h> #include <asm/types.h> #include <asm/idals.h> #include ...
google
android
hmcdrv_dev
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/s390/char/hmcdrv_dev.c
9,084
utf_8
bc07d776f0c1ffaaff29e77f632831cd
/* * HMC Drive CD/DVD Device * * * This file provides a Linux "misc" character device for access to an * assigned HMC drive CD/DVD-ROM. It works as follows: First create the * device by calling hmcdrv_dev_init(). After open() a lseek(fd, 0, * SEEK_END) indicates that a new FTP command follows (not...
google
android
hmcdrv_cache
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/s390/char/hmcdrv_cache.c
6,677
utf_8
8a61317c468b5ed3e86075708060836d
/* * SE/HMC Drive (Read) Cache Functions * * */ #define KMSG_COMPONENT "hmcdrv" #define pr_fmt(fmt) KMSG_COMPONENT ": " fmt #include <linux/kernel.h> #include <linux/mm.h> #include <linux/jiffies.h> #include "hmcdrv_ftp.h" #include "hmcdrv_cache.h" #define HMCDRV_CACHE_TIMEOUT 30 /* aging timeout in seconds */ ...
google
android
vmlogrdr
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/s390/char/vmlogrdr.c
22,302
utf_8
0048ddaab612ce105a88d621cb983203
/* * character device driver for reading z/VM system service records * * * */ #define KMSG_COMPONENT "vmlogrdr" #define pr_fmt(fmt) KMSG_COMPONENT ": " fmt #include <linux/module.h> #include <linux/init.h> #include <linux/slab.h> #include <linux/errno.h> #include <linux/types.h> #include <linux/interrupt.h> #inclu...
google
android
raw3270
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/s390/char/raw3270.c
33,295
utf_8
09d96fdac5a1c989bb0b676b78529cc7
/* * IBM/3270 Driver - core functions. * * Author(s): * Original 3270 Code for 2.4 written by Richard Hitt (UTS Global) */ #include <linux/module.h> #include <linux/err.h> #include <linux/init.h> #include <linux/interrupt.h> #include <linux/list.h> #include <linux/slab.h> #include <linux/types.h> #include <linux...
google
android
ctcm_main
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/s390/net/ctcm_main.c
47,959
utf_8
75d80606598c0d0b5b06e21baf1a28b9
/* */ #undef DEBUG #undef DEBUGDATA #undef DEBUGCCW #define KMSG_COMPONENT "ctcm" #define pr_fmt(fmt) KMSG_COMPONENT ": " fmt #include <linux/module.h> #include <linux/init.h> #include <linux/kernel.h> #include <linux/slab.h> #include <linux/errno.h> #include <linux/types.h> #include <linux/interrupt.h> #include <linu...
google
android
qeth_core_main
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/s390/net/qeth_core_main.c
171,812
utf_8
49f0f27a5d1c40b13722ac687758130a
/* */ #define KMSG_COMPONENT "qeth" #define pr_fmt(fmt) KMSG_COMPONENT ": " fmt #include <linux/module.h> #include <linux/moduleparam.h> #include <linux/string.h> #include <linux/errno.h> #include <linux/kernel.h> #include <linux/ip.h> #include <linux/tcp.h> #include <linux/mii.h> #include <linux/kthread.h> #include <...
google
android
qeth_core_sys
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/s390/net/qeth_core_sys.c
19,192
utf_8
1221f2f781b859ff4ad5e1ce9ea142a2
/* */ #define KMSG_COMPONENT "qeth" #define pr_fmt(fmt) KMSG_COMPONENT ": " fmt #include <linux/list.h> #include <linux/rwsem.h> #include <asm/ebcdic.h> #include "qeth_core.h" static ssize_t qeth_dev_state_show(struct device *dev, struct device_attribute *attr, char *buf) { struct qeth_card *card = dev_get_drvdat...
google
android
fsm
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/s390/net/fsm.c
4,928
utf_8
26603d4a21cd1ea31f4a27c3e1e4ae2b
/** * A generic FSM based on fsm used in isdn4linux * */ #include "fsm.h" #include <linux/module.h> #include <linux/slab.h> #include <linux/timer.h> fsm_instance * init_fsm(char *name, const char **state_names, const char **event_names, int nr_states, int nr_events, const fsm_node *tmpl, int tmpl_len, gfp_t order)...
google
android
qeth_core_mpc
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/s390/net/qeth_core_mpc.c
9,358
utf_8
f98ae648159519114a84aee9d96b04a3
/* */ #include <linux/module.h> #include <asm/cio.h> #include "qeth_core_mpc.h" unsigned char IDX_ACTIVATE_READ[] = { 0x00, 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x19, 0x01, 0x01, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xc8, 0xc1, 0xd3, 0xd3, 0xd6, 0xd3, 0xc5, 0x40, 0x00, 0x00, ...
google
android
qeth_l3_sys
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/s390/net/qeth_l3_sys.c
27,164
utf_8
d1d0a3143fe7a0465a1882dffd5bc769
/* */ #include <linux/slab.h> #include <asm/ebcdic.h> #include "qeth_l3.h" #define QETH_DEVICE_ATTR(_id, _name, _mode, _show, _store) \ struct device_attribute dev_attr_##_id = __ATTR(_name, _mode, _show, _store) static ssize_t qeth_l3_dev_route_show(struct qeth_card *card, struct qeth_routing_info *route, char *bu...
google
android
ctcm_mpc
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/s390/net/ctcm_mpc.c
59,607
utf_8
1e45e3ad8630752364a4e9fa271f980e
/* */ /* This module exports functions to be used by CCS: EXPORT_SYMBOL(ctc_mpc_alloc_channel); EXPORT_SYMBOL(ctc_mpc_establish_connectivity); EXPORT_SYMBOL(ctc_mpc_dealloc_ch); EXPORT_SYMBOL(ctc_mpc_flow_control); */ #undef DEBUG #undef DEBUGDATA #undef DEBUGCCW #define KMSG_COMPONENT "ctcm" #define pr_fmt(fmt) ...
google
android
ctcm_sysfs
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/s390/net/ctcm_sysfs.c
5,253
utf_8
276935c4eedb96b3e73a15f6bab2d5cc
/* * */ #undef DEBUG #undef DEBUGDATA #undef DEBUGCCW #define KMSG_COMPONENT "ctcm" #define pr_fmt(fmt) KMSG_COMPONENT ": " fmt #include <linux/device.h> #include <linux/sysfs.h> #include <linux/slab.h> #include "ctcm_main.h" /* * sysfs attributes */ static ssize_t ctcm_buffer_show(struct device *dev, struct de...
google
android
ctcm_fsms
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/s390/net/ctcm_fsms.c
75,335
utf_8
fda5616fcc29a504256e8b7711b6ac50
/* */ #undef DEBUG #undef DEBUGDATA #undef DEBUGCCW #define KMSG_COMPONENT "ctcm" #define pr_fmt(fmt) KMSG_COMPONENT ": " fmt #include <linux/module.h> #include <linux/init.h> #include <linux/kernel.h> #include <linux/slab.h> #include <linux/errno.h> #include <linux/types.h> #include <linux/interrupt.h> #include <linu...
google
android
ctcm_dbug
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/s390/net/ctcm_dbug.c
1,885
utf_8
d9ce4864f8fbca73816f2b6b126e5c6e
/* * */ #include <linux/stddef.h> #include <linux/string.h> #include <linux/kernel.h> #include <linux/errno.h> #include <linux/ctype.h> #include <linux/sysctl.h> #include <linux/module.h> #include <linux/init.h> #include <linux/fs.h> #include <linux/debugfs.h> #include "ctcm_dbug.h" /* * Debug Facility Stuff */ str...
google
android
lcs
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/s390/net/lcs.c
63,728
utf_8
f0b0121677002b98ef87df0363431682
/* * Linux for S/390 Lan Channel Station Network Driver * * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ #define KMSG_COMPONENT "lcs" #define pr_fmt(fmt) KMSG_COMPONENT ": " fmt #include <linux/module.h> #include <linux/if.h> #include <linux/netdevice.h> #include <linux/etherdevice.h> #include <li...
google
android
qeth_l2_sys
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/s390/net/qeth_l2_sys.c
6,618
utf_8
ba5bcb12afc0c39e600866bac5bf15ba
/* */ #include <linux/slab.h> #include <asm/ebcdic.h> #include "qeth_core.h" #include "qeth_l2.h" #define QETH_DEVICE_ATTR(_id, _name, _mode, _show, _store) \ struct device_attribute dev_attr_##_id = __ATTR(_name, _mode, _show, _store) static ssize_t qeth_bridge_port_role_state_show(struct device *dev, struct devi...
google
android
qeth_l3_main
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/s390/net/qeth_l3_main.c
97,166
utf_8
a1cc724b1b3a7a35e6f60ded880240b7
/* */ #define KMSG_COMPONENT "qeth" #define pr_fmt(fmt) KMSG_COMPONENT ": " fmt #include <linux/module.h> #include <linux/moduleparam.h> #include <linux/bitops.h> #include <linux/string.h> #include <linux/errno.h> #include <linux/kernel.h> #include <linux/etherdevice.h> #include <linux/mii.h> #include <linux/ip.h> #in...
google
android
qeth_l2_main
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/s390/net/qeth_l2_main.c
58,919
utf_8
2fce54276e2c5b216bf5267d53629158
/* */ #define KMSG_COMPONENT "qeth" #define pr_fmt(fmt) KMSG_COMPONENT ": " fmt #include <linux/module.h> #include <linux/moduleparam.h> #include <linux/string.h> #include <linux/errno.h> #include <linux/kernel.h> #include <linux/slab.h> #include <linux/etherdevice.h> #include <linux/mii.h> #include <linux/ip.h> #incl...
google
android
netiucv
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/s390/net/netiucv.c
58,344
utf_8
6a90b463cd2f36aafe3d5cfddf662487
/* * IUCV network driver * * * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * */ #define KMSG_COMPONENT "netiucv" #define pr_fmt(fmt) KMSG_COMPONENT ": " fmt #undef DEBUG #include <linux/module.h> #include <linux/init.h> #include <linux/kernel.h> #include <linux/slab.h> #include <linux/errno.h> #incl...
google
android
smsgiucv_app
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/s390/net/smsgiucv_app.c
5,503
utf_8
aed00b8543d47a5ab64508e3c9347b3a
/* * Deliver z/VM CP special messages (SMSG) as uevents. * * The driver registers for z/VM CP special messages with the * "APP" prefix. Incoming messages are delivered to user space * as uevents. * * */ #define KMSG_COMPONENT "smsgiucv_app" #define pr_fmt(fmt) KMSG_COMPONENT ": " fmt #include <linux/ctype.h> ...
google
android
smsgiucv
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/s390/net/smsgiucv.c
6,361
utf_8
ee78c9f76b06de1af542018317123ad6
/* * IUCV special message driver * * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ #include <linux/module.h> #include <linux/init.h> #include <linux/errno.h> #include <linux/device.h> #include <linux/slab.h> #include <net/iucv/iucv.h> #include <asm/cpcmd.h> #include <asm/ebcdic.h> #include "smsgiucv....
google
android
virtio_ccw
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/s390/virtio/virtio_ccw.c
35,466
utf_8
0963a05ee17b5a74c359ee4a4fd111ff
/* * ccw based virtio transport * */ #include <linux/kernel_stat.h> #include <linux/init.h> #include <linux/bootmem.h> #include <linux/err.h> #include <linux/virtio.h> #include <linux/virtio_config.h> #include <linux/slab.h> #include <linux/interrupt.h> #include <linux/virtio_ring.h> #include <linux/pfn.h> #include ...
google
android
kvm_virtio
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/s390/virtio/kvm_virtio.c
12,050
utf_8
af935bf8e3719c3f2d0bd10860261f19
/* * virtio for kvm on s390 * */ #include <linux/kernel_stat.h> #include <linux/init.h> #include <linux/bootmem.h> #include <linux/err.h> #include <linux/virtio.h> #include <linux/virtio_config.h> #include <linux/slab.h> #include <linux/virtio_console.h> #include <linux/interrupt.h> #include <linux/virtio_ring.h> #i...
google
android
dca-core
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/dca/dca-core.c
11,284
utf_8
dfd099d9fa5ef1cc2a47e80ff9718d74
/* */ /* * This driver supports an interface for DCA clients and providers to meet. */ #include <linux/kernel.h> #include <linux/notifier.h> #include <linux/device.h> #include <linux/dca.h> #include <linux/slab.h> #include <linux/module.h> #define DCA_VERSION "1.12.1" MODULE_VERSION(DCA_VERSION); MODULE_AUTHOR("Inte...
google
android
dca-sysfs
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/dca/dca-sysfs.c
2,687
utf_8
fe568d366b12d53562a48a202531ae37
/* */ #include <linux/kernel.h> #include <linux/spinlock.h> #include <linux/device.h> #include <linux/idr.h> #include <linux/kdev_t.h> #include <linux/err.h> #include <linux/dca.h> #include <linux/gfp.h> #include <linux/export.h> static struct class *dca_class; static struct idr dca_idr; static spinlock_t dca_idr_lock...
google
android
binder
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/android/binder.c
103,886
utf_8
b74efae5a177d384cde87341841d230a
/* binder.c * * Android IPC Subsystem * * */ #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt #include <asm/cacheflush.h> #include <linux/fdtable.h> #include <linux/file.h> #include <linux/freezer.h> #include <linux/fs.h> #include <linux/list.h> #include <linux/miscdevice.h> #include <linux/mm.h> #include <linux/module...
google
android
rockchip_thermal
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/thermal/rockchip_thermal.c
21,644
utf_8
77a8226db2d889c4c5cadf43b6a68c79
/* * more details. */ #include <linux/clk.h> #include <linux/delay.h> #include <linux/interrupt.h> #include <linux/io.h> #include <linux/module.h> #include <linux/of.h> #include <linux/of_address.h> #include <linux/of_irq.h> #include <linux/platform_device.h> #include <linux/reset.h> #include <linux/thermal.h> #inclu...
google
android
db8500_cpufreq_cooling
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/thermal/db8500_cpufreq_cooling.c
2,813
utf_8
8b69ccaf9af52608ec32656e1ce518eb
/* * db8500_cpufreq_cooling.c - DB8500 cpufreq works as cooling device. * */ #include <linux/cpu_cooling.h> #include <linux/err.h> #include <linux/module.h> #include <linux/of.h> #include <linux/platform_device.h> #include <linux/slab.h> static int db8500_cpufreq_cooling_probe(struct platform_device *pdev) { struct...
google
android
clock_cooling
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/thermal/clock_cooling.c
14,406
utf_8
716dd5e5f1291dde87fd8870d56ce405
/* * drivers/thermal/clock_cooling.c * */ #include <linux/clk.h> #include <linux/cpufreq.h> #include <linux/device.h> #include <linux/err.h> #include <linux/idr.h> #include <linux/mutex.h> #include <linux/pm_opp.h> #include <linux/slab.h> #include <linux/thermal.h> #include <linux/clock_cooling.h> /** * struct clo...
google
android
spear_thermal
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/thermal/spear_thermal.c
5,244
utf_8
ed19c6a78e9644ca69e0c2acfd7533aa
/* * SPEAr thermal driver. * * */ #include <linux/clk.h> #include <linux/device.h> #include <linux/err.h> #include <linux/io.h> #include <linux/kernel.h> #include <linux/of.h> #include <linux/module.h> #include <linux/platform_device.h> #include <linux/thermal.h> #define MD_FACTOR 1000 /* SPEAr Thermal Sensor Dev S...
google
android
user_space
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/thermal/user_space.c
1,738
utf_8
ec7702593dd71a9e25e304fac28b9489
/* * user_space.c - A simple user space Thermal events notifier * * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. * * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */ #include <linux/thermal.h> #include "thermal_core.h" /** * notify_user_space - Notifies user space about t...
google
android
thermal_hwmon
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/thermal/thermal_hwmon.c
7,607
utf_8
0ce8e64dd6435110d79b3ff2b9cfdb38
/* * thermal_hwmon.c - Generic Thermal Management hwmon support. * * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. * * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */ #include <linux/hwmon.h> #include <linux/thermal.h> #include <linux/slab.h> #include <linux/err.h> #includ...
google
android
qcom-spmi-temp-alarm
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/thermal/qcom-spmi-temp-alarm.c
7,272
utf_8
44affb73de6d6d0d584a585d6658dccd
/* */ #include <linux/delay.h> #include <linux/err.h> #include <linux/iio/consumer.h> #include <linux/interrupt.h> #include <linux/module.h> #include <linux/of.h> #include <linux/of_device.h> #include <linux/platform_device.h> #include <linux/regmap.h> #include <linux/thermal.h> #define QPNP_TM_REG_TYPE 0x04 #define ...
google
android
dove_thermal
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/thermal/dove_thermal.c
5,129
utf_8
44090c0d5ab1b6745ccb0cbdce5e9a92
/* * Dove thermal sensor driver * * */ #include <linux/device.h> #include <linux/err.h> #include <linux/io.h> #include <linux/kernel.h> #include <linux/of.h> #include <linux/module.h> #include <linux/platform_device.h> #include <linux/thermal.h> #define DOVE_THERMAL_TEMP_OFFSET 1 #define DOVE_THERMAL_TEMP_MASK 0x1...
google
android
thermal_core
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/thermal/thermal_core.c
59,694
utf_8
6ac571a7224bf46b66ad692bd34082ab
/* * thermal.c - Generic Thermal Management Sysfs support. * * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. * * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */ #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt #include <linux/module.h> #include <linux/device.h> #include <linux/...
google
android
of-thermal
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/thermal/of-thermal.c
24,948
utf_8
174fc75e4336cffaccf6d7f3ac33f238
/* * of-thermal.c - Generic Thermal Management device tree support. * * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. * * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */ #include <linux/thermal.h> #include <linux/slab.h> #include <linux/types.h> #include <linux/of_device.h...
google
android
imx_thermal
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/thermal/imx_thermal.c
18,533
utf_8
be5a6394e288573269879f1a85c4926a
/* * */ #include <linux/clk.h> #include <linux/cpu_cooling.h> #include <linux/delay.h> #include <linux/device.h> #include <linux/init.h> #include <linux/interrupt.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....
google
android
armada_thermal
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/thermal/armada_thermal.c
8,049
utf_8
37093d02e7a9ad7c9821b7fdeb4bb38f
/* * Marvell Armada 370/XP thermal sensor driver * * */ #include <linux/device.h> #include <linux/err.h> #include <linux/io.h> #include <linux/kernel.h> #include <linux/of.h> #include <linux/module.h> #include <linux/delay.h> #include <linux/platform_device.h> #include <linux/of_device.h> #include <linux/thermal.h>...
google
android
fair_share
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/thermal/fair_share.c
4,063
utf_8
003f09ac9ae9dd971ca1b56d2ef7a5ed
/* * fair_share.c - A simple weight based Thermal governor * * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. * * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */ #include <linux/thermal.h> #include <trace/events/thermal.h> #include "thermal_core.h" /** * get_trip_level: - ...
google
android
kirkwood_thermal
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/thermal/kirkwood_thermal.c
3,306
utf_8
7614efbe5c1beb93455e951223920e41
/* * Kirkwood thermal sensor driver * * */ #include <linux/device.h> #include <linux/err.h> #include <linux/io.h> #include <linux/kernel.h> #include <linux/of.h> #include <linux/module.h> #include <linux/platform_device.h> #include <linux/thermal.h> #define KIRKWOOD_THERMAL_VALID_OFFSET 9 #define KIRKWOOD_THERMAL_V...
google
android
step_wise
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/thermal/step_wise.c
6,833
utf_8
63c198ef13aa37b0c78edca4513873ec
/* * step_wise.c - A step-by-step Thermal throttling governor * * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. * * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */ #include <linux/thermal.h> #include <trace/events/thermal.h> #include "thermal_core.h" /* * If the temperatu...
google
android
intel_pch_thermal
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/thermal/intel_pch_thermal.c
7,474
utf_8
7c70d02da24eb9ffeb6ace4c70c475d6
/* intel_pch_thermal.c - Intel PCH Thermal driver * * more details. * */ #include <linux/module.h> #include <linux/types.h> #include <linux/init.h> #include <linux/pci.h> #include <linux/thermal.h> /* Intel PCH thermal Device IDs */ #define PCH_THERMAL_DID_WPT 0x9CA4 /* Wildcat Point */ /* Wildcat Point-LP PCH The...
google
android
cpu_cooling
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/thermal/cpu_cooling.c
32,669
utf_8
a5de6af8f224a9bb71d730636c81abe0
/* * linux/drivers/thermal/cpu_cooling.c * * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. * * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */ #include <linux/module.h> #include <linux/thermal.h> #include <linux/cpufreq.h> #include <linux/err.h> #include <linux/pm_opp.h> #...
google
android
x86_pkg_temp_thermal
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/thermal/x86_pkg_temp_thermal.c
16,780
utf_8
a9937a6dc0920e5bfb2a741598a0b7f8
/* * x86_pkg_temp_thermal driver * */ #define pr_fmt(fmt) KBUILD_MODNAME ": " 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/cpu.h> #include <linux/smp.h> #include <linux/slab.h> #inclu...
google
android
intel_soc_dts_iosf
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/thermal/intel_soc_dts_iosf.c
11,927
utf_8
6c8a34a3deea3a00eaa17b7e8396ef09
/* * intel_soc_dts_iosf.c * more details. * */ #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt #include <linux/module.h> #include <linux/slab.h> #include <linux/interrupt.h> #include <asm/iosf_mbi.h> #include "intel_soc_dts_iosf.h" #define SOC_DTS_OFFSET_ENABLE 0xB0 #define SOC_DTS_OFFSET_TEMP 0xB1 #define SOC_DTS_OF...
google
android
db8500_thermal
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/thermal/db8500_thermal.c
14,196
utf_8
9eaa8e896f8f0fe41bd85b5fccf023d8
/* * db8500_thermal.c - DB8500 Thermal Management Implementation * */ #include <linux/cpu_cooling.h> #include <linux/interrupt.h> #include <linux/mfd/dbx500-prcmu.h> #include <linux/module.h> #include <linux/of.h> #include <linux/platform_data/db8500_thermal.h> #include <linux/platform_device.h> #include <linux/slab...
google
android
power_allocator
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/thermal/power_allocator.c
19,164
utf_8
6c07913f3daf85b346a7b2726a1d1706
/* * A power allocator to manage temperature * */ #define pr_fmt(fmt) "Power allocator: " fmt #include <linux/rculist.h> #include <linux/slab.h> #include <linux/thermal.h> #define CREATE_TRACE_POINTS #include <trace/events/thermal_power_allocator.h> #include "thermal_core.h" #define INVALID_TRIP -1 #define FRAC_BITS...
google
android
gov_bang_bang
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/thermal/gov_bang_bang.c
3,718
utf_8
2a8c68a432d8a273c05ddd0d34d8ad3c
/* * gov_bang_bang.c - A simple thermal throttling governor using hysteresis * * */ #include <linux/thermal.h> #include "thermal_core.h" static void thermal_zone_trip_update(struct thermal_zone_device *tz, int trip) { int trip_temp, trip_hyst; struct thermal_instance *instance; tz->ops->get_trip_temp(tz, trip, ...
google
android
devfreq_cooling
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/thermal/devfreq_cooling.c
15,142
utf_8
9369f27e77c47ba0d33f0112baebe581
/* * devfreq_cooling: Thermal cooling device implementation for devices using * devfreq * * * TODO: * - If OPPs are added or removed after devfreq cooling has * registered, the devfreq cooling won't react to it. */ #include <linux/devfreq.h> #include <linux/devfreq_cooling.h> #include <...
google
android
hisi_thermal
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/thermal/hisi_thermal.c
10,010
utf_8
89118e55e8d0db7940084053e819703e
/* * Hisilicon thermal sensor driver * */ #include <linux/cpufreq.h> #include <linux/delay.h> #include <linux/interrupt.h> #include <linux/module.h> #include <linux/platform_device.h> #include <linux/io.h> #include "thermal_core.h" #define TEMP0_TH (0x4) #define TEMP0_RST_TH (0x8) #define TEMP0_CFG (0xC) #defi...
google
android
intel_quark_dts_thermal
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/thermal/intel_quark_dts_thermal.c
12,437
utf_8
7baa947888d61a887e0109f37277a50d
/* * intel_quark_dts_thermal.c * * are met: * * * Quark DTS thermal driver is implemented by referencing * intel_soc_dts_thermal.c. */ #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt #include <linux/module.h> #include <linux/slab.h> #include <linux/interrupt.h> #include <linux/thermal.h> #include <asm/cpu_device_id...
google
android
intel_soc_dts_thermal
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/thermal/intel_soc_dts_thermal.c
2,822
utf_8
0b02114046aaf919a9854eef2e8cc5e9
/* * intel_soc_dts_thermal.c * more details. * */ #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt #include <linux/module.h> #include <linux/interrupt.h> #include <asm/cpu_device_id.h> #include "intel_soc_dts_iosf.h" #define CRITICAL_OFFSET_FROM_TJ_MAX 5000 static int crit_offset = CRITICAL_OFFSET_FROM_TJ_MAX; module_pa...
google
android
intel_powerclamp
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/thermal/intel_powerclamp.c
21,968
utf_8
ad3c4a482be516d564f44b18ea6aed31
/* * intel_powerclamp.c - package c-state idle injection * * 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA. * * * TODO: * 1. better handle wakeup from external interrupts, currently a fixed * compensation is added to clamping duration when excessive amount * of wak...
google
android
tegra_soctherm
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/thermal/tegra_soctherm.c
12,434
utf_8
399049c46076135ec6d4d1fc77b8aa5f
/* * */ #include <linux/bitops.h> #include <linux/clk.h> #include <linux/delay.h> #include <linux/err.h> #include <linux/interrupt.h> #include <linux/io.h> #include <linux/module.h> #include <linux/of.h> #include <linux/platform_device.h> #include <linux/reset.h> #include <linux/thermal.h> #include <soc/tegra/fuse.h>...
google
android
rcar_thermal
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/thermal/rcar_thermal.c
12,185
utf_8
15ee8835a8f28172f8272da54a80d41c
/* * R-Car THS/TSC thermal sensor driver * * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ #include <linux/delay.h> #include <linux/err.h> #include <linux/irq.h> #include <linux/interrupt.h> #include <linux/io.h> #include <linux/module.h> #include <linux/platform_device.h> #include <linux/pm_runtime.h...
google
android
processor_thermal_device
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/thermal/int340x_thermal/processor_thermal_device.c
11,416
utf_8
0fda5690835f57ed80ded9254e5244f2
/* * processor_thermal_device.c * more details. * */ #include <linux/kernel.h> #include <linux/module.h> #include <linux/init.h> #include <linux/pci.h> #include <linux/interrupt.h> #include <linux/platform_device.h> #include <linux/acpi.h> #include <linux/thermal.h> #include "int340x_thermal_zone.h" #include "../in...
google
android
int340x_thermal_zone
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/thermal/int340x_thermal/int340x_thermal_zone.c
7,819
utf_8
85a84819554915071e1725618ef0bf44
/* * int340x_thermal_zone.c * more details. * */ #include <linux/kernel.h> #include <linux/module.h> #include <linux/init.h> #include <linux/acpi.h> #include <linux/thermal.h> #include "int340x_thermal_zone.h" static int int340x_thermal_get_zone_temp(struct thermal_zone_device *zone, int *temp) { struct int3...
google
android
int3403_thermal
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/thermal/int340x_thermal/int3403_thermal.c
6,629
utf_8
b29b5b5fc11326dcee30ebc589a0f207
/* * ACPI INT3403 thermal driver * more details. */ #include <linux/kernel.h> #include <linux/module.h> #include <linux/init.h> #include <linux/types.h> #include <linux/acpi.h> #include <linux/thermal.h> #include <linux/platform_device.h> #include "int340x_thermal_zone.h" #define INT3403_TYPE_SENSOR 0x03 #define IN...
google
android
int3402_thermal
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/thermal/int340x_thermal/int3402_thermal.c
2,448
utf_8
5c47be337e3ad29b7a27b5879f74f172
/* * INT3402 thermal driver for memory temperature reporting * * */ #include <linux/module.h> #include <linux/platform_device.h> #include <linux/acpi.h> #include <linux/thermal.h> #include "int340x_thermal_zone.h" #define INT3402_PERF_CHANGED_EVENT 0x80 #define INT3402_THERMAL_EVENT 0x90 struct int3402_thermal_dat...
google
android
int3400_thermal
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/thermal/int340x_thermal/int3400_thermal.c
8,063
utf_8
04add1bc83de2e72dcd8c5794e9956a3
/* * INT3400 thermal driver * * */ #include <linux/module.h> #include <linux/platform_device.h> #include <linux/acpi.h> #include <linux/thermal.h> #include "acpi_thermal_rel.h" enum int3400_thermal_uuid { INT3400_THERMAL_PASSIVE_1, INT3400_THERMAL_ACTIVE, INT3400_THERMAL_CRITICAL, INT3400_THERMAL_MAXIMUM_UUID, ...
google
android
acpi_thermal_rel
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/thermal/int340x_thermal/acpi_thermal_rel.c
10,224
utf_8
7d2fc7e1167ecf3c89859cef642eedd3
/* acpi_thermal_rel.c driver for exporting ACPI thermal relationship * * */ /* * Two functionalities included: * 1. Export _TRT, _ART, via misc device interface to the userspace. * 2. Provide parsing result to kernel drivers * */ #include <linux/init.h> #include <linux/export.h> #include <linux/module.h> #inclu...
google
android
st_thermal_syscfg
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/thermal/st/st_thermal_syscfg.c
5,971
utf_8
722739125e59cfbb334fca7bf56498ec
/* * ST Thermal Sensor Driver for syscfg based sensors. * (at your option) any later version. */ #include <linux/of.h> #include <linux/module.h> #include <linux/mfd/syscon.h> #include "st_thermal.h" /* STiH415 */ #define STIH415_SYSCFG_FRONT(num) ((num - 100) * 4) #define STIH415_SAS_THSENS_CONF STIH415_SYSCFG_FR...
google
android
st_thermal
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/thermal/st/st_thermal.c
7,104
utf_8
3f3000322eea8fffed99fd2ebc67bd6a
/* * ST Thermal Sensor Driver core routines * (at your option) any later version. * */ #include <linux/clk.h> #include <linux/module.h> #include <linux/of.h> #include <linux/of_device.h> #include "st_thermal.h" /* The Thermal Framework expects millidegrees */ #define mcelsius(temp) ((temp) * 1000) /* * Function ...
google
android
st_thermal_memmap
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/thermal/st/st_thermal_memmap.c
6,013
utf_8
e9483c09b2691f6c2cd48020b4d63495
/* * ST Thermal Sensor Driver for memory mapped sensors. * (at your option) any later version. */ #include <linux/of.h> #include <linux/module.h> #include "st_thermal.h" #define STIH416_MPE_CONF 0x0 #define STIH416_MPE_STATUS 0x4 #define STIH416_MPE_INT_THRESH 0x8 #define STIH416_MPE_INT_EN 0xC /* Power cont...
google
android
exynos_tmu
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/thermal/samsung/exynos_tmu.c
43,478
utf_8
6e5c5b8d83b677bcd254dc6df76f32f7
/* * exynos_tmu.c - Samsung EXYNOS TMU (Thermal Management Unit) * * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * */ #include <linux/clk.h> #include <linux/io.h> #include <linux/interrupt.h> #include <linux/module.h> #include <linux/of.h> #include <linux/of_address.h> #include <linux...
google
android
dra752-thermal-data
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/thermal/ti-soc-thermal/dra752-thermal-data.c
18,402
utf_8
20489220ce2c45bd33149cd1c18f1f50
/* * DRA752 thermal data. * * */ #include "ti-thermal.h" #include "ti-bandgap.h" #include "dra752-bandgap.h" /* * DRA752 has five instances of thermal sensor: MPU, GPU, CORE, * IVA and DSPEVE need to describe the individual registers and * bit fields. */ /* * DRA752 CORE thermal sensor register offsets and bit...
google
android
omap3-thermal-data
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/thermal/ti-soc-thermal/omap3-thermal-data.c
5,773
utf_8
7e4b2c8a3b9d495ae8740b89875faca9
/* * OMAP3 thermal driver. * * * Note * http://www.ti.com/lit/er/sprz278f/sprz278f.pdf "Advisory * 3.1.1.186 MMC OCP Clock Not Gated When Thermal Sensor Is Used" * * Also TI says: * Just be careful when you try to make thermal policy like decisions * based on this sensor. Placement of the sensor w.r.t the act...
google
android
omap5-thermal-data
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/thermal/ti-soc-thermal/omap5-thermal-data.c
13,316
utf_8
4197aae6f06f62d0653a27eb2cbda80b
/* * OMAP5 thermal driver. * * */ #include "ti-thermal.h" #include "ti-bandgap.h" #include "omap5xxx-bandgap.h" /* * OMAP5430 has three instances of thermal sensor for MPU, GPU & CORE, * need to describe the individual registers and bit fields. */ /* * OMAP5430 MPU thermal sensor register offset and bit-fields ...
google
android
ti-thermal-common
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/thermal/ti-soc-thermal/ti-thermal-common.c
10,892
utf_8
eebba553b32591e7dd170bc431c19a52
/* * OMAP thermal driver interface * * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA * 02110-1301 USA * */ #include <linux/device.h> #include <linux/err.h> #include <linux/mutex.h> #include <linux/gfp.h> #include <linux/kernel.h> #include <linux/workqueue.h> #include <linux/thermal.h> #include <linux/...
google
android
ti-bandgap
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/thermal/ti-soc-thermal/ti-bandgap.c
43,574
utf_8
bcad5e4dc96f3b97db664f84ab4a8602
/* * TI Bandgap temperature sensor driver * * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA * 02110-1301 USA * */ #include <linux/module.h> #include <linux/export.h> #include <linux/init.h> #include <linux/kernel.h> #include <linux/interrupt.h> #include <linux/clk.h> #include <linux/gpio.h> #include <...
google
android
omap4-thermal-data
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/thermal/ti-soc-thermal/omap4-thermal-data.c
10,526
utf_8
c50f42e3ac2019ccbc770a1dcecb239f
/* * OMAP4 thermal driver. * * */ #include "ti-thermal.h" #include "ti-bandgap.h" #include "omap4xxx-bandgap.h" /* * OMAP4430 has one instance of thermal sensor for MPU * need to describe the individual bit fields */ static struct temp_sensor_registers omap4430_mpu_temp_sensor_registers = { .temp_sensor_ctrl = ...
google
android
s3c2416-cpufreq
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/cpufreq/s3c2416-cpufreq.c
12,538
utf_8
b2c4fd66123868e533792943c7204f41
/* * S3C2416/2450 CPUfreq Support * */ #include <linux/kernel.h> #include <linux/types.h> #include <linux/init.h> #include <linux/cpufreq.h> #include <linux/clk.h> #include <linux/err.h> #include <linux/regulator/consumer.h> #include <linux/reboot.h> #include <linux/module.h> static DEFINE_MUTEX(cpufreq_lock); struc...
google
android
imx6q-cpufreq
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/cpufreq/imx6q-cpufreq.c
11,496
utf_8
ead6128d590a510a5db0e81731374374
/* */ #include <linux/clk.h> #include <linux/cpu.h> #include <linux/cpufreq.h> #include <linux/err.h> #include <linux/module.h> #include <linux/of.h> #include <linux/pm_opp.h> #include <linux/platform_device.h> #include <linux/regulator/consumer.h> #define PU_SOC_VOLTAGE_NORMAL 1250000 #define PU_SOC_VOLTAGE_HIGH 1275...
google
android
exynos5440-cpufreq
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/cpufreq/exynos5440-cpufreq.c
12,387
utf_8
49ee84640a9011d8baa3a650b674031c
/* */ #include <linux/clk.h> #include <linux/cpu.h> #include <linux/cpufreq.h> #include <linux/err.h> #include <linux/interrupt.h> #include <linux/io.h> #include <linux/module.h> #include <linux/of_address.h> #include <linux/of_irq.h> #include <linux/pm_opp.h> #include <linux/platform_device.h> #include <linux/slab.h> ...
google
android
unicore2-cpufreq
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/cpufreq/unicore2-cpufreq.c
1,941
utf_8
28f554fafdda2602de14dd4eda978b90
/* * clock scaling for the UniCore-II * * Code specific to PKUnity SoC and UniCore ISA * */ #include <linux/err.h> #include <linux/kernel.h> #include <linux/types.h> #include <linux/init.h> #include <linux/clk.h> #include <linux/cpufreq.h> #include <mach/hardware.h> static struct cpufreq_driver ucv2_driver; /* mak...
google
android
s3c24xx-cpufreq
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/cpufreq/s3c24xx-cpufreq.c
16,726
utf_8
dccc7d87cbc5fa157dbdf48d436c71c7
/* */ #include <linux/init.h> #include <linux/module.h> #include <linux/interrupt.h> #include <linux/ioport.h> #include <linux/cpufreq.h> #include <linux/cpu.h> #include <linux/clk.h> #include <linux/err.h> #include <linux/io.h> #include <linux/device.h> #include <linux/sysfs.h> #include <linux/slab.h> #include <asm/ma...
google
android
speedstep-ich
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/cpufreq/speedstep-ich.c
9,439
utf_8
1e5688ccb6979134575e0794ac4c2788
/* * Based upon reverse engineered information, and on Intel documentation * for chipsets ICH2-M and ICH3-M. * * Many thanks to Ducrot Bruno for finding and fixing the last * "missing link" for ICH2-M/ICH3-M support, and to Thomas Winkler * for extensive testing. * * BIG FAT DISCLAIMER: Work in progress c...
google
android
sparc-us2e-cpufreq
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/cpufreq/sparc-us2e-cpufreq.c
9,054
utf_8
310a70492c7fd00e0c48519d603b3b09
/* us2e_cpufreq.c: UltraSPARC-IIe cpu frequency support * * * Many thanks to Dominik Brodowski for fixing up the cpufreq * infrastructure in order to make this driver easier to implement. */ #include <linux/kernel.h> #include <linux/module.h> #include <linux/sched.h> #include <linux/smp.h> #include <linux/cpufreq....
google
android
tegra20-cpufreq
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/cpufreq/tegra20-cpufreq.c
5,679
utf_8
7e8bef610140db659180c297e22d4f66
/* * */ #include <linux/kernel.h> #include <linux/module.h> #include <linux/types.h> #include <linux/sched.h> #include <linux/cpufreq.h> #include <linux/delay.h> #include <linux/init.h> #include <linux/err.h> #include <linux/clk.h> #include <linux/io.h> static struct cpufreq_frequency_table freq_table[] = { { .frequ...