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 | tty_mutex | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/tty/tty_mutex.c | 1,177 | utf_8 | 2712cb0b207e40e89956b5998beac63e | #include <linux/tty.h>
#include <linux/module.h>
#include <linux/kallsyms.h>
#include <linux/semaphore.h>
#include <linux/sched.h>
/* Legacy tty mutex glue */
/*
* Getting the big tty mutex.
*/
void __lockfunc tty_lock(struct tty_struct *tty)
{
if (tty->magic != TTY_MAGIC) {
pr_err("L Bad %p\n", tty);
WARN_ON... |
google | android | n_r3964 | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/tty/n_r3964.c | 31,557 | utf_8 | 1ec58c68e7e3def1656c0b92a37b341d | /* r3964 linediscipline for linux
*
*
* Author:
* L. Haag
*
* $Log: n_r3964.c,v $
* Revision 1.10 2001/03/18 13:02:24 dwmw2
* Fix timer usage, use spinlocks properly.
*
* Revision 1.9 2001/03/18 12:52:14 dwmw2
* Merge changes in 2.4.2
*
* Revision 1.8 2000/03/23 14:14:54 dwmw2
* Fix race in sleeping... |
google | android | tty_ldisc | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/tty/tty_ldisc.c | 19,561 | utf_8 | b143c32bde6365973f3f6db14a5bf27e | #include <linux/types.h>
#include <linux/errno.h>
#include <linux/kmod.h>
#include <linux/sched.h>
#include <linux/interrupt.h>
#include <linux/tty.h>
#include <linux/tty_driver.h>
#include <linux/file.h>
#include <linux/mm.h>
#include <linux/string.h>
#include <linux/slab.h>
#include <linux/poll.h>
#include <linux/pro... |
google | android | moxa | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/tty/moxa.c | 53,736 | utf_8 | dadfd1c5af26f1848d5604e1b0763ea3 | /*****************************************************************************/
/*
* moxa.c -- MOXA Intellio family multiport serial driver.
*
* (at your option) any later version.
*/
/*
* MOXA Intellio Series Driver
* for : LINUX
* date : 1999/1/7
* vers... |
google | android | synclink_gt | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/tty/synclink_gt.c | 135,012 | utf_8 | 8a8dc1c5b0769b61d0ce94437ba333c4 | /*
* Device driver for Microgate SyncLink GT serial adapters.
*
* written by Paul Fulghum for Microgate Corporation
* OF THE POSSIBILITY OF SUCH DAMAGE.
*/
/*
* DEBUG OUTPUT DEFINITIONS
*
* uncomment lines below to enable specific types of debug output
*
* DBGINFO information - most verbose output
* DBGERR... |
google | android | n_hdlc | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/tty/n_hdlc.c | 27,767 | utf_8 | eca1bee082d068ee481d26b349710718 | /* generic HDLC line discipline for Linux
*
*
* This module implements the tty line discipline N_HDLC for use with
* tty device drivers that support bit-synchronous HDLC communications.
*
* All HDLC data is frame oriented which means:
*
* 1. tty write calls represent one complete transmit frame of data
* Th... |
google | android | tty_audit | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/tty/tty_audit.c | 8,520 | utf_8 | 889d225685220c086d28706eb2a71bfb | /*
* Creating audit events from TTY input.
*
*/
#include <linux/audit.h>
#include <linux/slab.h>
#include <linux/tty.h>
struct tty_audit_buf {
atomic_t count;
struct mutex mutex; /* Protects all data below */
int major, minor; /* The TTY which the data is from */
unsigned icanon:1;
size_t valid;
unsigned char ... |
google | android | bfin_jtag_comm | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/tty/bfin_jtag_comm.c | 9,204 | utf_8 | 06c461120842e73c97a53bb810c26cab | /*
* TTY over Blackfin JTAG Communication
*
*/
#define DRV_NAME "bfin-jtag-comm"
#define DEV_NAME "ttyBFJC"
#define pr_fmt(fmt) DRV_NAME ": " fmt
#include <linux/circ_buf.h>
#include <linux/console.h>
#include <linux/delay.h>
#include <linux/err.h>
#include <linux/kernel.h>
#include <linux/kthread.h>
#include <linux... |
google | android | hvc_vio | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/tty/hvc/hvc_vio.c | 11,862 | utf_8 | 5da3820f854fa345a947ecbe21b0ee1f | /*
* vio driver interface to hvc_console.c
*
* This code was moved here to allow the remaining code to be reused as a
* generic polling mode with semi-reliable transport driver core to the
* console and tty subsystems.
*
*
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
* TODO:
*... |
google | android | hvc_tile | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/tty/hvc/hvc_tile.c | 4,792 | utf_8 | dd4c476666ef02a831f8d92424932890 | /*
* more details.
*
* Tilera TILE Processor hypervisor console
*/
#include <linux/console.h>
#include <linux/delay.h>
#include <linux/err.h>
#include <linux/init.h>
#include <linux/interrupt.h>
#include <linux/irq.h>
#include <linux/moduleparam.h>
#include <linux/platform_device.h>
#include <linux/types.h>
#incl... |
google | android | hvc_iucv | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/tty/hvc/hvc_iucv.c | 42,330 | utf_8 | 03a8dfd09c74ce0c7a8f284842edd0cb | /*
* z/VM IUCV hypervisor console (HVC) device driver
*
* This HVC device driver provides terminal access using
* z/VM IUCV communication paths.
*
*/
#define KMSG_COMPONENT "hvc_iucv"
#define pr_fmt(fmt) KMSG_COMPONENT ": " fmt
#include <linux/types.h>
#include <linux/slab.h>
#include <asm/ebcdic.h>
#include <l... |
google | android | hvc_dcc | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/tty/hvc/hvc_dcc.c | 2,018 | utf_8 | 9f5f987cfc602e6cf16661d099148256 | */
#include <linux/init.h>
#include <asm/dcc.h>
#include <asm/processor.h>
#include "hvc_console.h"
/* DCC Status Bits */
#define DCC_STATUS_RX (1 << 30)
#define DCC_STATUS_TX (1 << 29)
static int hvc_dcc_put_chars(uint32_t vt, const char *buf, int count)
{
int i;
for (i = 0; i < count; i++) {
while (__dcc_getst... |
google | android | hvsi_lib | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/tty/hvc/hvsi_lib.c | 9,806 | utf_8 | 901edfdc73d130ceff10dfc145d75296 | #include <linux/types.h>
#include <linux/delay.h>
#include <linux/slab.h>
#include <linux/console.h>
#include <asm/hvsi.h>
#include "hvc_console.h"
static int hvsi_send_packet(struct hvsi_priv *pv, struct hvsi_header *packet)
{
packet->seqno = cpu_to_be16(atomic_inc_return(&pv->seqno));
/* Assumes that always succeed... |
google | android | hvc_rtas | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/tty/hvc/hvc_rtas.c | 3,401 | utf_8 | 2be2c22e3ae8af6fad2dff09b48ffd27 | /*
* IBM RTAS driver interface to hvc_console.c
*
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#include <linux/console.h>
#include <linux/delay.h>
#include <linux/err.h>
#include <linux/init.h>
#include <linux/moduleparam.h>
#include <linux/types.h>
#include <asm/irq.h>
#include <as... |
google | android | hvcs | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/tty/hvc/hvcs.c | 46,860 | utf_8 | 45c5459259237086f6f1f1d55bb72640 | /*
* IBM eServer Hypervisor Virtual Console Server Device Driver
*
* This is the device driver for the IBM Hypervisor Virtual Console Server,
* "hvcs". The IBM hvcs provides a tty driver interface to allow Linux
* user space applications access to the system consoles of logically
* partitioned operating systems,... |
google | android | hvc_irq | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/tty/hvc/hvc_irq.c | 893 | utf_8 | 2a978737e3015a56ec6cbc67ea7dc2bd | /*
*
* This file contains the IRQ specific code for hvc_console
*
*/
#include <linux/interrupt.h>
#include "hvc_console.h"
static irqreturn_t hvc_handle_interrupt(int irq, void *dev_instance)
{
/* if hvc_poll request a repoll, then kick the hvcd thread */
if (hvc_poll(dev_instance))
hvc_kick();
return IRQ_HAND... |
google | android | hvc_console | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/tty/hvc/hvc_console.c | 24,548 | utf_8 | ffb0ae7ea8721bd3b086f39ab7f975e9 | /*
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#include <linux/console.h>
#include <linux/cpumask.h>
#include <linux/init.h>
#include <linux/kbd_kern.h>
#include <linux/kernel.h>
#include <linux/kthread.h>
#include <linux/list.h>
#include <linux/init.h>
#include <linux/major.h>
#incl... |
google | android | hvsi | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/tty/hvc/hvsi.c | 30,733 | utf_8 | df71b9f510a3040fa414cfaae4d4999b | /*
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
/* Host Virtual Serial Interface (HVSI) is a protocol between the hosted OS
* and the service processor on IBM pSeries servers. On these servers, there
* are no serial ports under the OS's control, and sometimes there is no other
* co... |
google | android | hvc_udbg | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/tty/hvc/hvc_udbg.c | 2,053 | utf_8 | 9c7a40695d4ec6ef80145bc28f9b578b | /*
* udbg interface to hvc_console.c
*
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#include <linux/console.h>
#include <linux/delay.h>
#include <linux/err.h>
#include <linux/init.h>
#include <linux/moduleparam.h>
#include <linux/types.h>
#include <linux/irq.h>
#include <asm/udbg.h>... |
google | android | hvc_bfin_jtag | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/tty/hvc/hvc_bfin_jtag.c | 2,284 | utf_8 | f7ad1100a1c75613673622bc5149ba8e | /*
* Console via Blackfin JTAG Communication
*
*/
#include <linux/console.h>
#include <linux/delay.h>
#include <linux/err.h>
#include <linux/init.h>
#include <linux/moduleparam.h>
#include <linux/types.h>
#include "hvc_console.h"
/* See the Debug/Emulation chapter in the HRM */
#define EMUDOF 0x00000001 /* EMUDAT_... |
google | android | hvc_opal | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/tty/hvc/hvc_opal.c | 10,558 | utf_8 | a62d0ed8fbf37242fd2d0dd7ade95f91 | /*
* opal driver interface to hvc_console.c
*
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
*/
#undef DEBUG
#include <linux/types.h>
#include <linux/init.h>
#include <linux/delay.h>
#include <linux/slab.h>
#include <linux/console.h>
#include <linux/of.h>
#include <linux/of_platform.h... |
google | android | hvc_xen | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/tty/hvc/hvc_xen.c | 15,159 | utf_8 | d32e7e481ee7698fc7069169853b568b | /*
* xen console driver interface to hvc_console.c
*
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#include <linux/console.h>
#include <linux/delay.h>
#include <linux/err.h>
#include <linux/irq.h>
#include <linux/init.h>
#include <linux/types.h>
#include <linux/list.h>
#include <asm/... |
google | android | main | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/tty/ipwireless/main.c | 8,648 | utf_8 | 97db07d7f08cc1f6eba7d75935ab45be | /*
* IPWireless 3G PCMCIA Network Driver
*
* Original code
*/
#include "hardware.h"
#include "network.h"
#include "main.h"
#include "tty.h"
#include <linux/delay.h>
#include <linux/init.h>
#include <linux/io.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/sched.h>
#include <linux/slab.h>
#inc... |
google | android | hardware | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/tty/ipwireless/hardware.c | 46,445 | utf_8 | e031dec999d1b86011fa5e7770f34712 | /*
* IPWireless 3G PCMCIA Network Driver
*
* Original code
*/
#include <linux/interrupt.h>
#include <linux/io.h>
#include <linux/irq.h>
#include <linux/kernel.h>
#include <linux/list.h>
#include <linux/slab.h>
#include "hardware.h"
#include "setup_protocol.h"
#include "network.h"
#include "main.h"
static void ipw_s... |
google | android | network | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/tty/ipwireless/network.c | 12,898 | utf_8 | 55adefef3b5bb1b38a917d2a8115c880 | /*
* IPWireless 3G PCMCIA Network Driver
*
* Original code
*/
#include <linux/interrupt.h>
#include <linux/kernel.h>
#include <linux/mutex.h>
#include <linux/netdevice.h>
#include <linux/ppp_channel.h>
#include <linux/ppp_defs.h>
#include <linux/slab.h>
#include <linux/ppp-ioctl.h>
#include <linux/skbuff.h>
#includ... |
google | android | tty | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/tty/ipwireless/tty.c | 14,348 | utf_8 | 6fc015ef9b0b4313dbfaccbb982a8c34 | /*
* IPWireless 3G PCMCIA Network Driver
*
* Original code
*/
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/mutex.h>
#include <linux/ppp_defs.h>
#include <linux/if.h>
#include <linux/ppp-ioctl.h>
#include <linux/sched.h>
#include <linux/serial.h>
#include <linux/slab.h>
#include <linux/tty.h>
... |
google | android | rp2 | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/tty/serial/rp2.c | 24,666 | utf_8 | e5c6999eecd2ff1a90c737948becc786 | /*
* Driver for Comtrol RocketPort EXPRESS/INFINITY cards
*
*/
#include <linux/bitops.h>
#include <linux/compiler.h>
#include <linux/completion.h>
#include <linux/console.h>
#include <linux/delay.h>
#include <linux/firmware.h>
#include <linux/init.h>
#include <linux/io.h>
#include <linux/ioport.h>
#include <linux/ir... |
google | android | sb1250-duart | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/tty/serial/sb1250-duart.c | 24,725 | utf_8 | 9204a66a0b76d13192bcf960aa77a7c1 | /*
* Support for the asynchronous serial interface (DUART) included
* in the BCM1250 and derived System-On-a-Chip (SOC) devices.
*
*
* References:
*
* "BCM1250/BCM1125/BCM1125H User Manual", Broadcom Corporation
*/
#if defined(CONFIG_SERIAL_SB1250_DUART_CONSOLE) && defined(CONFIG_MAGIC_SYSRQ)
#define SUPPORT_SY... |
google | android | men_z135_uart | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/tty/serial/men_z135_uart.c | 22,054 | utf_8 | 01d355e08e3149b681d5b2eaa6b04039 | /*
* MEN 16z135 High Speed UART
*
*/
#define pr_fmt(fmt) KBUILD_MODNAME ":" fmt
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/interrupt.h>
#include <linux/serial_core.h>
#include <linux/ioport.h>
#include <linux/io.h>
#include <linux/tty_flip.h>
#include <linux/bitops.h>
#include <linux/mcb.h>
... |
google | android | m32r_sio | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/tty/serial/m32r_sio.c | 26,795 | utf_8 | 2a24c1620dc4d31066dc87aa33bb1c4f | /*
* m32r_sio.c
*
* Driver for M32R serial ports
*
* Based on drivers/char/serial.c, by Linus Torvalds, Theodore Ts'o.
* Based on drivers/serial/8250.c.
*
* (at your option) any later version.
*/
/*
* A note about mapbase / membase
*
* mapbase is the physical address of the IO port. Currently, we don'... |
google | android | arc_uart | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/tty/serial/arc_uart.c | 17,836 | utf_8 | 5780359ffa7149d6d5b806e72d80e5f9 | /*
* ARC On-Chip(fpga) UART Driver
*
*
* vineetg: July 10th 2012
* -Decoupled the driver from arch/arc
* +Using platform_get_resource() for irq/membase (thx to bfin_uart.c)
* +Using early_platform_xxx() for early console (thx to mach-shmobile/xxx)
*
* Vineetg: Aug 21st 2010
* -Is uart_tx_stopped() not... |
google | android | serial_core | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/tty/serial/serial_core.c | 74,930 | utf_8 | 3dff0d0b9fa7f4a49ca56e38e49ebb8c | /*
* Driver core for serial ports
*
* Based on drivers/char/serial.c, by Linus Torvalds, Theodore Ts'o.
*
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#include <linux/module.h>
#include <linux/tty.h>
#include <linux/tty_flip.h>
#include <linux/slab.h>
#include <linux/init.h>
#i... |
google | android | imx | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/tty/serial/imx.c | 58,145 | utf_8 | 329647d3b5439731d82a094467ea8241 | /*
* Driver for Motorola/Freescale IMX serial ports
*
* Based on drivers/char/serial.c, by Linus Torvalds, Theodore Ts'o.
*
*/
#if defined(CONFIG_SERIAL_IMX_CONSOLE) && defined(CONFIG_MAGIC_SYSRQ)
#define SUPPORT_SYSRQ
#endif
#include <linux/module.h>
#include <linux/ioport.h>
#include <linux/init.h>
#include <lin... |
google | android | sccnxp | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/tty/serial/sccnxp.c | 26,334 | iso_8859_1 | 1541729832eb39fea12822a4a43556ff | /*
* NXP (Philips) SCC+++(SCN+++) serial driver
*
* (at your option) any later version.
*/
#if defined(CONFIG_SERIAL_SCCNXP_CONSOLE) && defined(CONFIG_MAGIC_SYSRQ)
#define SUPPORT_SYSRQ
#endif
#include <linux/clk.h>
#include <linux/err.h>
#include <linux/module.h>
#include <linux/device.h>
#include <linux/console.... |
google | android | suncore | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/tty/serial/suncore.c | 5,303 | utf_8 | a19c3c415ee5791103fb7832209a5604 | /* suncore.c
*
* Common SUN serial routines. Based entirely
* upon drivers/sbus/char/sunserial.c which is:
*
*/
#include <linux/kernel.h>
#include <linux/console.h>
#include <linux/tty.h>
#include <linux/errno.h>
#include <linux/string.h>
#include <linux/serial_core.h>
#include <linux/sunserialcore.h>
#include <l... |
google | android | pxa | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/tty/serial/pxa.c | 23,265 | utf_8 | 8089f3c8e6301aac530c4a6e543de86e | /*
* Based on drivers/serial/8250.c by Russell King.
*
* Author: Nicolas Pitre
* Created: Feb 20, 2003
* (at your option) any later version.
*
* Note 1: This driver is made separate from the already too overloaded
* 8250.c because it needs some kirks of its own and that'll make it
* easier to add DMA suppor... |
google | android | etraxfs-uart | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/tty/serial/etraxfs-uart.c | 26,231 | utf_8 | 44c014d724eb3dda2fb5524df10a9426 | #include <linux/module.h>
#include <linux/init.h>
#include <linux/console.h>
#include <linux/platform_device.h>
#include <linux/serial_core.h>
#include <linux/tty_flip.h>
#include <linux/of.h>
#include <linux/gpio.h>
#include <linux/of_irq.h>
#include <linux/of_address.h>
#include <hwregs/ser_defs.h>
#include "serial_m... |
google | android | mxs-auart | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/tty/serial/mxs-auart.c | 34,283 | utf_8 | 177ac83649c1232f7603147c0544177c | /*
* Freescale STMP37XX/STMP378X Application UART driver
*
* http://www.gnu.org/copyleft/gpl.html
*/
#if defined(CONFIG_SERIAL_MXS_AUART_CONSOLE) && defined(CONFIG_MAGIC_SYSRQ)
#define SUPPORT_SYSRQ
#endif
#include <linux/kernel.h>
#include <linux/errno.h>
#include <linux/init.h>
#include <linux/console.h>
#include... |
google | android | efm32-uart | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/tty/serial/efm32-uart.c | 21,198 | utf_8 | 63181754c4fcf978297dd425e0395ece | #if defined(CONFIG_SERIAL_EFM32_UART_CONSOLE) && defined(CONFIG_MAGIC_SYSRQ)
#define SUPPORT_SYSRQ
#endif
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/io.h>
#include <linux/platform_device.h>
#include <linux/console.h>
#include <linux/sysrq.h>
#include <linux/serial_core.h>
#include <linux/tty_fl... |
google | android | 21285 | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/tty/serial/21285.c | 11,491 | utf_8 | 5a7c002091bb1a79115922a4173cb162 | /*
* Driver for the serial port on the 21285 StrongArm-110 core logic chip.
*
* Based on drivers/char/serial.c
*/
#include <linux/module.h>
#include <linux/tty.h>
#include <linux/ioport.h>
#include <linux/init.h>
#include <linux/console.h>
#include <linux/device.h>
#include <linux/tty_flip.h>
#include <linux/serial... |
google | android | lantiq | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/tty/serial/lantiq.c | 18,409 | utf_8 | 591fc29377c50e632dd07b01017b5cfc | /*
* Based on drivers/char/serial.c, by Linus Torvalds, Theodore Ts'o.
*
*/
#include <linux/slab.h>
#include <linux/ioport.h>
#include <linux/init.h>
#include <linux/console.h>
#include <linux/sysrq.h>
#include <linux/device.h>
#include <linux/tty.h>
#include <linux/tty_flip.h>
#include <linux/serial_core.h>
#inclu... |
google | android | ifx6x60 | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/tty/serial/ifx6x60.c | 38,443 | utf_8 | ae324d25d6bd151bae0f5fa745c6ddf8 | /****************************************************************************
*
* Driver for the IFX 6x60 spi modem.
*
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
* USA
*
* Driver modified by Intel from Option gtm501l_spi.c
*
* Notes
* o The driver currently assumes a single d... |
google | android | of_serial | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/tty/serial/of_serial.c | 9,284 | utf_8 | c49e6ed7c6e3fbdbe4d4b704bdc201e1 | /*
* Serial Port driver for Open Firmware platform devices
*
*
*/
#include <linux/console.h>
#include <linux/module.h>
#include <linux/slab.h>
#include <linux/delay.h>
#include <linux/serial_core.h>
#include <linux/serial_reg.h>
#include <linux/of_address.h>
#include <linux/of_irq.h>
#include <linux/of_platform.h>... |
google | android | sprd_serial | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/tty/serial/sprd_serial.c | 18,507 | utf_8 | 488cbe152d3191b37f26828324e1eaed | /*
*/
#if defined(CONFIG_SERIAL_SPRD_CONSOLE) && defined(CONFIG_MAGIC_SYSRQ)
#define SUPPORT_SYSRQ
#endif
#include <linux/clk.h>
#include <linux/console.h>
#include <linux/delay.h>
#include <linux/io.h>
#include <linux/ioport.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/of.h>
#include <linux/... |
google | android | sh-sci | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/tty/serial/sh-sci.c | 66,653 | utf_8 | 2a974b55e57375e0f8121b1df47a63e4 | /*
* SuperH on-chip serial module support. (SCI with no FIFO / with FIFO)
*
* for more details.
*/
#if defined(CONFIG_SERIAL_SH_SCI_CONSOLE) && defined(CONFIG_MAGIC_SYSRQ)
#define SUPPORT_SYSRQ
#endif
#undef DEBUG
#include <linux/clk.h>
#include <linux/console.h>
#include <linux/ctype.h>
#include <linux/cpufreq.h>... |
google | android | sa1100 | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/tty/serial/sa1100.c | 23,443 | utf_8 | ba0641e0aa25343a7d742d4821e86fca | /*
* Driver for SA11x0 serial ports
*
* Based on drivers/char/serial.c, by Linus Torvalds, Theodore Ts'o.
*
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#if defined(CONFIG_SERIAL_SA1100_CONSOLE) && defined(CONFIG_MAGIC_SYSRQ)
#define SUPPORT_SYSRQ
#endif
#include <linux/module.... |
google | android | sunzilog | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/tty/serial/sunzilog.c | 41,547 | utf_8 | c3a988cf801e8b05dbd98ca8af57dec4 | /* sunzilog.c: Zilog serial driver for Sparc systems.
*
* Driver for Zilog serial chips found on Sun workstations and
* servers. This driver could actually be made more generic.
*
* This is based on the old drivers/sbus/char/zs.c code. A lot
* of code has been simply moved over directly from there but
* much h... |
google | android | dz | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/tty/serial/dz.c | 22,950 | utf_8 | f008e52e867fdf579a62e3c736e8e4e4 | /*
* dz.c: Serial port driver for DECstations equipped
* with the DZ chipset.
*
* [07-SEP-99] Bugfixes
*
* Converted to new serial core
*/
#undef DEBUG_DZ
#if defined(CONFIG_SERIAL_DZ_CONSOLE) && defined(CONFIG_MAGIC_SYSRQ)
#define SUPPORT_SYSRQ
#endif
#include <linux/bitops.h>
#include <linux/compiler.h>
... |
google | android | stm32-usart | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/tty/serial/stm32-usart.c | 17,859 | utf_8 | 0afe2688d4b387e6cba2657cd54e82a4 | /*
*/
#if defined(CONFIG_SERIAL_STM32_CONSOLE) && defined(CONFIG_MAGIC_SYSRQ)
#define SUPPORT_SYSRQ
#endif
#include <linux/module.h>
#include <linux/serial.h>
#include <linux/console.h>
#include <linux/sysrq.h>
#include <linux/platform_device.h>
#include <linux/io.h>
#include <linux/irq.h>
#include <linux/tty.h>
#incl... |
google | android | msm_serial | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/tty/serial/msm_serial.c | 39,095 | utf_8 | 472b53af0c8e0ad7ca55cdfee009ceaf | /*
* Driver for msm7k serial device and console
*
*/
#if defined(CONFIG_SERIAL_MSM_CONSOLE) && defined(CONFIG_MAGIC_SYSRQ)
# define SUPPORT_SYSRQ
#endif
#include <linux/atomic.h>
#include <linux/dma-mapping.h>
#include <linux/dmaengine.h>
#include <linux/hrtimer.h>
#include <linux/module.h>
#include <linux/io.h>
#in... |
google | android | bcm63xx_uart | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/tty/serial/bcm63xx_uart.c | 21,780 | utf_8 | 79d19ee93c1ae4d7164e7707e446e882 | /*
* This file is subject to the terms and conditions of the GNU General Public
*
* Serial driver for BCM63xx integrated UART.
*
* Hardware flow control was _not_ tested since I only have RX/TX on
* my board.
*/
#if defined(CONFIG_SERIAL_BCM63XX_CONSOLE) && defined(CONFIG_MAGIC_SYSRQ)
#define SUPPORT_SYSRQ
#end... |
google | android | sunsu | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/tty/serial/sunsu.c | 38,842 | utf_8 | 549f5119ba8aa0ffdd51470a2aa85ce1 | /*
* su.c: Small serial driver for keyboard/mouse interface on sparc32/PCI
*
*/
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/spinlock.h>
#include <linux/errno.h>
#include <linux/tty.h>
#include <linux/tty_flip.h>
#include <linux/major.h>
#include <linux/string.h>
#include <linux/ptrace.h>
#inc... |
google | android | pnx8xxx_uart | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/tty/serial/pnx8xxx_uart.c | 21,662 | utf_8 | e77ed401ad53a5a1f3ee68efb25b87e7 | /*
* UART driver for PNX8XXX SoCs
*
* any kind, whether express or implied.
*
*/
#if defined(CONFIG_SERIAL_PNX8XXX_CONSOLE) && defined(CONFIG_MAGIC_SYSRQ)
#define SUPPORT_SYSRQ
#endif
#include <linux/module.h>
#include <linux/ioport.h>
#include <linux/init.h>
#include <linux/console.h>
#include <linux/sysrq.h>
#in... |
google | android | nwpserial | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/tty/serial/nwpserial.c | 11,608 | utf_8 | d03b338f5c66744dd308a41895c4072b | /*
* Serial Port driver for a NWP uart device
*
*
*/
#include <linux/init.h>
#include <linux/export.h>
#include <linux/console.h>
#include <linux/serial.h>
#include <linux/serial_reg.h>
#include <linux/serial_core.h>
#include <linux/tty.h>
#include <linux/tty_flip.h>
#include <linux/irqreturn.h>
#include <linux/mu... |
google | android | crisv10 | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/tty/serial/crisv10.c | 120,775 | utf_8 | 6cf882591c134fcd12bffaf6c09a0de0 | /*
* Serial port driver for the ETRAX 100LX chip
*
*
* Many, many authors. Based once upon a time on serial.c for 16x50.
*
*/
static char *serial_version = "$Revision: 1.25 $";
#include <linux/types.h>
#include <linux/errno.h>
#include <linux/signal.h>
#include <linux/sched.h>
#include <linux/timer.h>
#include... |
google | android | tilegx | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/tty/serial/tilegx.c | 16,173 | utf_8 | f6e6df51302863dd8cedbe312b11c5c4 | /*
* more details.
*
* TILEGx UART driver.
*/
#include <linux/delay.h>
#include <linux/init.h>
#include <linux/interrupt.h>
#include <linux/io.h>
#include <linux/irq.h>
#include <linux/module.h>
#include <linux/serial_core.h>
#include <linux/tty.h>
#include <linux/tty_flip.h>
#include <gxio/common.h>
#include <gx... |
google | android | mux | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/tty/serial/mux.c | 15,138 | utf_8 | 8f1a98f0e1cec0d4242744b8194ee7e4 | /*
** mux.c:
** serial driver for the Mux console found in some PA-RISC servers.
**
** (at your option) any later version.
**
** This Driver currently only supports the console (port 0) on the MUX.
** Additional work will be needed on this driver to enable the full
** functionality of the MUX.
**
*/
#include <linux/mod... |
google | android | bfin_sport_uart | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/tty/serial/bfin_sport_uart.c | 23,295 | utf_8 | d83efbbe19681551989e2743bb6be266 | /*
* Blackfin On-Chip Sport Emulated UART Driver
*
*/
/*
* This driver and the hardware supported are in term of EE-191 of ADI.
* http://www.analog.com/static/imported-files/application_notes/EE191.pdf
* This application note describe how to implement a UART on a Sharc DSP,
* but this driver is implemented on B... |
google | android | 68328serial | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/tty/serial/68328serial.c | 32,522 | utf_8 | f2ee5debc66d7ea9a96a3ff73325997e | /* 68328serial.c: Serial port driver for 68328 microcontroller
*
* VZ Second Serial Port enable Phil Wilshire
* 2.4/2.5 port David McCullough
*/
#include <linux/module.h>
#include <linux/errno.h>
#include <linux/serial.h>
#include <linux/signal.h>
#include <linux/sched.h>
#include <linux/timer.h>
#i... |
google | android | earlycon-arm-semihost | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/tty/serial/earlycon-arm-semihost.c | 1,705 | utf_8 | 40a101c5f1950c52a1a8198b04ed496d | /*
*/
#include <linux/kernel.h>
#include <linux/console.h>
#include <linux/init.h>
#include <linux/serial_core.h>
#ifdef CONFIG_THUMB2_KERNEL
#define SEMIHOST_SWI "0xab"
#else
#define SEMIHOST_SWI "0x123456"
#endif
/*
* Semihosting-based debug console
*/
static void smh_putc(struct uart_port *port, int c)
{
#ifdef C... |
google | android | zs | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/tty/serial/zs.c | 31,241 | utf_8 | 2e10165858b39d6fd77449dc5f7906ee | /*
* zs.c: Serial port driver for IOASIC DECstations.
*
* Derived from drivers/sbus/char/sunserial.c by Paul Mackerras.
* Derived from drivers/macintosh/macserial.c by Harald Koerfgen.
*
* DECstation changes
*
*
* Note: for IOASIC systems the wiring is as follows:
*
* mouse/keyboard:
* DIN-7 MJ-4 signal ... |
google | android | mcf | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/tty/serial/mcf.c | 19,163 | utf_8 | 89b9ae4bc6a604f3403f579ce9412a05 | /****************************************************************************/
/*
* mcf.c -- Freescale ColdFire UART driver
*
* (at your option) any later version.
*/
/****************************************************************************/
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/inte... |
google | android | amba-pl011 | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/tty/serial/amba-pl011.c | 65,902 | utf_8 | e78e4909315075442e80bf55b8d0a3df | /*
* Driver for AMBA serial ports
*
* Based on drivers/char/serial.c, by Linus Torvalds, Theodore Ts'o.
*
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
* This is a generic driver for ARM AMBA-type serial ports. They
* have a lot of 16550-like features, but are not register com... |
google | android | sc16is7xx | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/tty/serial/sc16is7xx.c | 42,834 | utf_8 | 66f12f2e7449cdfeba63b43e800c27ea | /*
* (at your option) any later version.
*
*/
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
#include <linux/bitops.h>
#include <linux/clk.h>
#include <linux/delay.h>
#include <linux/device.h>
#include <linux/gpio.h>
#include <linux/i2c.h>
#include <linux/module.h>
#include <linux/of.h>
#include <linux/of_device.h>
#in... |
google | android | earlycon | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/tty/serial/earlycon.c | 5,519 | utf_8 | 932a299def701bbca6f42a4d5d6185f3 | /*
*/
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
#include <linux/console.h>
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/io.h>
#include <linux/serial_core.h>
#include <linux/sizes.h>
#include <linux/mod_devicetable.h>
#ifdef CONFIG_FIX_EARLYCON_MEM
#include <asm/fixmap.h>
#endif
#include <asm/ser... |
google | android | sn_console | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/tty/serial/sn_console.c | 29,554 | utf_8 | 0ebeea1b2cccd0da5f8d1ffa4ea1c7cd | /*
* C-Brick Serial Port (and console) driver for SGI Altix machines.
*
* This driver is NOT suitable for talking to the l1-controller for
* anything other than 'console activities' --- please use the l1
* driver for that.
*
*
* Foundation, Inc., 59 Temple Place - Suite 330, Boston MA 02111-1307, USA.
*
* Con... |
google | android | netx-serial | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/tty/serial/netx-serial.c | 17,138 | utf_8 | 2a32e24bff2dc5fef3669ab631ee4767 | /*
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#if defined(CONFIG_SERIAL_NETX_CONSOLE) && defined(CONFIG_MAGIC_SYSRQ)
#define SUPPORT_SYSRQ
#endif
#include <linux/device.h>
#include <linux/module.h>
#include <linux/ioport.h>
#include <linux/init.h>
#include <linux/console.h>
#includ... |
google | android | serial-tegra | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/tty/serial/serial-tegra.c | 37,807 | utf_8 | 6107d5094f0c66916c3caa2a960d1de2 | /*
* serial_tegra.c
*
* High-speed serial driver for NVIDIA Tegra SoCs
*
*/
#include <linux/clk.h>
#include <linux/debugfs.h>
#include <linux/delay.h>
#include <linux/dmaengine.h>
#include <linux/dma-mapping.h>
#include <linux/dmapool.h>
#include <linux/err.h>
#include <linux/io.h>
#include <linux/irq.h>
#include ... |
google | android | uartlite | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/tty/serial/uartlite.c | 16,657 | utf_8 | a600ed3a2dced525a38ea7e7cc7ef388 | /*
* uartlite.c: Serial driver for Xilinx uartlite serial controller
*
* kind, whether express or implied.
*/
#include <linux/platform_device.h>
#include <linux/module.h>
#include <linux/console.h>
#include <linux/serial.h>
#include <linux/serial_core.h>
#include <linux/tty.h>
#include <linux/tty_flip.h>
#include <... |
google | android | max310x | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/tty/serial/max310x.c | 38,402 | utf_8 | fb238ef8cf536babe1f572b572f886de | /*
* Maxim (Dallas) MAX3107/8/9, MAX14830 serial driver
*
* (at your option) any later version.
*/
#include <linux/bitops.h>
#include <linux/clk.h>
#include <linux/delay.h>
#include <linux/device.h>
#include <linux/gpio.h>
#include <linux/module.h>
#include <linux/of.h>
#include <linux/of_device.h>
#include <linu... |
google | android | kgdb_nmi | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/tty/serial/kgdb_nmi.c | 9,740 | utf_8 | 6d666685cac099d66ca76c6c8b4cdad3 | /*
* KGDB NMI serial console
*
*/
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/compiler.h>
#include <linux/slab.h>
#include <linux/errno.h>
#include <linux/atomic.h>
#include <linux/console.h>
#include <linux/tty.h>
#include <linux/tty_driver.h>
#include <linux/tty_flip.h>
#include <linux/seri... |
google | android | serial_mctrl_gpio | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/tty/serial/serial_mctrl_gpio.c | 5,936 | utf_8 | d83c886d2f79713897f14a10357f4325 | /*
* Helpers for controlling modem lines via GPIO
*
*/
#include <linux/err.h>
#include <linux/device.h>
#include <linux/irq.h>
#include <linux/gpio/consumer.h>
#include <linux/termios.h>
#include <linux/serial_core.h>
#include "serial_mctrl_gpio.h"
struct mctrl_gpios {
struct uart_port *port;
struct gpio_desc *gpi... |
google | android | serial_txx9 | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/tty/serial/serial_txx9.c | 33,766 | utf_8 | ed4438515c35eb46d03786cba858f47c | /*
* Derived from many drivers using generic_serial interface,
* especially serial_tx3912.c by Steven J. Hill and r39xx_serial.c
* (was in Linux/VR tree) by Jim Pick.
*
*
* Serial driver for TX3927/TX4927/TX4925/TX4938 internal SIO controller
*/
#if defined(CONFIG_SERIAL_TXX9_CONSOLE) && defined(CONFIG_MAGIC_SY... |
google | android | bfin_uart | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/tty/serial/bfin_uart.c | 40,067 | utf_8 | d5c12743275e39741cec669d2da10126 | /*
* Blackfin On-Chip Serial Driver
*
*/
#if defined(CONFIG_SERIAL_BFIN_CONSOLE) && defined(CONFIG_MAGIC_SYSRQ)
#define SUPPORT_SYSRQ
#endif
#define DRIVER_NAME "bfin-uart"
#define pr_fmt(fmt) DRIVER_NAME ": " fmt
#include <linux/module.h>
#include <linux/ioport.h>
#include <linux/gfp.h>
#include <linux/io.h>
#inclu... |
google | android | mpsc | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/tty/serial/mpsc.c | 56,629 | utf_8 | d400abac56ce945b61527a2364f02a27 | /*
* Generic driver for the MPSC (UART mode) on Marvell parts (e.g., GT64240,
* GT64260, MV64340, MV64360, GT96100, ... ).
*
* or implied.
*/
/*
* The MPSC interface is much like a typical network controller's interface.
* That is, you set up separate rings of descriptors for transmitting and
* receiving data. ... |
google | android | omap-serial | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/tty/serial/omap-serial.c | 49,706 | utf_8 | 0bc0df601f70ad931e7dae72b5ab8202 | /*
* Driver for OMAP-UART controller.
* Based on drivers/serial/8250.c
*
* this driver as required for the omap-platform.
*/
#if defined(CONFIG_SERIAL_OMAP_CONSOLE) && defined(CONFIG_MAGIC_SYSRQ)
#define SUPPORT_SYSRQ
#endif
#include <linux/module.h>
#include <linux/init.h>
#include <linux/console.h>
#include <lin... |
google | android | ioc4_serial | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/tty/serial/ioc4_serial.c | 82,792 | utf_8 | a4180dc1af36bf071e701f53601a8b41 | /*
* This file is subject to the terms and conditions of the GNU General Public
*/
/*
* This file contains a module version of the ioc4 serial driver. This
* includes all the support functions needed (support functions, etc.)
* and the serial driver itself.
*/
#include <linux/errno.h>
#include <linux/tty.h>
#incl... |
google | android | samsung | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/tty/serial/samsung.c | 64,198 | utf_8 | d4ff08831659ff11249f257e23b8ea20 | /*
* Driver core for Samsung SoC onboard UARTs.
*
*/
/* Hote on 2410 error handling
*
* The s3c2410 manual has a love/hate affair with the contents of the
* UERSTAT register in the UART blocks, and keeps marking some of the
* error bits as reserved. Having checked with the s3c2410x01,
* it copes with BREAKs prop... |
google | android | pch_uart | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/tty/serial/pch_uart.c | 51,193 | utf_8 | 0d51baa8d01a4e98a69fefaa8113a385 | /*
*Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
*/
#if defined(CONFIG_SERIAL_PCH_UART_CONSOLE) && defined(CONFIG_MAGIC_SYSRQ)
#define SUPPORT_SYSRQ
#endif
#include <linux/kernel.h>
#include <linux/serial_reg.h>
#include <linux/slab.h>
#include <linux/module.h>
#include <linux/pci.h>
#in... |
google | android | xilinx_uartps | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/tty/serial/xilinx_uartps.c | 44,285 | utf_8 | 8976a6b4a4addce21775730bb7d99035 | /*
* Cadence UART driver (found in Xilinx Zynq)
*
* later version.
*
* This driver has originally been pushed by Xilinx using a Zynq-branding. This
* still shows in the naming of this file, the kconfig symbols and some symbols
* in the code.
*/
#if defined(CONFIG_SERIAL_XILINX_PS_UART_CONSOLE) && defined(CONFIG... |
google | android | sunsab | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/tty/serial/sunsab.c | 30,182 | utf_8 | 24f1b99d5fcba632489c0d42bba87527 | /* sunsab.c: ASYNC Driver for the SIEMENS SAB82532 DUSCC.
*
*/
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/errno.h>
#include <linux/tty.h>
#include <linux/tty_flip.h>
#include <linux/major.h>
#include <linux/string.h>
#include <linux/ptrace.h>
#include <linux/ioport.h>
#include <linux/circ_buf... |
google | android | apbuart | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/tty/serial/apbuart.c | 16,322 | utf_8 | 7fa25ef8ddbca94f4b84a995f4d423f1 | /*
* Driver for GRLIB serial ports (APBUART)
*
* Based on linux/drivers/serial/amba.c
*
*/
#if defined(CONFIG_SERIAL_GRLIB_GAISLER_APBUART_CONSOLE) && defined(CONFIG_MAGIC_SYSRQ)
#define SUPPORT_SYSRQ
#endif
#include <linux/module.h>
#include <linux/tty.h>
#include <linux/tty_flip.h>
#include <linux/ioport.h>
#i... |
google | android | ioc3_serial | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/tty/serial/ioc3_serial.c | 58,780 | utf_8 | 31d30e615e0c202674d12280c10a91ec | /*
* This file is subject to the terms and conditions of the GNU General Public
*/
/*
* This file contains a module version of the ioc3 serial driver. This
* includes all the support functions needed (support functions, etc.)
* and the serial driver itself.
*/
#include <linux/errno.h>
#include <linux/tty.h>
#incl... |
google | android | ip22zilog | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/tty/serial/ip22zilog.c | 31,874 | utf_8 | 65b08de5735613df9ddefe4bf908f896 | /*
* Driver for Zilog serial chips found on SGI workstations and
* servers. This driver could actually be made more generic.
*
* This is based on the drivers/serial/sunzilog.c code as of 2.6.0-test7 and the
* old drivers/sgi/char/sgiserial.c code which itself is based of the original
* drivers/sbus/char/zs.c cod... |
google | android | fsl_lpuart | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/tty/serial/fsl_lpuart.c | 52,077 | utf_8 | 967dfe891a8e02931c2fbdb1b376395a | /*
* Freescale lpuart serial port driver
*
* (at your option) any later version.
*/
#if defined(CONFIG_SERIAL_FSL_LPUART_CONSOLE) && defined(CONFIG_MAGIC_SYSRQ)
#define SUPPORT_SYSRQ
#endif
#include <linux/clk.h>
#include <linux/console.h>
#include <linux/dma-mapping.h>
#include <linux/dmaengine.h>
#include <linux... |
google | android | lpc32xx_hs | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/tty/serial/lpc32xx_hs.c | 20,435 | utf_8 | 475105abb162a6bc4701ef6667af1fe6 | /*
* High Speed Serial Ports on NXP LPC32xx SoC
*
*/
#include <linux/module.h>
#include <linux/ioport.h>
#include <linux/init.h>
#include <linux/console.h>
#include <linux/sysrq.h>
#include <linux/tty.h>
#include <linux/tty_flip.h>
#include <linux/serial_core.h>
#include <linux/serial.h>
#include <linux/platform_dev... |
google | android | altera_uart | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/tty/serial/altera_uart.c | 17,365 | utf_8 | d2256fc8d5df552164332dc2ccf4cf96 | /*
* altera_uart.c -- Altera UART driver
*
* Based on mcf.c -- Freescale ColdFire UART driver
*
* (at your option) any later version.
*/
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/timer.h>
#include <linux/interrupt.h>
#include <linux/module.h>
#include <linux/console.h>
#include <linux/tty.... |
google | android | vt8500_serial | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/tty/serial/vt8500_serial.c | 19,855 | utf_8 | 8d4fbf81558bf3234a9dda3aa831696d | /*
*/
#if defined(CONFIG_SERIAL_VT8500_CONSOLE) && defined(CONFIG_MAGIC_SYSRQ)
# define SUPPORT_SYSRQ
#endif
#include <linux/hrtimer.h>
#include <linux/delay.h>
#include <linux/module.h>
#include <linux/io.h>
#include <linux/ioport.h>
#include <linux/irq.h>
#include <linux/init.h>
#include <linux/console.h>
#include <... |
google | android | serial_ks8695 | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/tty/serial/serial_ks8695.c | 16,006 | utf_8 | 48b3a658d249bb0834817868b11b0ce8 | /*
* Driver for KS8695 serial ports
*
* Based on drivers/serial/serial_amba.c, by Kam Lee.
*
* (at your option) any later version.
*
*/
#include <linux/module.h>
#include <linux/tty.h>
#include <linux/tty_flip.h>
#include <linux/ioport.h>
#include <linux/init.h>
#include <linux/serial.h>
#include <linux/consol... |
google | android | vr41xx_siu | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/tty/serial/vr41xx_siu.c | 20,616 | utf_8 | a0c771a5ff04a4bcf6749a55517c2209 | /*
* Driver for NEC VR4100 series Serial Interface Unit.
*
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#if defined(CONFIG_SERIAL_VR41XX_CONSOLE) && defined(CONFIG_MAGIC_SYSRQ)
#define SUPPORT_SYSRQ
#endif
#include <linux/console.h>
#include <linux/errno.h>
#include <linux/init.h... |
google | android | altera_jtaguart | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/tty/serial/altera_jtaguart.c | 13,452 | utf_8 | aabb435782aa5270d1535427b102317c | /*
* altera_jtaguart.c -- Altera JTAG UART driver
*
* Based on mcf.c -- Freescale ColdFire UART driver
*
* (at your option) any later version.
*/
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/interrupt.h>
#include <linux/module.h>
#include <linux/console.h>
#include <linux/of.h>
#include <linu... |
google | android | timbuart | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/tty/serial/timbuart.c | 13,033 | utf_8 | 16a2fe3ed8dfc1cf1ee86a2943ee9f3a | /*
* timbuart.c timberdale FPGA UART driver
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
/* Supports:
* Timberdale FPGA UART
*/
#include <linux/pci.h>
#include <linux/interrupt.h>
#include <linux/serial_core.h>
#include <linux/tty.h>
#include <linux/tty_flip.h>
#include <linux/kernel.h>
#include ... |
google | android | kgdboc | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/tty/serial/kgdboc.c | 7,621 | utf_8 | 7499664523cdfbdb06d58df4067132d5 | /*
* Based on the same principle as kgdboe using the NETPOLL api, this
* driver uses a console polling api to implement a gdb serial inteface
* which is multiplexed on a console port.
*
* warranty of any kind, whether express or implied.
*/
#include <linux/kernel.h>
#include <linux/ctype.h>
#include <linux/kgdb.h... |
google | android | ar933x_uart | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/tty/serial/ar933x_uart.c | 18,643 | utf_8 | 4b5a2199140fd8ce84002c3a2ffe3423 | /*
* Atheros AR933X SoC built-in UART driver
*
*/
#include <linux/module.h>
#include <linux/ioport.h>
#include <linux/init.h>
#include <linux/console.h>
#include <linux/sysrq.h>
#include <linux/delay.h>
#include <linux/platform_device.h>
#include <linux/of.h>
#include <linux/of_platform.h>
#include <linux/tty.h>
#i... |
google | android | ucc_uart | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/tty/serial/ucc_uart.c | 41,778 | utf_8 | 23f2bd516d18a2d4ecd19507e8fcf81a | /*
* Freescale QUICC Engine UART device driver
*
* or implied.
*
* This driver adds support for UART devices via Freescale's QUICC Engine
* found on some Freescale SOCs.
*
* If Soft-UART support is needed but not already present, then this driver
* will request and upload the "Soft-UART" microcode upon probe. ... |
google | android | mpc52xx_uart | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/tty/serial/mpc52xx_uart.c | 51,729 | utf_8 | 97e204dd6b3e7d2add8e187979e8f102 | /*
* Driver for the PSC of the Freescale MPC52xx PSCs configured as UARTs.
*
* FIXME According to the usermanual the status bits in the status register
* are only updated when the peripherals access the FIFO and not when the
* CPU access them. So since we use this bits to know when we stop writing
* and reading, ... |
google | android | sirfsoc_uart | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/tty/serial/sirfsoc_uart.c | 48,438 | utf_8 | 13aa9e329a531b6f2a2ce525fa641e3e | /*
* Driver for CSR SiRFprimaII onboard UARTs.
*
*/
#include <linux/module.h>
#include <linux/ioport.h>
#include <linux/platform_device.h>
#include <linux/init.h>
#include <linux/sysrq.h>
#include <linux/console.h>
#include <linux/tty.h>
#include <linux/tty_flip.h>
#include <linux/serial_core.h>
#include <linux/seri... |
google | android | atmel_serial | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/tty/serial/atmel_serial.c | 75,886 | utf_8 | 44ae65f1aa911fb325b95f37d16a8038 | /*
* Driver for Atmel AT91 / AT32 Serial ports
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
*/
#include <linux/module.h>
#include <linux/tty.h>
#include <linux/ioport.h>
#include <linux/slab.h>
#include <linux/init.h>
#include <linux/serial.h>
#include <linux/clk.h>
#include <linux... |
google | android | clps711x | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/tty/serial/clps711x.c | 14,300 | utf_8 | 76553fd311bc72f704bc0acd44d462de | /*
* Driver for CLPS711x serial ports
*
* Based on drivers/char/serial.c, by Linus Torvalds, Theodore Ts'o.
*
* (at your option) any later version.
*/
#if defined(CONFIG_SERIAL_CLPS711X_CONSOLE) && defined(CONFIG_MAGIC_SYSRQ)
#define SUPPORT_SYSRQ
#endif
#include <linux/module.h>
#include <linux/device.h>
#incl... |
google | android | pmac_zilog | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/tty/serial/pmac_zilog.c | 51,511 | utf_8 | c2716eccaf9e9de3476ad50373b5ef0a | /*
* Driver for PowerMac Z85c30 based ESCC cell found in the
* "macio" ASICs of various PowerMac models
*
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* - Enable BREAK interrupt
* - Ad... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.