Defined in 2 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/usb/serial/io_edgeport.c change_port_settings() -> send_cmd_write_baud_rate()

Type Parameter Key Value
PARAM_VALUE 0 edge_port 4096-ptr_max
PARAM_VALUE 0 edge_port->port 4096-ptr_max
PARAM_VALUE 0 edge_port->port->serial 4096-ptr_max
PARAM_VALUE 0 edge_port->port->serial->private 4096-ptr_max
PARAM_VALUE 0 edge_port->shadowMCR 8,11
PARAM_VALUE 0 edge_port->validDataMask 31,63,127,255
PARAM_VALUE 1 baudRate s32min-(-1),1-s32max
BUF_SIZE 0 edge_port s32min-(-2),1-s32max
BUF_SIZE 0 edge_port s32min-(-2),1-s32max
DATA_SOURCE 0 edge_port $1
FUZZY_MAX 0 edge_port->shadowMCR 8
FUZZY_MAX 1 baudRate 9600
BIT_INFO 0 edge_port->shadowMCR 0x8,0xb
BIT_INFO 0 edge_port->validDataMask 0x1f,0xffffffffffffffff
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 baudRate 1-s32max
UNITS 0 edge_port unit_byte
HALF_LOCKED2 &edge_serial->es_lock
HALF_LOCKED2 flags

drivers/usb/serial/mos7720.c change_port_settings() -> send_cmd_write_baud_rate()

Type Parameter Key Value
PARAM_VALUE 0 edge_port 4096-ptr_max
PARAM_VALUE 0 edge_port->open 1-255
PARAM_VALUE 0 edge_port->port 4096-ptr_max
PARAM_VALUE 0 edge_port->shadowMCR 8,11,40,43
PARAM_VALUE 1 baudRate s32min-(-1),1-230399
BUF_SIZE 0 edge_port s32min-(-2),1-s32max
BUF_SIZE 0 edge_port s32min-(-2),1-s32max
DATA_SOURCE 0 edge_port $1
FUZZY_MAX 1 baudRate 9600
BIT_INFO 0 edge_port->shadowMCR 0x8,0xffffffffffffffff
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 baudRate 1-230399
UNITS 0 edge_port unit_byte
HALF_LOCKED2 &serial->disc_mutex
HALF_LOCKED2 &tty->atomic_write_lock
HALF_LOCKED2 &tty->ldisc_sem
HALF_LOCKED2 &tty->legacy_mutex
HALF_LOCKED2 &tty->termios_rwsem
HALF_LOCKED2 global &console_mutex