Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/usb/serial/mct_u232.c mct_u232_dtr_rts() -> mct_u232_set_modem_ctrl()

Type Parameter Key Value
PARAM_VALUE 0 port 4096-ptr_max
PARAM_VALUE 0 port->serial 4096-ptr_max
PARAM_VALUE 0 port->serial->type 4096-ptr_max
PARAM_VALUE 0 port->serial->type->dtr_rts 4096-ptr_max
DATA_SOURCE 0 port $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &tty->legacy_mutex
HALF_LOCKED2 _T->lock

drivers/usb/serial/mct_u232.c mct_u232_open() -> mct_u232_set_modem_ctrl()

Type Parameter Key Value
PARAM_VALUE 0 port 4096-ptr_max
PARAM_VALUE 0 port->serial 4096-ptr_max
PARAM_VALUE 0 port->serial->disc_mutex.dep_map->name 0-255
PARAM_VALUE 0 port->serial->disc_mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 port->serial->disc_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 port->serial->disc_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 port->serial->disc_mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 port->serial->disc_mutex.wait_lock.owner (-1)
PARAM_VALUE 0 port->serial->disc_mutex.wait_lock.owner_cpu u32max
PARAM_VALUE 0 port->serial->disconnected 0
PARAM_VALUE 0 port->serial->interface 4096-ptr_max
PARAM_VALUE 0 port->serial->interface->dev.power.request 0-4
PARAM_VALUE 0 port->serial->interface->dev.power.runtime_error s32min-(-17),(-15)-(-14),(-12),(-10)-s32max
PARAM_VALUE 0 port->serial->interface->dev.power.wakeirq->status 0-4294967295
PARAM_VALUE 0 port->serial->type 4096-ptr_max
PARAM_VALUE 1 control_state 0,6
DATA_SOURCE 0 port $1
BIT_INFO 1 control_state 0x0,0x6
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 0 port->port.tty->index 0-s16max[c]
USER_DATA 0 port->port.tty->termios.c_ispeed 0-u32max
USER_DATA 0 port->port.tty->termios.c_ospeed 0-u32max
LOCK2 &serial->disc_mutex
HALF_LOCKED2 _T->lock
HALF_LOCKED2 global &console_mutex

drivers/usb/serial/mct_u232.c mct_u232_set_termios() -> mct_u232_set_modem_ctrl()

Type Parameter Key Value
PARAM_VALUE 0 port 4096-ptr_max
PARAM_VALUE 0 port->serial 4096-ptr_max
PARAM_VALUE 0 port->serial->interface->dev.power.wakeirq->status 0-4294967295
PARAM_VALUE 0 port->serial->type 4096-ptr_max
PARAM_VALUE 0 port->serial->type->set_termios 4096-ptr_max
PARAM_VALUE 1 control_state 0,2-u32max
BUF_SIZE 0 port s32min-(-1),1-s32max
BUF_SIZE 0 port s32min-(-1),1-s32max
DATA_SOURCE 0 port $1
BIT_INFO 1 control_state 0x6,0xffffffff
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 0 port->port.tty->index 0-s16max[c]
USER_DATA 0 port->port.tty->termios.c_ispeed 0-u32max
USER_DATA 0 port->port.tty->termios.c_ospeed 0-u32max
HALF_LOCKED2 &serial->disc_mutex
HALF_LOCKED2 &tty->termios_rwsem
HALF_LOCKED2 global &console_mutex

drivers/usb/serial/mct_u232.c mct_u232_set_termios() -> mct_u232_set_modem_ctrl()

Type Parameter Key Value
PARAM_VALUE 0 port 4096-ptr_max
PARAM_VALUE 0 port->serial 4096-ptr_max
PARAM_VALUE 0 port->serial->interface->dev.power.wakeirq->status 0-4294967295
PARAM_VALUE 0 port->serial->type 4096-ptr_max
PARAM_VALUE 0 port->serial->type->set_termios 4096-ptr_max
BUF_SIZE 0 port s32min-(-1),1-s32max
BUF_SIZE 0 port s32min-(-1),1-s32max
DATA_SOURCE 0 port $1
BIT_INFO 1 control_state 0x0,0xfffffff9
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 0 port->port.tty->index 0-s16max[c]
USER_DATA 0 port->port.tty->termios.c_ispeed 0-u32max
USER_DATA 0 port->port.tty->termios.c_ospeed 0-u32max
HALF_LOCKED2 &serial->disc_mutex
HALF_LOCKED2 &tty->termios_rwsem
HALF_LOCKED2 global &console_mutex

drivers/usb/serial/mct_u232.c mct_u232_throttle() -> mct_u232_set_modem_ctrl()

Type Parameter Key Value
PARAM_VALUE 0 port 4096-ptr_max
BUF_SIZE 0 port s32min-(-2),1-s32max
BUF_SIZE 0 port s32min-(-2),1-s32max
BIT_INFO 1 control_state 0x0,0xfffffffb
NOCHECK_CALL
UNITS 0 port unit_byte
LOCK2 _T->lock
HALF_LOCKED2 &tty->ldisc_sem
HALF_LOCKED2 &tty->ldisc_sem
HALF_LOCKED2 &tty->port->buf.lock

drivers/usb/serial/mct_u232.c mct_u232_tiocmset() -> mct_u232_set_modem_ctrl()

Type Parameter Key Value
PARAM_VALUE 0 port 4096-ptr_max
BUF_SIZE 0 port s32min-(-2),1-s32max
BUF_SIZE 0 port s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
UNITS 0 port unit_byte
HALF_LOCKED2 global &spk_mutex

drivers/usb/serial/mct_u232.c mct_u232_unthrottle() -> mct_u232_set_modem_ctrl()

Type Parameter Key Value
PARAM_VALUE 0 port 4096-ptr_max
PARAM_VALUE 1 control_state 0,4-u32max
BUF_SIZE 0 port s32min-(-2),1-s32max
BUF_SIZE 0 port s32min-(-2),1-s32max
BIT_INFO 1 control_state 0x4,0xffffffff
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 port unit_byte
HALF_LOCKED2 &tty->ldisc_sem
HALF_LOCKED2 &tty->legacy_mutex
HALF_LOCKED2 &tty->port->buf.lock
HALF_LOCKED2 &tty->termios_rwsem
HALF_LOCKED2 _T->lock