Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/tty/serial/qcom_geni_serial.c qcom_geni_console_setup() -> get_port_from_line()

Type Parameter Key Value
PARAM_VALUE 1 console 1
PARAM_VALUE 2 dev 0
CAPPED_DATA 0 line 1
NOSPEC 0 line
RX_PATH
TASK_NOT_RUNNING
UNITS 0 line unit_array_size
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/qcom_geni_serial.c qcom_geni_serial_console_device_lock() -> get_port_from_line()

Type Parameter Key Value
PARAM_VALUE 0 line (-1)
PARAM_VALUE 1 console 1
PARAM_VALUE 2 dev 0
NOSPEC 0 line
NOSPEC 0 line
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 line (-1)
UNITS 0 line unit_array_size
HALF_LOCKED2 global &console_mutex

drivers/tty/serial/qcom_geni_serial.c qcom_geni_serial_console_device_unlock() -> get_port_from_line()

Type Parameter Key Value
PARAM_VALUE 0 line (-1)
PARAM_VALUE 1 console 1
PARAM_VALUE 2 dev 0
NOSPEC 0 line
NOSPEC 0 line
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 line (-1)
UNITS 0 line unit_array_size
HALF_LOCKED2 &dlog->lock
HALF_LOCKED2 &port->lock
HALF_LOCKED2 &port->uport.lock
HALF_LOCKED2 &up->lock
HALF_LOCKED2 flags
HALF_LOCKED2 global &console_mutex
HALF_LOCKED2 global &target_list_lock

drivers/tty/serial/qcom_geni_serial.c qcom_geni_serial_console_write_atomic() -> get_port_from_line()

Type Parameter Key Value
PARAM_VALUE 0 line (-1)
PARAM_VALUE 1 console 1
PARAM_VALUE 2 dev 0
RX_PATH
TASK_NOT_RUNNING
UNITS 0 line unit_array_size
HALF_LOCKED2 flags

drivers/tty/serial/qcom_geni_serial.c qcom_geni_serial_console_write_thread() -> get_port_from_line()

Type Parameter Key Value
PARAM_VALUE 0 line (-1)
PARAM_VALUE 1 console 1
PARAM_VALUE 2 dev 0
RX_PATH
TASK_NOT_RUNNING
UNITS 0 line unit_array_size
HALF_LOCKED2 &up->lock
HALF_LOCKED2 flags
HALF_LOCKED2 global &target_list_lock

drivers/tty/serial/qcom_geni_serial.c qcom_geni_serial_probe() -> get_port_from_line()

Type Parameter Key Value
PARAM_VALUE 2 dev 4096-ptr_max
PARAM_VALUE 2 dev->driver 4096-ptr_max
PARAM_VALUE 2 dev->of_node 1-u64max
RX_PATH
TASK_NOT_RUNNING