Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/tty/serial/serial_core.c uart_configure_port() -> uart_change_pm()

Type Parameter Key Value
PARAM_VALUE 0 state 4096-ptr_max
PARAM_VALUE 0 state->pm_state 4
PARAM_VALUE 0 state->refcount.counter 1
PARAM_VALUE 0 state->remove_wait.head.next 4096-ptr_max
PARAM_VALUE 0 state->remove_wait.head.next->next 4096-ptr_max
PARAM_VALUE 0 state->remove_wait.head.prev 4096-ptr_max
PARAM_VALUE 0 state->remove_wait.head.prev->next 4096-ptr_max
PARAM_VALUE 0 state->remove_wait.head.prev->prev 4096-ptr_max
PARAM_VALUE 0 state->uart_port 4096-ptr_max
PARAM_VALUE 0 state->uart_port->dev 4096-ptr_max
PARAM_VALUE 0 state->uart_port->flags 0,1073741824-u64max
PARAM_VALUE 0 state->uart_port->line 0-4294967294
PARAM_VALUE 0 state->uart_port->name 1-u64max
PARAM_VALUE 0 state->uart_port->port_dev 4096-ptr_max
PARAM_VALUE 0 state->uart_port->port_id 0-s32max
PARAM_VALUE 0 state->uart_port->tty_groups 4096-ptr_max
PARAM_VALUE 1 pm_state 0
CAPPED_DATA 0 state->uart_port->line 1
DATA_SOURCE 0 state $1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 state->uart_port->iobase
NO_OVERFLOW_SIMPLE 0 state->uart_port->mapbase
NO_OVERFLOW_SIMPLE 0 state->uart_port->port_id
LOCK2 _T->lock
HALF_LOCKED2 global &console_sem
HALF_LOCKED2 global &max3100s_lock

drivers/tty/serial/serial_core.c uart_configure_port() -> uart_change_pm()

