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 | i2c-lpc2k | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/i2c/busses/i2c-lpc2k.c | 12,744 | utf_8 | cbe4fd8680f2f7590ed07f7957e269c5 | /*
* (at your option) any later version.
*
*/
#include <linux/clk.h>
#include <linux/errno.h>
#include <linux/i2c.h>
#include <linux/interrupt.h>
#include <linux/io.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/of.h>
#include <linux/of_device.h>
#include <linux/platform_device.h>
#include <l... |
google | android | i2c-simtec | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/i2c/busses/i2c-simtec.c | 3,616 | utf_8 | 0e50934dcbc3feb3749a03c4b632fa0a | /*
*/
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/delay.h>
#include <linux/platform_device.h>
#include <linux/slab.h>
#include <linux/io.h>
#include <linux/i2c.h>
#include <linux/i2c-algo-bit.h>
struct simtec_i2c_data {
struct resource *ioarea;
void __iomem *reg;
struct i2c_adapter adap;
... |
google | android | i2c-emev2 | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/i2c/busses/i2c-emev2.c | 8,113 | utf_8 | 4d9adbf041f354b1a062b4fc0464fad6 | /*
* I2C driver for the Renesas EMEV2 SoC
*
*/
#include <linux/clk.h>
#include <linux/completion.h>
#include <linux/device.h>
#include <linux/i2c.h>
#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 <li... |
google | android | i2c-bfin-twi | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/i2c/busses/i2c-bfin-twi.c | 19,208 | utf_8 | f44d18434daf20bd2859f9d7e5dbbf8a | /*
* Blackfin On-Chip Two Wire Interface Driver
*
*/
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/i2c.h>
#include <linux/slab.h>
#include <linux/io.h>
#include <linux/mm.h>
#include <linux/timer.h>
#include <linux/spinlock.h>
#include <linux/completion.h>
#include <linu... |
google | android | i2c-octeon | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/i2c/busses/i2c-octeon.c | 15,293 | utf_8 | ac737d76ab595ff589f58434eee140e7 | /*
* warranty of any kind, whether express or implied.
*/
#include <linux/platform_device.h>
#include <linux/interrupt.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/delay.h>
#include <linux/sched.h>
#include <linux/slab.h>
#include <linux/i2c.h>
#include <linux/io.h>
#include <linux/of.h>
#in... |
google | android | i2c-tiny-usb | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/i2c/busses/i2c-tiny-usb.c | 7,762 | utf_8 | b75e8d87b2b51fe68013e01eafcbb13c | /*
* driver for the i2c-tiny-usb adapter - 1.0
* http://www.harbaum.org/till/i2c_tiny_usb
*
*
*/
#include <linux/kernel.h>
#include <linux/errno.h>
#include <linux/module.h>
#include <linux/slab.h>
#include <linux/types.h>
/* include interfaces to usb layer */
#include <linux/usb.h>
/* include interface to i2c lay... |
google | android | i2c-sh_mobile | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/i2c/busses/i2c-sh_mobile.c | 29,776 | utf_8 | f934c4ce9a01f20c45620a89c7a79f6c | /*
* SuperH Mobile I2C Controller
*
*/
#include <linux/clk.h>
#include <linux/delay.h>
#include <linux/dmaengine.h>
#include <linux/dma-mapping.h>
#include <linux/err.h>
#include <linux/i2c.h>
#include <linux/i2c/i2c-sh_mobile.h>
#include <linux/init.h>
#include <linux/interrupt.h>
#include <linux/io.h>
#include <li... |
google | android | i2c-au1550 | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/i2c/busses/i2c-au1550.c | 9,180 | utf_8 | 592d2ec95701216028862752125ea546 | /*
* i2c-au1550.c: SMBus (i2c) adapter for Alchemy PSC interface
*/
#include <linux/delay.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/platform_device.h>
#include <linux/errno.h>
#include <linux/i2c.h>
#include <linux/slab.h>
#include <asm/mach-au1x00/au1000.h>
#include <asm/mach-au1x00/au1x... |
google | android | i2c-at91 | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/i2c/busses/i2c-at91.c | 35,242 | utf_8 | 77423163ae4032917bee92e5cc41b82a | /*
* i2c Support for Atmel's AT91 Two-Wire Interface (TWI)
*
* (at your option) any later version.
*/
#include <linux/clk.h>
#include <linux/completion.h>
#include <linux/dma-mapping.h>
#include <linux/dmaengine.h>
#include <linux/err.h>
#include <linux/i2c.h>
#include <linux/interrupt.h>
#include <linux/io.h>
#i... |
google | android | scx200_acb | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/i2c/busses/scx200_acb.c | 13,762 | utf_8 | ff9e1ac0be347a89a40bf7dfa0a0eddd | /*
*/
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
#include <linux/module.h>
#include <linux/errno.h>
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/i2c.h>
#include <linux/pci.h>
#include <linux/platform_device.h>
#include <linux/delay.h>
#include <linux/mutex.h>
#include <linux/slab.h>
#include <linu... |
google | android | i2c-omap | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/i2c/busses/i2c-omap.c | 41,678 | utf_8 | 55a91dc2a4de0fa2b7775c743391e0ba | /*
* TI OMAP I2C master mode driver
*
*/
#include <linux/module.h>
#include <linux/delay.h>
#include <linux/i2c.h>
#include <linux/err.h>
#include <linux/interrupt.h>
#include <linux/completion.h>
#include <linux/platform_device.h>
#include <linux/clk.h>
#include <linux/io.h>
#include <linux/of.h>
#include <linux/of... |
google | android | i2c-gpio | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/i2c/busses/i2c-gpio.c | 7,156 | utf_8 | 6daf47f61395f35aeadc496bec0d3be8 | /*
* Bitbanging I2C bus driver using the GPIO API
*
*/
#include <linux/i2c.h>
#include <linux/i2c-algo-bit.h>
#include <linux/i2c-gpio.h>
#include <linux/init.h>
#include <linux/module.h>
#include <linux/slab.h>
#include <linux/platform_device.h>
#include <linux/gpio.h>
#include <linux/of.h>
#include <linux/of_gpio.... |
google | android | i2c-opal | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/i2c/busses/i2c-opal.c | 7,326 | utf_8 | cae646873dff248e8e5dc286cfe2ce56 | /*
* IBM OPAL I2C driver
* along with this program.
*/
#include <linux/device.h>
#include <linux/i2c.h>
#include <linux/kernel.h>
#include <linux/mm.h>
#include <linux/module.h>
#include <linux/of.h>
#include <linux/platform_device.h>
#include <linux/slab.h>
#include <asm/firmware.h>
#include <asm/opal.h>
static int... |
google | android | i2c-st | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/i2c/busses/i2c-st.c | 22,163 | utf_8 | 502b4967d24fa7d9c91ea8e12b3f3858 | /*
*/
#include <linux/clk.h>
#include <linux/delay.h>
#include <linux/err.h>
#include <linux/i2c.h>
#include <linux/interrupt.h>
#include <linux/io.h>
#include <linux/module.h>
#include <linux/of_address.h>
#include <linux/of_irq.h>
#include <linux/of.h>
#include <linux/pinctrl/consumer.h>
#include <linux/platform_dev... |
google | android | i2c-ali1535 | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/i2c/busses/i2c-ali1535.c | 16,244 | utf_8 | b1b30fa32e41984a5a91e888045c20dc | /*
*/
/*
This is the driver for the SMB Host controller on
Acer Labs Inc. (ALI) M1535 South Bridge.
The M1535 is a South bridge for portable systems.
It is very similar to the M15x3 South bridges also produced
by Acer Labs Inc. Some of the registers within the part
have moved and some have been... |
google | android | i2c-dln2 | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/i2c/busses/i2c-dln2.c | 6,277 | utf_8 | 771400846eb614dcd3b74babdd2904b4 | /*
* Driver for the Diolan DLN-2 USB-I2C adapter
*
*/
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/types.h>
#include <linux/slab.h>
#include <linux/i2c.h>
#include <linux/platform_device.h>
#include <linux/mfd/dln2.h>
#define DLN2_I2C_MODULE_ID 0x03
#define DLN2_I2C_CMD(cmd) DLN2_CMD(cmd, DL... |
google | android | i2c-cadence | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/i2c/busses/i2c-cadence.c | 29,289 | utf_8 | 668e16cbd5c76d75a4e0862a29917113 | /*
* I2C bus driver for the Cadence I2C controller.
*
* later version.
*/
#include <linux/clk.h>
#include <linux/delay.h>
#include <linux/i2c.h>
#include <linux/interrupt.h>
#include <linux/io.h>
#include <linux/module.h>
#include <linux/platform_device.h>
#include <linux/of.h>
/* Register offsets for the I2C devic... |
google | android | i2c-mpc | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/i2c/busses/i2c-mpc.c | 22,175 | utf_8 | 949852756f15d2aed111505d576c511e | /*
* warranty of any kind, whether express or implied.
*/
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/sched.h>
#include <linux/of_address.h>
#include <linux/of_irq.h>
#include <linux/of_platform.h>
#include <linux/slab.h>
#include <linux/clk.h>
#include <linux/io.h>
#include <linux/fsl_devices... |
google | android | i2c-pnx | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/i2c/busses/i2c-pnx.c | 21,386 | utf_8 | 2d0f2091a56a6ce1bd1fc28a79cdf4e5 | /*
* Provides I2C support for Philips PNX010x/PNX4008 boards.
*
* or implied.
*/
#include <linux/module.h>
#include <linux/interrupt.h>
#include <linux/ioport.h>
#include <linux/delay.h>
#include <linux/i2c.h>
#include <linux/timer.h>
#include <linux/completion.h>
#include <linux/platform_device.h>
#include <linux/... |
google | android | i2c-xlr | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/i2c/busses/i2c-xlr.c | 6,939 | utf_8 | 9f389baae47b18f1ece811ed1dff0e0d | /*
* warranty of any kind, whether express or implied.
*/
#include <linux/err.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/slab.h>
#include <linux/ioport.h>
#include <linux/delay.h>
#include <linux/errno.h>
#include <linux/i2c.h>
#include <linux/io.h>
#include <linux/platform_device.h>
/* XL... |
google | android | i2c-iop3xx | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/i2c/busses/i2c-iop3xx.c | 12,660 | utf_8 | 070df24c691614a3ab8b8bb7c8e83fdb | /* ------------------------------------------------------------------------- */
/* i2c-iop3xx.c i2c driver algorithms for Intel XScale IOP3xx & IXP46x */
*
* - Use driver model to pass per-chip info instead of hardcoding and #ifdefs
* - Use ioremap/__raw_readl/__raw_writel instead of direct dereference
* - Ma... |
google | android | i2c-nforce2 | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/i2c/busses/i2c-nforce2.c | 12,804 | utf_8 | 49f4ea54fabaaf0086d444b89d755ee0 | /*
SMBus driver for nVidia nForce2 MCP
*/
/*
SUPPORTED DEVICES PCI ID
nForce2 MCP 0064
nForce2 Ultra 400 MCP 0084
nForce3 Pro150 MCP 00D4
nForce3 250Gb MCP 00E4
nForce4 MCP 0052
nForce4 MCP-04 0034
nForce MCP51 0264
nForce MCP55 0368
nForce MCP61 03EB
nForce MC... |
google | android | i2c-sh7760 | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/i2c/busses/i2c-sh7760.c | 13,210 | utf_8 | 8999f1ec9a830cbb26ecbb29491ca465 | /*
* I2C bus driver for the SH7760 I2C Interfaces.
*
*
*/
#include <linux/completion.h>
#include <linux/delay.h>
#include <linux/err.h>
#include <linux/i2c.h>
#include <linux/interrupt.h>
#include <linux/ioport.h>
#include <linux/platform_device.h>
#include <linux/slab.h>
#include <linux/io.h>
#include <linux/modul... |
google | android | i2c-brcmstb | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/i2c/busses/i2c-brcmstb.c | 17,852 | utf_8 | 67959662ae4a56ccc75d1903e5fe4110 | /*
*/
#include <linux/clk.h>
#include <linux/delay.h>
#include <linux/device.h>
#include <linux/i2c.h>
#include <linux/interrupt.h>
#include <linux/io.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/platform_device.h>
#include <linux/sched.h>
#include <linux/slab.h>
#include <linux/version.h>
#d... |
google | android | i2c-sibyte | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/i2c/busses/i2c-sibyte.c | 5,474 | utf_8 | df10818c344611ad8f866792eab1811e | /*
*/
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/init.h>
#include <linux/i2c.h>
#include <linux/io.h>
#include <asm/sibyte/sb1250_regs.h>
#include <asm/sibyte/sb1250_smbus.h>
struct i2c_algo_sibyte_data {
void *data; /* private data */
int bus; /* which bus */
void *reg_base; /* CSR ba... |
google | android | i2c-mxs | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/i2c/busses/i2c-mxs.c | 25,041 | utf_8 | 4ff68a581725e93aa8b927185a1e8cf2 | /*
* Freescale MXS I2C bus driver
*
* (at your option) any later version.
*
*/
#include <linux/slab.h>
#include <linux/device.h>
#include <linux/module.h>
#include <linux/i2c.h>
#include <linux/err.h>
#include <linux/interrupt.h>
#include <linux/completion.h>
#include <linux/platform_device.h>
#include <linux/jiff... |
google | android | i2c-parport | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/i2c/busses/i2c-parport.c | 9,130 | utf_8 | 8fb25a76d9a07eeec331df3823dd9355 | /* ------------------------------------------------------------------------ *
* i2c-parport.c I2C bus over parallel port *
* ------------------------------------------------------------------------ */
#define pr_fmt(fmt) "i2c-parport: " fmt
#include <linux/kernel.h>
#include <linux/mod... |
google | android | i2c-sis96x | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/i2c/busses/i2c-sis96x.c | 8,528 | utf_8 | b4116a36f899884603a7cdac04450c63 | /*
*/
/*
This module must be considered BETA unless and until
the chipset manufacturer releases a datasheet.
The register definitions are based on the SiS630.
This module relies on quirk_sis_96x_smbus (drivers/pci/quirks.c)
for just about every machine for which users have reported.
If this modu... |
google | android | i2c-sun6i-p2wi | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/i2c/busses/i2c-sun6i-p2wi.c | 8,816 | utf_8 | 6792cce5a467b0d26ce44a847c0dbafe | /*
* P2WI (Push-Pull Two Wire Interface) bus driver.
*
* kind, whether express or implied.
*
* The P2WI controller looks like an SMBus controller which only supports byte
* data transfers. But, it differs from standard SMBus protocol on several
* aspects:
* - it supports only one slave device, and thus drop the... |
google | android | i2c-diolan-u2c | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/i2c/busses/i2c-diolan-u2c.c | 13,334 | utf_8 | 1e3f6da83b540be14da9881702f789c1 | /*
* Driver for the Diolan u2c-12 USB-I2C adapter
*
*/
#include <linux/kernel.h>
#include <linux/errno.h>
#include <linux/module.h>
#include <linux/types.h>
#include <linux/slab.h>
#include <linux/usb.h>
#include <linux/i2c.h>
#define DRIVER_NAME "i2c-diolan-u2c"
#define USB_VENDOR_ID_DIOLAN 0x0abf
#define USB_DEV... |
google | android | i2c-sis5595 | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/i2c/busses/i2c-sis5595.c | 11,651 | utf_8 | 72988fe5ef04640f2bb57c89ece60718 | /*
*/
/* Note: we assume there can only be one SIS5595 with one SMBus interface */
/*
Note: all have mfr. ID 0x1039.
SUPPORTED PCI ID
5595 0008
Note: these chips contain a 0008 device which is incompatible with the
5595. We recognize these by the presence of the listed
"blacklist" PCI ID... |
google | android | i2c-s3c2410 | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/i2c/busses/i2c-s3c2410.c | 33,784 | utf_8 | f6463eb8a6c6e699b54b35f15aecf367 | /* linux/drivers/i2c/busses/i2c-s3c2410.c
*
*/
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/i2c.h>
#include <linux/init.h>
#include <linux/time.h>
#include <linux/interrupt.h>
#include <linux/delay.h>
#include <linux/errno.h>
#include <linux/err.h>
#include <linux/platform_device.h>
#include <li... |
google | android | i2c-rcar | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/i2c/busses/i2c-rcar.c | 17,685 | utf_8 | e100e1645ef79519380c9c9357d8fe6a | /*
* Driver for the Renesas RCar I2C unit
*
*/
#include <linux/clk.h>
#include <linux/delay.h>
#include <linux/err.h>
#include <linux/interrupt.h>
#include <linux/io.h>
#include <linux/i2c.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/of_device.h>
#include <linux/platform_device.h>
#include ... |
google | android | i2c-via | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/i2c/busses/i2c-via.c | 4,025 | utf_8 | 4ea88c5e1991ff1e1edc8bdcfd861ed1 | /*
i2c Support for Via Technologies 82C586B South Bridge
*/
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/pci.h>
#include <linux/ioport.h>
#include <linux/i2c.h>
#include <linux/i2c-algo-bit.h>
#include <linux/io.h>
/* Power management registers */
#define PM_CFG_REVID 0x08 /* silicon revision... |
google | android | i2c-ali15x3 | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/i2c/busses/i2c-ali15x3.c | 15,545 | utf_8 | fe78ce3274f6ec59403324ecf9bef891 | /*
*/
/*
This is the driver for the SMB Host controller on
Acer Labs Inc. (ALI) M1541 and M1543C South Bridges.
The M1543C is a South bridge for desktop systems.
The M1533 is a South bridge for portable systems.
They are part of the following ALI chipsets:
"Aladdin Pro 2": Includes the M1621 ... |
google | android | i2c-imx | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/i2c/busses/i2c-imx.c | 34,019 | utf_8 | 8bd62a9569792c580cca961ea5490541 | /*
*
* Author:
* Darius Augulis, Teltonika Inc.
*
* Desc.:
* Implementation of I2C Adapter/Algorithm Driver
* for I2C Bus integrated in Freescale i.MX/MXC processors
*
* Derived from Motorola GSG China I2C example driver
*
*
*/
/** Includes *******************************************************************... |
google | android | i2c-i801 | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/i2c/busses/i2c-i801.c | 43,974 | utf_8 | 463f5fe41206f8ad9da95fb12a2ffea2 | /*
*/
/*
* Supports the following Intel I/O Controller Hubs (ICH):
*
* I/O Block I2C
* region SMBus Block proc. block
* Chip name PCI ID size PEC buffer call read
* ---------------------------------------------------------------------------
* 82801AA (ICH) 0x2413 16 no no no no
* 82801AB (ICH0) 0x... |
google | android | i2c-pxa-pci | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/i2c/busses/i2c-pxa-pci.c | 3,651 | utf_8 | 1aec64b12613aff8598f1cf80dadb962 | /*
* The CE4100's I2C device is more or less the same one as found on PXA.
* It does not support slave mode, the register slightly moved. This PCI
* device provides three bars, every contains a single I2C controller.
*/
#include <linux/module.h>
#include <linux/pci.h>
#include <linux/platform_device.h>
#include <li... |
google | android | i2c-mt65xx | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/i2c/busses/i2c-mt65xx.c | 19,929 | utf_8 | 1bd8e65af21c4b05a06b6bf9951164e5 | /*
*/
#include <linux/clk.h>
#include <linux/completion.h>
#include <linux/delay.h>
#include <linux/device.h>
#include <linux/dma-mapping.h>
#include <linux/err.h>
#include <linux/errno.h>
#include <linux/i2c.h>
#include <linux/init.h>
#include <linux/interrupt.h>
#include <linux/io.h>
#include <linux/kernel.h>
#inclu... |
google | android | i2c-acorn | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/i2c/busses/i2c-acorn.c | 1,972 | utf_8 | 9db8a8a7d3d754af767c4ebb35c2c96a | /*
* linux/drivers/acorn/char/i2c.c
*
*
* ARM IOC/IOMD i2c driver.
*
* On Acorn machines, the following i2c devices are on the bus:
* - PCF8583 real time clock & static RAM
*/
#include <linux/module.h>
#include <linux/i2c.h>
#include <linux/i2c-algo-bit.h>
#include <linux/io.h>
#include <mach/hardware.h>
#in... |
google | android | i2c-powermac | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/i2c/busses/i2c-powermac.c | 12,416 | utf_8 | 425e437e7f03d2275b6386567f894792 | /*
i2c Support for Apple SMU Controller
*/
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/types.h>
#include <linux/i2c.h>
#include <linux/device.h>
#include <linux/platform_device.h>
#include <linux/of_irq.h>
#include <asm/prom.h>
#include <asm/pmac_low_i2c.h>
/*
* SMBUS-type transfer entrypoi... |
google | android | i2c-pxa | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/i2c/busses/i2c-pxa.c | 32,806 | utf_8 | d2dc5be6d735e834895e9660dd6abe9e | /*
* i2c_adap_pxa.c
*
* I2C adapter for the PXA I2C bus access.
*
*
* History:
* Apr 2002: Initial version [CS]
* Jun 2002: Properly separated algo/adap [FB]
* Jan 2003: Fixed several bugs concerning interrupt handling [Kai-Uwe Bloem]
* Jan 2003: added limited signal handling [Kai-Uwe Bloem]
*... |
google | android | i2c-rk3x | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/i2c/busses/i2c-rk3x.c | 26,942 | utf_8 | 8f04e3bf1bf357ddcebb98e372b3253c | /*
* Driver for I2C adapter in Rockchip RK3xxx SoC
*
*/
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/i2c.h>
#include <linux/interrupt.h>
#include <linux/errno.h>
#include <linux/err.h>
#include <linux/platform_device.h>
#include <linux/io.h>
#include <linux/of_address.h>
#include <linux/of_irq... |
google | android | i2c-amd8111 | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/i2c/busses/i2c-amd8111.c | 12,241 | utf_8 | c0643c5f53468af42c0d00477ade0640 | /*
* SMBus 2.0 driver for AMD-8111 IO-Hub.
*
*/
#include <linux/module.h>
#include <linux/pci.h>
#include <linux/kernel.h>
#include <linux/stddef.h>
#include <linux/ioport.h>
#include <linux/i2c.h>
#include <linux/delay.h>
#include <linux/acpi.h>
#include <linux/slab.h>
#include <linux/io.h>
MODULE_DESCRIPTION("AMD8... |
google | android | i2c-xiic | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/i2c/busses/i2c-xiic.c | 23,376 | utf_8 | badb1812f9d19d382c3ddff5d72a3dc4 | /*
* i2c-xiic.c
* as seen in the header is Intel corporation.
* Mocean Laboratories forked off the GNU/Linux platform work into a
* separate company called Pelagicore AB, which committed the code to the
* kernel.
*/
/* Supports:
* Xilinx IIC
*/
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux... |
google | android | i2c-cros-ec-tunnel | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/i2c/busses/i2c-cros-ec-tunnel.c | 8,052 | utf_8 | a307eddf2edecf5a82494bca0b66eb9c | /*
* (at your option) any later version.
*
* Expose an I2C passthrough to the ChromeOS EC.
*/
#include <linux/module.h>
#include <linux/i2c.h>
#include <linux/mfd/cros_ec.h>
#include <linux/mfd/cros_ec_commands.h>
#include <linux/platform_device.h>
#include <linux/slab.h>
#define I2C_MAX_RETRIES 3
/**
* struct ec... |
google | android | i2c-bcm2835 | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/i2c/busses/i2c-bcm2835.c | 8,619 | utf_8 | 555e4f41e3adf7ee30dd470760ac9442 | /*
* BCM2835 master mode driver
*
*/
#include <linux/clk.h>
#include <linux/completion.h>
#include <linux/err.h>
#include <linux/i2c.h>
#include <linux/interrupt.h>
#include <linux/io.h>
#include <linux/module.h>
#include <linux/platform_device.h>
#include <linux/slab.h>
#define BCM2835_I2C_C 0x0
#define BCM2835_I2... |
google | android | i2c-pmcmsp | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/i2c/busses/i2c-pmcmsp.c | 16,995 | utf_8 | 443a341e037d816596efcc6086a96b71 | /*
* Specific bus support for PMC-TWI compliant implementation on MSP71xx.
*
*/
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/platform_device.h>
#include <linux/i2c.h>
#include <linux/interrupt.h>
#include <linux/completion.h>
#include <linux/mutex.h>
#include <linux/delay.h>
#include <linux/io... |
google | android | i2c-piix4 | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/i2c/busses/i2c-piix4.c | 19,433 | utf_8 | cbb2570cd328ba635859884fcc46c757 | /*
*/
/*
Supports:
Intel PIIX4, 440MX
Serverworks OSB4, CSB5, CSB6, HT-1000, HT-1100
ATI IXP200, IXP300, IXP400, SB600, SB700/SP5100, SB800
AMD Hudson-2, ML, CZ
SMSC Victory66
Note: we assume there can only be one device, with one or more
SMBus interfaces.
*/
#include <linux/module.h>
#include <linux/modu... |
google | android | i2c-qup | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/i2c/busses/i2c-qup.c | 17,889 | utf_8 | 0ab6d613d49bdf58d06ad10f1a6e6a02 | /*
*
*/
#include <linux/clk.h>
#include <linux/delay.h>
#include <linux/err.h>
#include <linux/i2c.h>
#include <linux/interrupt.h>
#include <linux/io.h>
#include <linux/module.h>
#include <linux/of.h>
#include <linux/platform_device.h>
#include <linux/pm_runtime.h>
/* QUP Registers */
#define QUP_CONFIG 0x000
#defin... |
google | android | core-iso | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/firewire/core-iso.c | 10,521 | utf_8 | 3751af46f660a26544e0b4fb3b8aec71 | /*
* Isochronous I/O functionality:
* - Isochronous DMA context management
* - Isochronous bus resource management (channels, bandwidth), client side
*
* Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
#include <linux/dma-mapping.h>
#include <linux/errno.h>
#include <linux/firewire.h>
#inclu... |
google | android | core-card | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/firewire/core-card.c | 19,999 | utf_8 | 0a04b056c151b5271f10b1da08487e14 | /*
* Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
#include <linux/bug.h>
#include <linux/completion.h>
#include <linux/crc-itu-t.h>
#include <linux/device.h>
#include <linux/errno.h>
#include <linux/firewire.h>
#include <linux/firewire-constants.h>
#include <linux/jiffies.h>
#include <linux/kerne... |
google | android | core-device | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/firewire/core-device.c | 34,868 | utf_8 | 5d343e8926682ad6bfcb43103f938a4a | /*
* Device probing and sysfs code.
*
* Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
#include <linux/bug.h>
#include <linux/ctype.h>
#include <linux/delay.h>
#include <linux/device.h>
#include <linux/errno.h>
#include <linux/firewire.h>
#include <linux/firewire-constants.h>
#include <linux/idr.... |
google | android | ohci | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/firewire/ohci.c | 108,080 | utf_8 | 5c4d6b100f08b9001d0163a74e579fa9 | /*
* Driver for OHCI 1394 controllers
*
* Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
#include <linux/bitops.h>
#include <linux/bug.h>
#include <linux/compiler.h>
#include <linux/delay.h>
#include <linux/device.h>
#include <linux/dma-mapping.h>
#include <linux/firewire.h>
#include <linux/firew... |
google | android | sbp2 | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/firewire/sbp2.c | 47,809 | utf_8 | 689b68e0fd547cf4fc7a42f22ee48b65 | /*
* SBP2 driver (SCSI over IEEE1394)
*
* and many others.
*/
#include <linux/blkdev.h>
#include <linux/bug.h>
#include <linux/completion.h>
#include <linux/delay.h>
#include <linux/device.h>
#include <linux/dma-mapping.h>
#include <linux/firewire.h>
#include <linux/firewire-constants.h>
#include <linux/init.h>
#in... |
google | android | init_ohci1394_dma | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/firewire/init_ohci1394_dma.c | 9,838 | utf_8 | 63e60a22b22cdb3e6dbf455c078b5896 | /*
* init_ohci1394_dma.c - Initializes physical DMA on all OHCI 1394 controllers
*
*
* Derived from drivers/ieee1394/ohci1394.c and arch/x86/kernel/early-quirks.c
* this file has functions to:
* - scan the PCI very early on boot for all OHCI 1394-compliant controllers
* - reset and initialize them and make them ... |
google | android | core-cdev | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/firewire/core-cdev.c | 47,312 | utf_8 | 907290809f27ab207c1708bf6aacb5bb | /*
* Char device for device raw access
*
* Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
#include <linux/bug.h>
#include <linux/compat.h>
#include <linux/delay.h>
#include <linux/device.h>
#include <linux/dma-mapping.h>
#include <linux/errno.h>
#include <linux/firewire.h>
#include <linux/firewir... |
google | android | core-transaction | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/firewire/core-transaction.c | 36,226 | utf_8 | 5b9238f4769f6797109bee57cc2ff8d2 | /*
* Core IEEE1394 transaction logic
*
* Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
#include <linux/bug.h>
#include <linux/completion.h>
#include <linux/device.h>
#include <linux/errno.h>
#include <linux/firewire.h>
#include <linux/firewire-constants.h>
#include <linux/fs.h>
#include <linux/i... |
google | android | core-topology | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/firewire/core-topology.c | 15,219 | utf_8 | ec8dca4810da17d4a417b92312508acd | /*
* Incremental bus scan, based on bus topology
*
* Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
#include <linux/bug.h>
#include <linux/errno.h>
#include <linux/firewire.h>
#include <linux/firewire-constants.h>
#include <linux/jiffies.h>
#include <linux/kernel.h>
#include <linux/list.h>
#inclu... |
google | android | net | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/firewire/net.c | 42,618 | utf_8 | 4dbbf19cd72c61912903432d47dba019 | /*
* IPv4 over IEEE 1394, per RFC 2734
* IPv6 over IEEE 1394, per RFC 3146
*
*
* based on eth1394 by Ben Collins et al
*/
#include <linux/bug.h>
#include <linux/compiler.h>
#include <linux/delay.h>
#include <linux/device.h>
#include <linux/ethtool.h>
#include <linux/firewire.h>
#include <linux/firewire-constants.... |
google | android | nosy | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/firewire/nosy.c | 17,656 | iso_8859_1 | 53a4cfb5a15e3ffa7fa05b5188848f22 | /*
* nosy - Snoop mode driver for TI PCILynx 1394 controllers
* Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
#include <linux/device.h>
#include <linux/errno.h>
#include <linux/fs.h>
#include <linux/init.h>
#include <linux/interrupt.h>
#include <linux/io.h>
#include <linux/kernel.h>
#include <lin... |
google | android | block | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/mmc/card/block.c | 69,315 | utf_8 | d65227ba25c7cfe5dad327d6eee5309b | /*
* Block driver for media (i.e., flash cards)
*
*
* Many thanks to Alessandro Rubini and Jonathan Corbet!
*
* Author: Andrew Christian
* 28 May 2002
*/
#include <linux/moduleparam.h>
#include <linux/module.h>
#include <linux/init.h>
#include <linux/kernel.h>
#include <linux/fs.h>
#include <linux/sla... |
google | android | mmc_test | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/mmc/card/mmc_test.c | 68,161 | utf_8 | e2a7ac310a3c713332a1335e3c47fda5 | /*
* linux/drivers/mmc/card/mmc_test.c
*
* your option) any later version.
*/
#include <linux/mmc/core.h>
#include <linux/mmc/card.h>
#include <linux/mmc/host.h>
#include <linux/mmc/mmc.h>
#include <linux/slab.h>
#include <linux/scatterlist.h>
#include <linux/swap.h> /* For nr_free_buffer_pages() */
#include <lin... |
google | android | queue | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/mmc/card/queue.c | 13,551 | utf_8 | 099de11e858cd74504810e530d0bf1f9 | /*
* linux/drivers/mmc/card/queue.c
*
*
*/
#include <linux/slab.h>
#include <linux/module.h>
#include <linux/blkdev.h>
#include <linux/freezer.h>
#include <linux/kthread.h>
#include <linux/scatterlist.h>
#include <linux/dma-mapping.h>
#include <linux/mmc/card.h>
#include <linux/mmc/host.h>
#include "queue.h"
#defi... |
google | android | sdio_uart | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/mmc/card/sdio_uart.c | 29,727 | utf_8 | 6c2f3b08423815b778b608005d734076 | /*
* linux/drivers/mmc/card/sdio_uart.c - SDIO UART/GPS driver
*
* Based on drivers/serial/8250.c and drivers/serial/serial_core.c
* by Russell King.
*
* Author: Nicolas Pitre
* Created: June 15, 2007
* your option) any later version.
*/
/*
* Note: Although this driver assumes a 16550A-like UART implementatio... |
google | android | mmci | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/mmc/host/mmci.c | 48,936 | utf_8 | 1f65a5741d98b22c62d64f003520c17f | /*
* linux/drivers/mmc/host/mmci.c - ARM PrimeCell MMCI PL180/1 driver
*
*/
#include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/init.h>
#include <linux/ioport.h>
#include <linux/device.h>
#include <linux/io.h>
#include <linux/interrupt.h>
#include <linux/kernel.h>
#include <linux/slab.h>
#inclu... |
google | android | mvsdio | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/mmc/host/mvsdio.c | 24,956 | utf_8 | 78108adc58cff873a11b2ce5eb164eba | /*
* Marvell MMC/SD/SDIO driver
*
* Authors: Maen Suleiman, Nicolas Pitre
*/
#include <linux/module.h>
#include <linux/init.h>
#include <linux/io.h>
#include <linux/platform_device.h>
#include <linux/mbus.h>
#include <linux/delay.h>
#include <linux/interrupt.h>
#include <linux/dma-mapping.h>
#include <linux/scatter... |
google | android | dw_mmc-pci | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/mmc/host/dw_mmc-pci.c | 2,935 | utf_8 | d8d9a31d1011105c25ba2a2ac77ea9f8 | /*
* Synopsys DesignWare Multimedia Card PCI Interface driver
*
* (at your option) any later version.
*/
#include <linux/interrupt.h>
#include <linux/module.h>
#include <linux/io.h>
#include <linux/irq.h>
#include <linux/pci.h>
#include <linux/slab.h>
#include <linux/mmc/host.h>
#include <linux/mmc/mmc.h>
#include ... |
google | android | dw_mmc-pltfm | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/mmc/host/dw_mmc-pltfm.c | 3,696 | utf_8 | d2779880af4a35f22cd6e72aa75bd816 | /*
* Synopsys DesignWare Multimedia Card Interface driver
*
* (at your option) any later version.
*/
#include <linux/err.h>
#include <linux/interrupt.h>
#include <linux/module.h>
#include <linux/io.h>
#include <linux/irq.h>
#include <linux/platform_device.h>
#include <linux/slab.h>
#include <linux/mmc/host.h>
#incl... |
google | android | dw_mmc-k3 | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/mmc/host/dw_mmc-k3.c | 4,645 | utf_8 | 4cbc6ce6cd255a3379554c491eadfbc6 | /*
* (at your option) any later version.
*/
#include <linux/clk.h>
#include <linux/mfd/syscon.h>
#include <linux/mmc/host.h>
#include <linux/mmc/dw_mmc.h>
#include <linux/module.h>
#include <linux/of_address.h>
#include <linux/platform_device.h>
#include <linux/regmap.h>
#include <linux/regulator/consumer.h>
#include... |
google | android | sdhci-st | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/mmc/host/sdhci-st.c | 14,305 | utf_8 | 9c6a91dd0c42b90050cc75b0b0e2f97c | /*
* Support for SDHCI on STMicroelectronics SoCs
*
*
*/
#include <linux/io.h>
#include <linux/of.h>
#include <linux/module.h>
#include <linux/err.h>
#include <linux/mmc/host.h>
#include <linux/reset.h>
#include "sdhci-pltfm.h"
struct st_mmc_platform_data {
struct reset_control *rstc;
void __iomem *top_ioaddr;
}... |
google | android | mxcmmc | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/mmc/host/mxcmmc.c | 30,151 | utf_8 | 31d720be415f52a1cc47702130de0016 | /*
* linux/drivers/mmc/host/mxcmmc.c - Freescale i.MX MMCI driver
*
* This is a driver for the SDHC controller found in Freescale MX2/MX3
* SoCs. It is basically the same hardware as found on MX1 (imxmmc.c).
* Unlike the hardware found on MX1, this hardware just works and does
* not need all the quirks found... |
google | android | mmci_qcom_dml | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/mmc/host/mmci_qcom_dml.c | 5,406 | utf_8 | 4be172eeab9038aeb2c54b18ce755e5b | /*
*
*
*/
#include <linux/of.h>
#include <linux/of_dma.h>
#include <linux/bitops.h>
#include <linux/mmc/host.h>
#include <linux/mmc/card.h>
#include "mmci.h"
/* Registers */
#define DML_CONFIG 0x00
#define PRODUCER_CRCI_MSK GENMASK(1, 0)
#define PRODUCER_CRCI_DISABLE 0
#define PRODUCER_CRCI_X_SEL BIT(0)
#define... |
google | android | android-goldfish | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/mmc/host/android-goldfish.c | 14,035 | utf_8 | f9949d6285f89a102f071325eee94652 | /*
*/
#include <linux/module.h>
#include <linux/platform_device.h>
#include <linux/major.h>
#include <linux/types.h>
#include <linux/pci.h>
#include <linux/interrupt.h>
#include <linux/kernel.h>
#include <linux/fs.h>
#include <linux/errno.h>
#include <linux/hdreg.h>
#include <linux/kdev_t.h>
#include <linux/blkdev.h>
... |
google | android | usdhi6rol0 | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/mmc/host/usdhi6rol0.c | 48,311 | utf_8 | f8534eb4e32c5892ce8dfd1b98b78692 | /*
*/
#include <linux/clk.h>
#include <linux/delay.h>
#include <linux/device.h>
#include <linux/dma-mapping.h>
#include <linux/dmaengine.h>
#include <linux/highmem.h>
#include <linux/interrupt.h>
#include <linux/io.h>
#include <linux/log2.h>
#include <linux/mmc/host.h>
#include <linux/mmc/mmc.h>
#include <linux/mmc/sd... |
google | android | dw_mmc | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/mmc/host/dw_mmc.c | 84,194 | utf_8 | 9f478c5fc41be9b53d5f57ef4709d3b6 | /*
* Synopsys DesignWare Multimedia Card Interface driver
* (Based on NXP driver for lpc 31xx)
*
* (at your option) any later version.
*/
#include <linux/blkdev.h>
#include <linux/clk.h>
#include <linux/debugfs.h>
#include <linux/device.h>
#include <linux/dma-mapping.h>
#include <linux/err.h>
#include <linux/init... |
google | android | sdhci-acpi | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/mmc/host/sdhci-acpi.c | 12,876 | utf_8 | 91d9dd3cb637edd0980a798595631dcf | /*
* Secure Digital Host Controller Interface ACPI driver.
*
* 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA.
*
*/
#include <linux/init.h>
#include <linux/export.h>
#include <linux/module.h>
#include <linux/device.h>
#include <linux/platform_device.h>
#include <linux/ioport.h>
#include <linux/io.h>
#incl... |
google | android | sdricoh_cs | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/mmc/host/sdricoh_cs.c | 14,130 | utf_8 | 98ca860d7089aa7b064ff318a3768857 | /*
* sdricoh_cs.c - driver for Ricoh Secure Digital Card Readers that can be
* found on some Ricoh RL5c476 II cardbus bridge
*
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*
*/
/*
#define DEBUG
#define VERBOSE_DEBUG
*/
#include <linux/delay.h>
#include <linux/highmem.h>
#include <linux/module.... |
google | android | via-sdmmc | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/mmc/host/via-sdmmc.c | 35,658 | utf_8 | 40f29c54f2584c8b2079d63086cdb821 | /*
* drivers/mmc/host/via-sdmmc.c - VIA SD/MMC Card Reader driver
* your option) any later version.
*/
#include <linux/pci.h>
#include <linux/module.h>
#include <linux/dma-mapping.h>
#include <linux/highmem.h>
#include <linux/delay.h>
#include <linux/mmc/host.h>
#define DRV_NAME "via_sdmmc"
#define PCI_DEVICE_ID_VI... |
google | android | sdhci-pci-core | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/mmc/host/sdhci-pci-core.c | 47,071 | utf_8 | f958e4bbe1395f0ff316710aa60f8180 | /* linux/drivers/mmc/host/sdhci-pci.c - SDHCI on PCI bus interface
*
* your option) any later version.
*
* Thanks to the following companies for their support:
*
* - JMicron (hardware and technical support)
*/
#include <linux/delay.h>
#include <linux/highmem.h>
#include <linux/module.h>
#include <linux/pci.... |
google | android | wbsd | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/mmc/host/wbsd.c | 40,091 | utf_8 | 66ec65e0a9c2615b91fc3ba0adea0395 | /*
* linux/drivers/mmc/host/wbsd.c - Winbond W83L51xD SD/MMC driver
*
* your option) any later version.
*
*
* Warning!
*
* Changes to the FIFO system should be done with extreme care since
* the hardware is full of bugs related to the FIFO. Known issues are:
*
* - FIFO size field in FSR is always zero.
*
... |
google | android | sdhci-bcm2835 | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/mmc/host/sdhci-bcm2835.c | 6,103 | utf_8 | 8a6874be91976a2edadb2bba8ba2e05d | /*
* BCM2835 SDHCI
*/
#include <linux/delay.h>
#include <linux/module.h>
#include <linux/mmc/host.h>
#include "sdhci-pltfm.h"
/*
* 400KHz is max freq for card ID etc. Use that as min card clock. We need to
* know the min to enable static calculation of max BCM2835_SDHCI_WRITE_DELAY.
*/
#define MIN_FREQ 400000
/*
... |
google | android | dw_mmc-rockchip | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/mmc/host/dw_mmc-rockchip.c | 8,246 | utf_8 | 50dafe15ebf0099164e8ef41101c1a67 | /*
* (at your option) any later version.
*/
#include <linux/module.h>
#include <linux/platform_device.h>
#include <linux/clk.h>
#include <linux/mmc/host.h>
#include <linux/mmc/dw_mmc.h>
#include <linux/of_address.h>
#include <linux/slab.h>
#include "dw_mmc.h"
#include "dw_mmc-pltfm.h"
#define RK3288_CLKGEN_DIV ... |
google | android | ushc | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/mmc/host/ushc.c | 13,638 | utf_8 | ffbb5adb25f1b4213078fd2e289c78e0 | /*
* USB SD Host Controller (USHC) controller driver.
*
* your option) any later version.
*
* Notes:
* - Only version 2 devices are supported.
* - Version 2 devices only support SDIO cards/devices (R2 response is
* unsupported).
*
* References:
* [USHC] USB SD Host Controller specification (CS-1187... |
google | android | omap | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/mmc/host/omap.c | 37,528 | utf_8 | 7dbba5d854500a1f1479069128452bff | /*
* linux/drivers/mmc/host/omap.c
*
*/
#include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/init.h>
#include <linux/ioport.h>
#include <linux/platform_device.h>
#include <linux/interrupt.h>
#include <linux/dmaengine.h>
#include <linux/dma-mapping.h>
#include <linux/delay.h>
#include <linux/spin... |
google | android | sdhci-pci-o2micro | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/mmc/host/sdhci-pci-o2micro.c | 10,457 | utf_8 | 7fda7cd124d0ad9a6dba5557fff8cf58 | /*
*
*/
#include <linux/pci.h>
#include "sdhci.h"
#include "sdhci-pci.h"
#include "sdhci-pci-o2micro.h"
static void o2_pci_set_baseclk(struct sdhci_pci_chip *chip, u32 value)
{
u32 scratch_32;
pci_read_config_dword(chip->pdev,
O2_SD_PLL_SETTING, &scratch_32);
scratch_32 &= 0x0000FFFF;
scratch_32 |= value... |
google | android | tifm_sd | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/mmc/host/tifm_sd.c | 29,156 | utf_8 | 864b7b4aaf9935918dcd589439250387 | /*
* tifm_sd.c - TI FlashMedia driver
*
*
* Special thanks to Brad Campbell for extensive testing of this driver.
*
*/
#include <linux/tifm.h>
#include <linux/mmc/host.h>
#include <linux/highmem.h>
#include <linux/scatterlist.h>
#include <linux/module.h>
#include <asm/io.h>
#define DRIVER_NAME "tifm_sd"
#define ... |
google | android | sdhci-iproc | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/mmc/host/sdhci-iproc.c | 7,003 | utf_8 | 432866ecbb50c5e7549936c22e6a2b15 | /*
*/
/*
* iProc SDHCI platform driver
*/
#include <linux/delay.h>
#include <linux/module.h>
#include <linux/mmc/host.h>
#include <linux/of.h>
#include <linux/of_device.h>
#include "sdhci-pltfm.h"
struct sdhci_iproc_data {
const struct sdhci_pltfm_data *pdata;
u32 caps;
u32 caps1;
};
struct sdhci_iproc_host {
co... |
google | android | pxamci | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/mmc/host/pxamci.c | 21,609 | utf_8 | 08fc40335433118e319c8698adf345dd | /*
* linux/drivers/mmc/host/pxa.c - PXA MMCI driver
*
*
* This hardware is really sick:
* - No way to clear interrupts.
* - Have to turn off the clock whenever we touch the device.
* - Doesn't tell you how many data blocks were transferred.
* Yuck!
*
* 1 and 3 byte data transfers not supported
* max... |
google | android | sdhci-tegra | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/mmc/host/sdhci-tegra.c | 9,580 | utf_8 | f4d0a6c43a14b904e33ccd55773dd1df | /*
*
*/
#include <linux/err.h>
#include <linux/module.h>
#include <linux/init.h>
#include <linux/platform_device.h>
#include <linux/clk.h>
#include <linux/io.h>
#include <linux/of.h>
#include <linux/of_device.h>
#include <linux/mmc/card.h>
#include <linux/mmc/host.h>
#include <linux/mmc/slot-gpio.h>
#include <linux/g... |
google | android | dw_mmc-exynos | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/mmc/host/dw_mmc-exynos.c | 15,178 | utf_8 | f79e24fc7f500e99830769c83a3b4a9c | /*
* Exynos Specific Extensions for Synopsys DW Multimedia Card Interface driver
*
* (at your option) any later version.
*/
#include <linux/module.h>
#include <linux/platform_device.h>
#include <linux/clk.h>
#include <linux/mmc/host.h>
#include <linux/mmc/dw_mmc.h>
#include <linux/mmc/mmc.h>
#include <linux/of.h>
#... |
google | android | sdhci-s3c | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/mmc/host/sdhci-s3c.c | 19,521 | utf_8 | 4c29bf114579a5df7f2928138f99c0a4 | /* linux/drivers/mmc/host/sdhci-s3c.c
*
*/
#include <linux/spinlock.h>
#include <linux/delay.h>
#include <linux/dma-mapping.h>
#include <linux/platform_device.h>
#include <linux/platform_data/mmc-sdhci-s3c.h>
#include <linux/slab.h>
#include <linux/clk.h>
#include <linux/io.h>
#include <linux/gpio.h>
#include <linux/... |
google | android | tmio_mmc_dma | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/mmc/host/tmio_mmc_dma.c | 8,789 | utf_8 | 93312606304c91ec3092f88204c8e8b4 | /*
* linux/drivers/mmc/tmio_mmc_dma.c
*
*
* DMA function for TMIO MMC implementations
*/
#include <linux/device.h>
#include <linux/dma-mapping.h>
#include <linux/dmaengine.h>
#include <linux/mfd/tmio.h>
#include <linux/mmc/host.h>
#include <linux/mmc/tmio.h>
#include <linux/pagemap.h>
#include <linux/scatterlist.h... |
google | android | tmio_mmc | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/mmc/host/tmio_mmc.c | 3,642 | utf_8 | cd77e66ea4ca095e4b418b92ea638669 | /*
* linux/drivers/mmc/host/tmio_mmc.c
*
*
* Driver for the MMC / SD / SDIO cell found in:
*
* TC6393XB TC6391XB TC6387XB T7L66XB ASIC3
*/
#include <linux/device.h>
#include <linux/mfd/core.h>
#include <linux/mfd/tmio.h>
#include <linux/mmc/host.h>
#include <linux/module.h>
#include <linux/pagemap.h>
#include <l... |
google | android | tmio_mmc_pio | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/mmc/host/tmio_mmc_pio.c | 32,553 | utf_8 | c4f539994d06dc84e832079eaad4f0ea | /*
* linux/drivers/mmc/host/tmio_mmc_pio.c
*
*
* Driver for the MMC / SD / SDIO IP found in:
*
* TC6393XB, TC6391XB, TC6387XB, T7L66XB, ASIC3, SH-Mobile SoCs
*
* This driver draws mainly on scattered spec sheets, Reverse engineering
* of the toshiba e800 SD driver and some parts of the 2.4 ASIC3 driver (4 bit... |
google | android | sdhci-of-arasan | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/mmc/host/sdhci-of-arasan.c | 6,314 | utf_8 | 020b81188c0f65c171006bcf73666aed | /*
* Arasan Secure Digital Host Controller Interface.
* your option) any later version.
*/
#include <linux/module.h>
#include <linux/of_device.h>
#include "sdhci-pltfm.h"
#define SDHCI_ARASAN_CLK_CTRL_OFFSET 0x2c
#define CLK_CTRL_TIMEOUT_SHIFT 16
#define CLK_CTRL_TIMEOUT_MASK (0xf << CLK_CTRL_TIMEOUT_SHIFT)
#defin... |
google | android | rtsx_pci_sdmmc | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/mmc/host/rtsx_pci_sdmmc.c | 37,198 | utf_8 | f6351b7939fe2262da39ad2f2263f84f | /* Realtek PCI-Express SD/MMC Card Interface driver
*
*/
#include <linux/module.h>
#include <linux/slab.h>
#include <linux/highmem.h>
#include <linux/delay.h>
#include <linux/platform_device.h>
#include <linux/workqueue.h>
#include <linux/mmc/host.h>
#include <linux/mmc/mmc.h>
#include <linux/mmc/sd.h>
#include <linu... |
google | android | au1xmmc | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/mmc/host/au1xmmc.c | 29,829 | utf_8 | b702b6dd852603557d1593625de5b4fb | /*
* linux/drivers/mmc/host/au1xmmc.c - AU1XX0 MMC driver
*
*/
/* Why don't we use the SD controllers' carddetect feature?
*
* From the AU1100 MMC application guide:
* If the Au1100-based design is intended to support both MultiMediaCards
* and 1- or 4-data bit SecureDigital cards, then the solution is to
* con... |
google | android | mmc_spi | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/mmc/host/mmc_spi.c | 42,724 | utf_8 | 750a5e6bf175a12eef0dbbaf801759f1 | /*
* mmc_spi.c - Access SD/MMC cards through SPI master controllers
*
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
#include <linux/sched.h>
#include <linux/delay.h>
#include <linux/slab.h>
#include <linux/module.h>
#include <linux/bio.h>
#include <linux/dma-mapping.h>
#include <linux/crc7.h>
#incl... |
google | android | sdhci-of-esdhc | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/mmc/host/sdhci-of-esdhc.c | 17,060 | utf_8 | 5e6e2ec078628d41dd923ec2e02d38ce | /*
* Freescale eSDHC controller driver.
*
* your option) any later version.
*/
#include <linux/err.h>
#include <linux/io.h>
#include <linux/of.h>
#include <linux/delay.h>
#include <linux/module.h>
#include <linux/mmc/host.h>
#include "sdhci-pltfm.h"
#include "sdhci-esdhc.h"
#define VENDOR_V_22 0x12
#define VENDOR_V... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.