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
ipmi_watchdog
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/char/ipmi/ipmi_watchdog.c
35,415
utf_8
d27b332bbedbe03eb90e1c49ed5e2875
/* * ipmi_watchdog.c * * A watchdog timer based upon the IPMI interface. * * 675 Mass Ave, Cambridge, MA 02139, USA. */ #include <linux/module.h> #include <linux/moduleparam.h> #include <linux/ipmi.h> #include <linux/ipmi_smi.h> #include <linux/mutex.h> #include <linux/watchdog.h> #include <linux/miscdevice.h> #...
google
android
ipmi_msghandler
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/char/ipmi/ipmi_msghandler.c
120,752
utf_8
2d829ea666827b897ae616271f44eea7
/* * ipmi_msghandler.c * * Incoming and outgoing message routing for an IPMI interface. * * 675 Mass Ave, Cambridge, MA 02139, USA. */ #include <linux/module.h> #include <linux/errno.h> #include <linux/poll.h> #include <linux/sched.h> #include <linux/seq_file.h> #include <linux/spinlock.h> #include <linux/mutex....
google
android
ipmi_smic_sm
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/char/ipmi/ipmi_smic_sm.c
17,012
utf_8
f1d5266fd6b4da68ee453dc2ee82f408
/* * ipmi_smic_sm.c * * The state-machine driver for an IPMI SMIC driver * * It started as a copy of Corey Minyard's driver for the KSC interface * and the kernel patch "mmcdev-patch-245" by HP * * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND * ON ANY THEORY OF LIABILITY, WHETHER IN...
google
android
ipmi_ssif
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/char/ipmi/ipmi_ssif.c
51,427
utf_8
00d75142d77b92376e4e48129a2b35f9
/* * ipmi_ssif.c * * The interface to the IPMI driver for SMBus access to a SMBus * compliant device. Called SSIF by the IPMI spec. * * Author: Intel Corporation * option) any later version. */ /* * This file holds the "policy" for the interface to the SSIF state * machine. It does the configuration, handl...
google
android
ipmi_bt_sm
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/char/ipmi/ipmi_bt_sm.c
20,867
utf_8
966289d6f814750d246950eb20366d63
/* * ipmi_bt_sm.c * * The state machine for an Open IPMI BT sub-driver under ipmi_si.c, part * 675 Mass Ave, Cambridge, MA 02139, USA. */ #include <linux/kernel.h> /* For printk. */ #include <linux/string.h> #include <linux/module.h> #include <linux/moduleparam.h> #include <linux/ipmi_msgdefs.h> /* for complet...
google
android
xen-tpmfront
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/char/tpm/xen-tpmfront.c
8,874
utf_8
db0c804712ec12dc1270dedc437986fe
/* * Implementation of the Xen vTPM device frontend * */ #include <linux/errno.h> #include <linux/err.h> #include <linux/interrupt.h> #include <xen/xen.h> #include <xen/events.h> #include <xen/interface/io/tpmif.h> #include <xen/grant_table.h> #include <xen/xenbus.h> #include <xen/page.h> #include "tpm.h" #include <...
google
android
tpm-sysfs
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/char/tpm/tpm-sysfs.c
7,640
utf_8
0262462aeef137ea198ee0d7b9248a64
/* * */ #include <linux/device.h> #include "tpm.h" #define READ_PUBEK_RESULT_SIZE 314 #define TPM_ORD_READPUBEK cpu_to_be32(124) static struct tpm_input_header tpm_readpubek_header = { .tag = TPM_TAG_RQU_COMMAND, .length = cpu_to_be32(30), .ordinal = TPM_ORD_READPUBEK }; static ssize_t pubek_show(struct device *de...
google
android
tpm_nsc
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/char/tpm/tpm_nsc.c
9,509
utf_8
c35fbbee19ac45b5f306c9168619d62a
/* * */ #include <linux/platform_device.h> #include <linux/slab.h> #include "tpm.h" /* National definitions */ enum tpm_nsc_addr{ TPM_NSC_IRQ = 0x07, TPM_NSC_BASE0_HI = 0x60, TPM_NSC_BASE0_LO = 0x61, TPM_NSC_BASE1_HI = 0x62, TPM_NSC_BASE1_LO = 0x63 }; enum tpm_nsc_index { NSC_LDN_INDEX = 0x07, NSC_SID_INDEX =...
google
android
tpm_atmel
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/char/tpm/tpm_atmel.c
5,205
utf_8
d262c7a30807ad0dbd853dec8e39bb59
/* * */ #include "tpm.h" #include "tpm_atmel.h" /* write status bits */ enum tpm_atmel_write_status { ATML_STATUS_ABORT = 0x01, ATML_STATUS_LASTBYTE = 0x04 }; /* read status bits */ enum tpm_atmel_read_status { ATML_STATUS_BUSY = 0x01, ATML_STATUS_DATA_AVAIL = 0x02, ATML_STATUS_REWRITE = 0x04, ATML_STATUS_READ...
google
android
tpm_i2c_nuvoton
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/char/tpm/tpm_i2c_nuvoton.c
18,540
utf_8
e4a09cf01200b5aadc0e7f3309a6b5d0
/****************************************************************************** * Nuvoton TPM I2C Device Driver Interface for WPCT301/NPCT501, * based on the TCG TPM Interface Spec version 1.2. * Specifications at www.trustedcomputinggroup.org * *********************************************************************...
google
android
tpm2-cmd
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/char/tpm/tpm2-cmd.c
23,905
utf_8
60c35269f48b467f54a5dad4ea513f17
/* */ #include "tpm.h" #include <keys/trusted-type.h> enum tpm2_object_attributes { TPM2_ATTR_USER_WITH_AUTH = BIT(6), }; struct tpm2_startup_in { __be16 startup_type; } __packed; struct tpm2_self_test_in { u8 full_test; } __packed; struct tpm2_pcr_read_in { __be32 pcr_selects_cnt; __be16 hash_alg; u8 pcr_select...
google
android
tpm_i2c_atmel
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/char/tpm/tpm_i2c_atmel.c
6,553
utf_8
a2cef5ce6a7de420feca719f00cb89a3
/* * ATMEL I2C TPM AT97SC3204T * * */ #include <linux/init.h> #include <linux/module.h> #include <linux/moduleparam.h> #include <linux/slab.h> #include <linux/i2c.h> #include "tpm.h" #define I2C_DRIVER_NAME "tpm_i2c_atmel" #define TPM_I2C_SHORT_TIMEOUT 750 /* ms */ #define TPM_I2C_LONG_TIMEOUT 2000 /* 2 s...
google
android
tpm_ppi
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/char/tpm/tpm_ppi.c
9,716
utf_8
e0b95326547461daeee438cfe7eafca6
/* */ #include <linux/acpi.h> #include "tpm.h" #define TPM_PPI_REVISION_ID 1 #define TPM_PPI_FN_VERSION 1 #define TPM_PPI_FN_SUBREQ 2 #define TPM_PPI_FN_GETREQ 3 #define TPM_PPI_FN_GETACT 4 #define TPM_PPI_FN_GETRSP 5 #define TPM_PPI_FN_SUBREQ2 7 #define TPM_PPI_FN_GETOPR 8 #define PPI_TPM_REQ_MAX 22 #define PPI_VS_R...
google
android
tpm_acpi
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/char/tpm/tpm_acpi.c
2,528
utf_8
7a7a3fc5dd193e8db0b04c3b7f46313c
/* * */ #include <linux/seq_file.h> #include <linux/fs.h> #include <linux/security.h> #include <linux/module.h> #include <linux/slab.h> #include <linux/acpi.h> #include "tpm.h" #include "tpm_eventlog.h" struct acpi_tcpa { struct acpi_table_header hdr; u16 platform_class; union { struct client_hdr { u32 log_ma...
google
android
tpm_of
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/char/tpm/tpm_of.c
1,722
utf_8
132469d54b7f98ee302861eae7556344
/* * */ #include <linux/slab.h> #include <linux/of.h> #include "tpm.h" #include "tpm_eventlog.h" int read_log(struct tpm_bios_log *log) { struct device_node *np; const u32 *sizep; const u64 *basep; if (log->bios_event_log != NULL) { pr_err("%s: ERROR - Eventlog already initialized\n", __func__); return -EFAUL...
google
android
tpm_infineon
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/char/tpm/tpm_infineon.c
16,330
utf_8
0964299db2ed6a4a0f4fada63f02c116
/* * Description: * Device Driver for the Infineon Technologies * SLD 9630 TT 1.1 and SLB 9635 TT 1.2 Trusted Platform Module * Specifications at www.trustedcomputinggroup.org * */ #include <linux/init.h> #include <linux/pnp.h> #include "tpm.h" /* Infineon specific definitions */ /* maximum number of WTX-packages...
google
android
tpm_crb
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/char/tpm/tpm_crb.c
7,958
utf_8
ff6675e063d104478b87bca66291d841
/* */ #include <linux/acpi.h> #include <linux/highmem.h> #include <linux/rculist.h> #include <linux/module.h> #include <linux/platform_device.h> #include "tpm.h" #define ACPI_SIG_TPM2 "TPM2" static const u8 CRB_ACPI_START_UUID[] = { /* 0000 */ 0xAB, 0x6C, 0xBF, 0x6B, 0x63, 0x54, 0x14, 0x47, /* 0008 */ 0xB7, 0xCD, 0x...
google
android
tpm-dev
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/char/tpm/tpm-dev.c
4,536
utf_8
c2f19478e2e8fce48cb35db171fba8ee
/* * */ #include <linux/slab.h> #include <linux/uaccess.h> #include "tpm.h" struct file_priv { struct tpm_chip *chip; /* Data passed to and from the tpm via the read/write calls */ atomic_t data_pending; struct mutex buffer_mutex; struct timer_list user_read_timer; /* user needs to claim result */ struct w...
google
android
tpm_tis
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/char/tpm/tpm_tis.c
28,582
utf_8
3999b3010abc6189d0250d8a70df0712
/* */ #include <linux/init.h> #include <linux/module.h> #include <linux/moduleparam.h> #include <linux/pnp.h> #include <linux/slab.h> #include <linux/interrupt.h> #include <linux/wait.h> #include <linux/acpi.h> #include <linux/freezer.h> #include <acpi/actbl2.h> #include "tpm.h" enum tis_access { TPM_ACCESS_VALID = 0...
google
android
tpm_i2c_infineon
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/char/tpm/tpm_i2c_infineon.c
18,035
utf_8
db9584677931a1f54109b80ecea6a52e
/* * * */ #include <linux/i2c.h> #include <linux/module.h> #include <linux/wait.h> #include "tpm.h" /* max. buffer size supported by our TPM */ #define TPM_BUFSIZE 1260 /* max. number of iterations after I2C NAK */ #define MAX_COUNT 3 #define SLEEP_DURATION_LOW 55 #define SLEEP_DURATION_HI 65 /* max. number of itera...
google
android
tpm_ibmvtpm
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/char/tpm/tpm_ibmvtpm.c
15,924
utf_8
ddcb3a97d3c860fc372439feaab5b59c
/* * */ #include <linux/dma-mapping.h> #include <linux/dmapool.h> #include <linux/slab.h> #include <asm/vio.h> #include <asm/irq.h> #include <linux/types.h> #include <linux/list.h> #include <linux/spinlock.h> #include <linux/interrupt.h> #include <linux/wait.h> #include <asm/prom.h> #include "tpm.h" #include "tpm_ibm...
google
android
tpm-interface
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/char/tpm/tpm-interface.c
27,935
utf_8
5c03fa15f585ccdadb67299e860714bf
/* * * Note, the TPM chip is not interrupt driven (only polling) * and can have very long timeouts (minutes!). Hence the unusual * calls to msleep. * */ #include <linux/poll.h> #include <linux/slab.h> #include <linux/mutex.h> #include <linux/spinlock.h> #include <linux/freezer.h> #include "tpm.h" #include "tpm_ev...
google
android
tpm_eventlog
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/char/tpm/tpm_eventlog.c
10,293
utf_8
94b1f393524c25d92015ab90991ed5b8
/* * */ #include <linux/seq_file.h> #include <linux/fs.h> #include <linux/security.h> #include <linux/module.h> #include <linux/slab.h> #include "tpm.h" #include "tpm_eventlog.h" static const char* tcpa_event_type_strings[] = { "PREBOOT", "POST CODE", "", "NO ACTION", "SEPARATOR", "ACTION", "EVENT TAG", "S-CR...
google
android
tpm-chip
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/char/tpm/tpm-chip.c
6,525
utf_8
f0f83b63853e01fda9c987fcd6d9ce8d
/* * */ #include <linux/poll.h> #include <linux/slab.h> #include <linux/mutex.h> #include <linux/spinlock.h> #include <linux/freezer.h> #include <linux/major.h> #include "tpm.h" #include "tpm_eventlog.h" static DECLARE_BITMAP(dev_mask, TPM_NUM_DEVICES); static LIST_HEAD(tpm_chip_list); static DEFINE_SPINLOCK(driver_l...
google
android
st33zp24
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/char/tpm/st33zp24/st33zp24.c
17,222
utf_8
3e815b524c4b32281ec3de5dc53d27c4
/* * STMicroelectronics TPM Linux driver for TPM ST33ZP24 */ #include <linux/module.h> #include <linux/fs.h> #include <linux/miscdevice.h> #include <linux/kernel.h> #include <linux/delay.h> #include <linux/wait.h> #include <linux/freezer.h> #include <linux/string.h> #include <linux/interrupt.h> #include <linux/gpio.h...
google
android
spi
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/char/tpm/st33zp24/spi.c
10,897
utf_8
47e1eeed5e6a985a0dc08ef82585a2fa
/* * STMicroelectronics TPM SPI Linux driver for TPM ST33ZP24 */ #include <linux/module.h> #include <linux/spi/spi.h> #include <linux/gpio.h> #include <linux/of_irq.h> #include <linux/of_gpio.h> #include <linux/tpm.h> #include <linux/platform_data/st33zp24.h> #include "st33zp24.h" #define TPM_DATA_FIFO 0x24...
google
android
i2c
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/char/tpm/st33zp24/i2c.c
7,617
utf_8
3994183bcdd1bc55b02318f679f07131
/* * STMicroelectronics TPM I2C Linux driver for TPM ST33ZP24 */ #include <linux/module.h> #include <linux/i2c.h> #include <linux/gpio.h> #include <linux/of_irq.h> #include <linux/of_gpio.h> #include <linux/tpm.h> #include <linux/platform_data/st33zp24.h> #include "st33zp24.h" #define TPM_DUMMY_BYTE 0xAA struct st3...
google
android
virtio-rng
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/char/hw_random/virtio-rng.c
4,825
utf_8
3e756ba440d699d036e06ed697ee4649
/* * Randomness driver for virtio * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ #include <linux/err.h> #include <linux/hw_random.h> #include <linux/scatterlist.h> #include <linux/spinlock.h> #include <linux/virtio.h> #include <linux/virtio_rng.h> #include <linux/module.h> static DEF...
google
android
atmel-rng
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/char/hw_random/atmel-rng.c
3,335
utf_8
d3803c334141743d181ab333ab1ef3d5
/* * warranty of any kind, whether express or implied. */ #include <linux/kernel.h> #include <linux/module.h> #include <linux/slab.h> #include <linux/err.h> #include <linux/clk.h> #include <linux/io.h> #include <linux/hw_random.h> #include <linux/platform_device.h> #define TRNG_CR 0x00 #define TRNG_ISR 0x1c #define ...
google
android
powernv-rng
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/char/hw_random/powernv-rng.c
1,835
utf_8
8748c40e091d719a5ef872bc873fa0bd
/* */ #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt #include <linux/module.h> #include <linux/kernel.h> #include <linux/platform_device.h> #include <linux/random.h> #include <linux/hw_random.h> static int powernv_rng_read(struct hwrng *rng, void *data, size_t max, bool wait) { unsigned long *buf; int i, len; /* We re...
google
android
amd-rng
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/char/hw_random/amd-rng.c
3,684
utf_8
067e6987b3907ecffd1d3f81ad48f0e5
/* * RNG driver for AMD RNGs * * warranty of any kind, whether express or implied. */ #include <linux/module.h> #include <linux/kernel.h> #include <linux/pci.h> #include <linux/hw_random.h> #include <linux/delay.h> #include <asm/io.h> #define PFX KBUILD_MODNAME ": " /* * Data for PCI driver interface * * This da...
google
android
xgene-rng
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/char/hw_random/xgene-rng.c
12,069
utf_8
0aab00c53502a3a3818a09620e785c39
/* * APM X-Gene SoC RNG Driver * * */ #include <linux/acpi.h> #include <linux/clk.h> #include <linux/delay.h> #include <linux/hw_random.h> #include <linux/init.h> #include <linux/interrupt.h> #include <linux/module.h> #include <linux/of_platform.h> #include <linux/of_irq.h> #include <linux/of_address.h> #include <l...
google
android
tx4939-rng
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/char/hw_random/tx4939-rng.c
4,367
utf_8
73123b76c7ac6e76fcac0a22b3c16527
/* * RNG driver for TX4939 Random Number Generators (RNG) * * for more details. */ #include <linux/err.h> #include <linux/module.h> #include <linux/kernel.h> #include <linux/init.h> #include <linux/delay.h> #include <linux/io.h> #include <linux/platform_device.h> #include <linux/hw_random.h> #include <linux/gfp.h> ...
google
android
via-rng
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/char/hw_random/via-rng.c
6,161
utf_8
a263150006c7f6f13c18cf04de9f27c5
/* * RNG driver for VIA RNGs * * warranty of any kind, whether express or implied. */ #include <crypto/padlock.h> #include <linux/module.h> #include <linux/kernel.h> #include <linux/hw_random.h> #include <linux/delay.h> #include <asm/cpu_device_id.h> #include <asm/io.h> #include <asm/msr.h> #include <asm/cpufeature...
google
android
omap-rng
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/char/hw_random/omap-rng.c
11,576
utf_8
8f2271d039284f8719ee73e4d00f71ef
/* * omap-rng.c - RNG driver for TI OMAP CPU family * * warranty of any kind, whether express or implied. */ #include <linux/module.h> #include <linux/init.h> #include <linux/random.h> #include <linux/err.h> #include <linux/platform_device.h> #include <linux/hw_random.h> #include <linux/delay.h> #include <linux/sla...
google
android
bcm2835-rng
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/char/hw_random/bcm2835-rng.c
2,699
utf_8
e6f0fb913f81eee6482088e58ff6a449
/** */ #include <linux/hw_random.h> #include <linux/io.h> #include <linux/kernel.h> #include <linux/module.h> #include <linux/of_address.h> #include <linux/of_platform.h> #include <linux/platform_device.h> #include <linux/printk.h> #define RNG_CTRL 0x0 #define RNG_STATUS 0x4 #define RNG_DATA 0x8 /* enable rng */ #defi...
google
android
st-rng
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/char/hw_random/st-rng.c
3,659
utf_8
265ed71e7fe5b913733fa82fe668765b
/* * ST Random Number Generator Driver ST's Platforms * */ #include <linux/clk.h> #include <linux/delay.h> #include <linux/hw_random.h> #include <linux/io.h> #include <linux/module.h> #include <linux/of.h> #include <linux/platform_device.h> #include <linux/slab.h> /* Registers */ #define ST_RNG_STATUS_REG 0x20 #def...
google
android
core
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/char/hw_random/core.c
12,359
utf_8
d4f4adb0fb84da4a84c80bd3c0d75160
/* Added support for the AMD Geode LX RNG Added generic RNG API */ #include <linux/device.h> #include <linux/hw_random.h> #include <linux/module.h> #include <linux/kernel.h> #include <linux/fs.h> #include <linux/sched.h> #include <linux/miscdevice.h> #include <linux/kthread.h> #include <linux/delay.h> #includ...
google
android
ixp4xx-rng
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/char/hw_random/ixp4xx-rng.c
1,664
utf_8
a7d5ef70a9eca3a60e3dcc89fb30f8e7
/* * drivers/char/hw_random/ixp4xx-rng.c * * RNG driver for Intel IXP4xx family of NPUs * * warranty of any kind, whether express or implied. */ #include <linux/kernel.h> #include <linux/types.h> #include <linux/module.h> #include <linux/moduleparam.h> #include <linux/init.h> #include <linux/bitops.h> #include <l...
google
android
msm-rng
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/char/hw_random/msm-rng.c
4,526
utf_8
fdaaba3ccb5fb7e94fe111b1b247821d
/* * */ #include <linux/clk.h> #include <linux/err.h> #include <linux/hw_random.h> #include <linux/io.h> #include <linux/module.h> #include <linux/of.h> #include <linux/platform_device.h> /* Device specific register offsets */ #define PRNG_DATA_OUT 0x0000 #define PRNG_STATUS 0x0004 #define PRNG_LFSR_CFG 0x0100 #de...
google
android
iproc-rng200
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/char/hw_random/iproc-rng200.c
6,484
utf_8
a6eeabd7b676d6663dc2a70545103694
/* */ /* * DESCRIPTION: The Broadcom iProc RNG200 Driver */ #include <linux/hw_random.h> #include <linux/init.h> #include <linux/io.h> #include <linux/kernel.h> #include <linux/module.h> #include <linux/of_address.h> #include <linux/of_platform.h> #include <linux/platform_device.h> #include <linux/delay.h> /* Registe...
google
android
ppc4xx-rng
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/char/hw_random/ppc4xx-rng.c
3,241
utf_8
8ac5d076bc2e07c1994ca31322f2e8dc
/* * Generic PowerPC 44x RNG driver * */ #include <linux/module.h> #include <linux/kernel.h> #include <linux/platform_device.h> #include <linux/hw_random.h> #include <linux/delay.h> #include <linux/of_address.h> #include <linux/of_platform.h> #include <asm/io.h> #define PPC4XX_TRNG_DEV_CTRL 0x60080 #define PPC4XX_TR...
google
android
nomadik-rng
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/char/hw_random/nomadik-rng.c
2,389
utf_8
116fb7734e3ce72aae64bead884f19a9
/* * Nomadik RNG support * (at your option) any later version. */ #include <linux/kernel.h> #include <linux/module.h> #include <linux/device.h> #include <linux/amba/bus.h> #include <linux/hw_random.h> #include <linux/io.h> #include <linux/clk.h> #include <linux/err.h> static struct clk *rng_clk; static int nmk_rng_...
google
android
pseries-rng
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/char/hw_random/pseries-rng.c
2,859
utf_8
d82387175614d0af59ae16ec1b24be17
/* * 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/hw_random.h> #include <asm/vio.h> static int pseries_rng_read(struct hwrng *rng, void *data, size_t max, bool wait) { u64 bu...
google
android
geode-rng
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/char/hw_random/geode-rng.c
3,031
utf_8
0a756bf6f19cb7572a8eeb67e87439ec
/* * RNG driver for AMD Geode RNGs * * warranty of any kind, whether express or implied. */ #include <linux/module.h> #include <linux/kernel.h> #include <linux/pci.h> #include <linux/hw_random.h> #include <linux/delay.h> #include <asm/io.h> #define PFX KBUILD_MODNAME ": " #define GEODE_RNG_DATA_REG 0x50 #define G...
google
android
omap3-rom-rng
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/char/hw_random/omap3-rom-rng.c
3,143
utf_8
26495ec5994a0535c7d69aedcb0eb6b8
/* * omap3-rom-rng.c - RNG driver for TI OMAP3 CPU family * * warranty of any kind, whether express or implied. */ #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt #include <linux/module.h> #include <linux/init.h> #include <linux/random.h> #include <linux/hw_random.h> #include <linux/timer.h> #include <linux/clk.h> #inc...
google
android
stm32-rng
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/char/hw_random/stm32-rng.c
5,001
utf_8
dbb0236bde378782bc6832ccc0258d29
/* */ #include <linux/clk.h> #include <linux/delay.h> #include <linux/hw_random.h> #include <linux/io.h> #include <linux/kernel.h> #include <linux/module.h> #include <linux/of_address.h> #include <linux/of_platform.h> #include <linux/pm_runtime.h> #include <linux/slab.h> #define RNG_CR 0x00 #define RNG_CR_RNGEN BIT(2)...
google
android
octeon-rng
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/char/hw_random/octeon-rng.c
2,730
utf_8
5d15488ffb10a4e6cfde4160f0d16905
/* * Hardware Random Number Generator support for Cavium Networks * Octeon processor family. * * This file is subject to the terms and conditions of the GNU General Public */ #include <linux/module.h> #include <linux/platform_device.h> #include <linux/device.h> #include <linux/hw_random.h> #include <linux/io.h> #i...
google
android
timeriomem-rng
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/char/hw_random/timeriomem-rng.c
5,191
utf_8
f6cde13dd6a3b637a7463788d4790470
/* * drivers/char/hw_random/timeriomem-rng.c * * * Overview: * This driver is useful for platforms that have an IO range that provides * periodic random data from a single IO memory address. All the platform * has to do is provide the address and 'wait time' that new data becomes * available. * * TOD...
google
android
exynos-rng
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/char/hw_random/exynos-rng.c
5,488
utf_8
37aa459854f52b03bc574dc9f12ae177
/* * exynos-rng.c - Random Number Generator driver for the exynos * * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * */ #include <linux/hw_random.h> #include <linux/kernel.h> #include <linux/module.h> #include <linux/io.h> #include <linux/platform_device.h> #include <linux/clk.h> #incl...
google
android
intel-rng
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/char/hw_random/intel-rng.c
11,388
utf_8
b91574c587383df8320eda0ea495ec6f
/* * RNG driver for Intel RNGs * * warranty of any kind, whether express or implied. */ #include <linux/hw_random.h> #include <linux/kernel.h> #include <linux/module.h> #include <linux/pci.h> #include <linux/stop_machine.h> #include <linux/delay.h> #include <linux/slab.h> #include <asm/io.h> #define PFX KBUILD_MODN...
google
android
pasemi-rng
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/char/hw_random/pasemi-rng.c
3,973
utf_8
d07b4f80a247d8a2fa43464020c7b5a6
/* * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #include <linux/module.h> #include <linux/kernel.h> #include <linux/platform_device.h> #include <linux/hw_random.h> #include <linux/delay.h> #include <linux/of_address.h> #include <linux/of_platform.h> #include <asm/io.h> #define SDCRNG_...
google
android
mxc-rnga
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/char/hw_random/mxc-rnga.c
5,448
utf_8
87381289b86427f35253133815e5c0ea
/* * RNG driver for Freescale RNGA * * http://www.gnu.org/copyleft/gpl.html * * This driver is based on other RNG drivers. */ #include <linux/module.h> #include <linux/init.h> #include <linux/kernel.h> #include <linux/clk.h> #include <linux/err.h> #include <linux/ioport.h> #include <linux/platform_device.h> #incl...
google
android
tpm-rng
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/char/hw_random/tpm-rng.c
1,396
utf_8
ecf744a4b0a9cb29aff26a83713e168b
/* * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #include <linux/module.h> #include <linux/hw_random.h> #include <linux/tpm.h> #define MODULE_NAME "tpm-rng" static int tpm_rng_read(struct hwrng *rng, void *data, size_t max, bool wait) { return tpm_get_random(TPM_ANY_NUM, data, max); }...
google
android
bcm63xx-rng
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/char/hw_random/bcm63xx-rng.c
3,244
utf_8
b6f4a2193c041f8ed55d5ae2fa584752
/* * Broadcom BCM63xx Random Number Generator support * * */ #include <linux/module.h> #include <linux/slab.h> #include <linux/io.h> #include <linux/err.h> #include <linux/clk.h> #include <linux/platform_device.h> #include <linux/hw_random.h> #define RNG_CTRL 0x00 #define RNG_EN (1 << 0) #define RNG_STAT 0x0...
google
android
n2-drv
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/char/hw_random/n2-drv.c
18,353
utf_8
f47cca7136b3c0c400769ec8e0a44e2c
/* n2-drv.c: Niagara-2 RNG driver. * */ #include <linux/kernel.h> #include <linux/module.h> #include <linux/types.h> #include <linux/delay.h> #include <linux/slab.h> #include <linux/workqueue.h> #include <linux/preempt.h> #include <linux/hw_random.h> #include <linux/of.h> #include <linux/of_device.h> #include <asm/hy...
google
android
xilinx_hwicap
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/char/xilinx_hwicap/xilinx_hwicap.c
22,564
utf_8
c1ab4865f831cde2c25b8cde129d9093
/***************************************************************************** * * Author: Xilinx, Inc. * * * 675 Mass Ave, Cambridge, MA 02139, USA. * *****************************************************************************/ /* * This is the code behind /dev/icap* -- it allows a user-space * appl...
google
android
buffer_icap
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/char/xilinx_hwicap/buffer_icap.c
10,737
utf_8
70dee5707e1fa79e73b5aab218914a17
/***************************************************************************** * * Author: Xilinx, Inc. * * * 675 Mass Ave, Cambridge, MA 02139, USA. * *****************************************************************************/ #include "buffer_icap.h" /* Indicates how many bytes will fit in a buffer....
google
android
fifo_icap
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/char/xilinx_hwicap/fifo_icap.c
11,906
utf_8
b34a9098f4a985bc6efb718a02276f6d
/***************************************************************************** * * Author: Xilinx, Inc. * * * 675 Mass Ave, Cambridge, MA 02139, USA. * *****************************************************************************/ #include "fifo_icap.h" /* Register offsets for the XHwIcap device. */ #def...
google
android
cm4040_cs
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/char/pcmcia/cm4040_cs.c
15,863
utf_8
df52697591ebf8a84605a4f36d30a6d3
/* * A driver for the Omnikey PCMCIA smartcard reader CardMan 4040 * */ #include <linux/kernel.h> #include <linux/module.h> #include <linux/slab.h> #include <linux/init.h> #include <linux/fs.h> #include <linux/delay.h> #include <linux/poll.h> #include <linux/mutex.h> #include <linux/wait.h> #include <asm/uaccess.h> ...
google
android
synclink_cs
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/char/pcmcia/synclink_cs.c
111,684
utf_8
a00f620c9ee5c2fc9e47e976cc05cf90
/* * linux/drivers/char/pcmcia/synclink_cs.c * * $Id: synclink_cs.c,v 4.34 2005/09/08 13:20:54 paulkf Exp $ * * Device driver for Microgate SyncLink PC Card * multiprotocol serial adapter. * * written by Paul Fulghum for Microgate Corporation * OF THE POSSIBILITY OF SUCH DAMAGE. */ #define VERSION(ver,rel,seq...
google
android
cm4000_cs
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/char/pcmcia/cm4000_cs.c
49,392
utf_8
ded8f218eb102cb305a8cde6b4a882bb
/* * A driver for the PCMCIA Smartcard Reader "Omnikey CardMan Mobile 4000" * * - Adhere to Kernel CodingStyle * - Port to 2.6.13 "new" style PCMCIA * - Check for copy_{from,to}_user return values * - Use nonseekable_open() * - add class interface for udev device creation * */ #include <linux/ke...
google
android
sworks-agp
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/char/agp/sworks-agp.c
15,544
utf_8
cbdec4307bcd00072faadf034f599209
/* * Serverworks AGPGART routines. */ #include <linux/module.h> #include <linux/pci.h> #include <linux/init.h> #include <linux/string.h> #include <linux/slab.h> #include <linux/jiffies.h> #include <linux/agp_backend.h> #include "agp.h" #define SVWRKS_COMMAND 0x04 #define SVWRKS_APSIZE 0x10 #define SVWRKS_MMBASE 0x...
google
android
intel-agp
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/char/agp/intel-agp.c
28,658
utf_8
5e5663cfd0ce9c71191a8254c619f7cc
/* * Intel AGPGART routines. */ #include <linux/module.h> #include <linux/pci.h> #include <linux/slab.h> #include <linux/init.h> #include <linux/kernel.h> #include <linux/pagemap.h> #include <linux/agp_backend.h> #include <asm/smp.h> #include "agp.h" #include "intel-agp.h" #include <drm/intel-gtt.h> static int intel_...
google
android
isoch
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/char/agp/isoch.c
13,204
utf_8
fec1d03665181e9700b43af134f8db3f
/* * Setup routines for AGP 3.5 compliant bridges. */ #include <linux/list.h> #include <linux/pci.h> #include <linux/agp_backend.h> #include <linux/module.h> #include <linux/slab.h> #include "agp.h" /* Generic AGP 3.5 enabling routines */ struct agp_3_5_dev { struct list_head list; u8 capndx; u32 maxbw; struc...
google
android
hp-agp
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/char/agp/hp-agp.c
13,468
utf_8
1470a6cb29b1e87957c06b11d7f0def4
/* * HP zx1 AGPGART routines. * */ #include <linux/acpi.h> #include <linux/module.h> #include <linux/pci.h> #include <linux/init.h> #include <linux/agp_backend.h> #include <linux/log2.h> #include <linux/slab.h> #include <asm/acpi-ext.h> #include "agp.h" #define HP_ZX1_IOC_OFFSET 0x1000 /* ACPI reports SBA, we want ...
google
android
via-agp
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/char/agp/via-agp.c
14,243
utf_8
368605e5c717608b7fa36aaca4061f7a
/* * VIA AGPGART routines. */ #include <linux/types.h> #include <linux/module.h> #include <linux/pci.h> #include <linux/init.h> #include <linux/agp_backend.h> #include "agp.h" static const struct pci_device_id agp_via_pci_table[]; #define VIA_GARTCTRL 0x80 #define VIA_APSIZE 0x84 #define VIA_ATTBASE 0x88 #define VIA_...
google
android
i460-agp
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/char/agp/i460-agp.c
18,895
utf_8
968bc15bfa305cc81ca5577c82045f29
/* * For documentation on the i460 AGP interface, see Chapter 7 (AGP Subsystem) of */ #include <linux/module.h> #include <linux/pci.h> #include <linux/init.h> #include <linux/string.h> #include <linux/slab.h> #include <linux/agp_backend.h> #include <linux/log2.h> #include "agp.h" #define INTEL_I460_BAPBASE 0x98 #def...
google
android
parisc-agp
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/char/agp/parisc-agp.c
10,346
utf_8
b4df3862aeff2489c407edcc44dfe102
/* * HP Quicksilver AGP GART routines * * */ #include <linux/module.h> #include <linux/pci.h> #include <linux/init.h> #include <linux/klist.h> #include <linux/agp_backend.h> #include <linux/log2.h> #include <linux/slab.h> #include <asm/parisc-device.h> #include <asm/ropes.h> #include "agp.h" #define DRVNAME "quicks...
google
android
alpha-agp
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/char/agp/alpha-agp.c
5,493
utf_8
678fa8cab0ab2b1838c6c92ded82154b
#include <linux/module.h> #include <linux/pci.h> #include <linux/init.h> #include <linux/agp_backend.h> #include <linux/mm.h> #include <linux/slab.h> #include <asm/machvec.h> #include <asm/agp_backend.h> #include "../../../arch/alpha/kernel/pci_impl.h" #include "agp.h" static int alpha_core_agp_vm_fault(struct vm_area_...
google
android
amd-k7-agp
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/char/agp/amd-k7-agp.c
15,528
utf_8
9e2c3c41d4daabf976f88e1c05866612
/* * AMD K7 AGPGART routines. */ #include <linux/module.h> #include <linux/pci.h> #include <linux/init.h> #include <linux/agp_backend.h> #include <linux/page-flags.h> #include <linux/mm.h> #include <linux/slab.h> #include "agp.h" #define AMD_MMBASE_BAR 1 #define AMD_APSIZE 0xac #define AMD_MODECNTL 0xb0 #define AMD_M...
google
android
efficeon-agp
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/char/agp/efficeon-agp.c
12,592
utf_8
1a326e5da81efb04d43fc6090631ba79
/* * Transmeta's Efficeon AGPGART driver. * * Based upon a diff by Linus around November '02. * */ /* * NOTE-cpg-040217: * * - when compiled as a module, after loading the module, * it will refuse to unload, indicating it is in use, * when it is not. * - no s3 (suspend to ram) testing. * - tes...
google
android
sis-agp
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/char/agp/sis-agp.c
11,342
utf_8
8d5248c0718165f4d2942c0b781fd827
/* * SiS AGPGART routines. */ #include <linux/module.h> #include <linux/pci.h> #include <linux/init.h> #include <linux/agp_backend.h> #include <linux/delay.h> #include "agp.h" #define SIS_ATTBASE 0x90 #define SIS_APSIZE 0x94 #define SIS_TLBCNTRL 0x97 #define SIS_TLBFLUSH 0x98 #define PCI_DEVICE_ID_SI_662 0x0662 #defi...
google
android
nvidia-agp
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/char/agp/nvidia-agp.c
12,771
utf_8
196dd25b3b8553158fa9422b046cf6be
/* * Nvidia AGPGART routines. * Based upon a 2.4 agpgart diff by the folks from NVIDIA, and hacked up * to work in 2.5 by Dave Jones. */ #include <linux/module.h> #include <linux/pci.h> #include <linux/init.h> #include <linux/agp_backend.h> #include <linux/page-flags.h> #include <linux/mm.h> #include <linux/jiffies...
google
android
frontend
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/char/agp/frontend.c
24,243
utf_8
ded974a1cff42fe2da18b5cd95a0d8d5
/* * AGPGART driver frontend * */ #include <linux/types.h> #include <linux/kernel.h> #include <linux/module.h> #include <linux/mman.h> #include <linux/pci.h> #include <linux/miscdevice.h> #include <linux/agp_backend.h> #include <linux/agpgart.h> #include <linux/slab.h> #include <linux/mm.h> #include <linux/fs.h> #in...
google
android
ali-agp
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/char/agp/ali-agp.c
10,279
utf_8
aea7695da06e5917cfc86f077a7234a7
/* * ALi AGPGART routines. */ #include <linux/types.h> #include <linux/module.h> #include <linux/pci.h> #include <linux/init.h> #include <linux/agp_backend.h> #include <asm/page.h> /* PAGE_SIZE */ #include "agp.h" #define ALI_AGPCTRL 0xb8 #define ALI_ATTBASE 0xbc #define ALI_TLBCTRL 0xc0 #define ALI_TAGCTRL 0xc4 #de...
google
android
ati-agp
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/char/agp/ati-agp.c
14,811
utf_8
53b204db4af93d9b0a93816b92c352dc
/* * ATi AGPGART routines. */ #include <linux/types.h> #include <linux/module.h> #include <linux/pci.h> #include <linux/init.h> #include <linux/string.h> #include <linux/slab.h> #include <linux/agp_backend.h> #include <asm/agp.h> #include "agp.h" #define ATI_GART_MMBASE_BAR 1 #define ATI_RS100_APSIZE 0xac #define ATI...
google
android
amd64-agp
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/char/agp/amd64-agp.c
20,558
utf_8
fcabe0ab431521be787ffc9cda95a3ca
/* * * This is a GART driver for the AMD Opteron/Athlon64 on-CPU northbridge. * It also includes support for the AMD 8151 AGP bridge, * although it doesn't actually do much, as all the real * work is done in the northbridge(s). */ #include <linux/module.h> #include <linux/pci.h> #include <linux/init.h> #include <...
google
android
generic
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/char/agp/generic.c
37,243
utf_8
ebe8621468d5027e7f14fc575a9da5bc
/* * AGPGART driver. * * TODO: * - Allocate more than order 0 pages to avoid too much linear map splitting. */ #include <linux/module.h> #include <linux/pci.h> #include <linux/pagemap.h> #include <linux/miscdevice.h> #include <linux/pm.h> #include <linux/agp_backend.h> #include <linux/vmalloc.h> #include <linux/dm...
google
android
compat_ioctl
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/char/agp/compat_ioctl.c
7,555
utf_8
2e17728abbb86b6f2dd7f2d869c253a4
/* * AGPGART driver frontend compatibility ioctls * */ #include <linux/kernel.h> #include <linux/pci.h> #include <linux/fs.h> #include <linux/agpgart.h> #include <linux/slab.h> #include <asm/uaccess.h> #include "agp.h" #include "compat_ioctl.h" static int compat_agpioc_info_wrap(struct agp_file_private *priv, void _...
google
android
intel-gtt
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/char/agp/intel-gtt.c
36,955
utf_8
56e85546f60ce81e5f8d96147c20605b
/* * Intel GTT (Graphics Translation Table) routines * * Caveat: This driver implements the linux agp interface, but this is far from * a agp driver! GTT support ended up here for purely historical reasons: The * old userspace intel graphics drivers needed an interface to map memory into * the GTT. And the drm pr...
google
android
backend
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/char/agp/backend.c
9,082
utf_8
17f6bfe4b8e4ba2519c0bb09c25b3b29
/* * AGPGART driver backend routines. * * TODO: * - Allocate more than order 0 pages to avoid too much linear map splitting. */ #include <linux/module.h> #include <linux/pci.h> #include <linux/init.h> #include <linux/slab.h> #include <linux/pagemap.h> #include <linux/miscdevice.h> #include <linux/pm.h> #include <l...
google
android
uninorth-agp
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/char/agp/uninorth-agp.c
18,498
utf_8
507d2a565392fbc2a5268c86b8e89ffa
/* * UniNorth AGPGART routines. */ #include <linux/module.h> #include <linux/pci.h> #include <linux/slab.h> #include <linux/init.h> #include <linux/pagemap.h> #include <linux/agp_backend.h> #include <linux/delay.h> #include <linux/vmalloc.h> #include <asm/uninorth.h> #include <asm/pci-bridge.h> #include <asm/prom.h> ...
google
android
sgi-agp
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/char/agp/sgi-agp.c
7,842
utf_8
0908377d1e91161bd315a3c46b7c6f1a
/* * This file is subject to the terms and conditions of the GNU General Public */ /* * SGI TIOCA AGPGART routines. * */ #include <linux/acpi.h> #include <linux/module.h> #include <linux/pci.h> #include <linux/slab.h> #include <linux/agp_backend.h> #include <asm/sn/addrs.h> #include <asm/sn/io.h> #include <asm/sn/...
google
android
xillybus_of
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/char/xillybus/xillybus_of.c
4,441
utf_8
3c5fc9619caf8fdbb70ff10040a3de70
/* * linux/drivers/misc/xillybus_of.c * */ #include <linux/module.h> #include <linux/device.h> #include <linux/slab.h> #include <linux/platform_device.h> #include <linux/of.h> #include <linux/of_irq.h> #include <linux/of_address.h> #include <linux/of_device.h> #include <linux/of_platform.h> #include <linux/err.h> #i...
google
android
xillybus_core
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/char/xillybus/xillybus_core.c
53,662
utf_8
0ad91aa06bd802f68a63f12e359819c2
/* * linux/drivers/misc/xillybus_core.c * */ #include <linux/list.h> #include <linux/device.h> #include <linux/module.h> #include <linux/io.h> #include <linux/dma-mapping.h> #include <linux/interrupt.h> #include <linux/sched.h> #include <linux/fs.h> #include <linux/cdev.h> #include <linux/spinlock.h> #include <linux...
google
android
xillybus_pcie
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/char/xillybus/xillybus_pcie.c
5,588
utf_8
ab6fa1eb57d3c4b63ffad7f36bcd095f
/* * linux/drivers/misc/xillybus_pcie.c * */ #include <linux/module.h> #include <linux/pci.h> #include <linux/pci-aspm.h> #include <linux/slab.h> #include "xillybus.h" MODULE_DESCRIPTION("Xillybus driver for PCIe"); MODULE_AUTHOR("Eli Billauer, Xillybus Ltd."); MODULE_VERSION("1.06"); MODULE_ALIAS("xillybus_pcie"); ...
google
android
smapi
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/char/mwave/smapi.c
19,459
utf_8
1998ccccbae612952621af2c37fb1fe0
/* * * smapi.c -- SMAPI interface routines * * * Written By: Mike Sullivan IBM Corporation * * solely responsible for determining the appropriateness of using and * distributing the Program and assumes all risks associated with its * exercise of rights under this Agreement, including but not limited to * the risks and ...
google
android
mwavedd
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/char/mwave/mwavedd.c
19,206
utf_8
6123461423f8bf91e6c577a78bf09f6d
/* * * mwavedd.c -- mwave device driver * * * Written By: Mike Sullivan IBM Corporation * * solely responsible for determining the appropriateness of using and * distributing the Program and assumes all risks associated with its * exercise of rights under this Agreement, including but not limited to * the risks and cos...
google
android
tp3780i
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/char/mwave/tp3780i.c
18,123
utf_8
babb811b7bb526f788164a20614bc5e3
/* * * tp3780i.c -- board driver for 3780i on ThinkPads * * * Written By: Mike Sullivan IBM Corporation * * solely responsible for determining the appropriateness of using and * distributing the Program and assumes all risks associated with its * exercise of rights under this Agreement, including but not limited to * t...
google
android
3780i
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/char/mwave/3780i.c
21,437
utf_8
363131f438723348ed0bddb36347055c
/* * * 3780i.c -- helper routines for the 3780i DSP * * * Written By: Mike Sullivan IBM Corporation * * solely responsible for determining the appropriateness of using and * distributing the Program and assumes all risks associated with its * exercise of rights under this Agreement, including but not limited to * the r...
google
android
time-armada-370-xp
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/clocksource/time-armada-370-xp.c
10,000
utf_8
b3778e9f10e2ca723e0c82dd1f674ef3
/* * Marvell Armada 370/XP SoC timer handling. * * warranty of any kind, whether express or implied. * * Timer 0 is used as free-running clocksource, while timer 1 is * used as clock_event_device. * * --- * Clocksource driver for Armada 370 and Armada XP SoC. * This driver implements one compatible string for...
google
android
em_sti
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/clocksource/em_sti.c
9,447
utf_8
fe893814fb5d2be4fd1f434f7b4f8d55
/* * Emma Mobile Timer Support - STI * * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #include <linux/init.h> #include <linux/platform_device.h> #include <linux/spinlock.h> #include <linux/interrupt.h> #include <linux/ioport.h> #include <linux/io.h> #include <linux/clk.h> #include <l...
google
android
nomadik-mtu
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/clocksource/nomadik-mtu.c
7,503
utf_8
69d58a2ea3897dd8996432644d93de4d
/* */ #include <linux/init.h> #include <linux/interrupt.h> #include <linux/irq.h> #include <linux/io.h> #include <linux/clockchips.h> #include <linux/clocksource.h> #include <linux/of_address.h> #include <linux/of_irq.h> #include <linux/of_platform.h> #include <linux/clk.h> #include <linux/jiffies.h> #include <linux/d...
google
android
tegra20_timer
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/clocksource/tegra20_timer.c
6,860
utf_8
0aa0287eb7f73e01153c104e9c383662
/* * */ #include <linux/init.h> #include <linux/err.h> #include <linux/time.h> #include <linux/interrupt.h> #include <linux/irq.h> #include <linux/clockchips.h> #include <linux/clocksource.h> #include <linux/clk.h> #include <linux/io.h> #include <linux/of_address.h> #include <linux/of_irq.h> #include <linux/sched_clo...
google
android
bcm_kona_timer
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/clocksource/bcm_kona_timer.c
5,394
utf_8
a3468c95adfed0b275e5b688482cac6b
/* */ #include <linux/init.h> #include <linux/irq.h> #include <linux/interrupt.h> #include <linux/jiffies.h> #include <linux/clockchips.h> #include <linux/types.h> #include <linux/clk.h> #include <linux/io.h> #include <asm/mach/time.h> #include <linux/of.h> #include <linux/of_address.h> #include <linux/of_irq.h> #defi...
google
android
timer-integrator-ap
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/clocksource/timer-integrator-ap.c
5,724
utf_8
e88f5651cf5af0305cad5003f8182df2
/* * Integrator/AP timer driver * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #include <linux/clk.h> #include <linux/clocksource.h> #include <linux/of_irq.h> #include <linux/of_address.h> #include <linux/of_platform.h> #include <linux/clockchips.h> #include <linux/interrupt.h> #inclu...
google
android
fsl_ftm_timer
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/clocksource/fsl_ftm_timer.c
8,284
utf_8
1ec3708a67071ce937e342b32dc9f8ee
/* * Freescale FlexTimer Module (FTM) timer driver. * */ #include <linux/clk.h> #include <linux/clockchips.h> #include <linux/clocksource.h> #include <linux/err.h> #include <linux/interrupt.h> #include <linux/io.h> #include <linux/of_address.h> #include <linux/of_irq.h> #include <linux/sched_clock.h> #include <linux...
google
android
arm_arch_timer
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/clocksource/arm_arch_timer.c
22,555
utf_8
2f8183dbe17ae33a1e5aa4f9fbc2a2ce
/* * linux/drivers/clocksource/arm_arch_timer.c * */ #include <linux/init.h> #include <linux/kernel.h> #include <linux/device.h> #include <linux/smp.h> #include <linux/cpu.h> #include <linux/cpu_pm.h> #include <linux/clockchips.h> #include <linux/clocksource.h> #include <linux/interrupt.h> #include <linux/of_irq.h>...
google
android
timer-atmel-st
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/clocksource/timer-atmel-st.c
6,901
utf_8
3a7e288e0d504b07eace694848d14974
/* * linux/arch/arm/mach-at91/at91rm9200_time.c * * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #include <linux/kernel.h> #include <linux/interrupt.h> #include <linux/irq.h> #include <linux/clk.h> #include <linux/clockchips.h> #include <linux/export.h> #include <linux/mfd/syscon.h> ...