Type Parameter Key Value
PARAM_VALUE 0 state 4096-ptr_max
PARAM_VALUE 0 state->pm_state 0
PARAM_VALUE 0 state->refcount.counter 1
PARAM_VALUE 0 state->remove_wait.head.next 4096-ptr_max
PARAM_VALUE 0 state->remove_wait.head.next->next 4096-ptr_max
PARAM_VALUE 0 state->remove_wait.head.prev 4096-ptr_max
PARAM_VALUE 0 state->remove_wait.head.prev->next 4096-ptr_max
PARAM_VALUE 0 state->remove_wait.head.prev->prev 4096-ptr_max
PARAM_VALUE 0 state->uart_port 4096-ptr_max
PARAM_VALUE 0 state->uart_port->cons 0,4096-u32max
PARAM_VALUE 0 state->uart_port->dev 4096-ptr_max
PARAM_VALUE 0 state->uart_port->dev->cma_area->available_count 0-s64max
PARAM_VALUE 0 state->uart_port->dev->cma_area->nranges s32min-s32max
PARAM_VALUE 0 state->uart_port->dev->dma_io_tlb_mem->for_alloc 0-1
PARAM_VALUE 0 state->uart_port->dev->power.request 0-4
PARAM_VALUE 0 state->uart_port->dev->power.runtime_error s32min-(-17),(-15)-(-14),(-12),(-10)-s32max
PARAM_VALUE 0 state->uart_port->dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 state->uart_port->flags 0,1073741824-u64max
PARAM_VALUE 0 state->uart_port->line 0-4294967294
PARAM_VALUE 0 state->uart_port->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 state->uart_port->name 1-u64max
PARAM_VALUE 0 state->uart_port->port_dev 4096-ptr_max
PARAM_VALUE 0 state->uart_port->port_dev->dev.power.wakeirq->status 0-4294967295
PARAM_VALUE 0 state->uart_port->port_id 0-s32max
PARAM_VALUE 0 state->uart_port->private_data->clk->core->dev->power.deferred_resume 0-1
PARAM_VALUE 0 state->uart_port->private_data->clk->core->dev->power.idle_notification 0-1
PARAM_VALUE 0 state->uart_port->private_data->clk->core->dev->power.request 0-4
PARAM_VALUE 0 state->uart_port->private_data->clk->core->dev->power.request_pending 0-1
PARAM_VALUE 0 state->uart_port->private_data->clk->core->dev->power.runtime_error s32min-(-17),(-15)-(-14),(-12),(-10)-s32max
PARAM_VALUE 0 state->uart_port->private_data->clk->core->dev->power.runtime_status s32min-s32max
PARAM_VALUE 0 state->uart_port->private_data->clk->core->dev->power.timer_autosuspends 0-1
PARAM_VALUE 0 state->uart_port->private_data->clk->core->dev->power.usage_count.counter s32min-s32max
PARAM_VALUE 0 state->uart_port->private_data->clk->core->dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 state->uart_port->private_data->clk->core->enable_count 0-4294967295
PARAM_VALUE 0 state->uart_port->private_data->clk->core->parent->dev->power.deferred_resume 0-1
PARAM_VALUE 0 state->uart_port->private_data->clk->core->parent->dev->power.idle_notification 0-1
PARAM_VALUE 0 state->uart_port->private_data->clk->core->parent->dev->power.request 0-4294967295
PARAM_VALUE 0 state->uart_port->private_data->clk->core->parent->dev->power.request_pending 0-1
PARAM_VALUE 0 state->uart_port->private_data->clk->core->parent->dev->power.runtime_error s32min-s32max
PARAM_VALUE 0 state->uart_port->private_data->clk->core->parent->dev->power.runtime_status s32min-s32max
PARAM_VALUE 0 state->uart_port->private_data->clk->core->parent->dev->power.timer_autosuspends 0-1
PARAM_VALUE 0 state->uart_port->private_data->clk->core->parent->dev->power.usage_count.counter s32min-s32max
PARAM_VALUE 0 state->uart_port->private_data->clk->core->parent->dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 state->uart_port->private_data->clk->core->parent->enable_count 0-4294967295
PARAM_VALUE 0 state->uart_port->private_data->clk->core->parent->prepare_count 0-4294967295
PARAM_VALUE 0 state->uart_port->private_data->clk->core->parent->protect_count 0-4294967295
PARAM_VALUE 0 state->uart_port->private_data->clk->core->prepare_count 0-4294967295
PARAM_VALUE 0 state->uart_port->private_data->clk->core->protect_count 0-4294967295
PARAM_VALUE 0 state->uart_port->private_data->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 state->uart_port->tty_groups 4096-ptr_max
PARAM_VALUE 1 pm_state 3
CAPPED_DATA 0 state->uart_port->line 1
DATA_SOURCE 0 state $1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 state->uart_port->iobase
NO_OVERFLOW_SIMPLE 0 state->uart_port->mapbase
NO_OVERFLOW_SIMPLE 0 state->uart_port->port_id
LOCK2 &_T->lock->lock
LOCK2 _T->flags
LOCK2 _T->lock
HALF_LOCKED2 global &max3100s_lock

drivers/tty/serial/serial_core.c uart_hangup() -> uart_change_pm()

Type Parameter Key Value
PARAM_VALUE 0 state 4096-ptr_max
PARAM_VALUE 0 state->port.count 0
PARAM_VALUE 0 state->port.tty 0,4096-ptr_max
PARAM_VALUE 0 state->port.xmit_buf 0
PARAM_VALUE 0 state->uart_port 0,4096-ptr_max
PARAM_VALUE 0 state->uart_port->cons 0,4096-ptr_max
PARAM_VALUE 0 state->uart_port->dev->cma_area->available_count 0-s64max
PARAM_VALUE 0 state->uart_port->dev->cma_area->nranges s32min-s32max
PARAM_VALUE 0 state->uart_port->dev->dma_io_tlb_mem->for_alloc 0-1
PARAM_VALUE 0 state->uart_port->dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 state->uart_port->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 state->uart_port->port_dev->dev.power.wakeirq->status 0-4294967295
PARAM_VALUE 1 pm_state 3
BUF_SIZE 0 state s32min-(-2),1-s32max
BUF_SIZE 0 state s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 state unit_byte
LOCK2 &tty->legacy_mutex
LOCK2 _T->lock
HALF_LOCKED2 &tty->driver_data->d_lockref.lock
HALF_LOCKED2 &tty->driver_data->uart_port->lock
TYPE_LOCK (struct tty_struct)->legacy_mutex

