Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 4 files:

Smatch caller information:

drivers/tty/serial/8250/8250_port.c serial8250_pm() -> serial8250_do_pm()

Type Parameter Key Value
PARAM_VALUE 0 port 4096-ptr_max
PARAM_VALUE 0 port->dev->cma_area->available_count 0-s64max
PARAM_VALUE 0 port->dev->cma_area->nranges s32min-s32max
PARAM_VALUE 0 port->dev->dma_io_tlb_mem->for_alloc 0-1
PARAM_VALUE 0 port->dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 port->ops 4096-ptr_max
PARAM_VALUE 0 port->ops->pm 4096-ptr_max
PARAM_VALUE 0 port->pm 0
PARAM_VALUE 0 port->port_dev->dev.power.wakeirq->status 0-4294967295
DATA_SOURCE 0 port $0
DATA_SOURCE 1 state $1
DATA_SOURCE 2 oldstate $2
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 _T->lock
HALF_LOCKED2 &_T->lock->lock
HALF_LOCKED2 &m->lock
HALF_LOCKED2 &tty->legacy_mutex
HALF_LOCKED2 &uport->lock
HALF_LOCKED2 _T->flags

drivers/tty/serial/8250/8250_mtk.c mtk8250_do_pm() -> serial8250_do_pm()

Type Parameter Key Value
PARAM_VALUE 0 port 1819181237270331392
PARAM_VALUE 0 port->attr_group 0
PARAM_VALUE 0 port->break_ctl 0
PARAM_VALUE 0 port->cons 0
PARAM_VALUE 0 port->console_reinit 0
PARAM_VALUE 0 port->ctrl_id 0
PARAM_VALUE 0 port->custom_divisor 0
PARAM_VALUE 0 port->dev 0,4096-ptr_max
PARAM_VALUE 0 port->dev->cma_area->available_count 0-s64max
PARAM_VALUE 0 port->dev->cma_area->nranges s32min-s32max
PARAM_VALUE 0 port->dev->dma_io_tlb_mem->for_alloc 0-1
PARAM_VALUE 0 port->dev->iommu_group->default_domain 0-s64max
PARAM_VALUE 0 port->dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 port->flags 0,805306368
PARAM_VALUE 0 port->get_divisor 0
PARAM_VALUE 0 port->get_mctrl 0
PARAM_VALUE 0 port->get_rxtrig 0
PARAM_VALUE 0 port->handle_break 0
PARAM_VALUE 0 port->has_sysrq 0
PARAM_VALUE 0 port->hub6 0
PARAM_VALUE 0 port->hw_stopped 0
PARAM_VALUE 0 port->icount 0
PARAM_VALUE 0 port->ignore_status_mask 0-1,12-13,16-19,28-31
PARAM_VALUE 0 port->iobase 0
PARAM_VALUE 0 port->iotype 0,3
PARAM_VALUE 0 port->irq 0-s32max
PARAM_VALUE 0 port->irqflags 0
PARAM_VALUE 0 port->iso7816 0
PARAM_VALUE 0 port->iso7816_config 0
PARAM_VALUE 0 port->line 0-s32max
PARAM_VALUE 0 port->lock s32min-s32max
PARAM_VALUE 0 port->mapsize 0
PARAM_VALUE 0 port->minor 0
PARAM_VALUE 0 port->name 0
PARAM_VALUE 0 port->ops 0
PARAM_VALUE 0 port->ops->pm 4096-ptr_max
PARAM_VALUE 0 port->pm 0,4511255337713278976
PARAM_VALUE 0 port->port_dev 0
PARAM_VALUE 0 port->port_dev->dev.power.wakeirq->status 0-4294967295
PARAM_VALUE 0 port->port_id 0-s32max
PARAM_VALUE 0 port->private_data 0,4096-ptr_max
PARAM_VALUE 0 port->quirks 0
PARAM_VALUE 0 port->read_status_mask 0,3,15,19,31
PARAM_VALUE 0 port->regshift 0,2
PARAM_VALUE 0 port->rs485 0
PARAM_VALUE 0 port->rs485_rx_during_tx_gpio 0
PARAM_VALUE 0 port->rs485_supported 0
PARAM_VALUE 0 port->rs485_term_gpio 0
PARAM_VALUE 0 port->set_divisor 0
PARAM_VALUE 0 port->set_ldisc 0
PARAM_VALUE 0 port->set_mctrl 0
PARAM_VALUE 0 port->set_rxtrig 0
PARAM_VALUE 0 port->set_termios 0,6006128799960182784
PARAM_VALUE 0 port->shutdown 0,3102226493243260928
PARAM_VALUE 0 port->startup 0,3330526465526231040
PARAM_VALUE 0 port->state 0
PARAM_VALUE 0 port->status 0
PARAM_VALUE 0 port->suspended 0
PARAM_VALUE 0 port->sysrq 0
PARAM_VALUE 0 port->sysrq_ch 0
PARAM_VALUE 0 port->sysrq_seq 0
PARAM_VALUE 0 port->throttle 0
PARAM_VALUE 0 port->tty_groups 0
PARAM_VALUE 0 port->type 0,3
PARAM_VALUE 0 port->unthrottle 0
PARAM_VALUE 0 port->x_char 0
DATA_SOURCE 0 port $0
DATA_SOURCE 1 state $1
DATA_SOURCE 2 oldstate $2
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 _T->lock
HALF_LOCKED2 &_T->lock->lock
HALF_LOCKED2 &m->lock
HALF_LOCKED2 &tty->legacy_mutex
HALF_LOCKED2 &uport->lock
HALF_LOCKED2 _T->flags

