Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/usb/serial/ark3116.c ark3116_break_ctl() -> ark3116_write_reg()

Type Parameter Key Value
PARAM_VALUE 1 reg 3
RX_PATH
TASK_NOT_RUNNING
LOCK2 &priv->hw_lock
HALF_LOCKED2 &tty->atomic_write_lock
TYPE_LOCK (struct ark3116_private)->hw_lock

drivers/usb/serial/ark3116.c ark3116_close() -> ark3116_write_reg()

Type Parameter Key Value
PARAM_VALUE 0 serial 4096-ptr_max
PARAM_VALUE 0 serial->type 4096-ptr_max
PARAM_VALUE 1 reg 2
PARAM_VALUE 2 val 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/ark3116.c ark3116_close() -> ark3116_write_reg()

Type Parameter Key Value
PARAM_VALUE 0 serial 4096-ptr_max
PARAM_VALUE 0 serial->dev 4096-ptr_max
PARAM_VALUE 0 serial->type 4096-ptr_max
PARAM_VALUE 1 reg 1
PARAM_VALUE 2 val 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/ark3116.c ark3116_open() -> ark3116_write_reg()

Type Parameter Key Value
PARAM_VALUE 0 serial 4096-ptr_max
PARAM_VALUE 0 serial->dev 4096-ptr_max
PARAM_VALUE 0 serial->disc_mutex.dep_map->name 0-255
PARAM_VALUE 0 serial->disc_mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 serial->disc_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 serial->disc_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 serial->disc_mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 serial->disc_mutex.wait_lock.owner (-1)
PARAM_VALUE 0 serial->disc_mutex.wait_lock.owner_cpu u32max
PARAM_VALUE 0 serial->disconnected 0
PARAM_VALUE 0 serial->interface 4096-ptr_max
PARAM_VALUE 0 serial->interface->dev.power.request 0-4
PARAM_VALUE 0 serial->interface->dev.power.runtime_error s32min-(-17),(-15)-(-14),(-12),(-10)-s32max
PARAM_VALUE 0 serial->interface->dev.power.wakeirq->status 0-4294967295
PARAM_VALUE 0 serial->type 4096-ptr_max
PARAM_VALUE 1 reg 1
PARAM_VALUE 2 val 12
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &serial->disc_mutex
HALF_LOCKED2 _T->lock
HALF_LOCKED2 global &console_mutex

drivers/usb/serial/ark3116.c ark3116_open() -> ark3116_write_reg()

Type Parameter Key Value
PARAM_VALUE 0 serial 4096-ptr_max
PARAM_VALUE 0 serial->dev 4096-ptr_max
PARAM_VALUE 0 serial->disc_mutex.dep_map->name 0-255
PARAM_VALUE 0 serial->disc_mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 serial->disc_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 serial->disc_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 serial->disc_mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 serial->disc_mutex.wait_lock.owner (-1)
PARAM_VALUE 0 serial->disc_mutex.wait_lock.owner_cpu u32max
PARAM_VALUE 0 serial->disconnected 0
PARAM_VALUE 0 serial->interface 4096-ptr_max
PARAM_VALUE 0 serial->interface->dev.power.request 0-4
PARAM_VALUE 0 serial->interface->dev.power.runtime_error s32min-(-17),(-15)-(-14),(-12),(-10)-s32max
PARAM_VALUE 0 serial->interface->dev.power.wakeirq->status 0-4294967295
PARAM_VALUE 0 serial->type 4096-ptr_max
PARAM_VALUE 1 reg 2
PARAM_VALUE 2 val 8
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &serial->disc_mutex
HALF_LOCKED2 _T->lock
HALF_LOCKED2 global &console_mutex

drivers/usb/serial/ark3116.c ark3116_port_probe() -> ark3116_write_reg()

Type Parameter Key Value
PARAM_VALUE 0 serial 4096-ptr_max
PARAM_VALUE 0 serial->dev 4096-ptr_max
PARAM_VALUE 0 serial->interface 4096-ptr_max
PARAM_VALUE 0 serial->type 4096-ptr_max
PARAM_VALUE 1 reg 1
PARAM_VALUE 2 val 0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/usb/serial/ark3116.c ark3116_port_probe() -> ark3116_write_reg()

Type Parameter Key Value
PARAM_VALUE 0 serial 4096-ptr_max
PARAM_VALUE 0 serial->dev 4096-ptr_max
PARAM_VALUE 0 serial->interface 4096-ptr_max
PARAM_VALUE 0 serial->type 4096-ptr_max
PARAM_VALUE 1 reg 2
PARAM_VALUE 2 val 0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/usb/serial/ark3116.c ark3116_port_probe() -> ark3116_write_reg()