drivers/tty/serial/serial_core.c uart_line_info() -> uart_change_pm()

Type Parameter Key Value
PARAM_VALUE 0 state 4096-ptr_max
PARAM_VALUE 0 state->pm_state 1-u32max
PARAM_VALUE 0 state->uart_port->iotype s32min-4,6-s32max
PARAM_VALUE 0 state->uart_port->ops 4096-ptr_max
PARAM_VALUE 0 state->uart_port->type 1-u32max
PARAM_VALUE 1 pm_state 0
DATA_SOURCE 0 state $1
CAPABLE 0 21
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &m->lock
LOCK2 _T->lock
TYPE_LOCK (struct seq_file)->lock

drivers/tty/serial/serial_core.c uart_line_info() -> uart_change_pm()

Type Parameter Key Value
PARAM_VALUE 0 state 4096-ptr_max
PARAM_VALUE 0 state->uart_port->dev->cma_area->available_count 0-s64max
PARAM_VALUE 0 state->uart_port->dev->cma_area->nranges s32min-s32max
PARAM_VALUE 0 state->uart_port->dev->dma_io_tlb_mem->for_alloc 0-1
PARAM_VALUE 0 state->uart_port->dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 state->uart_port->iotype s32min-4,6-s32max
PARAM_VALUE 0 state->uart_port->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 state->uart_port->ops 4096-ptr_max
PARAM_VALUE 0 state->uart_port->port_dev->dev.power.wakeirq->status 0-4294967295
PARAM_VALUE 0 state->uart_port->private_data->atomic_write_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 state->uart_port->private_data->clk->core->dev->power.deferred_resume 0-1
PARAM_VALUE 0 state->uart_port->private_data->clk->core->dev->power.idle_notification 0-1
PARAM_VALUE 0 state->uart_port->private_data->clk->core->dev->power.request 0-4
PARAM_VALUE 0 state->uart_port->private_data->clk->core->dev->power.request_pending 0-1
PARAM_VALUE 0 state->uart_port->private_data->clk->core->dev->power.runtime_error s32min-(-17),(-15)-(-14),(-12),(-10)-s32max
PARAM_VALUE 0 state->uart_port->private_data->clk->core->dev->power.runtime_status s32min-s32max
PARAM_VALUE 0 state->uart_port->private_data->clk->core->dev->power.timer_autosuspends 0-1
PARAM_VALUE 0 state->uart_port->private_data->clk->core->dev->power.usage_count.counter s32min-s32max
PARAM_VALUE 0 state->uart_port->private_data->clk->core->dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 state->uart_port->private_data->clk->core->enable_count 0-4294967295
PARAM_VALUE 0 state->uart_port->private_data->clk->core->parent->dev->power.deferred_resume 0-1
PARAM_VALUE 0 state->uart_port->private_data->clk->core->parent->dev->power.idle_notification 0-1
PARAM_VALUE 0 state->uart_port->private_data->clk->core->parent->dev->power.request 0-4294967295
PARAM_VALUE 0 state->uart_port->private_data->clk->core->parent->dev->power.request_pending 0-1
PARAM_VALUE 0 state->uart_port->private_data->clk->core->parent->dev->power.runtime_error s32min-s32max
PARAM_VALUE 0 state->uart_port->private_data->clk->core->parent->dev->power.runtime_status s32min-s32max
PARAM_VALUE 0 state->uart_port->private_data->clk->core->parent->dev->power.timer_autosuspends 0-1
PARAM_VALUE 0 state->uart_port->private_data->clk->core->parent->dev->power.usage_count.counter s32min-s32max
PARAM_VALUE 0 state->uart_port->private_data->clk->core->parent->dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 state->uart_port->private_data->clk->core->parent->enable_count 0-4294967295
PARAM_VALUE 0 state->uart_port->private_data->clk->core->parent->prepare_count 0-4294967295
PARAM_VALUE 0 state->uart_port->private_data->clk->core->parent->protect_count 0-4294967295
PARAM_VALUE 0 state->uart_port->private_data->clk->core->prepare_count 0-4294967295
PARAM_VALUE 0 state->uart_port->private_data->clk->core->protect_count 0-4294967295
PARAM_VALUE 0 state->uart_port->private_data->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 state->uart_port->type 1-u32max
PARAM_VALUE 1 pm_state 1-u32max
DATA_SOURCE 0 state $1
CAPABLE 0 21
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &m->lock
LOCK2 &uport->lock
LOCK2 _T->lock
TYPE_LOCK (struct seq_file)->lock

