Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/usb/typec/mode_selection.c mode_selection_work_fn() -> mode_selection_activate()

Type Parameter Key Value
PARAM_VALUE 0 sel 4096-ptr_max
PARAM_VALUE 0 sel->active_svid 1-u16max
PARAM_VALUE 1 svid 1-u16max
PARAM_VALUE 2 enter 0
LOCK2 _T->lock
HALF_LOCKED2 &pool->lock

drivers/usb/typec/mode_selection.c mode_selection_work_fn() -> mode_selection_activate()

Type Parameter Key Value
PARAM_VALUE 0 sel 4096-ptr_max
PARAM_VALUE 0 sel->active_svid 0
PARAM_VALUE 0 sel->partner->dev.bus 0,4096-ptr_max
PARAM_VALUE 0 sel->partner->dev.class 0,4096-ptr_max
PARAM_VALUE 0 sel->partner->dev.driver 0,4096-ptr_max
PARAM_VALUE 2 enter 0
PARAM_COMPARE 1 svid != $0->active_svid
NOCHECK_CALL
LOCK2 _T->lock
HALF_LOCKED2 &pool->lock

drivers/usb/typec/mode_selection.c mode_selection_work_fn() -> mode_selection_activate()

Type Parameter Key Value
PARAM_VALUE 0 sel 4096-ptr_max
PARAM_VALUE 0 sel->active_svid 0
PARAM_VALUE 2 enter 1
PARAM_COMPARE 1 svid != $0->active_svid
LOCK2 _T->lock
HALF_LOCKED2 &pool->lock