Defined in 1 files as a prototype:

Defined in 2 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/tty/serial/lpc32xx_hs.c lpc32xx_hsuart_console_setup() -> lpc32xx_loopback_set()

Type Parameter Key Value
PARAM_VALUE 1 state 0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 mapbase unit_byte
LOCK2 global &console_mutex
HALF_LOCKED2 &_T->lock->lock
HALF_LOCKED2 &buffer->mutex
HALF_LOCKED2 &frag->frag_sem
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 _T->flags
HALF_LOCKED2 _T->lock
HALF_LOCKED2 global &console_sem
HALF_LOCKED2 global &dynamic_netconsole_mutex
HALF_LOCKED2 global &goldfish_tty_lock
HALF_LOCKED2 global &psinfo_lock
HALF_LOCKED2 irq

drivers/tty/serial/lpc32xx_hs.c serial_hs_lpc32xx_probe() -> lpc32xx_loopback_set()

Type Parameter Key Value
PARAM_VALUE 1 state 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 mapbase unit_byte

drivers/tty/serial/lpc32xx_hs.c serial_lpc32xx_shutdown() -> lpc32xx_loopback_set()

Type Parameter Key Value
PARAM_VALUE 1 state 1
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 mapbase unit_byte
LOCK2 &port->lock
LOCK2 _T->lock
LOCK2 flags
TYPE_LOCK (struct uart_port)->lock

drivers/tty/serial/lpc32xx_hs.c serial_lpc32xx_startup() -> lpc32xx_loopback_set()

Type Parameter Key Value
PARAM_VALUE 1 state 0
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 mapbase unit_byte
LOCK2 &port->lock
LOCK2 _T->lock
LOCK2 flags
TYPE_LOCK (struct uart_port)->lock