Searched refs:disc_data (Results 1 - 24 of 24) sorted by relevance

/linux-4.1.27/drivers/tty/
H A Dn_tty.c159 struct n_tty_data *ldata = tty->disc_data; tty_put_user()
170 struct n_tty_data *ldata = tty->disc_data; tty_copy_to_user()
190 struct n_tty_data *ldata = tty->disc_data; n_tty_kick_worker()
210 struct n_tty_data *ldata = tty->disc_data; chars_in_buffer()
237 struct n_tty_data *ldata = tty->disc_data; n_tty_check_throttle()
364 reset_buffer_flags(tty->disc_data); n_tty_flush_buffer()
445 struct n_tty_data *ldata = tty->disc_data; do_output_char()
520 struct n_tty_data *ldata = tty->disc_data; process_output()
557 struct n_tty_data *ldata = tty->disc_data; process_output_block()
640 struct n_tty_data *ldata = tty->disc_data; __process_echoes()
775 struct n_tty_data *ldata = tty->disc_data; commit_echoes()
801 struct n_tty_data *ldata = tty->disc_data; process_echoes()
819 struct n_tty_data *ldata = tty->disc_data; flush_echoes()
937 struct n_tty_data *ldata = tty->disc_data; echo_char()
977 struct n_tty_data *ldata = tty->disc_data; eraser()
1118 struct n_tty_data *ldata = tty->disc_data; isig()
1140 reset_buffer_flags(tty->disc_data); isig()
1166 struct n_tty_data *ldata = tty->disc_data; n_tty_receive_break()
1198 struct n_tty_data *ldata = tty->disc_data; n_tty_receive_overrun()
1225 struct n_tty_data *ldata = tty->disc_data; n_tty_receive_parity_error()
1275 struct n_tty_data *ldata = tty->disc_data; n_tty_receive_char_special()
1411 struct n_tty_data *ldata = tty->disc_data; n_tty_receive_char_inline()
1439 struct n_tty_data *ldata = tty->disc_data; n_tty_receive_char_fast()
1502 struct n_tty_data *ldata = tty->disc_data; n_tty_receive_char_lnext()
1519 struct n_tty_data *ldata = tty->disc_data; n_tty_receive_buf_real_raw()
1539 struct n_tty_data *ldata = tty->disc_data; n_tty_receive_buf_raw()
1572 struct n_tty_data *ldata = tty->disc_data; n_tty_receive_buf_standard()
1606 struct n_tty_data *ldata = tty->disc_data; n_tty_receive_buf_fast()
1631 struct n_tty_data *ldata = tty->disc_data; __receive_buf()
1709 struct n_tty_data *ldata = tty->disc_data; n_tty_receive_buf_common()
1809 struct n_tty_data *ldata = tty->disc_data; n_tty_set_termios()
1903 struct n_tty_data *ldata = tty->disc_data; n_tty_close()
1909 tty->disc_data = NULL; n_tty_close()
1935 tty->disc_data = ldata; n_tty_open()
1936 reset_buffer_flags(tty->disc_data); n_tty_open()
1956 struct n_tty_data *ldata = tty->disc_data; input_available_p()
1990 struct n_tty_data *ldata = tty->disc_data; copy_from_read_buf()
2044 struct n_tty_data *ldata = tty->disc_data; canon_copy_from_read_buf()
2180 struct n_tty_data *ldata = tty->disc_data; n_tty_read()
2406 struct n_tty_data *ldata = tty->disc_data; n_tty_write()
2459 struct n_tty_data *ldata = tty->disc_data; n_tty_poll()
2512 struct n_tty_data *ldata = tty->disc_data; n_tty_ioctl()
2533 struct n_tty_data *ldata = tty->disc_data; n_tty_fasync()
H A Dn_tracerouter.c83 tty->disc_data = tr_data; n_tracerouter_open()
101 struct tracerouter_data *tptr = tty->disc_data; n_tracerouter_close()
109 tty->disc_data = NULL; n_tracerouter_close()
H A Dn_r3964.c947 TRACE_L("tty=%p, PID=%d, disc_data=%p", r3964_open()
948 tty, current->pid, tty->disc_data); r3964_open()
995 tty->disc_data = pInfo; r3964_open()
1005 struct r3964_info *pInfo = tty->disc_data; r3964_close()
1060 struct r3964_info *pInfo = tty->disc_data; r3964_read()
1117 struct r3964_info *pInfo = tty->disc_data; r3964_write()
1186 struct r3964_info *pInfo = tty->disc_data; r3964_ioctl()
1220 struct r3964_info *pInfo = tty->disc_data; r3964_poll()
1245 struct r3964_info *pInfo = tty->disc_data; r3964_receive_buf()
H A Dn_tracesink.c84 tty->disc_data = this_tty; n_tracesink_open()
106 tty->disc_data = NULL; n_tracesink_close()
H A Dn_hdlc.c196 #define tty2n_hdlc(tty) ((struct n_hdlc *) ((tty)->disc_data))
255 if (tty->disc_data == n_hdlc) n_hdlc_release()
256 tty->disc_data = NULL; /* Break the tty->n_hdlc link */ n_hdlc_release()
314 tty->disc_data = NULL; n_hdlc_tty_close()
358 tty->disc_data = n_hdlc; n_hdlc_tty_open()
H A Dn_gsm.c2275 struct gsm_mux *gsm = tty->disc_data; gsmld_receive_buf()
2349 struct gsm_mux *gsm = tty->disc_data; gsmld_close()
2381 tty->disc_data = gsm; gsmld_open()
2406 struct gsm_mux *gsm = tty->disc_data; gsmld_write_wakeup()
2482 struct gsm_mux *gsm = tty->disc_data; gsmld_poll()
2582 struct gsm_mux *gsm = tty->disc_data; gsmld_ioctl()
/linux-4.1.27/drivers/input/serio/
H A Dserport.c100 tty->disc_data = serport; serport_ldisc_open()
113 struct serport *serport = (struct serport *) tty->disc_data; serport_ldisc_close()
126 struct serport *serport = (struct serport*) tty->disc_data; serport_ldisc_receive()
168 struct serport *serport = (struct serport*) tty->disc_data; serport_ldisc_read()
204 struct serport *serport = tty->disc_data; serport_set_type()
254 struct serport *serport = (struct serport *) tty->disc_data; serport_ldisc_write_wakeup()
/linux-4.1.27/sound/soc/codecs/
H A Dcx20442.c226 if (!tty->disc_data) v253_open()
236 tty->disc_data = NULL; v253_open()
243 struct snd_soc_codec *codec = tty->disc_data; v253_close()
246 tty->disc_data = NULL; v253_close()
270 struct snd_soc_codec *codec = tty->disc_data; v253_receive()
/linux-4.1.27/drivers/net/irda/
H A Dirtty-sir.c223 struct sirtty_cb *priv = tty->disc_data; irtty_receive_buf()
261 struct sirtty_cb *priv = tty->disc_data; irtty_write_wakeup()
384 struct sirtty_cb *priv = tty->disc_data; irtty_ioctl()
465 tty->disc_data = priv; irtty_open()
489 struct sirtty_cb *priv = tty->disc_data; irtty_close()
510 tty->disc_data = NULL; irtty_close()
/linux-4.1.27/drivers/bluetooth/
H A Dhci_ldisc.c343 tty->disc_data = hu; hci_uart_tty_open()
371 struct hci_uart *hu = tty->disc_data; hci_uart_tty_close()
377 tty->disc_data = NULL; hci_uart_tty_close()
410 struct hci_uart *hu = tty->disc_data; hci_uart_tty_wakeup()
441 struct hci_uart *hu = tty->disc_data; hci_uart_tty_receive()
570 struct hci_uart *hu = tty->disc_data; hci_uart_tty_ioctl()
/linux-4.1.27/drivers/net/can/
H A Dslcan.c347 struct slcan *sl = tty->disc_data; slcan_write_wakeup()
469 struct slcan *sl = (struct slcan *) tty->disc_data; slcan_receive_buf()
577 sl = tty->disc_data; slcan_open()
591 tty->disc_data = sl; slcan_open()
614 tty->disc_data = NULL; slcan_open()
634 struct slcan *sl = (struct slcan *) tty->disc_data; slcan_close()
641 tty->disc_data = NULL; slcan_close()
662 struct slcan *sl = (struct slcan *) tty->disc_data; slcan_ioctl()
/linux-4.1.27/drivers/net/caif/
H A Dcaif_serial.c176 ser = tty->disc_data; ldisc_receive()
303 ser = tty->disc_data; ldisc_tx_wakeup()
361 tty->disc_data = ser; ldisc_open()
382 struct ser_device *ser = tty->disc_data; ldisc_close()
/linux-4.1.27/drivers/net/wan/
H A Dx25_asy.c262 struct x25_asy *sl = tty->disc_data; x25_asy_write_wakeup()
524 struct x25_asy *sl = tty->disc_data; x25_asy_receive_buf()
552 struct x25_asy *sl = tty->disc_data; x25_asy_open_tty()
568 tty->disc_data = sl; x25_asy_open_tty()
593 struct x25_asy *sl = tty->disc_data; x25_asy_close_tty()
610 tty->disc_data = NULL; x25_asy_close_tty()
691 struct x25_asy *sl = tty->disc_data; x25_asy_ioctl()
/linux-4.1.27/drivers/net/ppp/
H A Dppp_synctty.c125 * We have a potential race on dereferencing tty->disc_data,
128 * calls ppp_synctty_close, which zeroes tty->disc_data and
142 ap = tty->disc_data; sp_get()
198 tty->disc_data = ap; ppp_sync_open()
222 ap = tty->disc_data; ppp_sync_close()
223 tty->disc_data = NULL; ppp_sync_close()
H A Dppp_async.c123 * We have a potential race on dereferencing tty->disc_data,
126 * calls ppp_asynctty_close, which zeroes tty->disc_data and
141 ap = tty->disc_data; ap_get()
200 tty->disc_data = ap; ppp_asynctty_open()
224 ap = tty->disc_data; ppp_asynctty_close()
225 tty->disc_data = NULL; ppp_asynctty_close()
/linux-4.1.27/sound/soc/omap/
H A Dams-delta.c290 tty->disc_data = cx20442_codec; cx81801_open()
295 tty->disc_data = NULL; cx81801_open()
303 struct snd_soc_codec *codec = tty->disc_data; cx81801_close()
341 struct snd_soc_codec *codec = tty->disc_data; cx81801_receive()
/linux-4.1.27/drivers/net/slip/
H A Dslip.c455 struct slip *sl = tty->disc_data; slip_write_wakeup()
687 struct slip *sl = tty->disc_data; slip_receive_buf()
808 sl = tty->disc_data; slip_open()
822 tty->disc_data = sl; slip_open()
861 tty->disc_data = NULL; slip_open()
881 struct slip *sl = tty->disc_data; slip_close()
888 tty->disc_data = NULL; slip_close()
1073 struct slip *sl = tty->disc_data; slip_ioctl()
/linux-4.1.27/drivers/isdn/gigaset/
H A Dser-gigaset.c481 struct cardstate *cs = tty->disc_data; cs_get()
527 tty->disc_data = cs; gigaset_tty_open()
555 tty->disc_data = NULL; gigaset_tty_open()
567 struct cardstate *cs = tty->disc_data; gigaset_tty_close()
577 tty->disc_data = NULL; gigaset_tty_close()
/linux-4.1.27/drivers/misc/ti-st/
H A Dst_core.c237 void st_int_recv(void *disc_data, st_int_recv() argument
246 struct st_data_s *st_gdata = (struct st_data_s *)disc_data; st_int_recv()
724 tty->disc_data = st_gdata; st_tty_open()
748 struct st_data_s *st_gdata = tty->disc_data; st_tty_close()
801 st_recv(tty->disc_data, data, count); st_tty_receive()
810 struct st_data_s *st_gdata = tty->disc_data; st_tty_wakeup()
821 struct st_data_s *st_gdata = tty->disc_data; st_tty_flush_buffer()
H A Dst_kim.c436 void st_kim_recv(void *disc_data, const unsigned char *data, long count) st_kim_recv() argument
438 struct st_data_s *st_gdata = (struct st_data_s *)disc_data; st_kim_recv()
/linux-4.1.27/drivers/net/hamradio/
H A D6pack.c368 * We have a potential race on dereferencing tty->disc_data, because the tty
371 * tty->disc_data and frees the memory that sixpack_receive_buf is using. The
382 sp = tty->disc_data; sp_get()
639 tty->disc_data = sp; sixpack_open()
673 sp = tty->disc_data; sixpack_close()
674 tty->disc_data = NULL; sixpack_close()
H A Dmkiss.c666 * We have a potential race on dereferencing tty->disc_data, because the tty
669 * tty->disc_data and frees the memory that sixpack_receive_buf is using. The
680 ax = tty->disc_data; mkiss_get()
722 tty->disc_data = ax; mkiss_open()
786 ax = tty->disc_data; mkiss_close()
787 tty->disc_data = NULL; mkiss_close()
/linux-4.1.27/include/linux/
H A Dti_wilink_st.h255 * @core_data: ST core's data, which mainly is the tty's disc_data
H A Dtty.h304 void *disc_data; member in struct:tty_struct

Completed in 515 milliseconds