drivers/tty/serial/serial_core.c uart_poll_init() -> uart_change_pm()

Type Parameter Key Value
PARAM_VALUE 0 state 4096-ptr_max
PARAM_VALUE 0 state->uart_port->ops 4096-ptr_max
PARAM_VALUE 0 state->uart_port->ops->poll_get_char 4096-ptr_max
PARAM_VALUE 0 state->uart_port->ops->poll_put_char 4096-ptr_max
PARAM_VALUE 0 state->uart_port->type 1-u32max
PARAM_VALUE 1 pm_state 0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 _T->lock
HALF_LOCKED2 global &config_mutex

drivers/tty/serial/serial_core.c uart_poll_init() -> uart_change_pm()

Type Parameter Key Value
PARAM_VALUE 0 state 4096-ptr_max
PARAM_VALUE 0 state->pm_state 0
PARAM_VALUE 0 state->uart_port->cons 0,4096-u32max
PARAM_VALUE 0 state->uart_port->dev->cma_area->available_count 0-s64max
PARAM_VALUE 0 state->uart_port->dev->cma_area->nranges s32min-s32max
PARAM_VALUE 0 state->uart_port->dev->dma_io_tlb_mem->for_alloc 0-1
PARAM_VALUE 0 state->uart_port->dev->power.request 0-4
PARAM_VALUE 0 state->uart_port->dev->power.runtime_error s32min-(-17),(-15)-(-14),(-12),(-10)-s32max
PARAM_VALUE 0 state->uart_port->dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 state->uart_port->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 state->uart_port->ops 4096-ptr_max
PARAM_VALUE 0 state->uart_port->ops->poll_get_char 4096-ptr_max
PARAM_VALUE 0 state->uart_port->ops->poll_init 542853678643802112,853403963737563136,1231480850374565888,1236650878105227264,3206955665515188224,5661098704952168448,7022633692052856832
PARAM_VALUE 0 state->uart_port->ops->poll_put_char 4096-ptr_max
PARAM_VALUE 0 state->uart_port->port_dev->dev.power.wakeirq->status 0-4294967295
PARAM_VALUE 0 state->uart_port->private_data->clk->core->dev->power.deferred_resume 0-1
PARAM_VALUE 0 state->uart_port->private_data->clk->core->dev->power.idle_notification 0-1
PARAM_VALUE 0 state->uart_port->private_data->clk->core->dev->power.request 0-4
PARAM_VALUE 0 state->uart_port->private_data->clk->core->dev->power.request_pending 0-1
PARAM_VALUE 0 state->uart_port->private_data->clk->core->dev->power.runtime_error s32min-(-17),(-15)-(-14),(-12),(-10)-s32max
PARAM_VALUE 0 state->uart_port->private_data->clk->core->dev->power.runtime_status s32min-s32max
PARAM_VALUE 0 state->uart_port->private_data->clk->core->dev->power.timer_autosuspends 0-1
PARAM_VALUE 0 state->uart_port->private_data->clk->core->dev->power.usage_count.counter s32min-s32max
PARAM_VALUE 0 state->uart_port->private_data->clk->core->dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 state->uart_port->private_data->clk->core->enable_count 0-4294967295
PARAM_VALUE 0 state->uart_port->private_data->clk->core->parent->dev->power.deferred_resume 0-1
PARAM_VALUE 0 state->uart_port->private_data->clk->core->parent->dev->power.idle_notification 0-1
PARAM_VALUE 0 state->uart_port->private_data->clk->core->parent->dev->power.request 0-4294967295
PARAM_VALUE 0 state->uart_port->private_data->clk->core->parent->dev->power.request_pending 0-1
PARAM_VALUE 0 state->uart_port->private_data->clk->core->parent->dev->power.runtime_error s32min-s32max
PARAM_VALUE 0 state->uart_port->private_data->clk->core->parent->dev->power.runtime_status s32min-s32max
PARAM_VALUE 0 state->uart_port->private_data->clk->core->parent->dev->power.timer_autosuspends 0-1
PARAM_VALUE 0 state->uart_port->private_data->clk->core->parent->dev->power.usage_count.counter s32min-s32max
PARAM_VALUE 0 state->uart_port->private_data->clk->core->parent->dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 state->uart_port->private_data->clk->core->parent->enable_count 0-4294967295
PARAM_VALUE 0 state->uart_port->private_data->clk->core->parent->prepare_count 0-4294967295
PARAM_VALUE 0 state->uart_port->private_data->clk->core->parent->protect_count 0-4294967295
PARAM_VALUE 0 state->uart_port->private_data->clk->core->prepare_count 0-4294967295
PARAM_VALUE 0 state->uart_port->private_data->clk->core->protect_count 0-4294967295
PARAM_VALUE 0 state->uart_port->private_data->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 state->uart_port->type 1-u32max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 _T->lock
HALF_LOCKED2 global &config_mutex