Type Parameter Key Value
PARAM_VALUE 0 serial 4096-ptr_max
PARAM_VALUE 0 serial->dev 4096-ptr_max
PARAM_VALUE 0 serial->interface 4096-ptr_max
PARAM_VALUE 0 serial->type 4096-ptr_max
PARAM_VALUE 1 reg 8
PARAM_VALUE 2 val 0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/usb/serial/ark3116.c ark3116_port_probe() -> ark3116_write_reg()

Type Parameter Key Value
PARAM_VALUE 0 serial 4096-ptr_max
PARAM_VALUE 0 serial->dev 4096-ptr_max
PARAM_VALUE 0 serial->interface 4096-ptr_max
PARAM_VALUE 0 serial->type 4096-ptr_max
PARAM_VALUE 1 reg 4
PARAM_VALUE 2 val 0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/usb/serial/ark3116.c ark3116_port_probe() -> ark3116_write_reg()

Type Parameter Key Value
PARAM_VALUE 0 serial 4096-ptr_max
PARAM_VALUE 0 serial->dev 4096-ptr_max
PARAM_VALUE 0 serial->interface 4096-ptr_max
PARAM_VALUE 0 serial->type 4096-ptr_max
PARAM_VALUE 1 reg 11
PARAM_VALUE 2 val 0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/usb/serial/ark3116.c ark3116_port_probe() -> ark3116_write_reg()

Type Parameter Key Value
PARAM_VALUE 0 serial 4096-ptr_max
PARAM_VALUE 0 serial->dev 4096-ptr_max
PARAM_VALUE 0 serial->dev->descriptor.idProduct 12568
PARAM_VALUE 0 serial->dev->descriptor.idVendor 6380
PARAM_VALUE 0 serial->interface 4096-ptr_max
PARAM_VALUE 0 serial->type 4096-ptr_max
PARAM_VALUE 1 reg 11
PARAM_VALUE 2 val 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/usb/serial/ark3116.c ark3116_port_probe() -> ark3116_write_reg()

Type Parameter Key Value
PARAM_VALUE 0 serial 4096-ptr_max
PARAM_VALUE 0 serial->dev 4096-ptr_max
PARAM_VALUE 0 serial->dev->descriptor.idProduct 12568
PARAM_VALUE 0 serial->dev->descriptor.idVendor 6380
PARAM_VALUE 0 serial->interface 4096-ptr_max
PARAM_VALUE 0 serial->type 4096-ptr_max
PARAM_VALUE 1 reg 12
PARAM_VALUE 2 val 0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/usb/serial/ark3116.c ark3116_port_probe() -> ark3116_write_reg()

Type Parameter Key Value
PARAM_VALUE 0 serial 4096-ptr_max
PARAM_VALUE 0 serial->dev 4096-ptr_max
PARAM_VALUE 0 serial->dev->descriptor.idProduct 12568
PARAM_VALUE 0 serial->dev->descriptor.idVendor 6380
PARAM_VALUE 0 serial->interface 4096-ptr_max
PARAM_VALUE 0 serial->type 4096-ptr_max
PARAM_VALUE 1 reg 13
PARAM_VALUE 2 val 65
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/usb/serial/ark3116.c ark3116_port_probe() -> ark3116_write_reg()

Type Parameter Key Value
PARAM_VALUE 0 serial 4096-ptr_max
PARAM_VALUE 0 serial->dev 4096-ptr_max
PARAM_VALUE 0 serial->dev->descriptor.idProduct 12568
PARAM_VALUE 0 serial->dev->descriptor.idVendor 6380
PARAM_VALUE 0 serial->interface 4096-ptr_max
PARAM_VALUE 0 serial->type 4096-ptr_max
PARAM_VALUE 1 reg 10
PARAM_VALUE 2 val 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/usb/serial/ark3116.c ark3116_port_probe() -> ark3116_write_reg()

Type Parameter Key Value
PARAM_VALUE 0 serial 4096-ptr_max
PARAM_VALUE 0 serial->dev 4096-ptr_max
PARAM_VALUE 0 serial->interface 4096-ptr_max
PARAM_VALUE 0 serial->type 4096-ptr_max
PARAM_VALUE 1 reg 3
PARAM_VALUE 2 val 128
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/usb/serial/ark3116.c ark3116_port_probe() -> ark3116_write_reg()

