Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/tty/serial/serial_core.c uart_port_startup() -> uart_change_line_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->ioctl 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_serial 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 state 4096-ptr_max
PARAM_VALUE 1 state->uart_port->cons 0,4096-ptr_max
PARAM_VALUE 1 state->uart_port->dev->cma_area->available_count 0-s64max
PARAM_VALUE 1 state->uart_port->dev->cma_area->nranges s32min-s32max
PARAM_VALUE 1 state->uart_port->dev->dma_io_tlb_mem->for_alloc 0-1
PARAM_VALUE 1 state->uart_port->dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 1 state->uart_port->lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 state->uart_port->ops 4096-ptr_max
PARAM_VALUE 1 state->uart_port->port_dev->dev.power.wakeirq->status 0-4294967295
PARAM_VALUE 1 state->uart_port->private_data->atomic_write_lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 state->uart_port->private_data->clk->core->dev->power.deferred_resume 0-1
PARAM_VALUE 1 state->uart_port->private_data->clk->core->dev->power.idle_notification 0-1
PARAM_VALUE 1 state->uart_port->private_data->clk->core->dev->power.request 0-4
PARAM_VALUE 1 state->uart_port->private_data->clk->core->dev->power.request_pending 0-1
PARAM_VALUE 1 state->uart_port->private_data->clk->core->dev->power.runtime_error s32min-(-17),(-15)-(-14),(-12),(-10)-s32max
PARAM_VALUE 1 state->uart_port->private_data->clk->core->dev->power.runtime_status s32min-s32max
PARAM_VALUE 1 state->uart_port->private_data->clk->core->dev->power.timer_autosuspends 0-1
PARAM_VALUE 1 state->uart_port->private_data->clk->core->dev->power.usage_count.counter s32min-s32max
PARAM_VALUE 1 state->uart_port->private_data->clk->core->dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 1 state->uart_port->private_data->clk->core->enable_count 0-4294967295
PARAM_VALUE 1 state->uart_port->private_data->clk->core->parent->dev->power.deferred_resume 0-1
PARAM_VALUE 1 state->uart_port->private_data->clk->core->parent->dev->power.idle_notification 0-1
PARAM_VALUE 1 state->uart_port->private_data->clk->core->parent->dev->power.request 0-4294967295
PARAM_VALUE 1 state->uart_port->private_data->clk->core->parent->dev->power.request_pending 0-1
PARAM_VALUE 1 state->uart_port->private_data->clk->core->parent->dev->power.runtime_error s32min-s32max
PARAM_VALUE 1 state->uart_port->private_data->clk->core->parent->dev->power.runtime_status s32min-s32max
PARAM_VALUE 1 state->uart_port->private_data->clk->core->parent->dev->power.timer_autosuspends 0-1
PARAM_VALUE 1 state->uart_port->private_data->clk->core->parent->dev->power.usage_count.counter s32min-s32max
PARAM_VALUE 1 state->uart_port->private_data->clk->core->parent->dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 1 state->uart_port->private_data->clk->core->parent->enable_count 0-4294967295
PARAM_VALUE 1 state->uart_port->private_data->clk->core->parent->prepare_count 0-4294967295
PARAM_VALUE 1 state->uart_port->private_data->clk->core->parent->protect_count 0-4294967295
PARAM_VALUE 1 state->uart_port->private_data->clk->core->prepare_count 0-4294967295
PARAM_VALUE 1 state->uart_port->private_data->clk->core->protect_count 0-4294967295
PARAM_VALUE 1 state->uart_port->private_data->lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 state->uart_port->type 1-u32max
PARAM_VALUE 2 old_termios 0
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 1 state s32min-(-1),1-s32max
BUF_SIZE 1 state s32min-(-1),1-s32max
DATA_SOURCE 0 tty $0
DATA_SOURCE 1 state $1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 1 state unit_byte
LOCK2 _T->lock
HALF_LOCKED2 0 &tty->legacy_mutex

drivers/tty/serial/serial_core.c uart_resume_port() -> uart_change_line_settings()

Type Parameter Key Value
PARAM_VALUE 0 tty 1-u64max
PARAM_VALUE 1 state 4096-ptr_max
PARAM_VALUE 1 state->pm_state 0
PARAM_VALUE 1 state->uart_port->dev->cma_area->available_count 0-s64max
PARAM_VALUE 1 state->uart_port->dev->cma_area->nranges s32min-s32max
PARAM_VALUE 1 state->uart_port->dev->dma_io_tlb_mem->for_alloc 0-1
PARAM_VALUE 1 state->uart_port->dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 1 state->uart_port->port_dev->dev.power.wakeirq->status 0-4294967295
PARAM_VALUE 2 old_termios 0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &uport->lock
LOCK2 _T->lock

drivers/tty/serial/serial_core.c uart_set_info() -> uart_change_line_settings()

Type Parameter Key Value
PARAM_VALUE 0 tty 4096-ptr_max
PARAM_VALUE 0 tty->ops 4096-ptr_max
PARAM_VALUE 0 tty->ops->set_serial 1094580457323642880,1874457111024828416,3044275849337626624,3389915277632028672,4342027950721310720,4577945029913939968,6749800265494245376
PARAM_VALUE 1 state 4096-ptr_max
PARAM_VALUE 1 state->uart_port->dev->cma_area->nranges s32min-s32max
PARAM_VALUE 1 state->uart_port->dev->dma_io_tlb_mem->for_alloc 0-1
PARAM_VALUE 1 state->uart_port->dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 1 state->uart_port->ops 4096-ptr_max
PARAM_VALUE 1 state->uart_port->port_dev->dev.power.wakeirq->status 0-4294967295
PARAM_VALUE 1 state->uart_port->type 1-u32max
PARAM_VALUE 2 old_termios 0
BUF_SIZE 1 state s32min-(-2),1-s32max
BUF_SIZE 1 state s32min-(-2),1-s32max
DATA_SOURCE 0 tty $0
DATA_SOURCE 1 state $2
CAPABLE 0 21
NOCHECK_CALL
UNITS 1 state unit_byte
LOCK2 _T->lock

drivers/tty/serial/serial_core.c uart_set_termios() -> uart_change_line_settings()

Type Parameter Key Value
PARAM_VALUE 0 tty 4096-ptr_max
PARAM_VALUE 0 tty->driver 4096-ptr_max
PARAM_VALUE 0 tty->driver_data 4096-ptr_max
PARAM_VALUE 0 tty->ops 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 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 state 4096-ptr_max
PARAM_VALUE 2 old_termios 1767035511140073472,3137504346029961216
BUF_SIZE 0 tty s32min,(-1),1-s32max
BUF_SIZE 0 tty s32min,(-1),1-s32max
BUF_SIZE 1 state s32min-(-2),1-s32max
BUF_SIZE 1 state s32min-(-2),1-s32max
CAPPED_DATA 0 tty 1
DATA_SOURCE 0 tty $0
DATA_SOURCE 2 old_termios $1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
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 state unit_byte
LOCK2 _T->lock
LOCK2 0 &tty->termios_rwsem
HALF_LOCKED2 &tty->ldisc_sem
HALF_LOCKED2 0 &tty->atomic_write_lock
HALF_LOCKED2 0 &tty->ldisc_sem
HALF_LOCKED2 0 &tty->legacy_mutex
TYPE_LOCK (struct tty_struct)->termios_rwsem