Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/tty/serial/8250/8250_mxpcie.c mxpcie8250_rs485_config() -> mxpcie8250_set_interface()

Type Parameter Key Value
PARAM_VALUE 0 priv->supp_rs 1,6-7
PARAM_VALUE 1 port_idx 0-s32max
PARAM_VALUE 2 mode 0-1,11,15
BUF_SIZE 0 priv s32min-(-2),1-s32max
BUF_SIZE 0 priv s32min-(-2),1-s32max
FUZZY_MAX 2 mode 15
HARD_MAX 2 mode 15
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 priv unit_byte
UNITS 1 port_idx unit_array_size
LOCK2 &_T->lock->lock
LOCK2 _T->flags
LOCK2 _T->lock
HALF_LOCKED2 &tty->termios_rwsem

drivers/tty/serial/8250/8250_mxpcie.c mxpcie8250_setup_port() -> mxpcie8250_set_interface()

Type Parameter Key Value
PARAM_VALUE 0 priv 4096-ptr_max
PARAM_VALUE 0 priv->bar1_base 4096-ptr_max
PARAM_VALUE 0 priv->bar2_base 4096-ptr_max
PARAM_VALUE 0 priv->num_ports 0-u16max
PARAM_VALUE 0 priv->port 0
PARAM_VALUE 0 priv->supp_rs 0-1,6-7
PARAM_VALUE 1 port_idx 0-65534
PARAM_VALUE 2 mode 0-1
BUF_SIZE 0 priv 24-524304
BUF_SIZE 0 priv 24-524304
BUF_SIZE 0 priv->port 0-524280
CAPPED_DATA 1 port_idx 1
DATA_SOURCE 0 priv $1
DATA_SOURCE 1 port_idx $3
FUZZY_MAX 2 mode 1
HARD_MAX 2 mode 1
MEM_ZERO 0 priv
MEM_ZERO 0 priv->bar2_base
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 priv->num_ports
NO_OVERFLOW_SIMPLE 1 port_idx
HALF_LOCKED2 &pdev->dev.mutex