Type Parameter Key Value
PARAM_VALUE 0 serial 4096-ptr_max
PARAM_VALUE 0 serial->dev 4096-ptr_max
PARAM_VALUE 0 serial->interface 4096-ptr_max
PARAM_VALUE 0 serial->type 4096-ptr_max
PARAM_VALUE 1 reg 0
PARAM_VALUE 2 val 57
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/usb/serial/ark3116.c ark3116_port_probe() -> ark3116_write_reg()

Type Parameter Key Value
PARAM_VALUE 0 serial 4096-ptr_max
PARAM_VALUE 0 serial->dev 4096-ptr_max
PARAM_VALUE 0 serial->interface 4096-ptr_max
PARAM_VALUE 0 serial->type 4096-ptr_max
PARAM_VALUE 1 reg 1
PARAM_VALUE 2 val 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/usb/serial/ark3116.c ark3116_port_probe() -> ark3116_write_reg()

Type Parameter Key Value
PARAM_VALUE 0 serial 4096-ptr_max
PARAM_VALUE 0 serial->dev 4096-ptr_max
PARAM_VALUE 0 serial->interface 4096-ptr_max
PARAM_VALUE 0 serial->type 4096-ptr_max
PARAM_VALUE 1 reg 3
PARAM_VALUE 2 val 3
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/usb/serial/ark3116.c ark3116_port_probe() -> ark3116_write_reg()

Type Parameter Key Value
PARAM_VALUE 0 serial 4096-ptr_max
PARAM_VALUE 0 serial->dev 4096-ptr_max
PARAM_VALUE 0 serial->interface 4096-ptr_max
PARAM_VALUE 0 serial->type 4096-ptr_max
PARAM_VALUE 1 reg 14
PARAM_VALUE 2 val 0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/usb/serial/ark3116.c ark3116_port_probe() -> ark3116_write_reg()

Type Parameter Key Value
PARAM_VALUE 0 serial 4096-ptr_max
PARAM_VALUE 0 serial->dev 4096-ptr_max
PARAM_VALUE 0 serial->dev->descriptor.idProduct 12568
PARAM_VALUE 0 serial->dev->descriptor.idVendor 6380
PARAM_VALUE 0 serial->interface 4096-ptr_max
PARAM_VALUE 0 serial->type 4096-ptr_max
PARAM_VALUE 1 reg 9
PARAM_VALUE 2 val 0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/usb/serial/ark3116.c ark3116_set_termios() -> ark3116_write_reg()

Type Parameter Key Value
PARAM_VALUE 0 serial 4096-ptr_max
PARAM_VALUE 0 serial->type 4096-ptr_max
PARAM_VALUE 1 reg 8
PARAM_VALUE 2 val 0,3
FUZZY_MAX 2 val 3
HARD_MAX 2 val 3
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &priv->hw_lock
HALF_LOCKED2 &serial->disc_mutex
HALF_LOCKED2 &tty->termios_rwsem
HALF_LOCKED2 _T->lock
HALF_LOCKED2 global &console_mutex
TYPE_LOCK (struct ark3116_private)->hw_lock

drivers/usb/serial/ark3116.c ark3116_set_termios() -> ark3116_write_reg()

Type Parameter Key Value
PARAM_VALUE 0 serial 4096-ptr_max
PARAM_VALUE 0 serial->type 4096-ptr_max
PARAM_VALUE 1 reg 2
PARAM_VALUE 2 val 0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &priv->hw_lock
HALF_LOCKED2 &serial->disc_mutex
HALF_LOCKED2 &tty->termios_rwsem
HALF_LOCKED2 _T->lock
HALF_LOCKED2 global &console_mutex
TYPE_LOCK (struct ark3116_private)->hw_lock

drivers/usb/serial/ark3116.c ark3116_set_termios() -> ark3116_write_reg()

Type Parameter Key Value
PARAM_VALUE 0 serial 4096-ptr_max
PARAM_VALUE 0 serial->dev 4096-ptr_max
PARAM_VALUE 0 serial->type 4096-ptr_max
PARAM_VALUE 1 reg 3
PARAM_VALUE 2 val 128-255
BIT_INFO 2 val 0x80,0xff
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &priv->hw_lock
HALF_LOCKED2 &serial->disc_mutex
HALF_LOCKED2 &tty->termios_rwsem
HALF_LOCKED2 _T->lock
HALF_LOCKED2 global &console_mutex
TYPE_LOCK (struct ark3116_private)->hw_lock

drivers/usb/serial/ark3116.c ark3116_set_termios() -> ark3116_write_reg()

