Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/extcon/extcon.c extcon_get_property() -> is_extcon_attached()

Type Parameter Key Value
PARAM_VALUE 0 edev 4096-ptr_max
PARAM_VALUE 1 index 0-s32max
CAPPED_DATA 1 index 1
DATA_SOURCE 0 edev $0
DATA_SOURCE 1 index r find_cable_index_by_id
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
LOCK2 flags
LOCK2 0 &edev->lock
HALF_LOCKED2 &dp->lock
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 &tcphy->lock
TYPE_LOCK (struct extcon_dev)->lock

drivers/extcon/extcon.c extcon_get_state() -> is_extcon_attached()

Type Parameter Key Value
PARAM_VALUE 0 edev 4096-ptr_max
PARAM_VALUE 1 index 0-s32max
CAPPED_DATA 1 index 1
DATA_SOURCE 0 edev $0
DATA_SOURCE 1 index r find_cable_index_by_id
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
LOCK2 flags
LOCK2 0 &edev->lock
HALF_LOCKED2 &card->mutex
HALF_LOCKED2 &dp->lock
HALF_LOCKED2 &it6505->extcon_lock
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 &port->lock
HALF_LOCKED2 &tcphy->lock
HALF_LOCKED2 _T->lock
TYPE_LOCK (struct extcon_dev)->lock