Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/usb/serial/cypress_m8.c cypress_set_termios() -> cypress_serial_control()
| 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.c_cflag | 0-1073741823 |
| 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 | port | 4096-ptr_max |
| PARAM_VALUE | 1 | port->dev.driver_data | 4096-ptr_max |
| PARAM_VALUE | 1 | port->serial | 4096-ptr_max |
| PARAM_VALUE | 1 | port->serial->interface->dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 1 | port->serial->type | 4096-ptr_max |
| PARAM_VALUE | 1 | *port->serial->dev->toggle | 0-4294967295 |
| PARAM_VALUE | 3 | data_bits | 5-8 |
| PARAM_VALUE | 4 | stop_bits | 0-1 |
| PARAM_VALUE | 5 | parity_enable | 0-1 |
| PARAM_VALUE | 6 | parity_type | 0-1 |
| PARAM_VALUE | 7 | reset | 0 |
| PARAM_VALUE | 8 | cypress_request_type | 1 |
| 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 | port | s32min-(-1),1-s32max |
| BUF_SIZE | 1 | port | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | tty | $0 |
| DATA_SOURCE | 1 | port | $1 |
| DATA_SOURCE | 3 | data_bits | r tty_get_char_size |
| FUZZY_MAX | 4 | stop_bits | 1 |
| FUZZY_MAX | 5 | parity_enable | 1 |
| FUZZY_MAX | 6 | parity_type | 1 |
| NOSPEC | 0 | tty->index | |
| HARD_MAX | 4 | stop_bits | 1 |
| HARD_MAX | 6 | parity_type | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | tty->index | 0-s16max[c] |
| USER_DATA | 0 | tty->termios.c_cflag | 0-1073741823[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 |
| USER_DATA | 1 | port->port.tty->index | 0-s16max[c] |
| USER_DATA | 1 | port->port.tty->termios.c_ispeed | 0-u32max |
| USER_DATA | 1 | port->port.tty->termios.c_ospeed | 0-u32max |
| USER_DATA | 2 | baud_rate | 0-u32max |
| NO_OVERFLOW_SIMPLE | 1 | port->interrupt_out_urb->num_mapped_sgs | |
| NO_OVERFLOW_SIMPLE | 1 | port->interrupt_out_urb->transfer_buffer_length | |
| 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 |
drivers/usb/serial/cypress_m8.c cypress_set_termios() -> cypress_serial_control()
| 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 | port | 4096-ptr_max |
| PARAM_VALUE | 1 | port->dev.driver_data | 4096-ptr_max |
| PARAM_VALUE | 1 | port->serial | 4096-ptr_max |
| PARAM_VALUE | 1 | port->serial->interface->dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 1 | port->serial->type | 4096-ptr_max |
| PARAM_VALUE | 1 | *port->serial->dev->toggle | 0-4294967295 |
| PARAM_VALUE | 2 | baud_rate | 0 |
| PARAM_VALUE | 3 | data_bits | 0 |
| PARAM_VALUE | 4 | stop_bits | 0 |
| PARAM_VALUE | 5 | parity_enable | 0 |
| PARAM_VALUE | 6 | parity_type | 0 |
| PARAM_VALUE | 7 | reset | 0 |
| PARAM_VALUE | 8 | cypress_request_type | 2 |
| 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 | port | s32min-(-1),1-s32max |
| BUF_SIZE | 1 | port | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | tty | $0 |
| DATA_SOURCE | 1 | port | $1 |
| 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-1073741823[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 |
| USER_DATA | 1 | port->dev.driver_data->baud_rate | 1-s32max |
| USER_DATA | 1 | port->port.tty->index | 0-s16max[c] |
| USER_DATA | 1 | port->port.tty->termios.c_ispeed | 0-u32max |
| USER_DATA | 1 | port->port.tty->termios.c_ospeed | 0-u32max |
| NO_OVERFLOW_SIMPLE | 1 | port->interrupt_out_urb->num_mapped_sgs | |
| NO_OVERFLOW_SIMPLE | 1 | port->interrupt_out_urb->transfer_buffer_length | |
| 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 |