Type Parameter Key Value
PARAM_VALUE 0 serial 4096-ptr_max
PARAM_VALUE 0 serial->dev 4096-ptr_max
PARAM_VALUE 0 serial->type 4096-ptr_max
PARAM_VALUE 1 reg 0
PARAM_VALUE 2 val 0-96
BIT_INFO 2 val 0x0,0xff
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 2 val 0-96[c]
LOCK2 &priv->hw_lock
HALF_LOCKED2 &serial->disc_mutex
HALF_LOCKED2 &tty->termios_rwsem
HALF_LOCKED2 _T->lock
HALF_LOCKED2 global &console_mutex
TYPE_LOCK (struct ark3116_private)->hw_lock

drivers/usb/serial/ark3116.c ark3116_set_termios() -> ark3116_write_reg()

Type Parameter Key Value
PARAM_VALUE 0 serial 4096-ptr_max
PARAM_VALUE 0 serial->dev 4096-ptr_max
PARAM_VALUE 0 serial->type 4096-ptr_max
PARAM_VALUE 1 reg 1
PARAM_VALUE 2 val 0-234
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 2 val 0-234[c]
LOCK2 &priv->hw_lock
HALF_LOCKED2 &serial->disc_mutex
HALF_LOCKED2 &tty->termios_rwsem
HALF_LOCKED2 _T->lock
HALF_LOCKED2 global &console_mutex
TYPE_LOCK (struct ark3116_private)->hw_lock

drivers/usb/serial/ark3116.c ark3116_set_termios() -> ark3116_write_reg()

Type Parameter Key Value
PARAM_VALUE 0 serial 4096-ptr_max
PARAM_VALUE 0 serial->dev 4096-ptr_max
PARAM_VALUE 0 serial->type 4096-ptr_max
PARAM_VALUE 1 reg 3
PARAM_VALUE 2 val 0-127
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &priv->hw_lock
HALF_LOCKED2 &serial->disc_mutex
HALF_LOCKED2 &tty->termios_rwsem
HALF_LOCKED2 _T->lock
HALF_LOCKED2 global &console_mutex
TYPE_LOCK (struct ark3116_private)->hw_lock

drivers/usb/serial/ark3116.c ark3116_set_termios() -> ark3116_write_reg()

Type Parameter Key Value
PARAM_VALUE 0 serial 4096-ptr_max
PARAM_VALUE 0 serial->dev 4096-ptr_max
PARAM_VALUE 0 serial->type 4096-ptr_max
PARAM_VALUE 1 reg 14
PARAM_VALUE 2 val 0-2
FUZZY_MAX 2 val 2
HARD_MAX 2 val 2
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &priv->hw_lock
HALF_LOCKED2 &serial->disc_mutex
HALF_LOCKED2 &tty->termios_rwsem
HALF_LOCKED2 _T->lock
HALF_LOCKED2 global &console_mutex
TYPE_LOCK (struct ark3116_private)->hw_lock

drivers/usb/serial/ark3116.c ark3116_set_termios() -> ark3116_write_reg()

Type Parameter Key Value
PARAM_VALUE 0 serial 4096-ptr_max
PARAM_VALUE 0 serial->dev 4096-ptr_max
PARAM_VALUE 0 serial->type 4096-ptr_max
PARAM_VALUE 1 reg 2
PARAM_VALUE 2 val 8
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &priv->hw_lock
HALF_LOCKED2 &serial->disc_mutex
HALF_LOCKED2 &tty->termios_rwsem
HALF_LOCKED2 _T->lock
HALF_LOCKED2 global &console_mutex
TYPE_LOCK (struct ark3116_private)->hw_lock

drivers/usb/serial/ark3116.c ark3116_set_termios() -> ark3116_write_reg()

Type Parameter Key Value
PARAM_VALUE 0 serial 4096-ptr_max
PARAM_VALUE 0 serial->type 4096-ptr_max
PARAM_VALUE 1 reg 3
PARAM_VALUE 2 val 0-127
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &priv->hw_lock
HALF_LOCKED2 &serial->disc_mutex
HALF_LOCKED2 &tty->termios_rwsem
HALF_LOCKED2 _T->lock
HALF_LOCKED2 global &console_mutex
TYPE_LOCK (struct ark3116_private)->hw_lock

drivers/usb/serial/ark3116.c ark3116_tiocmset() -> ark3116_write_reg()

Type Parameter Key Value
PARAM_VALUE 1 reg 4
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &priv->hw_lock
HALF_LOCKED2 global &spk_mutex
TYPE_LOCK (struct ark3116_private)->hw_lock