drivers/tty/serial/8250/8250_dw.c dw8250_do_pm() -> serial8250_do_pm()

Type Parameter Key Value
PARAM_VALUE 0 port 2803218358845616128
PARAM_VALUE 0 port->attr_group 0-u32max
PARAM_VALUE 0 port->break_ctl 0
PARAM_VALUE 0 port->console_reinit 0
PARAM_VALUE 0 port->ctrl_id 0
PARAM_VALUE 0 port->custom_divisor 0
PARAM_VALUE 0 port->dev 0-255,4096-ptr_max
PARAM_VALUE 0 port->dev->cma_area->available_count 0-s64max
PARAM_VALUE 0 port->dev->cma_area->nranges s32min-s32max
PARAM_VALUE 0 port->dev->dma_io_tlb_mem->for_alloc 0-1
PARAM_VALUE 0 port->dev->iommu_group->default_domain 0-s64max
PARAM_VALUE 0 port->dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 port->get_divisor 0,4265723444479614976
PARAM_VALUE 0 port->get_mctrl 0
PARAM_VALUE 0 port->get_rxtrig 0
PARAM_VALUE 0 port->handle_break 0-u32max
PARAM_VALUE 0 port->handle_irq 0,8244471458444804096
PARAM_VALUE 0 port->has_sysrq 0
PARAM_VALUE 0 port->hub6 0
PARAM_VALUE 0 port->hw_stopped 0
PARAM_VALUE 0 port->icount 0
PARAM_VALUE 0 port->ignore_status_mask 0,256-257,268-269,272-275,284-287
PARAM_VALUE 0 port->iobase 0
PARAM_VALUE 0 port->iotype (-1)-s32max
PARAM_VALUE 0 port->irq 0-s32max
PARAM_VALUE 0 port->irqflags 0-u32max
PARAM_VALUE 0 port->iso7816 0
PARAM_VALUE 0 port->iso7816_config 0
PARAM_VALUE 0 port->lock s32min-s32max
PARAM_VALUE 0 port->minor 0
PARAM_VALUE 0 port->name 0-u32max
PARAM_VALUE 0 port->ops 0
PARAM_VALUE 0 port->ops->pm 4096-ptr_max
PARAM_VALUE 0 port->pm 0,2770102282220523520
PARAM_VALUE 0 port->port_dev 0
PARAM_VALUE 0 port->port_dev->dev.power.wakeirq->status 0-4294967295
PARAM_VALUE 0 port->port_id 0-s32max
PARAM_VALUE 0 port->quirks 0
PARAM_VALUE 0 port->read_status_mask 0,259,271,275,287
PARAM_VALUE 0 port->rs485 0
PARAM_VALUE 0 port->rs485_rx_during_tx_gpio 0-u32max
PARAM_VALUE 0 port->rs485_supported 0
PARAM_VALUE 0 port->rs485_term_gpio 0-u32max
PARAM_VALUE 0 port->serial_in 0,4096-ptr_max
PARAM_VALUE 0 port->serial_out 0,4259017607023443968,5102965566000500736,6997864409700216832,7064709147901652992,8207901887618170880
PARAM_VALUE 0 port->set_divisor 0,574089727225958400,8390153535830097920
PARAM_VALUE 0 port->set_ldisc 0,7300308295093010432
PARAM_VALUE 0 port->set_mctrl 0
PARAM_VALUE 0 port->set_rxtrig 0
PARAM_VALUE 0 port->set_termios 0,6657532561596420096,7587422099711418368
PARAM_VALUE 0 port->shutdown 0,8800662400495300608
PARAM_VALUE 0 port->startup 0
PARAM_VALUE 0 port->state 0-u32max
PARAM_VALUE 0 port->suspended 0
PARAM_VALUE 0 port->sysrq 0
PARAM_VALUE 0 port->sysrq_ch 0
PARAM_VALUE 0 port->sysrq_seq 0
PARAM_VALUE 0 port->throttle 0
PARAM_VALUE 0 port->tty_groups 0
PARAM_VALUE 0 port->type 0-1,4,17
PARAM_VALUE 0 port->unthrottle 0
PARAM_VALUE 0 port->x_char 0
DATA_SOURCE 0 port $0
DATA_SOURCE 1 state $1
DATA_SOURCE 2 oldstate $2
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 _T->lock
HALF_LOCKED2 &_T->lock->lock
HALF_LOCKED2 &m->lock
HALF_LOCKED2 &tty->legacy_mutex
HALF_LOCKED2 &uport->lock
HALF_LOCKED2 _T->flags