drivers/tty/serial/serial_core.c uart_port_startup() -> uart_change_pm()

Type Parameter Key Value
PARAM_VALUE 0 state 4096-ptr_max
PARAM_VALUE 0 state->uart_port->dev->cma_area->nranges s32min-s32max
PARAM_VALUE 0 state->uart_port->dev->dma_io_tlb_mem->for_alloc 0-1
PARAM_VALUE 0 state->uart_port->type 1-u32max
PARAM_VALUE 1 pm_state 0
BUF_SIZE 0 state s32min-(-1),1-s32max
BUF_SIZE 0 state s32min-(-1),1-s32max
DATA_SOURCE 0 state $1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 state unit_byte
LOCK2 _T->lock
HALF_LOCKED2 &tty->legacy_mutex

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

Type Parameter Key Value
PARAM_VALUE 0 state 4096-ptr_max
PARAM_VALUE 1 pm_state 0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 _T->lock

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

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

drivers/tty/serial/serial_core.c uart_suspend_port() -> uart_change_pm()

Type Parameter Key Value
PARAM_VALUE 0 state 4096-ptr_max
PARAM_VALUE 1 pm_state 3
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 _T->lock
HALF_LOCKED2 &uport->lock

drivers/tty/serial/serial_core.c uart_tty_port_shutdown() -> uart_change_pm()

Type Parameter Key Value
PARAM_VALUE 0 state 4096-ptr_max
PARAM_VALUE 0 state->uart_port->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 state->uart_port->port_dev 4096-ptr_max
PARAM_VALUE 1 pm_state 3
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &uport->lock
LOCK2 _T->lock
HALF_LOCKED2 &tty->legacy_mutex
TYPE_LOCK (struct tty_struct)->legacy_mutex