Defined in 2 files as a function:
- drivers/tty/nozomi.c, line 1494 (as a function)
- drivers/tty/serial/serial-tegra.c, line 206 (as a function)
Referenced in 2 files:
Smatch caller information:
drivers/tty/nozomi.c ntty_tiocmset() -> set_dtr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tty | 0,4096-ptr_max |
| PARAM_VALUE | 0 | tty->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | tty->ops->set_termios | 0,4096-ptr_max |
| PARAM_VALUE | 0 | tty->ops->tiocmset | 0,4096-ptr_max |
| PARAM_VALUE | 0 | tty->termios_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | tty->termios_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 1 | dtr | 1 |
| DATA_SOURCE | 0 | tty | $0 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &dc->spin_mutex | ||
| LOCK2 | flags | ||
| HALF_LOCKED2 | global &spk_mutex | ||
| TYPE_LOCK | (struct nozomi)->spin_mutex |
drivers/tty/nozomi.c ntty_tiocmset() -> set_dtr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tty | 0,4096-ptr_max |
| PARAM_VALUE | 0 | tty->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | tty->ops->set_termios | 0,4096-ptr_max |
| PARAM_VALUE | 0 | tty->ops->tiocmset | 0,4096-ptr_max |
| PARAM_VALUE | 0 | tty->termios_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | tty->termios_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 1 | dtr | 0 |
| DATA_SOURCE | 0 | tty | $0 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &dc->spin_mutex | ||
| LOCK2 | flags | ||
| HALF_LOCKED2 | global &spk_mutex | ||
| TYPE_LOCK | (struct nozomi)->spin_mutex |
drivers/tty/serial/serial-tegra.c tegra_uart_set_mctrl() -> set_dtr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tty | 4096-ptr_max |
| DATA_SOURCE | 0 | tty | r to_tegra_uport |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | tty->rts_active | 0-1 |
| USER_DATA | 1 | dtr | 0-1 |
| HALF_LOCKED2 | &_T->lock->lock | ||
| HALF_LOCKED2 | &tport->mutex | ||
| HALF_LOCKED2 | &tty->termios_rwsem | ||
| HALF_LOCKED2 | &u->lock | ||
| HALF_LOCKED2 | _T->flags | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | irq |