Defined in 1 files as a prototype:
Defined in 3 files as a function:
- drivers/usb/serial/io_edgeport.c, line 2334 (as a function)
- drivers/usb/serial/io_ti.c, line 2227 (as a function)
- drivers/usb/serial/mos7720.c, line 1359 (as a function)
Referenced in 3 files:
- drivers/usb/serial/io_edgeport.c
- drivers/usb/serial/io_ti.c, line 2377
- drivers/usb/serial/mos7720.c, line 1516
Smatch caller information:
drivers/usb/serial/io_edgeport.c edge_set_termios() -> change_port_settings()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tty | 4096-ptr_max |
| PARAM_VALUE | 0 | tty->driver | 4096-ptr_max |
| PARAM_VALUE | 0 | tty->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | tty->ops->chars_in_buffer | 0,4096-ptr_max |
| PARAM_VALUE | 0 | tty->ops->close | 0,4096-ptr_max |
| PARAM_VALUE | 0 | tty->ops->lookup | 0,1028560029362032640,3174408500077174784 |
| PARAM_VALUE | 0 | tty->ops->open | 0,4096-ptr_max |
| PARAM_VALUE | 0 | tty->ops->set_termios | 0,4096-ptr_max |
| PARAM_VALUE | 0 | tty->ops->wait_until_sent | 0,2578158375326154752,2614800216018440192,6874988682411192320,7074827580452507648,7916194843820081152 |
| 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 | edge_port | 4096-ptr_max |
| PARAM_VALUE | 1 | edge_port->open | 1 |
| PARAM_VALUE | 2 | old_termios | 1767035511140073472,3137504346029961216,7752371099641409536 |
| BUF_SIZE | 0 | tty | (-1),1816 |
| BUF_SIZE | 0 | tty | (-1),1816 |
| BUF_SIZE | 0 | tty->ops | (-1),296 |
| BUF_SIZE | 1 | edge_port | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | edge_port | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | tty | $0 |
| DATA_SOURCE | 2 | old_termios | $2 |
| NOSPEC | 0 | tty->index | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | tty->index | 0-s16max[c] |
| USER_DATA | 0 | tty->termios.c_cflag | 0-u32max[c] |
| USER_DATA | 0 | tty->termios.c_iflag | 0-u32max[c] |
| USER_DATA | 0 | tty->termios.c_ispeed | 0-u32max |
| USER_DATA | 0 | tty->termios.c_lflag | 0-u32max[c] |
| USER_DATA | 0 | tty->termios.c_line | 0-255 |
| USER_DATA | 0 | tty->termios.c_oflag | 0-u32max[c] |
| USER_DATA | 0 | tty->termios.c_ospeed | 0-u32max |
| UNITS | 1 | edge_port | unit_byte |
| HALF_LOCKED2 | &serial->disc_mutex | ||
| HALF_LOCKED2 | global &console_mutex | ||
| HALF_LOCKED2 | 0 | &tty->atomic_write_lock | |
| HALF_LOCKED2 | 0 | &tty->ldisc_sem | |
| HALF_LOCKED2 | 0 | &tty->legacy_mutex | |
| HALF_LOCKED2 | 0 | &tty->termios_rwsem |
drivers/usb/serial/io_edgeport.c process_rcvd_status() -> change_port_settings()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tty | 4096-ptr_max |
| PARAM_VALUE | 1 | edge_port | 4096-ptr_max |
| PARAM_VALUE | 1 | edge_port->maxTxCredits | 64-16384 |
| PARAM_VALUE | 1 | edge_port->port | 4096-ptr_max |
| PARAM_VALUE | 1 | edge_port->port->port.tty | 4096-ptr_max |
| PARAM_VALUE | 1 | edge_port->shadowMSR | 0,16-240 |
| PARAM_VALUE | 1 | edge_port->txCredits | 64-16384 |
| PARAM_VALUE | 2 | old_termios | 4096-ptr_max |
| BUF_SIZE | 0 | tty | (-1),1-s32max |
| BUF_SIZE | 0 | tty | (-1),1-s32max |
| BUF_SIZE | 1 | edge_port | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | edge_port | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | tty | r tty_port_tty_get |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | edge_port | unit_byte |
| LOCK2 | &edge_serial->es_lock | ||
| LOCK2 | flags | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct edgeport_serial)->es_lock |
drivers/usb/serial/mos7720.c mos7720_set_termios() -> change_port_settings()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tty | 4096-ptr_max |
| PARAM_VALUE | 0 | tty->driver | 4096-ptr_max |
| PARAM_VALUE | 0 | tty->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | tty->ops->chars_in_buffer | 0,4096-ptr_max |
| PARAM_VALUE | 0 | tty->ops->close | 0,4096-ptr_max |
| PARAM_VALUE | 0 | tty->ops->lookup | 0,1028560029362032640,3174408500077174784 |
| PARAM_VALUE | 0 | tty->ops->open | 0,4096-ptr_max |
| PARAM_VALUE | 0 | tty->ops->set_termios | 0,4096-ptr_max |
| PARAM_VALUE | 0 | tty->ops->wait_until_sent | 0,2578158375326154752,2614800216018440192,6874988682411192320,7074827580452507648,7916194843820081152 |
| 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 | edge_port | 4096-ptr_max |
| PARAM_VALUE | 1 | edge_port->open | 1-255 |
| PARAM_VALUE | 2 | old_termios | 1767035511140073472,3137504346029961216,7752371099641409536 |
| BUF_SIZE | 0 | tty | (-1),1816 |
| BUF_SIZE | 0 | tty | (-1),1816 |
| BUF_SIZE | 0 | tty->ops | (-1),296 |
| BUF_SIZE | 1 | edge_port | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | edge_port | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | tty | $0 |
| DATA_SOURCE | 2 | old_termios | $2 |
| NOSPEC | 0 | tty->index | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | tty->index | 0-s16max[c] |
| USER_DATA | 0 | tty->termios.c_cflag | 0-u32max[c] |
| USER_DATA | 0 | tty->termios.c_iflag | 0-u32max[c] |
| USER_DATA | 0 | tty->termios.c_ispeed | 0-u32max |
| USER_DATA | 0 | tty->termios.c_lflag | 0-u32max[c] |
| USER_DATA | 0 | tty->termios.c_line | 0-255 |
| USER_DATA | 0 | tty->termios.c_oflag | 0-u32max[c] |
| USER_DATA | 0 | tty->termios.c_ospeed | 0-u32max |
| UNITS | 1 | edge_port | unit_byte |
| HALF_LOCKED2 | &serial->disc_mutex | ||
| HALF_LOCKED2 | global &console_mutex | ||
| HALF_LOCKED2 | 0 | &tty->atomic_write_lock | |
| HALF_LOCKED2 | 0 | &tty->ldisc_sem | |
| HALF_LOCKED2 | 0 | &tty->legacy_mutex | |
| HALF_LOCKED2 | 0 | &tty->termios_rwsem |
drivers/usb/serial/io_ti.c edge_set_termios() -> change_port_settings()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tty | 4096-ptr_max |
| PARAM_VALUE | 0 | tty->link->termios_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | tty->link->termios_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | tty->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | tty->ops->chars_in_buffer | 0,4096-ptr_max |
| PARAM_VALUE | 0 | tty->ops->close | 0,4096-ptr_max |
| PARAM_VALUE | 0 | tty->ops->lookup | 0,4096-ptr_max |
| PARAM_VALUE | 0 | tty->ops->open | 0,4096-ptr_max |
| PARAM_VALUE | 0 | tty->ops->set_termios | 0,4096-ptr_max |
| PARAM_VALUE | 0 | tty->ops->wait_until_sent | 0,2578158375326154752,2614800216018440192,6874988682411192320,7074827580452507648,7916194843820081152 |
| 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 | edge_port | 1-u64max |
| PARAM_VALUE | 2 | old_termios | 4096-ptr_max |
| BUF_SIZE | 0 | tty | s32min,(-1),1-s32max |
| BUF_SIZE | 0 | tty | s32min,(-1),1-s32max |
| BUF_SIZE | 0 | tty->driver_data | (-1),1-s32max |
| BUF_SIZE | 0 | tty->ops | (-1),296 |
| BUF_SIZE | 1 | edge_port | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | edge_port | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | tty | $0 |
| DATA_SOURCE | 2 | old_termios | $2 |
| NOSPEC | 0 | tty->index | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | tty->index | 0-s16max[c] |
| USER_DATA | 0 | tty->termios.c_cflag | 0-u32max[c] |
| USER_DATA | 0 | tty->termios.c_iflag | 0-u32max[c] |
| USER_DATA | 0 | tty->termios.c_ispeed | 0-u32max |
| USER_DATA | 0 | tty->termios.c_lflag | 0-u32max[c] |
| USER_DATA | 0 | tty->termios.c_line | 0-255 |
| USER_DATA | 0 | tty->termios.c_oflag | 0-u32max[c] |
| USER_DATA | 0 | tty->termios.c_ospeed | 0-u32max |
| UNITS | 1 | edge_port | unit_byte |
| HALF_LOCKED2 | &serial->disc_mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | global &console_mutex | ||
| HALF_LOCKED2 | 0 | &tty->atomic_write_lock | |
| HALF_LOCKED2 | 0 | &tty->ldisc_sem | |
| HALF_LOCKED2 | 0 | &tty->legacy_mutex | |
| HALF_LOCKED2 | 0 | &tty->termios_rwsem |