Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/usb/serial/cp210x.c cp210x_break_ctl() -> cp210x_write_u16_reg()

Type Parameter Key Value
PARAM_VALUE 0 port 4096-ptr_max
PARAM_VALUE 0 port->serial 4096-ptr_max
PARAM_VALUE 1 req 5
PARAM_VALUE 2 val 0-1
BUF_SIZE 0 port s32min-(-2),1-s32max
BUF_SIZE 0 port s32min-(-2),1-s32max
FUZZY_MAX 2 val 1
HARD_MAX 2 val 1
RX_PATH
TASK_NOT_RUNNING
UNITS 0 port unit_byte
HALF_LOCKED2 &tty->atomic_write_lock

drivers/usb/serial/cp210x.c cp210x_close() -> cp210x_write_u16_reg()

Type Parameter Key Value
PARAM_VALUE 0 port 4096-ptr_max
PARAM_VALUE 0 port->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 port->serial 4096-ptr_max
PARAM_VALUE 0 port->serial->type 4096-ptr_max
PARAM_VALUE 0 port->serial->type->close 4096-ptr_max
PARAM_VALUE 1 req 18
PARAM_VALUE 2 val 15
DATA_SOURCE 0 port $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 _T->lock
HALF_LOCKED2 &tty->legacy_mutex
TYPE_LOCK (struct tty_struct)->legacy_mutex

drivers/usb/serial/cp210x.c cp210x_close() -> cp210x_write_u16_reg()

Type Parameter Key Value
PARAM_VALUE 0 port 4096-ptr_max
PARAM_VALUE 0 port->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 port->serial 4096-ptr_max
PARAM_VALUE 0 port->serial->dev 4096-ptr_max
PARAM_VALUE 0 port->serial->type 4096-ptr_max
PARAM_VALUE 0 port->serial->type->close 4096-ptr_max
PARAM_VALUE 1 req 0
PARAM_VALUE 2 val 0
DATA_SOURCE 0 port $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 _T->lock
HALF_LOCKED2 &tty->legacy_mutex
TYPE_LOCK (struct tty_struct)->legacy_mutex

drivers/usb/serial/cp210x.c cp210x_disable_event_mode() -> cp210x_write_u16_reg()

Type Parameter Key Value
PARAM_VALUE 0 port 4096-ptr_max
PARAM_VALUE 0 port->serial 4096-ptr_max
PARAM_VALUE 0 port->serial->dev 4096-ptr_max
PARAM_VALUE 0 port->serial->interface->dev.power.wakeirq->status 0-4294967295
PARAM_VALUE 0 port->serial->private 4096-ptr_max
PARAM_VALUE 0 port->serial->type 4096-ptr_max
PARAM_VALUE 1 req 21
PARAM_VALUE 2 val 0
BUF_SIZE 0 port s32min-(-1),1-s32max
BUF_SIZE 0 port s32min-(-1),1-s32max
DATA_SOURCE 0 port $0
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 port->port.tty->index 0-s16max[c]
HALF_LOCKED2 &serial->disc_mutex
HALF_LOCKED2 &tty->termios_rwsem
HALF_LOCKED2 _T->lock
HALF_LOCKED2 global &console_mutex

drivers/usb/serial/cp210x.c cp210x_enable_event_mode() -> cp210x_write_u16_reg()

Type Parameter Key Value
PARAM_VALUE 0 port 4096-ptr_max
PARAM_VALUE 0 port->serial 4096-ptr_max
PARAM_VALUE 0 port->serial->dev 4096-ptr_max
PARAM_VALUE 0 port->serial->interface->dev.power.wakeirq->status 0-4294967295
PARAM_VALUE 0 port->serial->private 4096-ptr_max
PARAM_VALUE 0 port->serial->type 4096-ptr_max
PARAM_VALUE 1 req 21
PARAM_VALUE 2 val 236
BUF_SIZE 0 port s32min-(-1),1-s32max
BUF_SIZE 0 port s32min-(-1),1-s32max
DATA_SOURCE 0 port $0
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 port->port.tty->index 0-s16max[c]
HALF_LOCKED2 &serial->disc_mutex
HALF_LOCKED2 &tty->termios_rwsem
HALF_LOCKED2 _T->lock
HALF_LOCKED2 global &console_mutex

drivers/usb/serial/cp210x.c cp210x_open() -> cp210x_write_u16_reg()

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 req 0
PARAM_VALUE 2 val 1
DATA_SOURCE 0 port $1
RX_PATH
TASK_NOT_RUNNING
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/cp210x.c cp210x_open() -> cp210x_write_u16_reg()

Type Parameter Key Value
PARAM_VALUE 0 port 4096-ptr_max
PARAM_VALUE 0 port->bulk_in_size s32min-(-1),1-s32max
PARAM_VALUE 0 port->serial 4096-ptr_max
PARAM_VALUE 0 port->serial->dev 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 req 0
PARAM_VALUE 2 val 0
DATA_SOURCE 0 port $1
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/cp210x.c cp210x_set_termios() -> cp210x_write_u16_reg()

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 1 req 3
PARAM_VALUE 2 val 1280,1282,1296,1298,1312,1314,1328,1330,1344,1346,1536,1538,1552,1554,1568,1570,1584,1586,1600,1602,1792,1794,1808,1810,1824,1826,1840,1842,1856,1858,2048,2050,2064,2066,2080,2082,2096,2098,2112,2114
BUF_SIZE 0 port s32min-(-1),1-s32max
BUF_SIZE 0 port s32min-(-1),1-s32max
DATA_SOURCE 0 port $1
BIT_INFO 2 val 0x0,0xf72
RX_PATH
TASK_NOT_RUNNING
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 _T->lock
HALF_LOCKED2 global &console_mutex

drivers/usb/serial/cp210x.c cp210x_tiocmset_port() -> cp210x_write_u16_reg()

Type Parameter Key Value
PARAM_VALUE 0 port 4096-ptr_max
PARAM_VALUE 1 req 7
PARAM_VALUE 2 val 0,256-257,512,514,768-771
BUF_SIZE 0 port s32min-(-1),1-s32max
BUF_SIZE 0 port s32min-(-1),1-s32max
DATA_SOURCE 0 port $0
FUZZY_MAX 2 val 0
BIT_INFO 2 val 0x0,0x303
RX_PATH
TASK_NOT_RUNNING
UNITS 0 port unit_byte
LOCK2 &port_priv->mutex
TYPE_LOCK (struct cp210x_port_private)->mutex