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
core
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/bcma/core.c
3,710
utf_8
7e5d378a39356da8031c81a0454c590c
/* * Broadcom specific AMBA * Core ops * */ #include "bcma_private.h" #include <linux/export.h> #include <linux/bcma/bcma.h> static bool bcma_core_wait_value(struct bcma_device *core, u16 reg, u32 mask, u32 value, int timeout) { unsigned long deadline = jiffies + timeout; u32 val; do { val = bcma_aread32(...
google
android
driver_pci
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/bcma/driver_pci.c
8,442
utf_8
4f82b69af1e6055563f0be520c724ae1
/* * Broadcom specific AMBA * PCI Core * */ #include "bcma_private.h" #include <linux/export.h> #include <linux/bcma/bcma.h> /************************************************** * R/W ops. **************************************************/ u32 bcma_pcie_read(struct bcma_drv_pci *pc, u32 address) { pcicore_write3...
google
android
driver_chipcommon_nflash
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/bcma/driver_chipcommon_nflash.c
1,077
utf_8
783999d8939a9beb8988b7e11173e9e5
/* * Broadcom specific AMBA * ChipCommon NAND flash interface * */ #include "bcma_private.h" #include <linux/platform_device.h> #include <linux/bcma/bcma.h> struct platform_device bcma_nflash_dev = { .name = "bcma_nflash", .num_resources = 0, }; /* Initialize NAND flash access */ int bcma_nflash_init(struct bcma...
google
android
sprom
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/bcma/sprom.c
21,393
utf_8
afb303511bcc1c3ed747a5d1cc896e3e
/* * Broadcom specific AMBA * SPROM reading * */ #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> static int(*get_fallback_sprom)(struct bcma_bus *dev, struct ssb_sprom *out); ...
google
android
driver_chipcommon_sflash
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/bcma/driver_chipcommon_sflash.c
4,280
utf_8
213cbf066c4bf3c64e1289a5a8e604a6
/* * Broadcom specific AMBA * ChipCommon serial flash interface * */ #include "bcma_private.h" #include <linux/platform_device.h> #include <linux/bcma/bcma.h> static struct resource bcma_sflash_resource = { .name = "bcma_sflash", .start = BCMA_SOC_FLASH2, .end = 0, .flags = IORESOURCE_MEM | IORESOURCE_READONLY...
google
android
driver_gmac_cmn
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/bcma/driver_gmac_cmn.c
265
utf_8
17eab91c7c8e34a8afeaafa275fddaa9
/* * Broadcom specific AMBA * GBIT MAC COMMON Core * */ #include "bcma_private.h" #include <linux/bcma/bcma.h> void bcma_core_gmac_cmn_init(struct bcma_drv_gmac_cmn *gc) { mutex_init(&gc->phy_mutex); }
google
android
driver_gpio
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/bcma/driver_gpio.c
5,695
utf_8
727a6fa118b249c9c268a6748fb9e8b8
/* * Broadcom specific AMBA * GPIO driver * */ #include <linux/gpio/driver.h> #include <linux/interrupt.h> #include <linux/export.h> #include <linux/bcma/bcma.h> #include "bcma_private.h" #define BCMA_GPIO_MAX_PINS 32 static inline struct bcma_drv_cc *bcma_gpio_get_cc(struct gpio_chip *chip) { return container_of(...
google
android
host_pci
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/bcma/host_pci.c
9,796
utf_8
a1e59756cb9b0e9b1b57a369f135079f
/* * Broadcom specific AMBA * PCI Host * */ #include "bcma_private.h" #include <linux/slab.h> #include <linux/bcma/bcma.h> #include <linux/pci.h> #include <linux/module.h> static void bcma_host_pci_switch_core(struct bcma_device *core) { int win2 = core->bus->host_is_pcie2 ? BCMA_PCIE2_BAR0_WIN2 : BCMA_PCI_BAR0_...
google
android
driver_chipcommon_b
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/bcma/driver_chipcommon_b.c
1,338
utf_8
f30aa9b6ed3eab8aed22898ed3642fbd
/* * Broadcom specific AMBA * ChipCommon B Unit driver * */ #include "bcma_private.h" #include <linux/export.h> #include <linux/bcma/bcma.h> static bool bcma_wait_reg(struct bcma_bus *bus, void __iomem *addr, u32 mask, u32 value, int timeout) { unsigned long deadline = jiffies + timeout; u32 val; do { val...
google
android
driver_pci_host
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/bcma/driver_pci_host.c
17,882
utf_8
0cfd0c18d4de6852346c3bbf08b5d78c
/* * Broadcom specific AMBA * PCI Core in hostmode * */ #include "bcma_private.h" #include <linux/pci.h> #include <linux/slab.h> #include <linux/export.h> #include <linux/bcma/bcma.h> #include <asm/paccess.h> /* Probe a 32bit value on the bus and catch bus exceptions. * Returns nonzero on a bus exception. * This ...
google
android
driver_pcie2
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/bcma/driver_pcie2.c
5,699
utf_8
df47c268c4100cec65d4c52dc52525ac
/* * Broadcom specific AMBA * PCIe Gen 2 Core * */ #include "bcma_private.h" #include <linux/bcma/bcma.h> #include <linux/pci.h> /************************************************** * R/W ops. **************************************************/ #if 0 static u32 bcma_core_pcie2_cfg_read(struct bcma_drv_pcie2 *pcie2...
google
android
driver_chipcommon_pmu
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/bcma/driver_chipcommon_pmu.c
19,350
utf_8
9362f56ebabd33434707b14705de4567
/* * Broadcom specific AMBA * ChipCommon Power Management Unit driver * void bcma_chipco_pll_write(struct bcma_drv_cc *cc, u32 offset, u32 value) { bcma_cc_write32(cc, BCMA_CC_PLLCTL_ADDR, offset); bcma_cc_read32(cc, BCMA_CC_PLLCTL_ADDR); bcma_cc_write32(cc, BCMA_CC_PLLCTL_DATA, value); } void bcma_chipco_chipctl...
google
android
mips_cdmm
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/bus/mips_cdmm.c
20,552
utf_8
09e568b97b7b246b803a6184c43641f5
/* * Bus driver for MIPS Common Device Memory Map (CDMM). * * for more details. */ #include <linux/atomic.h> #include <linux/err.h> #include <linux/cpu.h> #include <linux/cpumask.h> #include <linux/io.h> #include <linux/platform_device.h> #include <linux/slab.h> #include <linux/smp.h> #include <asm/cdmm.h> #include...
google
android
arm-cci
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/bus/arm-cci.c
58,735
utf_8
baff61067d9a86efd069d91f21ff1a36
/* * CCI cache coherent interconnect driver * */ #include <linux/arm-cci.h> #include <linux/io.h> #include <linux/interrupt.h> #include <linux/module.h> #include <linux/of_address.h> #include <linux/of_irq.h> #include <linux/of_platform.h> #include <linux/perf_event.h> #include <linux/platform_device.h> #include <li...
google
android
omap-ocp2scp
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/bus/omap-ocp2scp.c
3,527
utf_8
221a8167c3539eeca17a2fc2073c9bdf
/* * omap-ocp2scp.c - transform ocp interface protocol to scp protocol * * */ #include <linux/io.h> #include <linux/module.h> #include <linux/platform_device.h> #include <linux/err.h> #include <linux/pm_runtime.h> #include <linux/of.h> #include <linux/of_platform.h> #define OCP2SCP_TIMING 0x18 #define SYNC2_MASK 0x...
google
android
brcmstb_gisb
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/bus/brcmstb_gisb.c
10,562
utf_8
13556f31aa09ffed00812d1ba98e1b67
/* */ #include <linux/init.h> #include <linux/types.h> #include <linux/module.h> #include <linux/platform_device.h> #include <linux/interrupt.h> #include <linux/sysfs.h> #include <linux/io.h> #include <linux/string.h> #include <linux/device.h> #include <linux/list.h> #include <linux/of.h> #include <linux/bitops.h> #in...
google
android
omap_l3_noc
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/bus/omap_l3_noc.c
10,718
utf_8
fcd53847a1a4c3c4dd2ff52a422b0430
/* * OMAP L3 Interconnect error handling driver * */ #include <linux/init.h> #include <linux/interrupt.h> #include <linux/io.h> #include <linux/kernel.h> #include <linux/module.h> #include <linux/of_device.h> #include <linux/of.h> #include <linux/platform_device.h> #include <linux/slab.h> #include "omap_l3_noc.h" /*...
google
android
arm-ccn
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/bus/arm-ccn.c
46,144
utf_8
33047d9d5aaef16870564c77258bd4eb
/* */ #include <linux/ctype.h> #include <linux/hrtimer.h> #include <linux/idr.h> #include <linux/interrupt.h> #include <linux/io.h> #include <linux/module.h> #include <linux/perf_event.h> #include <linux/platform_device.h> #include <linux/slab.h> #define CCN_NUM_XP_PORTS 2 #define CCN_NUM_VCS 4 #define CCN_NUM_REGIONS...
google
android
vexpress-config
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/bus/vexpress-config.c
4,723
utf_8
015d41c5fd4b9b4ff3eacae38325ce12
/* */ #include <linux/err.h> #include <linux/init.h> #include <linux/of.h> #include <linux/of_device.h> #include <linux/vexpress.h> struct vexpress_config_bridge { struct vexpress_config_bridge_ops *ops; void *context; }; static DEFINE_MUTEX(vexpress_config_mutex); static struct class *vexpress_config_class; static ...
google
android
imx-weim
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/bus/imx-weim.c
5,258
utf_8
16e890f02407ad08c47c2d817fc2efe6
/* * EIM driver for Freescale's i.MX chips * * warranty of any kind, whether express or implied. */ #include <linux/module.h> #include <linux/clk.h> #include <linux/io.h> #include <linux/of_device.h> #include <linux/mfd/syscon.h> #include <linux/mfd/syscon/imx6q-iomuxc-gpr.h> #include <linux/regmap.h> struct imx_we...
google
android
mvebu-mbus
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/bus/mvebu-mbus.c
36,068
utf_8
597a02b50f672524aea53fbf5ee3d229
/* * Address map functions for Marvell EBU SoCs (Kirkwood, Armada * 370/XP, Dove, Orion5x and MV78xx0) * * warranty of any kind, whether express or implied. * * The Marvell EBU SoCs have a configurable physical address space: * the physical address at which certain devices (PCIe, NOR, NAND, * etc.) sit can be c...
google
android
omap_l3_smx
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/bus/omap_l3_smx.c
7,719
utf_8
3a2cba4bdd2ed86b1c40577f10d718d0
/* * OMAP3XXX L3 Interconnect Driver * * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 * USA */ #include <linux/kernel.h> #include <linux/slab.h> #include <linux/platform_device.h> #include <linux/interrupt.h> #include <linux/io.h> #include <linux/module.h> #include <linux/of.h> #include <lin...
google
android
sunxi-rsb
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/bus/sunxi-rsb.c
19,482
utf_8
94dcdf1fb7b68258d37715a84e7e659e
/* * RSB (Reduced Serial Bus) driver. * * kind, whether express or implied. * * The RSB controller looks like an SMBus controller which only supports * byte and word data transfers. But, it differs from standard SMBus * protocol on several aspects: * - it uses addresses set at runtime to address slaves. Runtime...
google
android
simple-pm-bus
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/bus/simple-pm-bus.c
1,370
utf_8
27d197ecbaaa9350ec77341a784f0f7c
/* * Simple Power-Managed Bus Driver * * for more details. */ #include <linux/module.h> #include <linux/of_platform.h> #include <linux/platform_device.h> #include <linux/pm_runtime.h> static int simple_pm_bus_probe(struct platform_device *pdev) { struct device_node *np = pdev->dev.of_node; dev_dbg(&pdev->dev, "%s...
google
android
umc-dev
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/uwb/umc-dev.c
2,296
utf_8
9b80b4e400bbc3e6a253cf8117ee7c7d
/* * UWB Multi-interface Controller device management. * */ #include <linux/kernel.h> #include <linux/export.h> #include <linux/slab.h> #include <linux/uwb/umc.h> static void umc_device_release(struct device *dev) { struct umc_dev *umc = to_umc_dev(dev); kfree(umc); } /** * umc_device_create - allocate a child UM...
google
android
rsv
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/uwb/rsv.c
27,944
utf_8
940ac5e2e2f4e9bbb50be796cda5e99d
/* * UWB reservation management. * */ #include <linux/kernel.h> #include <linux/uwb.h> #include <linux/slab.h> #include <linux/random.h> #include <linux/export.h> #include "uwb-internal.h" static void uwb_rsv_timer(unsigned long arg); static const char *rsv_states[] = { [UWB_RSV_STATE_NONE] = "none ...
google
android
drp
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/uwb/drp.c
25,063
utf_8
dfbf55b68089f355357525c079fb52cb
/* * Ultra Wide Band * Dynamic Reservation Protocol handling * */ #include <linux/kthread.h> #include <linux/freezer.h> #include <linux/slab.h> #include <linux/delay.h> #include "uwb-internal.h" /* DRP Conflict Actions ([ECMA-368 2nd Edition] 17.4.6) */ enum uwb_drp_conflict_action { /* Reservation is maintained, ...
google
android
umc-bus
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/uwb/umc-bus.c
4,987
utf_8
3bc78d993ecb7e852fd3fb272966e5b3
/* * Bus for UWB Multi-interface Controller capabilities. * */ #include <linux/kernel.h> #include <linux/sysfs.h> #include <linux/workqueue.h> #include <linux/module.h> #include <linux/uwb/umc.h> #include <linux/pci.h> static int umc_bus_pre_reset_helper(struct device *dev, void *data) { int ret = 0; if (dev->driv...
google
android
allocator
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/uwb/allocator.c
10,168
utf_8
f85277f97bf689dc1317ad461ab1ecdd
/* * UWB reservation management. * */ #include <linux/kernel.h> #include <linux/slab.h> #include <linux/uwb.h> #include "uwb-internal.h" static void uwb_rsv_fill_column_alloc(struct uwb_rsv_alloc_info *ai) { int col, mas, safe_mas, unsafe_mas; unsigned char *bm = ai->bm; struct uwb_rsv_col_info *ci = ai->ci; uns...
google
android
ie-rcv
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/uwb/ie-rcv.c
1,575
utf_8
b9690af69d7cb796302ac02e96ae8d99
/* * Ultra Wide Band * IE Received notification handling. * */ #include <linux/errno.h> #include <linux/module.h> #include <linux/device.h> #include <linux/bitmap.h> #include "uwb-internal.h" /* * Process an incoming IE Received notification. */ int uwbd_evt_handle_rc_ie_rcv(struct uwb_event *evt) { int result =...
google
android
drp-ie
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/uwb/drp-ie.c
9,781
utf_8
30d00ba4e0d6d86485a91543ee751e1e
/* * UWB DRP IE management. * */ #include <linux/kernel.h> #include <linux/random.h> #include <linux/slab.h> #include <linux/uwb.h> #include "uwb-internal.h" /* * Return the reason code for a reservations's DRP IE. */ static int uwb_rsv_reason_code(struct uwb_rsv *rsv) { static const int reason_codes[] = { [UWB...
google
android
umc-drv
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/uwb/umc-drv.c
845
utf_8
75a93623a415dc2f1a3cee852bf7972e
/* * UWB Multi-interface Controller driver management. * */ #include <linux/kernel.h> #include <linux/export.h> #include <linux/uwb/umc.h> int __umc_driver_register(struct umc_driver *umc_drv, struct module *module, const char *mod_name) { umc_drv->driver.name = umc_drv->name; umc_drv->driver.owner = m...
google
android
scan
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/uwb/scan.c
4,150
utf_8
2e8d3794caaf2814bf85f3d708486e61
/* * Ultra Wide Band * Scanning management * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA * 02110-1301, USA. * * * * FIXME: docs * FIXME: there are issues here on how BEACON and SCAN on USB RCI deal * with each other. Currently seems that START_BEACON while * SCAN_ONLY will ...
google
android
whc-rc
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/uwb/whc-rc.c
13,503
utf_8
11e4556b13a4f9683c45cf11328e93db
/* * Wireless Host Controller: Radio Control Interface (WHCI v0.95[2.3]) * Radio Control command/event transport to the UWB stack * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA * 02110-1301, USA. * * * Initialize and hook up the Radio Control interface. * * For each device probed, creates a...
google
android
beacon
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/uwb/beacon.c
16,667
utf_8
b13b2dd42e972b5b7dca10a9708a3462
/* * Ultra Wide Band * Beacon management * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA * 02110-1301, USA. * * * FIXME: docs */ #include <linux/kernel.h> #include <linux/init.h> #include <linux/module.h> #include <linux/device.h> #include <linux/err.h> #include <linux/kdev_t.h> #include <lin...
google
android
hwa-rc
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/uwb/hwa-rc.c
28,909
utf_8
d31dac78b46742bbfb5eb740a1185e92
/* * WUSB Host Wire Adapter: Radio Control Interface (WUSB[8.6]) * Radio Control command/event transport * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA * 02110-1301, USA. * * * Initialize the Radio Control interface Driver. * * For each device probed, creates an 'struct hwarc' which contain...
google
android
est
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/uwb/est.c
13,634
utf_8
640d3054248c54f55daa41841cfcb0dd
/* * Ultra Wide Band Radio Control * Event Size Tables management * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA * 02110-1301, USA. * * * FIXME: docs * * Infrastructure, code and data tables for guessing the size of * events received on the notification endpoints of UWB radio * controller...
google
android
address
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/uwb/address.c
10,383
utf_8
89b055089963ebb8c5c8b431a01a3669
/* * Ultra Wide Band * Address management * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA * 02110-1301, USA. * * * FIXME: docs */ #include <linux/slab.h> #include <linux/errno.h> #include <linux/module.h> #include <linux/device.h> #include <linux/random.h> #include <linux/etherdevice.h> #incl...
google
android
neh
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/uwb/neh.c
18,156
utf_8
c17d870808704ae09340e47ae58563cc
/* * WUSB Wire Adapter: Radio Control Interface (WUSB[8]) * Notification and Event Handling * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA * 02110-1301, USA. * * * The RC interface of the Host Wire Adapter (USB dongle) or WHCI PCI * card delivers a stream of notifications and events to the ...
google
android
radio
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/uwb/radio.c
4,801
utf_8
1356c5fa83d9fc09d83fcc19c882cd4c
/* * UWB radio (channel) management. * */ #include <linux/kernel.h> #include <linux/uwb.h> #include <linux/export.h> #include "uwb-internal.h" static int uwb_radio_select_channel(struct uwb_rc *rc) { /* * Default to channel 9 (BG1, TFC1) unless the user has * selected a specific channel or there are no active P...
google
android
driver
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/uwb/driver.c
4,142
utf_8
cf27b32e34c6f88d52fadd875dcd5f9d
/* * Ultra Wide Band * Driver initialization, etc * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA * 02110-1301, USA. * * * FIXME: docs * * Life cycle: FIXME: explain * * UWB radio controller: * * 1. alloc a uwb_rc, zero it * 2. call uwb_rc_init() on it to set it up + ops (won't d...
google
android
pal
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/uwb/pal.c
3,272
utf_8
88e5662e126d9c1b57888d01b153d6fe
/* * UWB PAL support. * */ #include <linux/kernel.h> #include <linux/debugfs.h> #include <linux/uwb.h> #include <linux/export.h> #include "uwb-internal.h" /** * uwb_pal_init - initialize a UWB PAL * * The PAL must be initialized with uwb_pal_init(). */ int uwb_pal_register(struct uwb_pal *pal) { struct uwb_rc *...
google
android
drp-avail
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/uwb/drp-avail.c
8,822
utf_8
dc108003da9d4a28eb58c1737292893d
/* * Ultra Wide Band * DRP availability management * * * * Manage DRP Availability (the MAS available for DRP * reservations). Thus: * * - Handle DRP Availability Change notifications * * - Allow the reservation manager to indicate MAS reserved/released * by local (owned by/targeted at the radio controlle...
google
android
lc-dev
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/uwb/lc-dev.c
12,672
utf_8
faaa7f6799685fee0f31fd588bd06ba3
/* * Ultra Wide Band * Life cycle of devices * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA * 02110-1301, USA. * * * FIXME: docs */ #include <linux/kernel.h> #include <linux/slab.h> #include <linux/device.h> #include <linux/export.h> #include <linux/err.h> #include <linux/kdev_t.h> #include ...
google
android
uwbd
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/uwb/uwbd.c
10,482
utf_8
c813ba7b7b4f7204bce2fae4445bcb6a
/* * Ultra Wide Band * Neighborhood Management Daemon * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA * 02110-1301, USA. * * * This daemon takes care of maintaing information that describes the * UWB neighborhood that the radios in this machine can see. It also * keeps a tab of which devices...
google
android
uwb-debug
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/uwb/uwb-debug.c
9,402
utf_8
92b5a2bf91da257f170dc6e386237ed3
/* * Ultra Wide Band * Debug support * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA * 02110-1301, USA. * * * FIXME: doc */ #include <linux/spinlock.h> #include <linux/module.h> #include <linux/slab.h> #include <linux/notifier.h> #include <linux/device.h> #include <linux/debugfs.h> #include <...
google
android
whci
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/uwb/whci.c
6,437
utf_8
f4dc60bcee3bd05d924b86e776772034
/* * WHCI UWB Multi-interface Controller enumerator. * */ #include <linux/delay.h> #include <linux/kernel.h> #include <linux/module.h> #include <linux/pci.h> #include <linux/dma-mapping.h> #include <linux/slab.h> #include <linux/uwb/whci.h> #include <linux/uwb/umc.h> struct whci_card { struct pci_dev *pci; void __...
google
android
ie
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/uwb/ie.c
9,868
utf_8
3399d65799d53edb6bc5670dff2799e8
/* * Ultra Wide Band * Information Element Handling * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA * 02110-1301, USA. * * * FIXME: docs */ #include <linux/slab.h> #include <linux/export.h> #include "uwb-internal.h" /** * uwb_ie_next - get the next IE in a buffer * are no more IEs in the bu...
google
android
lc-rc
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/uwb/lc-rc.c
13,588
utf_8
6a1dda6c66aff952c9f377a8ad31912f
/* * Ultra Wide Band * Life cycle of radio controllers * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA * 02110-1301, USA. * * * FIXME: docs * * A UWB radio controller is also a UWB device, so it embeds one... * * List of RCs comes from the 'struct class uwb_rc_class'. */ #include <linux/k...
google
android
reset
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/uwb/reset.c
11,264
utf_8
be0f4b6befcfdfe3d7e9404268b4d50f
/* * Ultra Wide Band * UWB basic command support and radio reset * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA * 02110-1301, USA. * * * FIXME: * * - docs * * - Now we are serializing (using the uwb_dev->mutex) the command * execution; it should be parallelized as much as possible s...
google
android
i1480-est
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/uwb/i1480/i1480-est.c
3,167
utf_8
89412140c2bcfaf87992881d95052164
/* * Intel Wireless UWB Link 1480 * Event Size tables for Wired Adaptors * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA * 02110-1301, USA. * * * FIXME: docs */ #include <linux/init.h> #include <linux/module.h> #include <linux/usb.h> #include <linux/uwb.h> #include "dfu/i1480-dfu.h" /** Event...
google
android
mac
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/uwb/i1480/dfu/mac.c
14,012
utf_8
eade7e3a55131ebc0067ce6f60b7670b
/* * Intel Wireless UWB Link 1480 * MAC Firmware upload implementation * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA * 02110-1301, USA. * * * Implementation of the code for parsing the firmware file (extract * the headers and binary code chunks) in the fw_*() functions. The * code to uploa...
google
android
phy
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/uwb/i1480/dfu/phy.c
6,445
utf_8
868223e10ebfa8dfba0fe4a4df51034c
/* * Intel Wireless UWB Link 1480 * PHY parameters upload * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA * 02110-1301, USA. * * * Code for uploading the PHY parameters to the PHY through the UWB * Radio Control interface. * * We just send the data through the MPI interface using HWA-like ...
google
android
dfu
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/uwb/i1480/dfu/dfu.c
6,051
utf_8
5354914badf262ddac107d03e1ad2fed
/* * Intel Wireless UWB Link 1480 * Main driver * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA * 02110-1301, USA. * * * Common code for firmware upload used by the USB and PCI version; * i1480_fw_upload() takes a device descriptor and uses the function * pointers it provides to upload firmw...
google
android
usb
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/uwb/i1480/dfu/usb.c
13,404
utf_8
552c103a70ad9fb8dff48967ba9b8beb
/* * Intel Wireless UWB Link 1480 * USB SKU firmware upload implementation * * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA * 02110-1301, USA. * * * This driver will prepare the i1480 device to behave as a real * Wireless USB HWA adaptor by uploading the firmware. * * When the device is conn...
google
android
virtio_console
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/char/virtio_console.c
57,557
utf_8
751f0d56c619d7c508bdd25c933bcc73
/* * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #include <linux/cdev.h> #include <linux/debugfs.h> #include <linux/completion.h> #include <linux/device.h> #include <linux/err.h> #include <linux/freezer.h> #include <linux/fs.h> #include <linux/splice.h> #include <linux/pagemap.h> #inc...
google
android
dsp56k
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/char/dsp56k.c
12,490
utf_8
aa4be48ef45fffb7473dd110c933bd10
/* * The DSP56001 Device Driver, saviour of the Free World(tm) * * * This file is subject to the terms and conditions of the GNU General Public * for more details. */ #include <linux/module.h> #include <linux/major.h> #include <linux/types.h> #include <linux/errno.h> #include <linux/delay.h> /* guess what */ #inc...
google
android
apm-emulation
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/char/apm-emulation.c
18,060
utf_8
1e9b2e3d99976c266972928e7143bdc4
/* * bios-less APM driver for ARM Linux * * APM 1.2 Reference: * Intel Corporation, Microsoft Corporation. Advanced Power Management * (APM) BIOS Interface Specification, Revision 1.2, February 1996. * * This document is available from Microsoft at: * http://www.microsoft.com/whdc/archive/amp_12.mspx */...
google
android
misc
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/char/misc.c
7,200
utf_8
148e0766d5f8195c58c4009476a67abb
/* * linux/drivers/char/misc.c * * Generic misc open routine by Johan Myreen * * Based on code from Linus * * Teemu Rantanen's Microsoft Busmouse support and Derrick Cole's * changes incorporated into 0.97pl4 * * Changes for kmod (from kerneld): */ #include <linux/module.h> #include <linux/fs.h> #include <...
google
android
mmtimer
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/char/mmtimer.c
21,423
utf_8
d31c665bdc2a8ea0b9c48c36df86cfa2
/* * Timer device implementation for SGI SN platforms. * * This file is subject to the terms and conditions of the GNU General Public * * This driver exports an API that should be supportable by any HPET or IA-PC * multimedia timer. The code below is currently specific to the SGI Altix * SHub RTC, however. * ...
google
android
lp
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/char/lp.c
26,947
utf_8
79ceb335cd7d8a0f2d7134bd27652f3b
/* * Generic parallel printer driver * * Redesigned interrupt handling for handle printers with buggy handshake * by Andrea Arcangeli, 11 May 1998 * Full efficient handling of printer with buggy irq handshake (now I have * understood the meaning of the strange handshake). This is done sending new * characters...
google
android
ds1620
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/char/ds1620.c
8,866
utf_8
8952bc2db0ba71cd5059313f162ccedc
/* * linux/drivers/char/ds1620.c: Dallas Semiconductors DS1620 * thermometer driver (as used in the Rebel.com NetWinder) */ #include <linux/module.h> #include <linux/miscdevice.h> #include <linux/delay.h> #include <linux/proc_fs.h> #include <linux/seq_file.h> #include <linux/capability.h> #include <linux/init.h> #...
google
android
applicom
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/char/applicom.c
24,503
utf_8
affc8fd2429a606f9f274390048b645b
/* Derived from Applicom driver ac.c for SCO Unix */ /* $Id: ac.c,v 1.30 2000/03/22 16:03:57 dwmw2 Exp $ */ /* This module is for Linux 2.1 and 2.2 series kernels. */ /*****************************************************************************/ /* J PAGET 18/02/9...
google
android
rtc
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/char/rtc.c
34,310
utf_8
e9770d9491c524161f3c18ba709f55e4
/* * Real Time Clock interface for Linux * * * This driver allows use of the real time clock (built into * nearly all computers) from user space. It exports the /dev/rtc * interface supporting various ioctl() and also the * /proc/driver/rtc pseudo-file for status information. * * The ioctls can be used to set ...
google
android
raw
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/char/raw.c
8,524
utf_8
85a491341d4d4aeecc8c35e7c8b6610d
/* * linux/drivers/char/raw.c * * Front-end raw character devices. These can be bound to any block * devices to provide genuine Unix raw character device semantics. * * We reserve minor number 0 for a control interface. ioctl()s on this * device are used to bind the other minor numbers to block devices. */ #i...
google
android
generic_nvram
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/char/generic_nvram.c
3,503
utf_8
8eab380930e38e17cb3e6e98499229df
/* * Generic /dev/nvram driver for architectures providing some * "generic" hooks, that is : * * nvram_read_byte, nvram_write_byte, nvram_sync, nvram_get_size * * Note that an additional hook is supported for PowerMac only * for getting the nvram "partition" informations * */ #define NVRAM_VERSION "1.1" #inclu...
google
android
random
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/char/random.c
56,321
utf_8
9e5a17b7f7361a1c356e6ce994f33b7b
/* * random.c -- A strong random number generator * * * DAMAGE. */ /* * (now, with legal B.S. out of the way.....) * * This routine gathers environmental noise from device drivers, etc., * and returns good random numbers, suitable for cryptographic use. * Besides the obvious cryptographic uses, these numbers ...
google
android
nsc_gpio
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/char/nsc_gpio.c
3,554
utf_8
b78cfc28dcddd3fd5c7a4d48366837f7
/* linux/drivers/char/nsc_gpio.c National Semiconductor common GPIO device-file/VFS methods. Allows a user space process to control the GPIO pins. */ #include <linux/fs.h> #include <linux/module.h> #include <linux/errno.h> #include <linux/kernel.h> #include <linux/init.h> #include <linux/nsc_gpio.h> #include <lin...
google
android
scx200_gpio
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/char/scx200_gpio.c
3,128
utf_8
670a9ab5cd7a2258010b7ab315359be5
/* linux/drivers/char/scx200_gpio.c National Semiconductor SCx200 GPIO driver. Allows a user space process to play with the GPIO pins. #include <linux/device.h> #include <linux/fs.h> #include <linux/module.h> #include <linux/errno.h> #include <linux/kernel.h> #include <linux/init.h> #include <linux/platform_devi...
google
android
tlclk
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/char/tlclk.c
23,936
utf_8
b12a2753860e024680921227c44293e1
/* * Telecom Clock driver for Intel NetStructure(tm) MPCBL0010 * * * Description : This is the TELECOM CLOCK module driver for the ATCA * MPCBL0010 ATCA computer. */ #include <linux/module.h> #include <linux/init.h> #include <linux/kernel.h> /* printk() */ #include <linux/fs.h> /* everything... */ #include <linu...
google
android
ps3flash
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/char/ps3flash.c
10,921
utf_8
82b5ce5ca708ea7c05f59a3b11404d49
/* * PS3 FLASH ROM Storage Driver * * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include <linux/fs.h> #include <linux/miscdevice.h> #include <linux/slab.h> #include <linux/uaccess.h> #include <linux/module.h> #include <asm/lv1call.h> #include <asm/ps3stor.h> #define DEVICE_NAME "ps3flash" #def...
google
android
genrtc
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/char/genrtc.c
13,061
utf_8
bad7923ab8a00b7293cf24c654172ff8
/* * Real Time Clock interface for * - q40 and other m68k machines, * - HP PARISC machines * - PowerPC machines * * based on Paul Gortmaker's rtc.c device and * Sam Creasey Generic rtc driver * * This driver allows use of the real time clock (built into * nearly all computers) from user space. It...
google
android
pc8736x_gpio
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/char/pc8736x_gpio.c
8,975
utf_8
a9f389340ce65c4bc4262fd723e589a8
/* linux/drivers/char/pc8736x_gpio.c National Semiconductor PC8736x GPIO driver. Allows a user space process to play with the GPIO pins. */ #include <linux/fs.h> #include <linux/module.h> #include <linux/errno.h> #include <linux/kernel.h> #include <linux/init.h> #include <linux/cdev.h> #include <linux/io.h> #inc...
google
android
uv_mmtimer
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/char/uv_mmtimer.c
5,647
utf_8
d804258e87750a172308bc55537bb7a6
/* * Timer device implementation for SGI UV platform. * * This file is subject to the terms and conditions of the GNU General Public * */ #include <linux/types.h> #include <linux/kernel.h> #include <linux/ioctl.h> #include <linux/module.h> #include <linux/init.h> #include <linux/errno.h> #include <linux/mm.h> #inc...
google
android
nvram
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/char/nvram.c
17,467
utf_8
cb3aa5a7f9bb53644648a118ff1af845
/* * CMOS/NV-RAM driver for Linux * * * This driver allows you to access the contents of the non-volatile memory in * the mc146818rtc.h real-time clock. This chip is built into all PCs and into * many Atari machines. In the former it's called "CMOS-RAM", in the latter * "NVRAM" (NV stands for non-volatile). * ...
google
android
toshiba
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/char/toshiba.c
13,562
utf_8
4a94afa4e7191ca5832581b9b2dc3d67
/* toshiba.c -- Linux driver for accessing the SMM on Toshiba laptops * * code has the potential to render your computer and/or someone else's * unusable. Please proceed with care when modifying the code. * * Note: Unfortunately the laptop hardware can close the System Configuration * Interface on it's ...
google
android
mspec
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/char/mspec.c
10,917
utf_8
0e10e45143c0141b80e2e48dfff12822
/* */ /* * SN Platform Special Memory (mspec) Support * * This driver exports the SN special memory (mspec) facility to user * processes. * There are three types of memory made available thru this driver: * fetchops, uncached and cached. * * Fetchops are atomic memory operations that are implemented in the * ...
google
android
tile-srom
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/char/tile-srom.c
11,869
utf_8
fbb8009a14c198ab52253016056a4f28
/* * more details. * * SPI Flash ROM driver * * This source code is derived from code provided in "Linux Device * Drivers, Third Edition", by Jonathan Corbet, Alessandro Rubini, and * Greg Kroah-Hartman, published by O'Reilly Media, Inc. */ #include <linux/module.h> #include <linux/moduleparam.h> #include <li...
google
android
nwflash
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/char/nwflash.c
13,461
utf_8
32fbd0f29262f23668e1785d91fd7e98
/* * Flash memory interface rev.5 driver for the Intel * Flash chips used on the NetWinder. * * 20/08/2000 RMK use __ioremap to map flash into virtual memory * make a few more places use "volatile" * 22/05/2001 RMK - Lock read against write * - merge printk level changes (with mods) from Alan Cox. * - use...
google
android
sonypi
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/char/sonypi.c
41,986
windows_1250
40ca624989921a0d0eb8da41e374d715
/* * Sony Programmable I/O Control Device driver for VAIO * * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * */ #include <linux...
google
android
ds1302
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/char/ds1302.c
7,688
utf_8
df03732e824b617f9827c00c7458dc97
/*!*************************************************************************** *! *! FILE NAME : ds1302.c *! *! DESCRIPTION: Implements an interface for the DS1302 RTC *! *! Functions exported: ds1302_readreg, ds1302_writereg, ds1302_init, get_rtc_status *! *! ----------------------------------------------------------...
google
android
mem
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/char/mem.c
18,808
utf_8
cbe9847d3ada1b7d6d0128699dffb353
/* * linux/drivers/char/mem.c * */ #include <linux/mm.h> #include <linux/miscdevice.h> #include <linux/slab.h> #include <linux/vmalloc.h> #include <linux/mman.h> #include <linux/random.h> #include <linux/init.h> #include <linux/raw.h> #include <linux/tty.h> #include <linux/capability.h> #include <linux/ptrace.h> #i...
google
android
tb0219
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/char/tb0219.c
7,945
utf_8
c51c7ddddcbb685164dbce562c43e632
/* * Driver for TANBAC TB0219 base board. * * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #include <linux/platform_device.h> #include <linux/fs.h> #include <linux/init.h> #include <linux/module.h> #include <asm/io.h> #include <asm/reboot.h> #include <asm/vr41xx/giu.h> #include <as...
google
android
nwbutton
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/char/nwbutton.c
8,127
utf_8
79b85070f419dbc1cb6163aa228de982
/* * NetWinder Button Driver- * */ #include <linux/module.h> #include <linux/kernel.h> #include <linux/sched.h> #include <linux/interrupt.h> #include <linux/time.h> #include <linux/timer.h> #include <linux/fs.h> #include <linux/miscdevice.h> #include <linux/string.h> #include <linux/errno.h> #include <linux/init.h>...
google
android
ppdev
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/char/ppdev.c
19,549
utf_8
14d87d91bd33c91cfd8d611d1de4e64c
/* * linux/drivers/char/ppdev.c * * This is the code behind /dev/parport* -- it allows a user-space * application to use the parport subsystem. * * * A /dev/parportx device node represents an arbitrary device * on port 'x'. The following operations are possible: * * open do nothing, set up default IEEE 1284...
google
android
mbcs
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/char/mbcs.c
20,309
utf_8
428e96a6e88eabf1d561509513fbe31b
/* * This file is subject to the terms and conditions of the GNU General Public */ /* * MOATB Core Services driver. */ #include <linux/interrupt.h> #include <linux/module.h> #include <linux/moduleparam.h> #include <linux/types.h> #include <linux/ioport.h> #include <linux/kernel.h> #include <linux/notifier.h> #inclu...
google
android
bsr
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/char/bsr.c
9,120
utf_8
39cc7eed3664240bc47db79f92e90119
/* IBM POWER Barrier Synchronization Register Driver * * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #include <linux/kernel.h> #include <linux/of.h> #include <linux/of_address.h> #include <linux/of_device.h> #include <linux/of_platform.h> #include <linux/fs.h> #include <linux/module.h...
google
android
hpet
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/char/hpet.c
24,769
utf_8
02978074524538e6eae890a36933a4e1
/* * Intel & MS High Precision Event Timer Implementation. * */ #include <linux/interrupt.h> #include <linux/kernel.h> #include <linux/types.h> #include <linux/miscdevice.h> #include <linux/major.h> #include <linux/ioport.h> #include <linux/fcntl.h> #include <linux/init.h> #include <linux/poll.h> #include <linux/mm....
google
android
ttyprintk
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/char/ttyprintk.c
5,361
utf_8
999135c1e2dfb0284c81afd8b2089eaa
/* * linux/drivers/char/ttyprintk.c * */ /* * This pseudo device allows user to make printk messages. It is possible * to store "console" messages inline with kernel messages for better analyses * of the boot process, for example. */ #include <linux/device.h> #include <linux/serial.h> #include <linux/tty.h> #in...
google
android
bfin-otp
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/char/bfin-otp.c
6,074
utf_8
bd1a0d4f3b096ffa3643474e2b9efefd
/* * Blackfin On-Chip OTP Memory Interface * */ #include <linux/device.h> #include <linux/errno.h> #include <linux/fs.h> #include <linux/init.h> #include <linux/miscdevice.h> #include <linux/module.h> #include <linux/mutex.h> #include <linux/types.h> #include <mtd/mtd-abi.h> #include <asm/blackfin.h> #include <asm/b...
google
android
dtlk
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/char/dtlk.c
16,669
utf_8
9f9c600f56205929e2d54a1eb3c04d19
/* -*- linux-c -*- * dtlk.c - DoubleTalk PC driver for Linux * * * 2000-03-18 Jim Van Zandt: Fix polling. * Eliminate dtlk_timer_active flag and separate dtlk_stop_timer * function. Don't restart timer in dtlk_timer_tick. Restart timer * in dtlk_poll after every...
google
android
snsc
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/char/snsc.c
11,233
utf_8
f9a91376c4551b5603065281227e701d
/* * SN Platform system controller communication support * * This file is subject to the terms and conditions of the GNU General Public */ /* * System controller communication driver * * This driver allows a user process to communicate with the system * controller (a.k.a. "IRouter") network in an SGI SN system....
google
android
efirtc
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/char/efirtc.c
9,474
utf_8
ec10f11f75f79de135fd318f55d93920
/* * EFI Time Services Driver for Linux * * * Based on skeleton from the drivers/char/rtc.c driver by P. Gortmaker * * This code provides an architected & portable interface to the real time * clock by using EFI instead of direct bit fiddling. The functionalities are * quite different from the rtc.c driver. Th...
google
android
hangcheck-timer
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/char/hangcheck-timer.c
5,815
utf_8
82f528d14dffd228da21cd678a546eee
/* * hangcheck-timer.c * * Driver for a little io fencing timer. * * Boston, MA 021110-1307, USA. */ /* * The hangcheck-timer driver uses the TSC to catch delays that * jiffies does not notice. A timer is set. When the timer fires, it * checks whether it was delayed and if that delay exceeds a given * margi...
google
android
snsc_event
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/char/snsc_event.c
7,405
utf_8
1e992e087e7a3e8a3fb143c746322a37
/* * SN Platform system controller communication support * * This file is subject to the terms and conditions of the GNU General Public */ /* * System controller event handler * * These routines deal with environmental events arriving from the * system controllers. */ #include <linux/interrupt.h> #include <lin...
google
android
ipmi_powernv
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/char/ipmi/ipmi_powernv.c
7,662
utf_8
d26c4b9f7a990f8fc29ee91a84e55d83
/* * PowerNV OPAL IPMI driver * * any later version. */ #define pr_fmt(fmt) "ipmi-powernv: " fmt #include <linux/ipmi_smi.h> #include <linux/list.h> #include <linux/module.h> #include <linux/of.h> #include <linux/of_irq.h> #include <linux/interrupt.h> #include <asm/opal.h> struct ipmi_smi_powernv { u64 in...
google
android
ipmi_kcs_sm
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/char/ipmi/ipmi_kcs_sm.c
13,810
utf_8
1652b0b1265d4a316e943092916041b7
/* * ipmi_kcs_sm.c * * State machine for handling IPMI KCS interfaces. * * 675 Mass Ave, Cambridge, MA 02139, USA. */ /* * This state machine is taken from the state machine in the IPMI spec, * pretty much verbatim. If you have questions about the states, see * that document. */ #include <linux/kernel.h> /*...
google
android
ipmi_poweroff
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/char/ipmi/ipmi_poweroff.c
19,876
utf_8
75f229d1df1faf3528ed432b711c6035
/* * ipmi_poweroff.c * * MontaVista IPMI Poweroff extension to sys_reboot * * 675 Mass Ave, Cambridge, MA 02139, USA. */ #include <linux/module.h> #include <linux/moduleparam.h> #include <linux/proc_fs.h> #include <linux/string.h> #include <linux/completion.h> #include <linux/pm.h> #include <linux/kdev_t.h> #inc...
google
android
ipmi_si_intf
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/char/ipmi/ipmi_si_intf.c
100,612
utf_8
efaf2dfbfcab0ff24d0fe14d345ba5a0
/* * ipmi_si.c * * The interface to the IPMI driver for the system interfaces (KCS, SMIC, * BT). * * 675 Mass Ave, Cambridge, MA 02139, USA. */ /* * This file holds the "policy" for the interface to the SMI state * machine. It does the configuration, handles timers and interrupts, * and drives the real SMI ...
google
android
ipmi_devintf
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/char/ipmi/ipmi_devintf.c
22,249
utf_8
48df02791677e5795adeac0cca14861f
/* * ipmi_devintf.c * * Linux device interface for the IPMI message handler. * * 675 Mass Ave, Cambridge, MA 02139, USA. */ #include <linux/module.h> #include <linux/moduleparam.h> #include <linux/errno.h> #include <linux/poll.h> #include <linux/sched.h> #include <linux/spinlock.h> #include <linux/slab.h> #inclu...