Searched refs:TTY (Results 1 - 79 of 79) sorted by relevance

/linux-4.1.27/drivers/usb/gadget/function/
H A Du_serial.h2 * u_serial.h - interface to USB gadget "serial port"/TTY utilities
29 * The "u_serial" utility component exists to do one thing: manage TTY
59 /* management of individual TTY ports */
H A Du_serial.c2 * u_serial.c - utilities for USB gadget "serial port"/TTY support
35 * This component encapsulates the TTY layer glue needed to provide basic
39 * After this module has been loaded, the individual TTY port can be requested
46 * A given TTY port can be made available in multiple configurations.
53 * Configurations may expose more than one TTY port. For example, if
70 * gs_port <---> tty_struct ... links will be null when the TTY file
78 * consider it a NOP. A third layer is provided by the TTY code.
283 /* I/O glue between TTY (upper) and USB function (lower) driver layers */
395 * the TTY closed (dev->ioport->port_tty is NULL). gs_start_tx()
474 * RX tasklet takes data out of the RX queue and hands it up to the TTY
481 * can be buffered before the TTY layer's buffers (currently 64 KB).
538 /* stop pushing; TTY layer can't handle more */ gs_rx_push()
713 /* TTY Driver */
716 * gs_open sets up the link between a gs_port and its associated TTY.
717 * That link is broken *only* by TTY close(), and all driver methods
1146 * gserial_connect - notify TTY I/O glue that USB link is active
1151 * This is called activate endpoints and let the TTY layer know that
1153 * necessarily start I/O queues; unless the TTY is held open by any
1202 * we don't really couple it with the Linux TTY. gserial_connect()
1232 * gserial_disconnect - notify TTY I/O glue that USB link is inactive
1236 * This is called to deactivate endpoints and let the TTY layer know
1250 /* tell the TTY glue not to do I/O here any more */ gserial_disconnect()
H A Df_obex.c27 * This CDC OBEX function support just packages a TTY-ish byte stream.
H A Df_acm.c576 /* connect == the TTY link is open */
/linux-4.1.27/drivers/char/
H A Dttyprintk.c95 * TTY operations open function.
105 * TTY operations close function.
120 * TTY operations write function.
138 * TTY operations write_room function.
146 * TTY operations ioctl function.
/linux-4.1.27/drivers/tty/
H A Dtty_audit.c2 * Creating audit events from TTY input.
19 int major, minor; /* The TTY which the data is from */
129 * tty_audit_fork - Copy TTY audit state for a new task
131 * Set up TTY audit state in @sig from current. @sig needs no locking.
216 * if TTY auditing is disabled or out of memory. Otherwise, return a new
241 audit_log_lost("out of memory in TTY auditing"); tty_audit_buf_get()
264 * tty_audit_add_data - Add data for TTY auditing.
H A Dmips_ejtag_fdc.c2 * TTY driver for MIPS EJTAG Fast Debug Channels.
91 * @port: TTY port data
92 * @driver: TTY driver.
99 * It is used from chars_in_buffer()/write_room() TTY
122 * @driver: TTY driver.
288 * @tty_drv: TTY driver associated with this console.
405 /* TTY RX/TX operations */
557 * RX FIFO and feeding into the appropriate TTY ports, and space becoming
695 /* TTY Port operations */
761 /* TTY operations */
H A Dbfin_jtag_comm.c2 * TTY over Blackfin JTAG Communication
353 MODULE_DESCRIPTION("TTY over Blackfin JTAG Communication");
H A Dehv_bytechan.c329 /******************************** TTY DRIVER ********************************/
344 /* Find out how much data needs to be read, and then ask the TTY layer ehv_bc_tty_rx_isr()
346 * read from the byte channel will be accepted by the TTY layer. ehv_bc_tty_rx_isr()
351 /* 'count' is the maximum amount of data the TTY layer can accept at ehv_bc_tty_rx_isr()
372 /* 'ret' is the number of bytes that the TTY layer accepted. ehv_bc_tty_rx_isr()
586 * TTY driver operations
603 * initialize the TTY port
H A Dn_hdlc.c135 * @tty - ptr to TTY structure
136 * @backup_tty - TTY to use if tty gets closed
178 /* TTY callbacks */
803 * n_hdlc_tty_poll - TTY callback for poll system call
H A Dmetag_da.c95 * @port: TTY port data
H A Dpty.c489 case TIOCGPTN: /* TTY returns ENOTTY, but glibc expects EINVAL here */ pty_bsd_ioctl()
H A Dtty_ldisc.c826 /* Setup the default TTY line discipline. */ tty_ldisc_begin()
H A Dsynclink_gt.c132 MODULE_PARM_DESC(ttymajor, "TTY major device number override: 0=auto assigned");
1451 /* return error if TTY interface open */ hdlcdev_attach()
1631 /* return error if TTY interface open */ hdlcdev_ioctl()
H A Dtty_io.c263 "null TTY for (%d:%d) in %s\n", tty_paranoia_check()
1519 * TTY is ready for operation, or else the table slots are vacated tty_init_dev()
3574 /* Setup the default TTY line discipline. */ console_init()
H A Dmoxa.c288 * TTY operations
H A Dn_tty.c61 * unthrottling the TTY driver. These watermarks are used for
H A Dnozomi.c1584 * TTY code
H A Dsynclinkmp.c1567 /* return error if TTY interface open */ hdlcdev_attach()
1748 /* return error if TTY interface open */ hdlcdev_ioctl()
H A Dsynclink.c27 * this, the TTY flip buffer is bypassed (too small to hold largest
7663 /* return error if TTY interface open */ hdlcdev_attach()
7844 /* return error if TTY interface open */ hdlcdev_ioctl()
/linux-4.1.27/drivers/net/wan/
H A Dx25_asy.h22 struct tty_struct *tty; /* ptr to TTY structure */
H A Dx25_asy.c220 /* Encapsulate one IP datagram and stuff into a TTY queue. */ x25_asy_encaps()
301 /* Encapsulate an IP datagram and kick it into a TTY queue. */
544 * This function is called by the TTY module when the
580 /* Done. We have linked the TTY line to a channel. */ x25_asy_open_tty()
588 * TTY line discipline to what it was before it got hooked to X.25
589 * (which usually is TTY again).
/linux-4.1.27/drivers/tty/ipwireless/
H A Dmain.h58 /* TTY device context */
/linux-4.1.27/drivers/net/can/
H A Dslcan.c83 struct tty_struct *tty; /* ptr to TTY structure */
253 /* Encapsulate one can_frame and stuff into a TTY queue. */ slc_encaps()
352 /* Send a can_frame to a TTY queue. */ slc_xmit()
392 /* TTY discipline is running. */ slc_close()
454 Routines looking at TTY side.
549 * This function is called by the TTY module when the
605 /* Done. We have linked the TTY line to a channel. */ slcan_open()
609 /* TTY layer expects 0 on success */ slcan_open()
620 /* Count references from TTY module */ slcan_open()
/linux-4.1.27/arch/alpha/kernel/
H A Dsrmcons.c5 * (TTY driver and console driver)
28 * The TTY driver
/linux-4.1.27/include/net/irda/
H A Dircomm_tty_attach.h43 /* IrCOMM TTY Events */
H A Dircomm_core.h62 int line; /* Which TTY line we are using */
H A Dircomm_tty.h54 * IrCOMM TTY driver state
/linux-4.1.27/drivers/net/hamradio/
H A D6pack.c3 * devices like TTY. It interfaces between a raw TTY and the
87 struct tty_struct *tty; /* ptr to TTY structure */
163 /* Encapsulate one AX.25 frame and stuff into a TTY queue. */ sp_encaps()
244 /* Encapsulate an IP datagram and kick it into a TTY queue. */
281 /* TTY discipline is running. */ sp_close()
397 * Called by the TTY driver when there's room for more data. If we have
558 * This function is called by the TTY module when the
638 /* Done. We have linked the TTY line to a channel. */ sixpack_open()
665 * TTY line discipline to what it was before it got hooked to 6pack
666 * (which usually is TTY again).
H A Dmkiss.c51 struct tty_struct *tty; /* ptr to TTY structure */
432 /* Encapsulate one AX.25 packet and stuff into a TTY queue. */ ax_encaps()
527 /* Encapsulate an AX.25 packet and kick it into a TTY queue. */ ax_xmit()
767 /* Done. We have linked the TTY line to a channel. */ mkiss_open()
H A Dscc.c79 * KISS TNC emulator removed (TTY driver)
/linux-4.1.27/include/linux/
H A Dti_wilink_st.h44 * available proto_type(BT, FM, GPS the protocol which share TTY).
54 * to be made use when protocol drivers have data to send to TTY.
115 * @tty: tty provided by the TTY core for line disciplines.
119 * @tx_state: if the data is being written onto the TTY and protocol driver
130 * @txq: the list of skbs which needs to be sent onto the TTY.
302 * be sent onto TTY as is. The .bts is more a script
421 * @dev_name: The UART/TTY name to which chip is interfaced. (eg: /dev/ttyS1)
H A Dtty.h232 unsigned long flags; /* TTY flags ASY_*/
/linux-4.1.27/drivers/net/slip/
H A Dslip.c3 * devices like TTY. It interfaces between a raw TTY, and the
374 /* Encapsulate one IP datagram and stuff into a TTY queue. */ sl_encaps()
492 /* Encapsulate an IP datagram and kick it into a TTY queue. */
534 /* TTY discipline is running. */ sl_close()
671 Routines looking at TTY side.
780 * This function is called by the TTY module when the
849 /* Done. We have linked the TTY line to a channel. */ slip_open()
853 /* TTY layer expects 0 on success */ slip_open()
867 /* Count references from TTY module */ slip_open()
H A Dslip.h53 struct tty_struct *tty; /* ptr to TTY structure */
/linux-4.1.27/drivers/net/irda/
H A Dirtty-sir.c421 * This function is called by the TTY module when the IrDA line
484 * and then restoring the TTY line discipline to what it was before it got
485 * hooked to IrDA (which usually is TTY again).
567 MODULE_DESCRIPTION("IrDA TTY device driver");
/linux-4.1.27/drivers/tty/serial/
H A Difx6x60.h79 /* TTY Layer logic */
H A Dkgdboc.c338 MODULE_DESCRIPTION("KGDB Console TTY Driver");
H A Dip22zilog.c371 * a TTY line. (ie. buffered and TX interrupt driven). That is not ip22zilog_transmit_chars()
799 /* Shared by TTY driver and serial console setup. The port lock is held
1138 /* Normal serial TTY. */ ip22zilog_prepare()
H A Dsunzilog.c469 * a TTY line. (ie. buffered and TX interrupt driven). That is not sunzilog_transmit_chars()
864 /* Shared by TTY driver and serial console setup. The port lock is held
1364 /* Normal serial TTY. */ sunzilog_init_hw()
H A Damba-pl011.c176 * inserts them into the TTY layer. Returns the number of characters
525 * transaction via IRQ and let the TTY layer retry. pl011_dma_tx_refill()
782 "couldn't insert all characters (TTY is full?)\n"); pl011_dma_rx_chars()
1000 /* The DMA buffer is now the FIFO the TTY subsystem can use */ pl011_dma_startup()
H A Dbfin_sport_uart.c210 /* XXX we don't push the overrun bit to TTY? */ sport_uart_err_irq()
H A Dpmac_zilog.c384 * a TTY line. (ie. buffered and TX interrupt driven). That is not pmz_transmit_chars()
1012 /* Shared by TTY driver and serial console setup. The port lock is held
H A Dmxs-auart.c641 /* The DMA buffer is now the FIFO the TTY subsystem can use */ mxs_auart_dma_init()
H A Dserial_core.c205 * Set the TTY IO error marker - we will only clear this uart_startup()
231 * Set the TTY IO error marker uart_shutdown()
H A Dcrisv10.c1528 * We don't pay attention to info->x_char, which means if the TTY wants to
/linux-4.1.27/include/uapi/linux/
H A Daudit.h69 #define AUDIT_TTY_GET 1016 /* Get TTY auditing status */
70 #define AUDIT_TTY_SET 1017 /* Set TTY auditing status */
76 #define AUDIT_USER_TTY 1124 /* Non-ICANON TTY input meaning */
103 #define AUDIT_TTY 1319 /* Input on an administrative TTY */
/linux-4.1.27/drivers/input/serio/
H A Dserport.c2 * Input device TTY line discipline
27 MODULE_DESCRIPTION("Input device TTY line discipline");
/linux-4.1.27/net/irda/ircomm/
H A Dircomm_lmp.c155 pr_debug("%s(), asking TTY to start again!\n", __func__); ircomm_lmp_flow_control()
191 pr_debug("%s(), asking TTY to slow down!\n", __func__); ircomm_lmp_data_request()
H A Dircomm_tty.c5 * Description: IrCOMM serial TTY driver
140 * Init IrCOMM TTY layer/driver
190 * Remove IrCOMM TTY layer/driver
403 * Force TTY into raw mode by default which is usually what ircomm_tty_install()
632 /* We may receive packets from the TTY even before we have finished ircomm_tty_write()
651 /* We didn't consume anything, TTY will retry */ ircomm_tty_write()
1357 MODULE_DESCRIPTION("IrCOMM serial TTY driver");
/linux-4.1.27/drivers/misc/ti-st/
H A Dst_core.c252 pr_err(" received null from TTY "); st_int_recv()
460 * - TTY layer when write's finished
484 /* enable wake-up from TTY */ st_tx_wakeup()
714 * functions called from TTY layer
779 /* reset the TTY Rx states of ST */ st_tty_close()
805 /* wake-up function called in from the TTY layer
902 /* TTY ldisc cleanup */ st_core_exit()
H A Dst_kim.c154 pr_err(" received null from TTY "); kim_int_recv()
/linux-4.1.27/net/bluetooth/rfcomm/
H A Dtty.c25 * RFCOMM TTY.
467 /* Shut down TTY synchronously before freeing rfcomm_dev */ __rfcomm_release_dev()
661 /* ---- TTY functions ---- */ rfcomm_tty_copy_pending()
721 /* Attach TTY and open DLC */ rfcomm_tty_install()
1116 /* ---- TTY structure ---- */
1160 BT_ERR("Can't register RFCOMM TTY driver"); rfcomm_init_ttys()
1165 BT_INFO("RFCOMM TTY layer initialized"); rfcomm_init_ttys()
/linux-4.1.27/drivers/tty/hvc/
H A Dhvc_console.h41 * The Linux TTY code does not support dynamic addition of tty derived devices
H A Dhvc_iucv.c35 /* IUCV TTY message */
68 enum tty_state_t tty_state; /* TTY status */
479 * hvc_iucv_notifier_add() - HVC notifier for opening a TTY for the first time.
619 * hvc_iucv_notifier_hangup() - HVC notifier for TTY hangups.
704 * hvc_iucv_notifier_del() - HVC notifier for closing a TTY for the last time.
H A Dhvc_console.c139 * Console APIs, NOT TTY. These APIs are available immediately when
334 * The TTY interface won't be used until after the vio layer has exposed the vty
H A Dhvcs.c142 * Since the Linux TTY code does not currently (2-04-2004) support dynamic
619 /* Give the TTY time to process the data we just sent. */ hvcs_io()
1225 * execute any operations on the TTY even though it is obligated hvcs_close()
/linux-4.1.27/drivers/pps/clients/
H A Dpps-ldisc.c162 MODULE_DESCRIPTION("PPS TTY device driver");
/linux-4.1.27/arch/mn10300/kernel/
H A Dmn10300-serial-low.S133 mov (__uart_state,a3),a2 # see if the TTY Tx queue has anything in it
/linux-4.1.27/drivers/net/caif/
H A Dcaif_serial.c25 MODULE_DESCRIPTION("CAIF serial device TTY line discipline");
254 /* Error on TTY ?! */ handle_tx()
/linux-4.1.27/arch/x86/boot/
H A Dvideo-vesa.c76 /* Text Mode, TTY BIOS supported, vesa_probe()
/linux-4.1.27/include/net/bluetooth/
H A Drfcomm.h318 /* ---- RFCOMM TTY ---- */
/linux-4.1.27/arch/parisc/kernel/
H A Dpdc_cons.c203 printk(KERN_ERR "Unable to register the PDC console TTY driver\n"); pdc_console_tty_driver_init()
H A Dhardware.c1169 {HPHW_FIO, 0x004, 0x000A1, 0x0, "SPP2000 Console TTY"},
/linux-4.1.27/drivers/ipack/devices/
H A Dipoctal.c352 /* Register the TTY device */ ipoctal_inst_slot()
354 /* Each IP-OCTAL channel is a TTY port */ ipoctal_inst_slot()
/linux-4.1.27/drivers/usb/class/
H A Dcdc-acm.c491 * TTY handlers
580 * Unthrottle device in case the TTY was closed while throttled. acm_port_activate()
1911 * TTY driver structures.
/linux-4.1.27/drivers/staging/gdm724x/
H A Dgdm_mux.c690 MODULE_DESCRIPTION("GCT LTE TTY Device Driver");
/linux-4.1.27/net/irda/irnet/
H A Dirnet_ppp.c756 /* TTY IOCTLs : Pretend that we are a tty, to keep pppd happy */ dev_irnet_ioctl()
796 DEBUG(FS_INFO, "TTY compatibility.\n"); dev_irnet_ioctl()
H A Dirnet.h408 /* TTY stuff - to keep "pppd" happy */
/linux-4.1.27/drivers/staging/fwserial/
H A Dfwserial.c2196 * used to manage the TTY ports registered by a specific fw_card. Also, the
2316 fwtty_notice(&unit, "TTY over FireWire on device %s (guid %016llx)\n", fwserial_create()
2373 * associated TTY devices) only for local units was discarded. Managing
2509 0x4c696e75, /* 'Linux TTY' */
2949 MODULE_DESCRIPTION("FireWire Serial TTY Driver");
/linux-4.1.27/drivers/staging/dgnc/
H A Ddgnc_tty.c142 * TTY Initialization/Cleanup Functions
396 * Uninitialize the TTY portion of this driver. Free all memory and
1000 * TTY Entry points and helper functions
1114 /* Maybe do something here to the TTY struct as well? */ dgnc_tty_open()
/linux-4.1.27/drivers/staging/dgap/
H A Ddgap.c2744 * struct tty_struct * - TTY for port.
4425 * TTY Entry points and helper functions
4519 /* Maybe do something here to the TTY struct as well? */ dgap_tty_open()
4547 /* TODO: flush our TTY struct here? */ dgap_tty_open()
5233 * TTY Initialization/Cleanup Functions
6558 * Uninitialize the TTY portion of this driver. Free all memory and
/linux-4.1.27/drivers/usb/serial/
H A Dftdi_sio_ids.h401 * USB-TTY aktiv, USB-TTY passiv. Some PIDs are used by several devices
H A Dio_edgeport.c1767 dev_dbg(dev, "%s - Sending %d bytes to TTY for port %d\n", process_rcvd_data()
/linux-4.1.27/drivers/mmc/card/
H A Dsdio_uart.c607 * Set the TTY IO error marker - we will only clear this sdio_uart_activate()
/linux-4.1.27/drivers/misc/
H A Dpti.c946 pr_err("%s(%d): TTY registration failed of pti driver\n", pti_init()
/linux-4.1.27/arch/mips/include/asm/sn/
H A Dklconfig.h782 typedef struct klttydev_s { /* TTY device */
/linux-4.1.27/drivers/char/pcmcia/
H A Dsynclink_cs.c3920 /* return error if TTY interface open */ hdlcdev_attach()
4114 /* return error if TTY interface open */ hdlcdev_ioctl()
/linux-4.1.27/drivers/gpu/drm/radeon/
H A Datombios.h6839 #define VESA_MODE_ATTRIBUTE_MODE_SUPPORT 0xBB //refer to VBE spec p.32, no TTY support

Completed in 2292 milliseconds