Documented in 1 files:
Defined in 6 files as a member:
- include/linux/serial_8250.h, line 53 (as a member)
- include/linux/serial_core.h, line 391 (as a member)
- include/linux/serial_core.h, line 449 (as a member)
- include/linux/tty_driver.h, line 465 (as a member)
- include/linux/tty_ldisc.h, line 248 (as a member)
- include/linux/usb/serial.h, line 280 (as a member)
Defined in 1 files as a function:
Referenced in 130 files:
- drivers/ipack/devices/ipoctal.c, line 715
- drivers/mmc/core/sdio_uart.c, line 1006
- drivers/net/usb/hso.c, line 3175
- drivers/s390/char/con3270.c, line 1963
- drivers/staging/greybus/uart.c, line 789
- drivers/tty/amiserial.c, line 1440
- drivers/tty/moxa.c, line 540
- drivers/tty/mxser.c, line 1650
- drivers/tty/n_gsm.c, line 4611
- drivers/tty/n_tty.c, line 2510
- drivers/tty/pty.c, 2 times
- drivers/tty/serial/21285.c, line 362
- drivers/tty/serial/8250/8250_bcm7271.c, line 1065
- drivers/tty/serial/8250/8250_core.c, 3 times
- drivers/tty/serial/8250/8250_dw.c, 2 times
- drivers/tty/serial/8250/8250_fintek.c, line 366
- drivers/tty/serial/8250/8250_lpss.c, 2 times
- drivers/tty/serial/8250/8250_mid.c, line 314
- drivers/tty/serial/8250/8250_mtk.c, line 569
- drivers/tty/serial/8250/8250_mxpcie.c, line 555
- drivers/tty/serial/8250/8250_omap.c, line 1467
- drivers/tty/serial/8250/8250_pci1xxxx.c, line 691
- drivers/tty/serial/8250/8250_platform.c, 2 times
- drivers/tty/serial/8250/8250_port.c, 3 times
- drivers/tty/serial/altera_jtaguart.c, line 246
- drivers/tty/serial/altera_uart.c, line 402
- drivers/tty/serial/amba-pl010.c, line 520
- drivers/tty/serial/amba-pl011.c, 2 times
- drivers/tty/serial/apbuart.c, line 305
- drivers/tty/serial/ar933x_uart.c, line 631
- drivers/tty/serial/arc_uart.c, line 462
- drivers/tty/serial/atmel_serial.c, line 2486
- drivers/tty/serial/bcm63xx_uart.c, line 647
- drivers/tty/serial/clps711x.c, line 343
- drivers/tty/serial/cpm_uart.c, line 1189
- drivers/tty/serial/digicolor-usart.c, line 377
- drivers/tty/serial/dz.c, line 757
- drivers/tty/serial/fsl_linflexuart.c, line 546
- drivers/tty/serial/fsl_lpuart.c, 3 times
- drivers/tty/serial/icom.c, line 1528
- drivers/tty/serial/imx.c, line 2071
- drivers/tty/serial/ip22zilog.c, line 933
- drivers/tty/serial/jsm/jsm_tty.c, line 353
- drivers/tty/serial/lantiq.c, line 571
- drivers/tty/serial/liteuart.c, line 274
- drivers/tty/serial/lpc32xx_hs.c, line 594
- drivers/tty/serial/ma35d1_serial.c, line 514
- drivers/tty/serial/max3100.c, line 666
- drivers/tty/serial/max310x.c, line 1185
- drivers/tty/serial/mcf.c, line 457
- drivers/tty/serial/men_z135_uart.c, line 776
- drivers/tty/serial/meson_uart.c, line 521
- drivers/tty/serial/milbeaut_usio.c, line 396
- drivers/tty/serial/mpc52xx_uart.c, line 1361
- drivers/tty/serial/mps2-uart.c, line 405
- drivers/tty/serial/msm_serial.c, line 1558
- drivers/tty/serial/mux.c, line 413
- drivers/tty/serial/mvebu-uart.c, line 638
- drivers/tty/serial/mxs-auart.c, line 1281
- drivers/tty/serial/omap-serial.c, line 1341
- drivers/tty/serial/owl-uart.c, line 483
- drivers/tty/serial/pch_uart.c, line 1529
- drivers/tty/serial/pic32_uart.c, line 753
- drivers/tty/serial/pmac_zilog.c, line 1327
- drivers/tty/serial/pxa.c, line 725
- drivers/tty/serial/qcom_geni_serial.c, 2 times
- drivers/tty/serial/rda-uart.c, line 562
- drivers/tty/serial/rp2.c, line 566
- drivers/tty/serial/rsci.c, line 665
- drivers/tty/serial/sa1100.c, line 575
- drivers/tty/serial/samsung_tty.c, 2 times
- drivers/tty/serial/sb1250-duart.c, line 761
- drivers/tty/serial/sc16is7xx.c, line 1246
- drivers/tty/serial/sccnxp.c, line 824
- drivers/tty/serial/serial-tegra.c, line 1410
- drivers/tty/serial/serial_core.c, 4 times
- drivers/tty/serial/serial_txx9.c, line 801
- drivers/tty/serial/sh-sci.c, line 3135
- drivers/tty/serial/sifive.c, line 953
- drivers/tty/serial/sprd_serial.c, line 954
- drivers/tty/serial/st-asc.c, line 674
- drivers/tty/serial/stm32-usart.c, line 1484
- drivers/tty/serial/sunhv.c, line 388
- drivers/tty/serial/sunplus-uart.c, line 489
- drivers/tty/serial/sunsab.c, line 827
- drivers/tty/serial/sunsu.c, 2 times
- drivers/tty/serial/sunzilog.c, line 1054
- drivers/tty/serial/tegra-tcu.c, line 144
- drivers/tty/serial/tegra-utc.c, line 346
- drivers/tty/serial/timbuart.c, line 390
- drivers/tty/serial/uartlite.c, line 459
- drivers/tty/serial/ucc_uart.c, line 1070
- drivers/tty/serial/vt8500_serial.c, line 571
- drivers/tty/serial/xilinx_uartps.c, line 1256
- drivers/tty/serial/zs.c, line 1039
- drivers/tty/tty_ioctl.c, 15 times
- drivers/usb/class/cdc-acm.c, line 2127
- drivers/usb/serial/ark3116.c, line 610
- drivers/usb/serial/belkin_sa.c, line 76
- drivers/usb/serial/ch341.c, line 875
- drivers/usb/serial/console.c, 3 times
- drivers/usb/serial/cp210x.c, line 312
- drivers/usb/serial/cypress_m8.c, 3 times
- drivers/usb/serial/digi_acceleport.c, 2 times
- drivers/usb/serial/f81232.c, 2 times
- drivers/usb/serial/f81534.c, line 1560
- drivers/usb/serial/ftdi_sio.c, line 2866
- drivers/usb/serial/io_edgeport.c, 4 times
- drivers/usb/serial/io_ti.c, 2 times
- drivers/usb/serial/ir-usb.c, line 79
- drivers/usb/serial/iuu_phoenix.c, line 1172
- drivers/usb/serial/keyspan.c, 3 times
- drivers/usb/serial/keyspan_pda.c, line 727
- drivers/usb/serial/kl5kusb105.c, line 84
- drivers/usb/serial/kobil_sct.c, line 87
- drivers/usb/serial/mct_u232.c, line 81
- drivers/usb/serial/mos7720.c, line 1747
- drivers/usb/serial/mos7840.c, line 1786
- drivers/usb/serial/mxuport.c, line 1301
- drivers/usb/serial/oti6858.c, line 148
- drivers/usb/serial/pl2303.c, line 1380
- drivers/usb/serial/quatech2.c, line 945
- drivers/usb/serial/spcp8x5.c, line 449
- drivers/usb/serial/ssu100.c, line 516
- drivers/usb/serial/ti_usb_3410_5052.c, 2 times
- drivers/usb/serial/upd78f0730.c, line 418
- drivers/usb/serial/usb-serial.c, 3 times
- drivers/usb/serial/whiteheat.c, line 115
- drivers/usb/serial/xr_serial.c, line 1096
- net/bluetooth/rfcomm/tty.c, line 1101
Smatch caller information:
drivers/tty/tty_ioctl.c tty_mode_ioctl() -> set_termios()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tty->driver | 4096-ptr_max |
| PARAM_VALUE | 0 | tty->ldisc | 1-u64max |
| PARAM_VALUE | 0 | tty->ldisc_sem.read_wait.next | 4096-ptr_max |
| PARAM_VALUE | 0 | tty->ldisc_sem.read_wait.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | tty->ops | 4096-ptr_max |
| PARAM_VALUE | 2 | opt | 11 |
| DATA_SOURCE | 1 | arg | $2 |
| LOCK2 | &tty->ldisc_sem | ||
| TYPE_LOCK | (struct tty_struct)->ldisc_sem |
drivers/tty/tty_ioctl.c tty_mode_ioctl() -> set_termios()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tty->driver | 4096-ptr_max |
| PARAM_VALUE | 0 | tty->ldisc | 1-u64max |
| PARAM_VALUE | 0 | tty->ldisc_sem.read_wait.next | 4096-ptr_max |
| PARAM_VALUE | 0 | tty->ldisc_sem.read_wait.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | tty->ops | 4096-ptr_max |
| PARAM_VALUE | 2 | opt | 10 |
| DATA_SOURCE | 1 | arg | $2 |
| LOCK2 | &tty->ldisc_sem | ||
| TYPE_LOCK | (struct tty_struct)->ldisc_sem |
drivers/tty/tty_ioctl.c tty_mode_ioctl() -> set_termios()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tty->driver | 4096-ptr_max |
| PARAM_VALUE | 0 | tty->ldisc | 1-u64max |
| PARAM_VALUE | 0 | tty->ldisc_sem.read_wait.next | 4096-ptr_max |
| PARAM_VALUE | 0 | tty->ldisc_sem.read_wait.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | tty->ops | 4096-ptr_max |
| PARAM_VALUE | 2 | opt | 8 |
| DATA_SOURCE | 1 | arg | $2 |
| LOCK2 | &tty->ldisc_sem | ||
| TYPE_LOCK | (struct tty_struct)->ldisc_sem |
drivers/tty/tty_ioctl.c tty_mode_ioctl() -> set_termios()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tty->driver | 4096-ptr_max |
| PARAM_VALUE | 0 | tty->ldisc | 1-u64max |
| PARAM_VALUE | 0 | tty->ldisc_sem.read_wait.next | 4096-ptr_max |
| PARAM_VALUE | 0 | tty->ldisc_sem.read_wait.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | tty->ops | 4096-ptr_max |
| PARAM_VALUE | 2 | opt | 3 |
| DATA_SOURCE | 1 | arg | $2 |
| LOCK2 | &tty->ldisc_sem | ||
| TYPE_LOCK | (struct tty_struct)->ldisc_sem |
drivers/tty/tty_ioctl.c tty_mode_ioctl() -> set_termios()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tty->driver | 4096-ptr_max |
| PARAM_VALUE | 0 | tty->ldisc | 1-u64max |
| PARAM_VALUE | 0 | tty->ldisc_sem.read_wait.next | 4096-ptr_max |
| PARAM_VALUE | 0 | tty->ldisc_sem.read_wait.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | tty->ops | 4096-ptr_max |
| PARAM_VALUE | 2 | opt | 2 |
| DATA_SOURCE | 1 | arg | $2 |
| LOCK2 | &tty->ldisc_sem | ||
| TYPE_LOCK | (struct tty_struct)->ldisc_sem |
drivers/tty/tty_ioctl.c tty_mode_ioctl() -> set_termios()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tty->driver | 4096-ptr_max |
| PARAM_VALUE | 0 | tty->ldisc | 1-u64max |
| PARAM_VALUE | 0 | tty->ldisc_sem.read_wait.next | 4096-ptr_max |
| PARAM_VALUE | 0 | tty->ldisc_sem.read_wait.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | tty->ops | 4096-ptr_max |
| PARAM_VALUE | 2 | opt | 0 |
| DATA_SOURCE | 1 | arg | $2 |
| LOCK2 | &tty->ldisc_sem | ||
| TYPE_LOCK | (struct tty_struct)->ldisc_sem |
drivers/tty/tty_ioctl.c tty_mode_ioctl() -> set_termios()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tty->driver | 4096-ptr_max |
| PARAM_VALUE | 0 | tty->ldisc | 1-u64max |
| PARAM_VALUE | 0 | tty->ldisc_sem.read_wait.next | 4096-ptr_max |
| PARAM_VALUE | 0 | tty->ldisc_sem.read_wait.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | tty->ops | 4096-ptr_max |
| PARAM_VALUE | 2 | opt | 7 |
| DATA_SOURCE | 1 | arg | $2 |
| LOCK2 | &tty->ldisc_sem | ||
| TYPE_LOCK | (struct tty_struct)->ldisc_sem |
drivers/tty/tty_ioctl.c tty_mode_ioctl() -> set_termios()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tty->driver | 4096-ptr_max |
| PARAM_VALUE | 0 | tty->ldisc | 1-u64max |
| PARAM_VALUE | 0 | tty->ldisc_sem.read_wait.next | 4096-ptr_max |
| PARAM_VALUE | 0 | tty->ldisc_sem.read_wait.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | tty->ops | 4096-ptr_max |
| PARAM_VALUE | 2 | opt | 6 |
| DATA_SOURCE | 1 | arg | $2 |
| LOCK2 | &tty->ldisc_sem | ||
| TYPE_LOCK | (struct tty_struct)->ldisc_sem |
drivers/tty/tty_ioctl.c tty_mode_ioctl() -> set_termios()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tty->driver | 4096-ptr_max |
| PARAM_VALUE | 0 | tty->ldisc | 1-u64max |
| PARAM_VALUE | 0 | tty->ldisc_sem.read_wait.next | 4096-ptr_max |
| PARAM_VALUE | 0 | tty->ldisc_sem.read_wait.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | tty->ops | 4096-ptr_max |
| PARAM_VALUE | 2 | opt | 4 |
| DATA_SOURCE | 1 | arg | $2 |
| LOCK2 | &tty->ldisc_sem | ||
| TYPE_LOCK | (struct tty_struct)->ldisc_sem |