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
devcoredump
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/base/devcoredump.c
8,074
utf_8
8c399db322e37b61087cf8975957db2b
/* */ #include <linux/module.h> #include <linux/device.h> #include <linux/devcoredump.h> #include <linux/list.h> #include <linux/slab.h> #include <linux/fs.h> #include <linux/workqueue.h> static struct class devcd_class; /* global disable flag, for security purposes */ static bool devcd_disabled; /* if data isn't read...
google
android
syscore
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/base/syscore.c
3,319
utf_8
d3927c0b96cada404f5913ff41974d2b
/* * syscore.c - Execution of system core operations. * */ #include <linux/syscore_ops.h> #include <linux/mutex.h> #include <linux/module.h> #include <linux/suspend.h> #include <trace/events/power.h> static LIST_HEAD(syscore_ops_list); static DEFINE_MUTEX(syscore_ops_lock); /** * register_syscore_ops - Register a ...
google
android
soc
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/base/soc.c
4,011
utf_8
667b62ec4cf647635a986ad4474dd2b9
/* */ #include <linux/sysfs.h> #include <linux/module.h> #include <linux/init.h> #include <linux/stat.h> #include <linux/slab.h> #include <linux/idr.h> #include <linux/spinlock.h> #include <linux/sys_soc.h> #include <linux/err.h> static DEFINE_IDA(soc_ida); static ssize_t soc_info_get(struct device *dev, struct...
google
android
isa
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/base/isa.c
3,772
utf_8
94aa4a477c1efcdabab71945326ad9aa
/* * ISA bus. */ #include <linux/device.h> #include <linux/kernel.h> #include <linux/slab.h> #include <linux/module.h> #include <linux/init.h> #include <linux/dma-mapping.h> #include <linux/isa.h> static struct device isa_bus = { .init_name = "isa" }; struct isa_dev { struct device dev; struct device *next; unsig...
google
android
module
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/base/module.c
1,985
utf_8
b209eef30a104610991fb0d87b29d680
/* * module.c - module sysfs fun for drivers * * */ #include <linux/device.h> #include <linux/module.h> #include <linux/errno.h> #include <linux/slab.h> #include <linux/string.h> #include "base.h" static char *make_driver_name(struct device_driver *drv) { char *driver_name; driver_name = kasprintf(GFP_KERNEL, "%s...
google
android
attribute_container
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/base/attribute_container.c
12,239
utf_8
450daf3645e20eecfb5c337802f35ef9
/* * attribute_container.c - implementation of a simple container for classes * * * The basic idea here is to enable a device to be attached to an * aritrary numer of classes without having to allocate storage for them. * Instead, the contained classes select the devices they need to attach * to via a matching f...
google
android
dma-contiguous
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/base/dma-contiguous.c
8,166
utf_8
bdbb6104634591819153460048d7b324
/* * Contiguous Memory Allocator for DMA mapping framework */ #define pr_fmt(fmt) "cma: " fmt #ifdef CONFIG_CMA_DEBUG #ifndef DEBUG # define DEBUG #endif #endif #include <asm/page.h> #include <asm/dma-contiguous.h> #include <linux/memblock.h> #include <linux/err.h> #include <linux/sizes.h> #include <linux/dma-contig...
google
android
init
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/base/init.c
776
utf_8
45654aa25657d616c40f7cfc880c95e0
/* */ #include <linux/device.h> #include <linux/init.h> #include <linux/memory.h> #include <linux/of.h> #include "base.h" /** * driver_init - initialize driver model. * * Call the driver model init functions to initialize their * subsystems. Called early from init/main.c. */ void __init driver_init(void) { /* Th...
google
android
dma-coherent
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/base/dma-coherent.c
8,772
utf_8
bb5643d8fe764ed4080f9fa6e072c84f
/* * Coherent per-device memory handling. * Borrowed from i386 */ #include <linux/slab.h> #include <linux/kernel.h> #include <linux/module.h> #include <linux/dma-mapping.h> struct dma_coherent_mem { void *virt_base; dma_addr_t device_base; unsigned long pfn_base; int size; int flags; unsigned long *bitmap; ...
google
android
devtmpfs
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/base/devtmpfs.c
9,263
utf_8
476017df383299f744f2a5e51710923f
/* * devtmpfs - kernel-maintained tmpfs-based /dev * * * During bootup, before any driver core device is registered, * devtmpfs, a tmpfs-based filesystem is created. Every driver-core * device which requests a device node, will add a node in this * filesystem. * By default, all devices are named after the name ...
google
android
cacheinfo
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/base/cacheinfo.c
14,564
utf_8
26adcfa1e9dea56156bc520456e6e9d3
/* * cacheinfo support - processor cache information via sysfs * * Based on arch/x86/kernel/cpu/intel_cacheinfo.c */ #include <linux/bitops.h> #include <linux/cacheinfo.h> #include <linux/compiler.h> #include <linux/cpu.h> #include <linux/device.h> #include <linux/init.h> #include <linux/of.h> #include <linux/sched...
google
android
dd
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/base/dd.c
20,786
utf_8
20990b77536c1c949b0e19d3208758ce
/* * drivers/base/dd.c - The core device/driver interactions. * * This file contains the (sometimes tricky) code that controls the * interactions between devices and drivers, which primarily includes * driver binding and unbinding. * * All of this code used to exist in drivers/base/bus.c, but was * relocated to...
google
android
dma-mapping
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/base/dma-mapping.c
8,371
utf_8
c28f3b4d8eb277dd43e1d87bf5265291
/* * drivers/base/dma-mapping.c - arch-independent dma-mapping routines * */ #include <linux/dma-mapping.h> #include <linux/export.h> #include <linux/gfp.h> #include <linux/slab.h> #include <linux/vmalloc.h> #include <asm-generic/dma-coherent.h> /* * Managed DMA API */ struct dma_devres { size_t size; void *va...
google
android
core
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/base/core.c
59,939
utf_8
521650f81213c3595719cd9b727dd9b0
/* * drivers/base/core.c - core driver model code (device registration, etc) * * */ #include <linux/device.h> #include <linux/err.h> #include <linux/fwnode.h> #include <linux/init.h> #include <linux/module.h> #include <linux/slab.h> #include <linux/string.h> #include <linux/kdev_t.h> #include <linux/notifier.h> #in...
google
android
container
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/base/container.c
968
utf_8
51b349df049d9356a172b88a3438992e
/* * System bus type for containers. * */ #include <linux/container.h> #include "base.h" #define CONTAINER_BUS_NAME "container" static int trivial_online(struct device *dev) { return 0; } static int container_offline(struct device *dev) { struct container_dev *cdev = to_container_dev(dev); return cdev->offline ? ...
google
android
cpu
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/base/cpu.c
12,144
utf_8
3d32f59e3ed74efcb33bafe6e938095d
/* * CPU subsystem support */ #include <linux/kernel.h> #include <linux/module.h> #include <linux/init.h> #include <linux/sched.h> #include <linux/cpu.h> #include <linux/topology.h> #include <linux/device.h> #include <linux/node.h> #include <linux/gfp.h> #include <linux/slab.h> #include <linux/percpu.h> #include <lin...
google
android
topology
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/base/topology.c
4,152
utf_8
6e25912fb18fc025bdbc37b48781dd1f
/* * driver/base/topology.c - Populate sysfs with cpu topology information * * Written by: Zhang Yanmin, Intel Corporation * * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * */ #include <linux/mm.h> #include <linux/cpu.h> #include <linux/module.h> #include <linux/hardirq.h> #include <linux/topology....
google
android
memory
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/base/memory.c
19,250
utf_8
dfb6f7fb66ff3287c19087c033b45a7c
/* * Memory subsystem support * * * This file provides the necessary infrastructure to represent * a SPARSEMEM-memory-model system's physical memory in /sysfs. * All arch-independent code that assumes MEMORY_HOTPLUG requires * SPARSEMEM should be contained here, or in mm/memory_hotplug.c. */ #include <linux/mod...
google
android
firmware
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/base/firmware.c
614
utf_8
d335dba35f42c373843ce4fae777077f
/* * firmware.c - firmware subsystem hoohaw. * int __init firmware_init(void) { firmware_kobj = kobject_create_and_add("firmware", NULL); if (!firmware_kobj) return -ENOMEM; return 0; }
google
android
driver
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/base/driver.c
5,745
utf_8
59afeec77e8554a93caac03b460e3608
/* * driver.c - centralized device driver management * * */ #include <linux/device.h> #include <linux/module.h> #include <linux/errno.h> #include <linux/slab.h> #include <linux/string.h> #include <linux/sysfs.h> #include "base.h" static struct device *next_device(struct klist_iter *i) { struct klist_node *n = klis...
google
android
transport_class
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/base/transport_class.c
9,577
utf_8
e5cbf984aa2b3244dba0c88028630334
/* * transport_class.c - implementation of generic transport classes * using attribute_containers * * * The basic idea here is to allow any "device controller" (which * would most often be a Host Bus Adapter to use the services of one * or more tranport classes for performing transport specif...
google
android
map
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/base/map.c
3,368
utf_8
528da332a95e5dfbbef5bed1062452d0
/* * linux/drivers/base/map.c * * * NOTE: data structure needs to be changed. It works, but for large dev_t * it will be too slow. It is isolated, though, so these changes will be * local to that file. */ #include <linux/module.h> #include <linux/slab.h> #include <linux/mutex.h> #include <linux/kdev_t.h> #inc...
google
android
firmware_class
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/base/firmware_class.c
40,817
utf_8
27ae2776fc9ee010e9f85267ad1d361d
/* * firmware_class.c - Multi purpose firmware loading support * * * Please see Documentation/firmware_class/ for more information. * */ #include <linux/capability.h> #include <linux/device.h> #include <linux/module.h> #include <linux/init.h> #include <linux/timer.h> #include <linux/vmalloc.h> #include <linux/int...
google
android
property
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/base/property.c
23,757
utf_8
4a8744231dbbb9edebec493174957be4
/* * property.c - Unified device property interface. * */ #include <linux/acpi.h> #include <linux/export.h> #include <linux/kernel.h> #include <linux/of.h> #include <linux/of_address.h> #include <linux/property.h> #include <linux/etherdevice.h> #include <linux/phy.h> /** * device_add_property_set - Add a collection...
google
android
devres
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/base/devres.c
24,935
utf_8
93cad7456e2834b320e00877c84c105f
/* * drivers/base/devres.c - device resource management * */ #include <linux/device.h> #include <linux/module.h> #include <linux/slab.h> #include "base.h" struct devres_node { struct list_head entry; dr_release_t release; #ifdef CONFIG_DEBUG_DEVRES const char *name; size_t size; #endif }; struct devres {...
google
android
platform-msi
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/base/platform-msi.c
6,811
utf_8
2ebbb90fbc33cb85799b6285a197344a
/* * MSI framework for platform devices * */ #include <linux/device.h> #include <linux/idr.h> #include <linux/irq.h> #include <linux/irqdomain.h> #include <linux/msi.h> #include <linux/slab.h> #define DEV_ID_SHIFT 24 /* * Internal data structure containing a (made up, but unique) devid * and the callback to write ...
google
android
bus
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/base/bus.c
32,938
utf_8
5b8dd7b71d7c03375def5582f8bfabf0
/* * bus.c - bus driver management * * */ #include <linux/async.h> #include <linux/device.h> #include <linux/module.h> #include <linux/errno.h> #include <linux/slab.h> #include <linux/init.h> #include <linux/string.h> #include <linux/mutex.h> #include <linux/sysfs.h> #include "base.h" #include "power/power.h" /* /s...
google
android
node
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/base/node.c
18,815
utf_8
f3ed76e5c5827b1e4dbbd47ac8db0469
/* * Basic Node interface support */ #include <linux/module.h> #include <linux/init.h> #include <linux/mm.h> #include <linux/memory.h> #include <linux/vmstat.h> #include <linux/notifier.h> #include <linux/node.h> #include <linux/hugetlb.h> #include <linux/compaction.h> #include <linux/cpumask.h> #include <linux/topol...
google
android
component
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/base/component.c
11,680
utf_8
9a12938fbc4a080f87d16d290478d4ca
/* * Componentized device handling. * * * This is work in progress. We gather up the component devices into a list, * and bind them when instructed. At the moment, we're specific to the DRM * subsystem, and only handles one master device, but this doesn't have to be * the case. */ #include <linux/component.h>...
google
android
pinctrl
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/base/pinctrl.c
2,599
utf_8
64a565c990253699e10728a0bbd882f8
/* * Driver core interface to the pinctrl subsystem. * */ int pinctrl_bind_pins(struct device *dev) { int ret; dev->pins = devm_kzalloc(dev, sizeof(*(dev->pins)), GFP_KERNEL); if (!dev->pins) return -ENOMEM; dev->pins->p = devm_pinctrl_get(dev); if (IS_ERR(dev->pins->p)) { dev_dbg(dev, "no pinctrl handle\n"...
google
android
hypervisor
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/base/hypervisor.c
544
utf_8
b8c3fb2631a54bab236542421918cf17
/* * hypervisor.c - /sys/hypervisor subsystem. * int __init hypervisor_init(void) { hypervisor_kobj = kobject_create_and_add("hypervisor", NULL); if (!hypervisor_kobj) return -ENOMEM; return 0; }
google
android
generic_ops
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/base/power/generic_ops.c
8,870
utf_8
28ffae4eb6205d35d85aca7945ccfc5f
/* * drivers/base/power/generic_ops.c - Generic PM callbacks for subsystems * * ->runtime_suspend(), execute it and return its error code. Otherwise, * return 0. */ int pm_generic_runtime_suspend(struct device *dev) { const struct dev_pm_ops *pm = dev->driver ? dev->driver->pm : NULL; int ret; ret = pm && pm->...
google
android
common
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/base/power/common.c
3,559
utf_8
444f2139f87666fdaabcf83b0f2d2600
/* * drivers/base/power/common.c - Common device power management code. * * * If power.subsys_data is NULL, point it to a new object, otherwise increment * its reference counter. Return 0 if new object has been created or refcount * increased, otherwise negative error code. */ int dev_pm_get_subsys_data(struct ...
google
android
main
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/base/power/main.c
43,214
utf_8
3836e2acc9650da59c2f717aa6e113fd
/* * drivers/base/power/main.c - Where the driver meets power management. * * * * The driver model core calls device_pm_add() when a device is registered. * This will initialize the embedded device_pm_info object in the device * and add it to the list of power-controlled devices. sysfs entries for * controlling...
google
android
sysfs
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/base/power/sysfs.c
21,435
utf_8
4f08cb23127b589eb4b19c7984b4cad4
/* * drivers/base/power/sysfs.c - sysfs entries for device PM */ #include <linux/device.h> #include <linux/string.h> #include <linux/export.h> #include <linux/pm_qos.h> #include <linux/pm_runtime.h> #include <linux/atomic.h> #include <linux/jiffies.h> #include "power.h" /* * control - Report/change current runtime P...
google
android
domain_governor
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/base/power/domain_governor.c
5,961
utf_8
c5e90d1c585cab67ca676dcfb65a9381
/* * drivers/base/power/domain_governor.c - Governors for device PM domains. * */ #include <linux/kernel.h> #include <linux/pm_domain.h> #include <linux/pm_qos.h> #include <linux/hrtimer.h> static int dev_update_qos_constraint(struct device *dev, void *data) { s64 *constraint_ns_p = data; s32 constraint_ns = -1; ...
google
android
wakeirq
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/base/power/wakeirq.c
7,114
utf_8
96e423f5bc2acc5cffce6f17ad61b2f7
/* * wakeirq.c - Device wakeirq helper functions * */ #include <linux/device.h> #include <linux/interrupt.h> #include <linux/irq.h> #include <linux/slab.h> #include <linux/pm_runtime.h> #include <linux/pm_wakeirq.h> #include "power.h" /** * dev_pm_attach_wake_irq - Attach device interrupt as a wake IRQ * * Intern...
google
android
wakeup
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/base/power/wakeup.c
28,502
utf_8
997875feb5e406eab0ef95cb688fbac0
/* * drivers/base/power/wakeup.c - System wakeup events framework * */ #include <linux/device.h> #include <linux/slab.h> #include <linux/sched.h> #include <linux/capability.h> #include <linux/export.h> #include <linux/suspend.h> #include <linux/seq_file.h> #include <linux/debugfs.h> #include <linux/pm_wakeirq.h> #in...
google
android
domain
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/base/power/domain.c
51,183
utf_8
1554a0c836548d1c61bbfef2783f940f
/* * drivers/base/power/domain.c - Common code related to device power domains. * */ #include <linux/delay.h> #include <linux/kernel.h> #include <linux/io.h> #include <linux/platform_device.h> #include <linux/pm_runtime.h> #include <linux/pm_domain.h> #include <linux/pm_qos.h> #include <linux/pm_clock.h> #include <l...
google
android
runtime
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/base/power/runtime.c
41,422
utf_8
3aef8294ac57713bfaa188e905f83d58
/* * drivers/base/power/runtime.c - Helper functions for device runtime PM * */ #include <linux/sched.h> #include <linux/export.h> #include <linux/pm_runtime.h> #include <linux/pm_wakeirq.h> #include <trace/events/rpm.h> #include "power.h" typedef int (*pm_callback_t)(struct device *); static pm_callback_t __rpm_get...
google
android
trace
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/base/power/trace.c
7,108
utf_8
003aff28e1deaf9e47feff53ade32907
/* * drivers/base/power/trace.c * * * Trace facility for suspend/resume problems, when none of the * devices may be working. */ #include <linux/pm-trace.h> #include <linux/export.h> #include <linux/rtc.h> #include <asm/rtc.h> #include "power.h" /* * Horrid, horrid, horrid. * * It turns out that the _only_ piec...
google
android
clock_ops
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/base/power/clock_ops.c
11,926
utf_8
88b565f680ccd40cc9da0e046cd38ef8
/* * drivers/base/power/clock_ops.c - Generic clock manipulation PM callbacks * */ #include <linux/kernel.h> #include <linux/device.h> #include <linux/io.h> #include <linux/pm.h> #include <linux/pm_clock.h> #include <linux/clk.h> #include <linux/clkdev.h> #include <linux/slab.h> #include <linux/err.h> #include <linu...
google
android
qos
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/base/power/qos.c
25,248
utf_8
28c3f637e9460fe981736280233b6b35
/* * Devices PM QoS constraints management * * * * This module exposes the interface to kernel space for specifying * per-device PM QoS dependencies. It provides infrastructure for registration * of: * * Dependents on a QoS value : register requests * Watchers of QoS value : get notified when target QoS value...
google
android
core
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/base/power/opp/core.c
38,528
utf_8
ed2ddb05e4b5a39ece5456334a23dfe5
/* * Generic OPP Interface * */ #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt #include <linux/errno.h> #include <linux/err.h> #include <linux/slab.h> #include <linux/device.h> #include <linux/of.h> #include <linux/export.h> #include "opp.h" /* * The root of the list of all devices. All device_opp structures branch of...
google
android
cpu
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/base/power/opp/cpu.c
6,501
utf_8
43938a97bd289b1c768f069476ae5df5
/* * Generic OPP helper interface for CPU device * */ #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt #include <linux/cpu.h> #include <linux/cpufreq.h> #include <linux/err.h> #include <linux/errno.h> #include <linux/export.h> #include <linux/of.h> #include <linux/slab.h> #include "opp.h" #ifdef CONFIG_CPU_FREQ /** * de...
google
android
regmap-ac97
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/base/regmap/regmap-ac97.c
2,636
utf_8
829f9f8365aab38d9254865740d6e6c3
/* * Register map access API - AC'97 support * */ #include <linux/clk.h> #include <linux/err.h> #include <linux/init.h> #include <linux/io.h> #include <linux/module.h> #include <linux/regmap.h> #include <linux/slab.h> #include <sound/ac97_codec.h> bool regmap_ac97_default_volatile(struct device *dev, unsigned int re...
google
android
regcache-lzo
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/base/regmap/regcache-lzo.c
9,284
utf_8
b2fd4cad56195f365d69cc1c58404e2d
/* * Register cache access API - LZO caching support * */ #include <linux/device.h> #include <linux/lzo.h> #include <linux/slab.h> #include "internal.h" static int regcache_lzo_exit(struct regmap *map); struct regcache_lzo_ctx { void *wmem; void *dst; const void *src; size_t src_len; size_t dst_len; size_t dec...
google
android
regmap-spmi
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/base/regmap/regmap-spmi.c
5,490
utf_8
5c0ee57c06772a343b3e4c87bcbaa527
/* * Register map access API - SPMI support * * */ #include <linux/regmap.h> #include <linux/spmi.h> #include <linux/module.h> #include <linux/init.h> static int regmap_spmi_base_read(void *context, const void *reg, size_t reg_size, void *val, size_t val_size) { u8 addr = *(u8 *)reg; int err = 0; BUG_O...
google
android
regmap-irq
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/base/regmap/regmap-irq.c
15,857
utf_8
f92b3956c84a017da5f8f79b3e08602a
/* * regmap based irq_chip * */ #include <linux/device.h> #include <linux/export.h> #include <linux/interrupt.h> #include <linux/irq.h> #include <linux/irqdomain.h> #include <linux/pm_runtime.h> #include <linux/regmap.h> #include <linux/slab.h> #include "internal.h" struct regmap_irq_chip_data { struct mutex lock; ...
google
android
regmap-debugfs
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/base/regmap/regmap-debugfs.c
16,417
utf_8
9493ef10433258cd6d3200419e0be725
/* * Register map access API - debugfs * */ #include <linux/slab.h> #include <linux/mutex.h> #include <linux/debugfs.h> #include <linux/uaccess.h> #include <linux/device.h> #include <linux/list.h> #include "internal.h" struct regmap_debugfs_node { struct regmap *map; const char *name; struct list_head link; }; st...
google
android
regcache-rbtree
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/base/regmap/regcache-rbtree.c
13,712
utf_8
539b4bdd7552610355ce693089c52ce8
/* * Register cache access API - rbtree caching support * */ #include <linux/debugfs.h> #include <linux/device.h> #include <linux/rbtree.h> #include <linux/seq_file.h> #include <linux/slab.h> #include "internal.h" static int regcache_rbtree_write(struct regmap *map, unsigned int reg, unsigned int value); static...
google
android
regmap-mmio
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/base/regmap/regmap-mmio.c
6,915
utf_8
34d693e9f5beeb4e5c1a0f40012bf028
/* * Register map access API - MMIO support * */ #include <linux/clk.h> #include <linux/err.h> #include <linux/io.h> #include <linux/module.h> #include <linux/regmap.h> #include <linux/slab.h> struct regmap_mmio_context { void __iomem *regs; unsigned reg_bytes; unsigned val_bytes; unsigned pad_bytes; struct clk...
google
android
regmap
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/base/regmap/regmap.c
70,830
utf_8
14b9af89c6564cca008ec98b73ebca5f
/* * Register map access API * */ #include <linux/device.h> #include <linux/slab.h> #include <linux/export.h> #include <linux/mutex.h> #include <linux/err.h> #include <linux/of.h> #include <linux/rbtree.h> #include <linux/sched.h> #include <linux/delay.h> #define CREATE_TRACE_POINTS #include "trace.h" #include "inte...
google
android
regcache-flat
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/base/regmap/regcache-flat.c
1,477
utf_8
001b2f2b3e5b09457bf3361fa41b2c27
/* * Register cache access API - flat caching support * */ #include <linux/device.h> #include <linux/seq_file.h> #include <linux/slab.h> #include "internal.h" static int regcache_flat_init(struct regmap *map) { int i; unsigned int *cache; map->cache = kzalloc(sizeof(unsigned int) * (map->max_register + 1), ...
google
android
regmap-spi
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/base/regmap/regmap-spi.c
3,548
utf_8
5c902a802caecb471b8e76a39b7c4e00
/* * Register map access API - SPI support * */ #include <linux/regmap.h> #include <linux/spi/spi.h> #include <linux/module.h> #include "internal.h" struct regmap_async_spi { struct regmap_async core; struct spi_message m; struct spi_transfer t[2]; }; static void regmap_spi_complete(void *data) { struct regmap_a...
google
android
regmap-i2c
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/base/regmap/regmap-i2c.c
7,449
utf_8
904f477fa50c463e7b774f2219600b9d
/* * Register map access API - I2C support * */ #include <linux/regmap.h> #include <linux/i2c.h> #include <linux/module.h> #include "internal.h" static int regmap_smbus_byte_reg_read(void *context, unsigned int reg, unsigned int *val) { struct device *dev = context; struct i2c_client *i2c = to_i2c_client...
google
android
regcache
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/base/regmap/regcache.c
16,997
utf_8
d636dff076df9a4ead217f5021a4d266
/* * Register cache access API * */ #include <linux/bsearch.h> #include <linux/device.h> #include <linux/export.h> #include <linux/slab.h> #include <linux/sort.h> #include "trace.h" #include "internal.h" static const struct regcache_ops *cache_types[] = { &regcache_rbtree_ops, &regcache_lzo_ops, &regcache_flat_op...
google
android
platform
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/of/platform.c
16,865
utf_8
f8e0177683a3d30b7dd3f0981ff58d36
/* * */ #include <linux/errno.h> #include <linux/module.h> #include <linux/amba/bus.h> #include <linux/device.h> #include <linux/dma-mapping.h> #include <linux/slab.h> #include <linux/of_address.h> #include <linux/of_device.h> #include <linux/of_irq.h> #include <linux/of_platform.h> #include <linux/platform_device.h>...
google
android
resolver
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/of/resolver.c
10,375
utf_8
541fb431564613ba0bf1519306ef6ee1
/* * Functions for dealing with DT resolution * */ #include <linux/kernel.h> #include <linux/module.h> #include <linux/of.h> #include <linux/of_device.h> #include <linux/string.h> #include <linux/ctype.h> #include <linux/errno.h> #include <linux/string.h> #include <linux/slab.h> /* illegal phandle value (set when un...
google
android
of_reserved_mem
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/of/of_reserved_mem.c
8,916
utf_8
9af9d91348362ef27b148fb0f599c3ac
/* * Device tree based initialization code for reserved memory. * */ #include <linux/err.h> #include <linux/of.h> #include <linux/of_fdt.h> #include <linux/of_platform.h> #include <linux/mm.h> #include <linux/sizes.h> #include <linux/of_reserved_mem.h> #include <linux/sort.h> #define MAX_RESERVED_REGIONS 16 static s...
google
android
irq
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/of/irq.c
21,557
utf_8
38d41dd312ea38f580b8ae096b79c069
/* * Derived from arch/i386/kernel/irq.c * * This file contains the code used to make IRQ descriptions in the * device tree to actual irq numbers on an interrupt controller * driver. */ #include <linux/device.h> #include <linux/errno.h> #include <linux/list.h> #include <linux/module.h> #include <linux/of.h> #inc...
google
android
device
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/of/device.c
7,228
utf_8
ad4032b7460d10a7dee0ff6744dc8d77
#include <linux/string.h> #include <linux/kernel.h> #include <linux/of.h> #include <linux/of_device.h> #include <linux/of_address.h> #include <linux/of_iommu.h> #include <linux/dma-mapping.h> #include <linux/init.h> #include <linux/module.h> #include <linux/mod_devicetable.h> #include <linux/slab.h> #include <asm/errno...
google
android
of_mtd
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/of/of_mtd.c
2,896
utf_8
8a6bc89e8a46eb08f507816406211f54
/* * */ #include <linux/kernel.h> #include <linux/of_mtd.h> #include <linux/mtd/nand.h> #include <linux/export.h> /** * It maps 'enum nand_ecc_modes_t' found in include/linux/mtd/nand.h * into the device tree binding of 'nand-ecc', so that MTD * device driver can get nand ecc from device tree. */ static const cha...
google
android
fdt_address
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/of/fdt_address.c
6,303
utf_8
b6cd33889c8deb34f75509810da32904
/* * FDT Address translation based on u-boot fdt_support.c which in turn was * based on the kernel unflattened DT address translation code. * * any later version. */ #include <linux/kernel.h> #include <linux/libfdt.h> #include <linux/of.h> #include <linux/of_fdt.h> #include <linux/sizes.h> /* Max address size we d...
google
android
unittest
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/of/unittest.c
52,992
utf_8
7dfc5c6270f17a755daff9d55a436025
/* * Self tests for device tree subsystem */ #define pr_fmt(fmt) "### dt-test ### " fmt #include <linux/clk.h> #include <linux/err.h> #include <linux/errno.h> #include <linux/hashtable.h> #include <linux/module.h> #include <linux/of.h> #include <linux/of_fdt.h> #include <linux/of_irq.h> #include <linux/of_platform.h>...
google
android
of_pci
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/of/of_pci.c
8,306
utf_8
5b5652bf4474268bb2a95e5118f15fbb
#include <linux/kernel.h> #include <linux/export.h> #include <linux/of.h> #include <linux/of_address.h> #include <linux/of_device.h> #include <linux/of_pci.h> #include <linux/slab.h> #include <asm-generic/pci-bridge.h> static inline int __of_pci_pci_compare(struct device_node *node, unsigned int data) { int...
google
android
of_net
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/of/of_net.c
2,454
utf_8
7e199bacb3c029d8a5c2ca83241c8329
/* * OF helpers for network devices. * * * The function gets phy interface string from property 'phy-mode' or * 'phy-connection-type', and return its index in phy_modes table, or errno in * error case. */ int of_get_phy_mode(struct device_node *np) { const char *pm; int err, i; err = of_property_read_string(n...
google
android
address
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/of/address.c
25,699
utf_8
6466c477286831bf65cf1312edeea3dc
#include <linux/device.h> #include <linux/io.h> #include <linux/ioport.h> #include <linux/module.h> #include <linux/of_address.h> #include <linux/pci_regs.h> #include <linux/sizes.h> #include <linux/slab.h> #include <linux/string.h> /* Max address size we deal with */ #define OF_MAX_ADDR_CELLS 4 #define OF_CHECK_ADDR_C...
google
android
dynamic
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/of/dynamic.c
19,525
utf_8
cb05d0f7cd44d2d261fe3c0e19265dad
/* * Support for dynamic device trees. * * On some platforms, the device tree can be manipulated at runtime. * The routines in this section support adding, removing and changing * device tree nodes. */ #include <linux/of.h> #include <linux/spinlock.h> #include <linux/slab.h> #include <linux/string.h> #include <li...
google
android
of_mdio
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/of/of_mdio.c
9,656
utf_8
ff068692e3560c10beb6ec9862ebcf71
/* * OF helpers for the MDIO (Ethernet PHY) API * * * This file provides helper functions for extracting PHY device information * out of the OpenFirmware device tree and using it to populate an mii_bus. */ #include <linux/kernel.h> #include <linux/device.h> #include <linux/netdevice.h> #include <linux/err.h> #inc...
google
android
base
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/of/base.c
63,642
utf_8
bfe8626e28a1cb13cce11ed30c4f5659
/* * Procedures for creating, accessing and interpreting the device tree. * * Paul Mackerras August 1996. */ #include <linux/console.h> #include <linux/ctype.h> #include <linux/cpu.h> #include <linux/module.h> #include <linux/of.h> #include <linux/of_graph.h> #include <linux/spinlock.h> #include <linux/slab.h> #inc...
google
android
fdt
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/of/fdt.c
30,361
utf_8
f2df588240874b93d0b4c740dcfb2bb1
/* * Functions for working with the Flattened Device Tree data format * */ #include <linux/crc32.h> #include <linux/kernel.h> #include <linux/initrd.h> #include <linux/memblock.h> #include <linux/mutex.h> #include <linux/of.h> #include <linux/of_fdt.h> #include <linux/of_reserved_mem.h> #include <linux/sizes.h> #inc...
google
android
of_pci_irq
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/of/of_pci_irq.c
3,700
utf_8
753b56e525f4aa605dcd42725daf6c49
#include <linux/kernel.h> #include <linux/of_pci.h> #include <linux/of_irq.h> #include <linux/export.h> /** * of_irq_parse_pci - Resolve the interrupt for a PCI device * * This function resolves the PCI interrupt for a given PCI device. If a * device-node exists for a given pci_dev, it will use normal OF tree * wa...
google
android
overlay
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/of/overlay.c
13,569
utf_8
d9cae0313f9eeeb0c9519418931c7d01
/* * Functions for working with device tree overlays * */ #undef DEBUG #include <linux/kernel.h> #include <linux/module.h> #include <linux/of.h> #include <linux/of_device.h> #include <linux/string.h> #include <linux/ctype.h> #include <linux/errno.h> #include <linux/string.h> #include <linux/slab.h> #include <linux/e...
google
android
pdt
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/of/pdt.c
5,845
utf_8
d6c369c50759e32f4752e984227614c9
/* pdt.c: OF PROM device tree support code. * * Paul Mackerras August 1996. */ #include <linux/kernel.h> #include <linux/module.h> #include <linux/errno.h> #include <linux/mutex.h> #include <linux/slab.h> #include <linux/of.h> #include <linux/of_pdt.h> static struct of_pdt_ops *of_pdt_prom_ops __initdata; void __ini...
google
android
virtio_rpmsg_bus
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/rpmsg/virtio_rpmsg_bus.c
32,570
utf_8
f3644acd4f5f7144c4c40cf151cabb20
/* * Virtio-based remote processor messaging bus * */ #define pr_fmt(fmt) "%s: " fmt, __func__ #include <linux/kernel.h> #include <linux/module.h> #include <linux/virtio.h> #include <linux/virtio_ids.h> #include <linux/virtio_config.h> #include <linux/scatterlist.h> #include <linux/dma-mapping.h> #include <linux/sla...
google
android
share
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/parport/share.c
38,018
utf_8
95acc1b10a42937e363b8583e10fd24e
/* * Parallel-port resource manager code. * */ #undef PARPORT_DEBUG_SHARING /* undef for production */ #include <linux/module.h> #include <linux/string.h> #include <linux/threads.h> #include <linux/parport.h> #include <linux/delay.h> #include <linux/errno.h> #include <linux/interrupt.h> #include <linux/ioport.h> #...
google
android
procfs
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/parport/procfs.c
12,937
utf_8
6836bb10d86538a304c03755e437db9e
/* Sysctl interface for parport devices. * * Authors: David Campbell */ #include <linux/string.h> #include <linux/init.h> #include <linux/module.h> #include <linux/errno.h> #include <linux/kernel.h> #include <linux/slab.h> #include <linux/parport.h> #include <linux/ctype.h> #include <linux/sysctl.h> #include <linux...
google
android
ieee1284_ops
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/parport/ieee1284_ops.c
23,800
utf_8
8333d541c54f733d72fb66f5f23c6929
/* IEEE-1284 operations for parport. * * This file is for generic IEEE 1284 operations. The idea is that * they are used by the low-level drivers. If they have a special way * of doing something, they can provide their own routines (and put * the function pointers in port->ops); if not, they can just use these ...
google
android
parport_cs
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/parport/parport_cs.c
5,672
utf_8
7e39cf9f7e17697c62ecf80fedfb7829
/*====================================================================== A driver for PCMCIA parallel port adapters (specifically, for the Quatech SPP-100 EPP card: other cards will probably require driver tweaks) parport_cs.c 1.29 2002/10/11 06:57:41 The contents of this file are subject to th...
google
android
parport_serial
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/parport/parport_serial.c
20,617
utf_8
be5dde9de48c4de4600e4d70b09c5466
/* * Support for common PCI multi-I/O cards (which is most of them) * * * * Multi-function PCI cards are supposed to present separate logical * devices on the bus. A common thing to do seems to be to just use * one logical device with lots of base address registers for both * parallel ports and serial ports. ...
google
android
probe
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/parport/probe.c
7,589
utf_8
5b9e5f15d271cb2283f9b7518352789f
/* * Parallel port device probing code * */ #include <linux/module.h> #include <linux/parport.h> #include <linux/ctype.h> #include <linux/string.h> #include <linux/slab.h> #include <asm/uaccess.h> static const struct { const char *token; const char *descr; } classes[] = { { "", "Legacy device" }, { "P...
google
android
parport_sunbpp
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/parport/parport_sunbpp.c
9,516
utf_8
def516b23b8b7060b8f47779ac7efd26
/* parport_sunbpp.c: Parallel-port routines for SBUS * * */ #include <linux/string.h> #include <linux/module.h> #include <linux/delay.h> #include <linux/errno.h> #include <linux/ioport.h> #include <linux/kernel.h> #include <linux/slab.h> #include <linux/init.h> #include <linux/of.h> #include <linux/of_device.h> #i...
google
android
ieee1284
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/parport/ieee1284.c
23,096
utf_8
47bc8d229c702aceddeba2f8e0f2889e
/* * IEEE-1284 implementation for parport. * */ #include <linux/module.h> #include <linux/threads.h> #include <linux/parport.h> #include <linux/delay.h> #include <linux/kernel.h> #include <linux/interrupt.h> #include <linux/timer.h> #include <linux/sched.h> #undef DEBUG /* undef me for production */ #ifdef CONFIG_LP...
google
android
parport_ip32
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/parport/parport_ip32.c
68,651
utf_8
18194eb9a17c5b0205f74999c57c0e67
/* Low-level parallel port routines for built-in port on SGI IP32 * * more details. * * Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ /* Current status: * * Basic SPP and PS2 modes are supported. * Support for parallel port IRQ is present. * Hardware SPP (a.k.a. compatibility), EPP, and ECP modes ar...
google
android
parport_ax88796
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/parport/parport_ax88796.c
9,493
utf_8
86a443108d4af6e896ef50751c3e216d
/* linux/drivers/parport/parport_ax88796.c * * */ #include <linux/module.h> #include <linux/kernel.h> #include <linux/parport.h> #include <linux/interrupt.h> #include <linux/errno.h> #include <linux/platform_device.h> #include <linux/slab.h> #include <asm/io.h> #include <asm/irq.h> #define AX_SPR_BUSY (1<<7) #define...
google
android
daisy
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/parport/daisy.c
12,562
utf_8
68f2199f88fecc4fc8790477b2bbce1e
/* * IEEE 1284.3 Parallel port daisy chain and multiplexor code * */ #include <linux/module.h> #include <linux/parport.h> #include <linux/delay.h> #include <linux/slab.h> #include <linux/sched.h> #include <asm/current.h> #include <asm/uaccess.h> #undef DEBUG #ifdef DEBUG #define DPRINTK(stuff...) printk(stuff) #els...
google
android
parport_gsc
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/parport/parport_gsc.c
11,255
utf_8
1594146cc438cd3442a32d66388cdaf1
/* * Low-level parallel-support for PC-style hardware integrated in the * LASI-Controller (on GSC-Bus) for HP-PARISC Workstations * * David Campbell * Andrea Arcangeli */ #undef DEBUG /* undef for production */ #include <linux/module.h> #include <linux/init.h> #include <linux/delay.h> #inc...
google
android
parport_mfc3
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/parport/parport_mfc3.c
10,106
utf_8
0a847b9d153f710854cbc69c4a768eb1
/* Low-level parallel port routines for the Multiface 3 card * * * based on the existing parport_amiga and lp_mfc * * * From the MFC3 documentation: * * Miscellaneous PIA Details * ------------------------- * * The two open-drain interrupt outputs /IRQA and /IRQB are routed to * /INT2 of the Z2 bus. * ...
google
android
parport_atari
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/parport/parport_atari.c
5,483
utf_8
e65be122def21b0b4fa5aa972505912c
/* Low-level parallel port routines for the Atari builtin port * * * Based on parport_amiga.c. * * The built-in Atari parallel port provides one port at a fixed address * with 8 output data lines (D0 - D7), 1 output control line (STROBE) * and 1 input status line (BUSY) able to cause an interrupt. */ #include <...
google
android
parport_amiga
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/parport/parport_amiga.c
6,422
utf_8
5e163d1590df1180b645f08bccbf395b
/* Low-level parallel port routines for the Amiga built-in port * */ #include <linux/module.h> #include <linux/init.h> #include <linux/parport.h> #include <linux/ioport.h> #include <linux/interrupt.h> #include <linux/platform_device.h> #include <asm/setup.h> #include <asm/amigahw.h> #include <asm/irq.h> #include <asm...
google
android
parport_pc
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/parport/parport_pc.c
87,486
utf_8
78842ebd3fc5d3bfbd8a4f53b5948892
/* Low-level parallel-port routines for 8255-based PC-style hardware. * */ /* This driver should work with any hardware that is broadly compatible * with that in the IBM PC. This applies to the majority of integrated * I/O chipsets that are commonly available. The expected register * layout is: * * base+0 dat...
google
android
ipack
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/ipack/ipack.c
12,088
utf_8
01a03aff907449cffb0807cf6a61f20b
/* * Industry-pack bus support functions. * */ #include <linux/module.h> #include <linux/slab.h> #include <linux/idr.h> #include <linux/io.h> #include <linux/ipack.h> #define to_ipack_dev(device) container_of(device, struct ipack_device, dev) #define to_ipack_driver(drv) container_of(drv, struct ipack_driver, driver...
google
android
ipoctal
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/ipack/devices/ipoctal.c
19,185
utf_8
0e42f5ed46b444453bde5d92963be3c7
/** * ipoctal.c * * driver for the GE IP-OCTAL boards * */ #include <linux/device.h> #include <linux/module.h> #include <linux/interrupt.h> #include <linux/sched.h> #include <linux/tty.h> #include <linux/serial.h> #include <linux/tty_flip.h> #include <linux/slab.h> #include <linux/io.h> #include <linux/ipack.h> #i...
google
android
tpci200
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/ipack/carriers/tpci200.c
16,606
utf_8
d5e88b10503787ca9ceb44d091d0af5e
/** * tpci200.c * * driver for the TEWS TPCI-200 device * */ #include <linux/module.h> #include <linux/slab.h> #include "tpci200.h" static const u16 tpci200_status_timeout[] = { TPCI200_A_TIMEOUT, TPCI200_B_TIMEOUT, TPCI200_C_TIMEOUT, TPCI200_D_TIMEOUT, }; static const u16 tpci200_status_error[] = { TPCI200_A...
google
android
driver_mips
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/bcma/driver_mips.c
11,635
utf_8
e6f8e1a183e26a6eb6396caef56d9c74
/* * Broadcom specific AMBA * Broadcom MIPS32 74K core driver * */ #include "bcma_private.h" #include <linux/bcma/bcma.h> #include <linux/mtd/physmap.h> #include <linux/platform_device.h> #include <linux/serial.h> #include <linux/serial_core.h> #include <linux/serial_reg.h> #include <linux/time.h> #ifdef CONFIG_BCM...
google
android
host_soc
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/bcma/host_soc.c
5,649
utf_8
806952f2441dd02218480f07a262d0b4
/* * Broadcom specific AMBA * System on Chip (SoC) Host * */ #include "bcma_private.h" #include "scan.h" #include <linux/slab.h> #include <linux/module.h> #include <linux/of_address.h> #include <linux/bcma/bcma.h> #include <linux/bcma/bcma_soc.h> static u8 bcma_host_soc_read8(struct bcma_device *core, u16 offset) {...
google
android
main
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/bcma/main.c
16,640
utf_8
79fad056a5a7119a596855d933afa98c
/* * Broadcom specific AMBA * Bus subsystem * */ #include "bcma_private.h" #include <linux/module.h> #include <linux/mmc/sdio_func.h> #include <linux/platform_device.h> #include <linux/pci.h> #include <linux/bcma/bcma.h> #include <linux/slab.h> #include <linux/of_address.h> #include <linux/of_irq.h> #include <linux...
google
android
driver_chipcommon
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/bcma/driver_chipcommon.c
9,086
utf_8
ec5c4e35022c263ee1f69cfdfcd93677
/* * Broadcom specific AMBA * ChipCommon core driver * */ #include "bcma_private.h" #include <linux/bcm47xx_wdt.h> #include <linux/export.h> #include <linux/platform_device.h> #include <linux/bcma/bcma.h> static inline u32 bcma_cc_write32_masked(struct bcma_drv_cc *cc, u16 offset, u32 mask, u32 value) { valu...
google
android
scan
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/bcma/scan.c
14,210
utf_8
f73bff251b4a14e9e5fb354a8d83c578
/* * Broadcom specific AMBA * Bus scanning * */ #include "scan.h" #include "bcma_private.h" #include <linux/bcma/bcma.h> #include <linux/bcma/bcma_regs.h> #include <linux/pci.h> #include <linux/io.h> #include <linux/dma-mapping.h> #include <linux/slab.h> struct bcma_device_id_name { u16 id; const char *name; }; s...