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 | com20020-isa | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/arcnet/com20020-isa.c | 5,468 | utf_8 | 16cde812cc75ffab4e80786d9dc917d8 | /*
* Linux ARCnet driver - COM20020 chipset support
*
* Written 1997 by David Woodhouse.
* Written 1994-1999 by Avery Pennarun.
* modified by SRC, incorporated herein by reference.
*
* **********************
*
* For more details, see drivers/net/arcnet.c
*
* **********************
*/
#define pr_fmt(fmt) "ar... |
google | android | arc-rawmode | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/arcnet/arc-rawmode.c | 4,962 | utf_8 | 520883bab5cc1744ffc25ee6db0010e8 | /*
* Linux ARCnet driver - "raw mode" packet encapsulation (no soft headers)
*
* Written 1994-1999 by Avery Pennarun.
* Derived from skeleton.c by Donald Becker.
*
* Special thanks to Contemporary Controls, Inc. (www.ccontrols.com)
* for sponsoring the further development of this driver.
*
* *****************... |
google | android | arcnet | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/arcnet/arcnet.c | 31,664 | utf_8 | b7c20c44ed74f5e2b787d354e3c142c8 | /*
* Linux ARCnet driver - device-independent routines
*
* Written 1997 by David Woodhouse.
* Written 1994-1999 by Avery Pennarun.
* modified by SRC, incorporated herein by reference.
*
* **********************
*
* The change log is now in a file called ChangeLog in this directory.
*
* Sources:
* - Crynwr ... |
google | android | com90io | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/arcnet/com90io.c | 11,772 | utf_8 | bead0fd65a1dc1989c6bcc716e2175ea | /*
* Linux ARCnet driver - COM90xx chipset (IO-mapped buffers)
*
* Written 1997 by David Woodhouse.
* Written 1994-1999 by Avery Pennarun.
* modified by SRC, incorporated herein by reference.
*
* **********************
*
* For more details, see drivers/net/arcnet.c
*
* **********************
*/
#define pr_f... |
google | android | com20020_cs | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/arcnet/com20020_cs.c | 7,663 | utf_8 | a4a40ad59f7fcd739c1899978b86ccb5 | /*
* Linux ARCnet driver - COM20020 PCMCIA support
*
* Written 1994-1999 by Avery Pennarun,
* based on an ISA version by David Woodhouse.
* Derived from ibmtr_cs.c by Steve Kipisz (pcmcia-cs 3.1.4)
* which was derived from pcnet_cs.c by David Hinds.
* Some additional portions derived from skeleton.c by Don... |
google | android | com20020-pci | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/arcnet/com20020-pci.c | 10,901 | utf_8 | 218e941d867af88cff318b920f888a1f | /*
* Linux ARCnet driver - COM20020 PCI support
* Contemporary Controls PCI20 and SOHARD SH-ARC PCI
*
* Written 1994-1999 by Avery Pennarun,
* based on an ISA version by David Woodhouse.
* modified by SRC, incorporated herein by reference.
*
* **********************
*
* For more details, see drivers/net/ar... |
google | android | capmode | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/arcnet/capmode.c | 7,620 | utf_8 | 0dc43be0b596f27708cfd6506c0ffa9d | /*
* Linux ARCnet driver - "cap mode" packet encapsulation.
* It adds sequence numbers to packets for communicating between a user space
* application and the driver. After a transmit it sends a packet with protocol
* byte 0 back up to the userspace containing the sequence number of the packet
* plus the transmit-... |
google | android | arc-rimi | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/arcnet/arc-rimi.c | 10,726 | utf_8 | 09dd755b6536e05367b22b7385d25128 | /*
* Linux ARCnet driver - "RIM I" (entirely mem-mapped) cards
*
* Written 1994-1999 by Avery Pennarun.
* modified by SRC, incorporated herein by reference.
*
* **********************
*
* For more details, see drivers/net/arcnet.c
*
* **********************
*/
#define pr_fmt(fmt) "arcnet:" KBUILD_MODNAME ": ... |
google | android | caif_spi_slave | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/caif/caif_spi_slave.c | 6,557 | utf_8 | c4d024c98bba5060f3d05eb40df6603b | /*
*/
#include <linux/module.h>
#include <linux/device.h>
#include <linux/platform_device.h>
#include <linux/string.h>
#include <linux/semaphore.h>
#include <linux/workqueue.h>
#include <linux/completion.h>
#include <linux/list.h>
#include <linux/interrupt.h>
#include <linux/dma-mapping.h>
#include <linux/delay.h>
#in... |
google | android | caif_spi | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/caif/caif_spi.c | 21,388 | utf_8 | 426a729751fcdde4aa55f2166f99a55f | /*
*/
#include <linux/init.h>
#include <linux/module.h>
#include <linux/device.h>
#include <linux/platform_device.h>
#include <linux/string.h>
#include <linux/workqueue.h>
#include <linux/completion.h>
#include <linux/list.h>
#include <linux/interrupt.h>
#include <linux/dma-mapping.h>
#include <linux/delay.h>
#include... |
google | android | caif_hsi | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/caif/caif_hsi.c | 36,105 | utf_8 | d082c28027eed8907aeb69a62f3ab4de | /*
*/
#define pr_fmt(fmt) KBUILD_MODNAME fmt
#include <linux/init.h>
#include <linux/module.h>
#include <linux/device.h>
#include <linux/netdevice.h>
#include <linux/string.h>
#include <linux/list.h>
#include <linux/interrupt.h>
#include <linux/delay.h>
#include <linux/sched.h>
#include <linux/if_arp.h>
#include <linu... |
google | android | caif_virtio | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/caif/caif_virtio.c | 21,542 | utf_8 | c9680d19916bbd2369f32e53efb196af | /*
*/
#include <linux/module.h>
#include <linux/if_arp.h>
#include <linux/virtio.h>
#include <linux/vringh.h>
#include <linux/debugfs.h>
#include <linux/spinlock.h>
#include <linux/genalloc.h>
#include <linux/interrupt.h>
#include <linux/netdevice.h>
#include <linux/rtnetlink.h>
#include <linux/virtio_ids.h>
#include ... |
google | android | caif_serial | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/caif/caif_serial.c | 10,896 | utf_8 | 5c62e29783dd05cd14b0fe865740eb71 | /*
*/
#include <linux/hardirq.h>
#include <linux/init.h>
#include <linux/module.h>
#include <linux/device.h>
#include <linux/types.h>
#include <linux/skbuff.h>
#include <linux/netdevice.h>
#include <linux/rtnetlink.h>
#include <linux/tty.h>
#include <linux/file.h>
#include <linux/if_arp.h>
#include <net/caif/caif_devi... |
google | android | fmc-chardev | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/fmc/fmc-chardev.c | 4,228 | utf_8 | 1cb29b19be017fcfc871dc8ef0a20931 | /*
*
* This work is part of the White Rabbit project, a research effort led
* by CERN, the European Institute for Nuclear Research.
*/
#include <linux/module.h>
#include <linux/init.h>
#include <linux/list.h>
#include <linux/slab.h>
#include <linux/fs.h>
#include <linux/miscdevice.h>
#include <linux/spinlock.h>
#in... |
google | android | fmc-core | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/fmc/fmc-core.c | 7,158 | utf_8 | 1efabac0bd6b334b6919238e177b64a7 | /*
*
* This work is part of the White Rabbit project, a research effort led
* by CERN, the European Institute for Nuclear Research.
*/
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/slab.h>
#include <linux/init.h>
#include <linux/device.h>
#include <linux/fmc.h>
static int fmc_check_version(uns... |
google | android | fmc-write-eeprom | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/fmc/fmc-write-eeprom.c | 4,236 | utf_8 | 9ad7421eb53911b8ddce542b3f8b510e | /*
*
* This work is part of the White Rabbit project, a research effort led
* by CERN, the European Institute for Nuclear Research.
*/
#include <linux/module.h>
#include <linux/string.h>
#include <linux/firmware.h>
#include <linux/init.h>
#include <linux/fmc.h>
#include <asm/unaligned.h>
/*
* This module uses the ... |
google | android | fmc-dump | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/fmc/fmc-dump.c | 2,644 | utf_8 | 70e573ae9329b930089c95027b8a8c5b | /*
*
* This work is part of the White Rabbit project, a research effort led
* by CERN, the European Institute for Nuclear Research.
*/
#include <linux/kernel.h>
#include <linux/moduleparam.h>
#include <linux/device.h>
#include <linux/fmc.h>
#include <linux/fmc-sdb.h>
static int fmc_must_dump_eeprom;
module_param_na... |
google | android | fmc-match | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/fmc/fmc-match.c | 3,166 | utf_8 | 00aeed674991826548c4ddb397df6b58 | /*
*
* This work is part of the White Rabbit project, a research effort led
* by CERN, the European Institute for Nuclear Research.
*/
#include <linux/kernel.h>
#include <linux/slab.h>
#include <linux/fmc.h>
#include <linux/ipmi-fru.h>
/* The fru parser is both user and kernel capable: it needs alloc */
void *fru_a... |
google | android | fmc-trivial | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/fmc/fmc-trivial.c | 2,433 | utf_8 | f23b60e166c1b0481345beff600cd268 | /*
* all warranties and liabilities, to the extent permitted by
* applicable law.
*/
/* A trivial fmc driver that can load a gateware file and reports interrupts */
#include <linux/module.h>
#include <linux/init.h>
#include <linux/interrupt.h>
#include <linux/gpio.h>
#include <linux/fmc.h>
static struct fmc_driver t... |
google | android | fmc-fakedev | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/fmc/fmc-fakedev.c | 10,702 | utf_8 | 67c698e90d636b7c07424114e264ce7a | /*
* all warranties and liabilities, to the extent permitted by
* applicable law.
*/
#include <linux/module.h>
#include <linux/init.h>
#include <linux/string.h>
#include <linux/device.h>
#include <linux/slab.h>
#include <linux/firmware.h>
#include <linux/workqueue.h>
#include <linux/err.h>
#include <linux/fmc.h>
#de... |
google | android | fru-parse | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/fmc/fru-parse.c | 1,877 | utf_8 | cf71e6b935d68449f1e41968bbd4f622 | /*
*
* This work is part of the White Rabbit project, a research effort led
* by CERN, the European Institute for Nuclear Research.
*/
#include <linux/ipmi-fru.h>
/* Some internal helpers */
static struct fru_type_length *
__fru_get_board_tl(struct fru_common_header *header, int nr)
{
struct fru_board_info_area *b... |
google | android | fmc-sdb | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/fmc/fmc-sdb.c | 7,433 | utf_8 | 94057e356c1e978148be777ea6a78fcc | /*
*
* This work is part of the White Rabbit project, a research effort led
* by CERN, the European Institute for Nuclear Research.
*/
#include <linux/module.h>
#include <linux/slab.h>
#include <linux/fmc.h>
#include <linux/sdb.h>
#include <linux/err.h>
#include <linux/fmc-sdb.h>
#include <asm/byteorder.h>
static u... |
google | android | sysfs | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/pps/sysfs.c | 2,888 | utf_8 | 14ccc3795f765896e5a9e2e9d727dab5 | /*
* PPS sysfs support
*
*
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
#include <linux/device.h>
#include <linux/module.h>
#include <linux/string.h>
#include <linux/pps_kernel.h>
/*
* Attribute functions
*/
static ssize_t assert_show(struct device *dev, struct device_attribute *attr,
c... |
google | android | pps | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/pps/pps.c | 10,260 | utf_8 | 7cb045083c98643995f97bc4b3051770 | /*
* PPS core file
*
*
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/init.h>
#include <linux/sched.h>
#include <linux/uaccess.h>
#include <linux/idr.h>
#include <linux/mutex.h>
#includ... |
google | android | kapi | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/pps/kapi.c | 6,180 | utf_8 | 773c1a2279ae28460bc0ee6718b7ce6b | /*
* kernel API
*
*
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/init.h>
#include <linux/sched.h>
#include <linux/time.h>
#include <linux/timex.h>
#include <linux/spinlock.h>
#include... |
google | android | kc | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/pps/kc.c | 3,861 | utf_8 | 5aa81a1a87b5e0432e3147d276730cc0 | /*
* PPS kernel consumer API
*
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/device.h>
#include <linux/init.h>
#include <linux/spinlock.h>
#include <linux/pps_kernel.h>
#include "kc.h"
... |
google | android | pps_gen_parport | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/pps/generators/pps_gen_parport.c | 7,191 | utf_8 | b31caaac1577b981eae232827c12a574 | /*
* pps_gen_parport.c -- kernel parallel port PPS signal generator
*
*
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
/*
* TODO:
* fix issues when realtime clock is adjusted in a leap
*/
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
#include <linux/kernel.h>
#include <linux/module.h>
#include <li... |
google | android | pps-ktimer | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/pps/clients/pps-ktimer.c | 2,413 | utf_8 | 1278e895809c9d556bea916158f8684f | /*
* pps-ktimer.c -- kernel timer test client
*
*
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/init.h>
#include <linux/time.h>
#include <linux/timer.h>
#include <linux/pps_kernel.h>
/... |
google | android | pps-gpio | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/pps/clients/pps-gpio.c | 6,019 | utf_8 | 7a2cfadac0c5ddd2a74f18acda07dead | /*
* pps-gpio.c -- PPS client driver using GPIO
*
*
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
#define PPS_GPIO_NAME "pps-gpio"
#define pr_fmt(fmt) PPS_GPIO_NAME ": " fmt
#include <linux/init.h>
#include <linux/kernel.h>
#include <linux/interrupt.h>
#include <linux/module.h>
#include <linux/p... |
google | android | pps-ldisc | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/pps/clients/pps-ldisc.c | 4,094 | utf_8 | 7994055880c4b287a38c86be4d77d6e6 | /*
* pps-ldisc.c -- PPS line discipline
*
*
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
#include <linux/module.h>
#include <linux/serial_core.h>
#include <linux/tty.h>
#include <linux/pps_kernel.h>
#include <linux/bug.h>
#define PPS_TTY_MAGIC 0x0001... |
google | android | pps_parport | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/pps/clients/pps_parport.c | 6,204 | utf_8 | 96938532ef8f5e1763f2cbbf5977ce08 | /*
* pps_parport.c -- kernel parallel port PPS client
*
*
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
/*
* TODO:
* implement echo over SEL pin
*/
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/init.h>
#include <linux/irqnr.h>
#i... |
google | android | i2c-slave-eeprom | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/i2c/i2c-slave-eeprom.c | 4,570 | utf_8 | af4256fa7f1956ed680f05e1c605971a | /*
* I2C slave mode EEPROM simulator
*
*
* Because most IP blocks can only detect one I2C slave address anyhow, this
* driver does not support simulating EEPROM types which take more than one
* address. It is prepared to simulate bigger EEPROMs with an internal 16 bit
* pointer, yet implementation is deferred un... |
google | android | i2c-core | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/i2c/i2c-core.c | 87,036 | utf_8 | 75ab9d2ffacb9b7db3624d0937ba2126 | /* i2c-core.c - a device driver for the iic-bus interface */
*/
#include <dt-bindings/i2c/i2c.h>
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/delay.h>
#include <linux/errno.h>
#include <linux/gpio.h>
#include <linux/slab.h>
#include <linux/i2c.h>
#include <linux/init.h>
#include <linux/idr... |
google | android | i2c-mux | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/i2c/i2c-mux.c | 6,373 | utf_8 | 9d12119ef5a0b4783d0902cca3d5e90f | /*
* Multiplexed I2C bus driver.
*
* warranty of any kind, whether express or implied.
*/
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/slab.h>
#include <linux/i2c.h>
#include <linux/i2c-mux.h>
#include <linux/of.h>
#include <linux/acpi.h>
/* multiplexer per channel data */
struct i2c_mux_priv... |
google | android | i2c-smbus | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/i2c/i2c-smbus.c | 6,905 | utf_8 | da531bf76779648ce363a9af36b52811 | /*
* i2c-smbus.c - SMBus extensions to the I2C protocol
*
*/
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/device.h>
#include <linux/interrupt.h>
#include <linux/workqueue.h>
#include <linux/i2c.h>
#include <linux/i2c-smbus.h>
#include <linux/slab.h>
struct i2c_smbus_alert {
unsigned int aler... |
google | android | i2c-stub | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/i2c/i2c-stub.c | 10,562 | utf_8 | 9a3b29f0558fdc6b5b8bb198a961d128 | /*
i2c-stub.c - I2C/SMBus chip emulator
*/
#define DEBUG 1
#include <linux/init.h>
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/slab.h>
#include <linux/errno.h>
#include <linux/i2c.h>
#include <linux/list.h>
#define MAX_CHIPS 10
/*
* Support for I2C_FUNC_SMBUS_BLOCK_DATA is disabled by defau... |
google | android | i2c-dev | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/i2c/i2c-dev.c | 18,124 | utf_8 | 17a6d884a5ae6615a3f0d451c6b8f98e | /*
i2c-dev.c - i2c-bus driver, char device interface
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/device.h>
#include <linux/notifier.h>
#include <linux/fs.h>
#include <linux/slab.h>
#include <linux/init.h>
#include <linux/list.h>
#include <linux/i2c.h>
#include <linux/i2c-dev.h>
#include <lin... |
google | android | i2c-boardinfo | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/i2c/i2c-boardinfo.c | 2,863 | utf_8 | 113f2b5a9822e6db0439720c90cdddd1 | /*
* i2c-boardinfo.c - collect pre-declarations of I2C devices
*
*/
#include <linux/kernel.h>
#include <linux/i2c.h>
#include <linux/slab.h>
#include <linux/export.h>
#include <linux/rwsem.h>
#include "i2c-core.h"
/* These symbols are exported ONLY FOR the i2c core.
* No other users will be supported.
*/
DECLARE_R... |
google | android | i2c-algo-bit | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/i2c/algos/i2c-algo-bit.c | 16,804 | utf_8 | 3d3d0545366b929a117d330c8ba456d2 | /* -------------------------------------------------------------------------
* i2c-algo-bit.c i2c driver algorithms for bit-shift adapters
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/delay.h>
#include <linux/errno.h>
#include <linux/sched.h>
#include <linux/i2c.h>
#include <linux/i2c-algo-bit.h... |
google | android | i2c-algo-pca | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/i2c/algos/i2c-algo-pca.c | 14,984 | utf_8 | 00ddaf53758d1b90a19cab8f8ce6ed51 | /*
* i2c-algo-pca.c i2c driver algorithms for PCA9564 adapters
*/
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/delay.h>
#include <linux/jiffies.h>
#include <linux/errno.h>
#include <linux/i2c.h>
#include <linux/i2c-algo-pca.h>
#define DEB1(fmt, args...) do { if (... |
google | android | i2c-algo-pcf | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/i2c/algos/i2c-algo-pcf.c | 11,427 | utf_8 | 66d075145c01541dd5adc9b78f465ac9 | /*
* i2c-algo-pcf.c i2c driver algorithms for PCF8584 adapters
*
* messages, proper stop/repstart signaling during receive, added detect code
*/
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/delay.h>
#include <linux/errno.h>
#include <linux/i2c.h>
#include <linux/i2c-algo-pcf.h>
#include "i2c-... |
google | android | i2c-arb-gpio-challenge | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/i2c/muxes/i2c-arb-gpio-challenge.c | 7,233 | utf_8 | cec32f6fced8048fe34a5fb5bb2c098c | /*
* GPIO-based I2C Arbitration Using a Challenge & Response Mechanism
*
*
*/
#include <linux/delay.h>
#include <linux/gpio.h>
#include <linux/kernel.h>
#include <linux/i2c.h>
#include <linux/i2c-mux.h>
#include <linux/module.h>
#include <linux/of_gpio.h>
#include <linux/platform_device.h>
#include <linux/slab.h>
/... |
google | android | i2c-mux-pca954x | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/i2c/muxes/i2c-mux-pca954x.c | 7,712 | utf_8 | 34d788894896201af9f131224f99ce2d | /*
* I2C multiplexer
*
*
* This module supports the PCA954x series of I2C multiplexer/switch chips
* made by Philips Semiconductors.
* This includes the:
* PCA9540, PCA9542, PCA9543, PCA9544, PCA9545, PCA9546, PCA9547
* and PCA9548.
*
* These chips are all controlled via the I2C bus itself, and all have a
... |
google | android | i2c-mux-reg | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/i2c/muxes/i2c-mux-reg.c | 7,093 | utf_8 | 59584454ded3e1535258ccbed30cbf7a | /*
* I2C multiplexer using a single register
*
* option) any later version.
*/
#include <linux/i2c.h>
#include <linux/i2c-mux.h>
#include <linux/init.h>
#include <linux/io.h>
#include <linux/module.h>
#include <linux/of_address.h>
#include <linux/platform_data/i2c-mux-reg.h>
#include <linux/platform_device.h>
#incl... |
google | android | i2c-mux-gpio | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/i2c/muxes/i2c-mux-gpio.c | 6,915 | utf_8 | 46b77150016efd6af932bed414898858 | /*
* I2C multiplexer using GPIO API
*
*/
#include <linux/i2c.h>
#include <linux/i2c-mux.h>
#include <linux/i2c-mux-gpio.h>
#include <linux/platform_device.h>
#include <linux/module.h>
#include <linux/slab.h>
#include <linux/gpio.h>
#include <linux/of_gpio.h>
struct gpiomux {
struct i2c_adapter *parent;
struct i2c_... |
google | android | i2c-mux-pinctrl | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/i2c/muxes/i2c-mux-pinctrl.c | 7,203 | utf_8 | dd93817795bbbceae0be087200a35a5d | /*
* I2C multiplexer using pinctrl API
*
*/
#include <linux/i2c.h>
#include <linux/i2c-mux.h>
#include <linux/module.h>
#include <linux/pinctrl/consumer.h>
#include <linux/i2c-mux-pinctrl.h>
#include <linux/platform_device.h>
#include <linux/slab.h>
#include <linux/of.h>
struct i2c_mux_pinctrl {
struct device *dev;... |
google | android | i2c-mux-pca9541 | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/i2c/muxes/i2c-mux-pca9541.c | 10,234 | utf_8 | 1fde94950a0fc4e607858ff39823ae71 | /*
* I2C multiplexer driver for PCA9541 bus master selector
*
* warranty of any kind, whether express or implied.
*/
#include <linux/module.h>
#include <linux/jiffies.h>
#include <linux/delay.h>
#include <linux/slab.h>
#include <linux/device.h>
#include <linux/i2c.h>
#include <linux/i2c-mux.h>
#include <linux/i2c/p... |
google | android | i2c-ali1563 | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/i2c/busses/i2c-ali1563.c | 11,238 | utf_8 | e817d65a1a9d54d7fe8c95d3f741af65 | /**
* i2c-ali1563.c - i2c driver for the ALi 1563 Southbridge
*
*/
#include <linux/module.h>
#include <linux/delay.h>
#include <linux/i2c.h>
#include <linux/pci.h>
#include <linux/acpi.h>
#define ALI1563_MAX_TIMEOUT 500
#define ALI1563_SMBBA 0x80
#define ALI1563_SMB_IOEN 1
#define ALI1563_SMB_HOSTEN 2
#define ALI15... |
google | android | i2c-meson | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/i2c/busses/i2c-meson.c | 11,562 | utf_8 | 8952f717734537e02f2d524b435e5a29 | /*
* I2C bus driver for Amlogic Meson SoCs
*
*/
#include <linux/clk.h>
#include <linux/completion.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/platform_device.h>
#include <linux/types.h>
/* Meson... |
google | android | i2c-uniphier | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/i2c/busses/i2c-uniphier.c | 11,412 | utf_8 | 96601675722bf1a471d0d0839359581f | /*
*/
#include <linux/clk.h>
#include <linux/i2c.h>
#include <linux/interrupt.h>
#include <linux/io.h>
#include <linux/module.h>
#include <linux/platform_device.h>
#define UNIPHIER_I2C_DTRM 0x00 /* TX register */
#define UNIPHIER_I2C_DTRM_IRQEN BIT(11) /* enable interrupt */
#define UNIPHIER_I2C_DTRM_STA BIT(1... |
google | android | i2c-xgene-slimpro | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/i2c/busses/i2c-xgene-slimpro.c | 12,798 | utf_8 | 61f1045b2d2cb9a5a5fd2adb0bf18a13 | /*
* X-Gene SLIMpro I2C Driver
*
*
* This driver provides support for X-Gene SLIMpro I2C device access
* using the APM X-Gene SLIMpro mailbox driver.
*
*/
#include <linux/acpi.h>
#include <linux/dma-mapping.h>
#include <linux/i2c.h>
#include <linux/interrupt.h>
#include <linux/mailbox_client.h>
#include <linux/m... |
google | android | i2c-versatile | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/i2c/busses/i2c-versatile.c | 3,631 | utf_8 | b5c3577e58a80e5fd088ec7fc6267a20 | /*
* i2c-versatile.c
*
*/
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/i2c.h>
#include <linux/i2c-algo-bit.h>
#include <linux/init.h>
#include <linux/platform_device.h>
#include <linux/slab.h>
#include <linux/io.h>
#define I2C_CONTROL 0x00
#define I2C_CONTROLS 0x00
#define I2C_CONTROLC 0x04
#... |
google | android | i2c-pca-platform | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/i2c/busses/i2c-pca-platform.c | 6,593 | utf_8 | a0367d97708585ace349baa17b07fab2 | /*
* i2c_pca_platform.c
*
* Platform driver for the PCA9564 I2C controller.
*
*/
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/slab.h>
#include <linux/delay.h>
#include <linux/jiffies.h>
#include <linux/errno.h>
#include <linux/i2c.h>
#include <linux/interrupt.h>
#include <linux/platform_de... |
google | android | i2c-wmt | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/i2c/busses/i2c-wmt.c | 11,059 | utf_8 | dd7080d558e640a79fe52b516d9f8be2 | /*
* Wondermedia I2C Master Mode Driver
*
* Foundation
*/
#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/of_address.h>
#include <linux/of_irq.h>
#includ... |
google | android | i2c-efm32 | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/i2c/busses/i2c-efm32.c | 12,712 | utf_8 | 33f0068b730c9a893a7fdd8ecd2d225b | /*
*/
#include <linux/module.h>
#include <linux/platform_device.h>
#include <linux/i2c.h>
#include <linux/io.h>
#include <linux/interrupt.h>
#include <linux/err.h>
#include <linux/clk.h>
#define DRIVER_NAME "efm32-i2c"
#define MASK_VAL(mask, val) ((val << __ffs(mask)) & mask)
#define REG_CTRL 0x00
#define REG_CTRL_E... |
google | android | i2c-sis630 | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/i2c/busses/i2c-sis630.c | 14,698 | utf_8 | 31b6f348da3450b80077ef36c8319b19 | /*
*/
/*
Status: beta
Supports:
SIS 630
SIS 730
SIS 964
Notable differences between chips:
+------------------------+--------------------+-------------------+
| | SIS630/730 | SIS964 |
+------------------------+--------------------+-------------------+
| Clock ... |
google | android | i2c-ocores | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/i2c/busses/i2c-ocores.c | 14,240 | utf_8 | 075be5dcff3a234e0dab67cd40c25e38 | /*
* i2c-ocores.c: I2C bus driver for OpenCores I2C controller
* (http://www.opencores.org/projects.cgi/web/i2c/overview).
*
* kind, whether express or implied.
*/
#include <linux/clk.h>
#include <linux/err.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/errno.h>
#include <linux/platform_dev... |
google | android | i2c-robotfuzz-osif | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/i2c/busses/i2c-robotfuzz-osif.c | 5,185 | utf_8 | 0318796c1879f2e61ed8ae4d5d675746 | /*
* Driver for RobotFuzz OSIF
*
*/
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/errno.h>
#include <linux/i2c.h>
#include <linux/slab.h>
#include <linux/usb.h>
#define OSIFI2C_READ 20
#define OSIFI2C_WRITE 21
#define OSIFI2C_STOP 22
#define OSIFI2C_STATUS 23
#define OSIFI2C_SET_BIT_RATE 24... |
google | android | i2c-jz4780 | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/i2c/busses/i2c-jz4780.c | 20,944 | utf_8 | 7accb2bc7c2cfd9dcc48c9739592bd3a | /*
* Ingenic JZ4780 I2C bus driver
*
*/
#include <linux/bitops.h>
#include <linux/clk.h>
#include <linux/completion.h>
#include <linux/delay.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>
#include <linux/module.h... |
google | android | i2c-img-scb | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/i2c/busses/i2c-img-scb.c | 39,360 | utf_8 | 3f9ae7d138e05b1a46a1d79fc9f0a411 | /*
* I2C adapter for the IMG Serial Control Bus (SCB) IP block.
*
*
* There are three ways that this I2C controller can be driven:
*
* - Raw control of the SDA and SCK signals.
*
* This corresponds to MODE_RAW, which takes control of the signals
* directly for a certain number of clock cycles (the INT_TIMI... |
google | android | i2c-designware-core | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/i2c/busses/i2c-designware-core.c | 23,619 | utf_8 | 8ec06ed2b5ba2efef92e6f2e0c09bd2f | /*
* Synopsys DesignWare I2C adapter driver (master only).
*
* Based on the TI DAVINCI I2C adapter driver.
*
* ----------------------------------------------------------------------------
*
*/
#include <linux/export.h>
#include <linux/errno.h>
#include <linux/err.h>
#include <linux/i2c.h>
#include <linux/interru... |
google | android | i2c-cbus-gpio | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/i2c/busses/i2c-cbus-gpio.c | 7,380 | utf_8 | cf9de45e28760b2da9758b2480d48a35 | /*
* CBUS I2C driver for Nokia Internet Tablets.
*
*/
#include <linux/io.h>
#include <linux/i2c.h>
#include <linux/gpio.h>
#include <linux/slab.h>
#include <linux/delay.h>
#include <linux/errno.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/of_gpio.h>
#include <linux/interrupt.h>
#include <li... |
google | android | i2c-pasemi | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/i2c/busses/i2c-pasemi.c | 10,334 | utf_8 | 8932c001aec3fd0972e52b892d8cb6e0 | /*
*/
#include <linux/module.h>
#include <linux/pci.h>
#include <linux/kernel.h>
#include <linux/stddef.h>
#include <linux/sched.h>
#include <linux/i2c.h>
#include <linux/delay.h>
#include <linux/slab.h>
#include <linux/io.h>
static struct pci_driver pasemi_smb_driver;
struct pasemi_smbus {
struct pci_dev *dev;
str... |
google | android | i2c-viapro | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/i2c/busses/i2c-viapro.c | 14,262 | utf_8 | b89bd958a54477992cfa853beda87f85 | /*
*/
/*
Supports the following VIA south bridges:
Chip name PCI ID REV I2C block
VT82C596A 0x3050 no
VT82C596B 0x3051 no
VT82C686A 0x3057 0x30 no
VT82C686B 0x3057 0x40 yes
VT8231 0x8235 ... |
google | android | i2c-bcm-iproc | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/i2c/busses/i2c-bcm-iproc.c | 13,794 | utf_8 | 70db93eaf2c8d3584f6a3443acf8d446 | /*
*/
#include <linux/delay.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/slab.h>
#define CFG_OFFSET 0x00
#define CFG_RESET_SHIFT 31
#define CFG_EN_SHIFT ... |
google | android | i2c-xlp9xx | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/i2c/busses/i2c-xlp9xx.c | 11,724 | utf_8 | 4c5e15f6e342ef18227452d599735e1f | /*
* warranty of any kind, whether express or implied.
*/
#include <linux/completion.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/platform_device.h>
#define XLP9XX_I2C_DIV 0x0
#define XLP9XX_I... |
google | android | i2c-isch | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/i2c/busses/i2c-isch.c | 8,977 | utf_8 | 11441831a4f20c38966788279fa61821 | /*
i2c-isch.c - Linux kernel driver for Intel SCH chipset SMBus
- Based on i2c-piix4.c
*/
/*
Supports:
Intel SCH chipsets (AF82US15W, AF82US15L, AF82UL11L)
Note: we assume there can only be one device, with one SMBus interface.
*/
#include <linux/module.h>
#include <linux/platform_device.h>
#include <lin... |
google | android | i2c-uniphier-f | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/i2c/busses/i2c-uniphier-f.c | 16,936 | utf_8 | fa01ade2e980818674b921883f002c81 | /*
*/
#include <linux/clk.h>
#include <linux/i2c.h>
#include <linux/interrupt.h>
#include <linux/io.h>
#include <linux/module.h>
#include <linux/platform_device.h>
#define UNIPHIER_FI2C_CR 0x00 /* control register */
#define UNIPHIER_FI2C_CR_MST BIT(3) /* master mode */
#define UNIPHIER_FI2C_CR_STA BIT(2) /* s... |
google | android | i2c-nomadik | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/i2c/busses/i2c-nomadik.c | 28,596 | utf_8 | b2bf25205fec926a242d37bf6eb2b964 | /*
*/
#include <linux/init.h>
#include <linux/module.h>
#include <linux/amba/bus.h>
#include <linux/slab.h>
#include <linux/interrupt.h>
#include <linux/i2c.h>
#include <linux/err.h>
#include <linux/clk.h>
#include <linux/io.h>
#include <linux/pm_runtime.h>
#include <linux/of.h>
#include <linux/pinctrl/consumer.h>
#de... |
google | android | i2c-designware-pcidrv | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/i2c/busses/i2c-designware-pcidrv.c | 8,174 | utf_8 | 41277b2ea6e0220e356c21338aa2a996 | /*
* Synopsys DesignWare I2C adapter driver (master only).
*
* Based on the TI DAVINCI I2C adapter driver.
*
* ----------------------------------------------------------------------------
*
*/
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/delay.h>
#include <linux/i2c.h>
#include <linux/errn... |
google | android | i2c-pca-isa | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/i2c/busses/i2c-pca-isa.c | 5,342 | utf_8 | 57220ed973efac3901248c4b4cca6d09 | /*
* i2c-pca-isa.c driver for PCA9564 on ISA boards
*/
#include <linux/kernel.h>
#include <linux/ioport.h>
#include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/delay.h>
#include <linux/jiffies.h>
#include <linux/init.h>
#include <linux/interrupt.h>
#include <linux/wait.h>
#include <linux/isa.h>
#... |
google | android | i2c-amd756-s4882 | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/i2c/busses/i2c-amd756-s4882.c | 7,383 | utf_8 | 7ebf7b486cba007b8bdd260c56b93ce7 | /*
* i2c-amd756-s4882.c - i2c-amd756 extras for the Tyan S4882 motherboard
*
*/
/*
* We select the channels by sending commands to the Philips
* PCA9556 chip at I2C address 0x18. The main adapter is used for
* the non-multiplexed part of the bus, and 4 virtual adapters
* are defined for the multiplexed address... |
google | android | i2c-exynos5 | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/i2c/busses/i2c-exynos5.c | 23,417 | utf_8 | 565b7a3ef9575a73e8c211be27099f62 | /**
* i2c-exynos5.c - Samsung Exynos5 I2C Controller Driver
*
*/
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/i2c.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 <linux/c... |
google | android | i2c-parport-light | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/i2c/busses/i2c-parport-light.c | 6,768 | utf_8 | 674e670a1959e6c9ed99267ee0fcaac2 | /* ------------------------------------------------------------------------ *
* i2c-parport-light.c I2C bus over parallel port *
* ------------------------------------------------------------------------ */
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/init.h>
#include ... |
google | android | i2c-eg20t | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/i2c/busses/i2c-eg20t.c | 25,060 | utf_8 | c74985e0f4686cb5ab8e1ed27e8ea7b3 | /*
*/
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/delay.h>
#include <linux/errno.h>
#include <linux/i2c.h>
#include <linux/fs.h>
#include <linux/io.h>
#include <linux/types.h>
#include <linux/interrupt.h>
#include <linux/jiffies.h>
#include <linux/pci.h>
#include <linux/mutex.h>
#include <linux... |
google | android | i2c-digicolor | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/i2c/busses/i2c-digicolor.c | 8,303 | utf_8 | a51025eb2fd4248b84aaba05d7753261 | /*
* I2C bus driver for Conexant Digicolor SoCs
*
*/
#include <linux/clk.h>
#include <linux/completion.h>
#include <linux/delay.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/platform_device.h>
#de... |
google | android | i2c-elektor | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/i2c/busses/i2c-elektor.c | 8,756 | utf_8 | faa9b7fddb53b45878351bae298f20d4 | /* ------------------------------------------------------------------------- */
/* i2c-elektor.c i2c-hw access for PCF8584 style isa bus adaptes */
/* Partially rewriten by Oleg I. Vdovikin for mmapped support of
for Alpha Processor Inc. UP-2000(+) boards */
#include <linux/kernel.h>
#include <linux/iopo... |
google | android | i2c-axxia | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/i2c/busses/i2c-axxia.c | 15,832 | utf_8 | 695419ba8aac20f3fdfb830473e060f7 | /*
* This driver implements I2C master functionality using the LSI API2C
* controller.
*
* NOTE: The controller has a limitation in that it can only do transfers of
* maximum 255 bytes at a time. If a larger transfer is attempted, error code
* (-EINVAL) is returned.
*
* may be copied, distributed, and modified ... |
google | android | i2c-hydra | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/i2c/busses/i2c-hydra.c | 3,924 | utf_8 | 6c70575a01c350102a4d155f756c3ef7 | /*
i2c Support for the Apple `Hydra' Mac I/O
*/
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/pci.h>
#include <linux/types.h>
#include <linux/i2c.h>
#include <linux/i2c-algo-bit.h>
#include <linux/io.h>
#include <asm/hydra.h>
#define HYDRA_CPD_PD0 0x00000001 /* CachePD lines */
#define HYDRA_C... |
google | android | i2c-bcm-kona | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/i2c/busses/i2c-bcm-kona.c | 23,515 | utf_8 | 6bb814b625732beac614c2c34f4aa4bb | /*
*/
#include <linux/device.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/sched.h>
#include <linux/i2c.h>
#include <linux/interrupt.h>
#include <linux/platform_device.h>
#include <linux/clk.h>
#include <linux/io.h>
#include <linux/slab.h>
/* Hardware register offsets and field defintions */
#... |
google | android | i2c-riic | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/i2c/busses/i2c-riic.c | 10,871 | utf_8 | 3743e762774444d6c1316e5df2576e70 | /*
* Renesas RIIC driver
*
*/
/*
* This i2c core has a lot of interrupts, namely 8. We use their chaining as
* some kind of state machine.
*
* 1) The main xfer routine kicks off a transmission by putting the start bit
* (or repeated start) on the bus and enabling the transmit interrupt (TIE)
* since we need to... |
google | android | i2c-cpm | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/i2c/busses/i2c-cpm.c | 17,844 | utf_8 | 2f85612a14c892c9dfac473dab8f75ce | /*
* Freescale CPM1/CPM2 I2C interface.
*/
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/delay.h>
#include <linux/slab.h>
#include <linux/interrupt.h>
#include <linux/errno.h>
#include <linux/stddef.h>
#include <linux/i2c.h>
#include <linux/io.h>
#include <linux/dma-mapping.h>
#include <linux/of... |
google | android | i2c-tegra | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/i2c/busses/i2c-tegra.c | 27,711 | utf_8 | 9f01a50b22aa0b5ebebabbcc92b6fbe8 | /*
* drivers/i2c/busses/i2c-tegra.c
*
*
*/
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/platform_device.h>
#include <linux/clk.h>
#include <linux/err.h>
#include <linux/i2c.h>
#include <linux/io.h>
#include <linux/interrupt.h>
#include <linux/delay.h>
#include <linux/slab.h>
#include <linux/of_... |
google | android | i2c-ismt | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/i2c/busses/i2c-ismt.c | 27,359 | utf_8 | ec0cf3fe03f6bc637ed83dc2c5fc239e | /*
* the documentation and/or other materials provided with the
* distribution.
* * Neither the name of Intel Corporation nor the names of its
* contributors may be used to endorse or promote products derived
*/
/*
* Supports the SMBus Message Transport (SMT) in the Intel Atom Processor
* S12xx P... |
google | android | i2c-taos-evm | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/i2c/busses/i2c-taos-evm.c | 7,753 | utf_8 | 48be06577ffc304c13cef152fa242795 | /*
* Driver for the TAOS evaluation modules
* These devices include an I2C master which can be controlled over the
* serial port.
*
*/
#include <linux/delay.h>
#include <linux/module.h>
#include <linux/slab.h>
#include <linux/interrupt.h>
#include <linux/input.h>
#include <linux/serio.h>
#include <linux/init.h>
#i... |
google | android | i2c-nforce2-s4985 | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/i2c/busses/i2c-nforce2-s4985.c | 7,159 | utf_8 | 8e15002ff68d15bc52dbb649bff2d381 | /*
* i2c-nforce2-s4985.c - i2c-nforce2 extras for the Tyan S4985 motherboard
*
*/
/*
* We select the channels by sending commands to the Philips
* PCA9556 chip at I2C address 0x18. The main adapter is used for
* the non-multiplexed part of the bus, and 4 virtual adapters
* are defined for the multiplexed address... |
google | android | i2c-viperboard | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/i2c/busses/i2c-viperboard.c | 12,199 | utf_8 | a7d664a2774cbcff7642f016bc5d5902 | /*
* Nano River Technologies viperboard i2c master driver
*
* option) any later version.
*
*/
#include <linux/kernel.h>
#include <linux/errno.h>
#include <linux/module.h>
#include <linux/slab.h>
#include <linux/types.h>
#include <linux/mutex.h>
#include <linux/platform_device.h>
#include <linux/usb.h>
#include <... |
google | android | i2c-highlander | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/i2c/busses/i2c-highlander.c | 11,016 | utf_8 | e430762778921b325a55747b7b1272c9 | /*
* Renesas Solutions Highlander FPGA I2C/SMBus support.
*
* Supported devices: R0P7780LC0011RL, R0P7785LC0011RL
*
* of this archive for more details.
*/
#include <linux/module.h>
#include <linux/interrupt.h>
#include <linux/i2c.h>
#include <linux/platform_device.h>
#include <linux/completion.h>
#include <linux/... |
google | android | i2c-puv3 | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/i2c/busses/i2c-puv3.c | 6,146 | utf_8 | 93d12d1eff45b0740b3e3e10995c6736 | /*
* I2C driver for PKUnity-v3 SoC
* Code specific to PKUnity SoC and UniCore ISA
*
*/
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/err.h>
#include <linux/slab.h>
#include <linux/types.h>
#include <linux/delay.h>
#include <linux/i2c.h>
#include <linux/clk.h>
#include <linux/platform_device.h>... |
google | android | i2c-hix5hd2 | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/i2c/busses/i2c-hix5hd2.c | 13,682 | utf_8 | 8ae5ccbb130f95c0d7c1e89442feac71 | /*
* (at your option) any later version.
*
* Now only support 7 bit address.
*/
#include <linux/clk.h>
#include <linux/delay.h>
#include <linux/i2c.h>
#include <linux/io.h>
#include <linux/interrupt.h>
#include <linux/module.h>
#include <linux/of.h>
#include <linux/platform_device.h>
#include <linux/pm_runtime.h>
/... |
google | android | i2c-designware-platdrv | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/i2c/busses/i2c-designware-platdrv.c | 9,358 | utf_8 | 3feeae0c260af89f7899d10eff5be2e1 | /*
* Synopsys DesignWare I2C adapter driver (master only).
*
* Based on the TI DAVINCI I2C adapter driver.
*
* ----------------------------------------------------------------------------
*
*/
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/delay.h>
#include <linux/dmi.h>
#include <linux/i2c.... |
google | android | i2c-davinci | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/i2c/busses/i2c-davinci.c | 25,108 | utf_8 | 9ec00d105c154ff8a3e3b1c636815333 | /*
* TI DAVINCI I2C adapter driver.
*
* ----------------------------------------------------------------------------
*
*/
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/delay.h>
#include <linux/i2c.h>
#include <linux/clk.h>
#include <linux/errno.h>
#include <linux/sched.h>
#include <linux/err.... |
google | android | i2c-mv64xxx | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/i2c/busses/i2c-mv64xxx.c | 28,068 | utf_8 | dd036e94624e6d1beb3ef033fad13eb2 | /*
* Driver for the i2c controller on the Marvell line of host bridges
* (e.g, gt642[46]0, mv643[46]0, mv644[46]0, and Orion SoC family).
*
* or implied.
*/
#include <linux/kernel.h>
#include <linux/slab.h>
#include <linux/module.h>
#include <linux/spinlock.h>
#include <linux/i2c.h>
#include <linux/interrupt.h>
#i... |
google | android | i2c-kempld | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/i2c/busses/i2c-kempld.c | 9,888 | utf_8 | 55b1a77f0e3cd6ee3192817d80c891d3 | /*
* I2C bus driver for Kontron COM modules
*
*/
#include <linux/module.h>
#include <linux/platform_device.h>
#include <linux/i2c.h>
#include <linux/delay.h>
#include <linux/mfd/kempld.h>
#define KEMPLD_I2C_PRELOW 0x0b
#define KEMPLD_I2C_PREHIGH 0x0c
#define KEMPLD_I2C_DATA 0x0e
#define KEMPLD_I2C_CTRL 0x0d
#defin... |
google | android | i2c-designware-baytrail | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/i2c/busses/i2c-designware-baytrail.c | 3,862 | utf_8 | f862535bb22f234d5dd7fee42d8788b6 | /*
* Intel BayTrail PMIC I2C bus semaphore implementaion
* more details.
*/
#include <linux/module.h>
#include <linux/delay.h>
#include <linux/device.h>
#include <linux/acpi.h>
#include <linux/i2c.h>
#include <linux/interrupt.h>
#include <asm/iosf_mbi.h>
#include "i2c-designware-core.h"
#define SEMAPHORE_TIMEOUT 100... |
google | android | i2c-amd756 | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/i2c/busses/i2c-amd756.c | 11,198 | utf_8 | b555fdd609534b8d6042be0895ff6fe1 | /*
*/
/*
2002-04-08: Added nForce support. (Csaba Halasz)
2002-10-03: Fixed nForce PnP I/O port. (Michael Steil)
2002-12-28: Rewritten into something that resembles a Linux driver (hch)
2003-11-29: Added back AMD8111 removed by the previous rewrite.
(Philip Pokorny)
*/
/*
Supports AMD... |
google | android | i2c-ibm_iic | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/i2c/busses/i2c-ibm_iic.c | 19,644 | utf_8 | c3a970d81e43aea3f17738a10b6f060a | /*
* drivers/i2c/busses/i2c-ibm_iic.c
*
* Support for the IIC peripheral on IBM PPC 4xx
*
* option) any later version.
*
*/
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/ioport.h>
#include <linux/delay.h>
#include <linux/slab.h>
#include <linux/interrupt.h>
#include <asm/irq.h>
#include <li... |
google | android | i2c-sirf | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/i2c/busses/i2c-sirf.c | 13,416 | utf_8 | 843c24990002fbea95196c1fcdfeeb1e | /*
* I2C bus driver for CSR SiRFprimaII
*
*/
#include <linux/interrupt.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/slab.h>
#include <linux/platform_device.h>
#include <linux/i2c.h>
#include <linux/clk.h>
#include <linux/err.h>
#include <linux/io.h>
#define SIRFSOC_I2C_CLK_CTRL 0x00
#defin... |
google | android | i2c-scmi | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/i2c/busses/i2c-scmi.c | 11,123 | utf_8 | b64d4f21fa3fbcd772838b5d1a51a8e4 | /*
* SMBus driver for ACPI SMBus CMI
*
*/
#include <linux/module.h>
#include <linux/slab.h>
#include <linux/kernel.h>
#include <linux/stddef.h>
#include <linux/i2c.h>
#include <linux/acpi.h>
#define ACPI_SMBUS_HC_CLASS "smbus"
#define ACPI_SMBUS_HC_DEVICE_NAME "cmi"
ACPI_MODULE_NAME("smbus_cmi");
struct smbus_metho... |
google | android | i2c-stu300 | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/i2c/busses/i2c-stu300.c | 26,585 | utf_8 | 80eb27fd542f9ddbad45495f40ec8069 | /*
*/
#include <linux/init.h>
#include <linux/module.h>
#include <linux/platform_device.h>
#include <linux/delay.h>
#include <linux/i2c.h>
#include <linux/spinlock.h>
#include <linux/completion.h>
#include <linux/err.h>
#include <linux/interrupt.h>
#include <linux/clk.h>
#include <linux/io.h>
#include <linux/slab.h>
/... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.