Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/greybus/connection.c _gb_connection_enable() -> gb_connection_cancel_operations()

Type Parameter Key Value
PARAM_VALUE 0 connection 4096-ptr_max
PARAM_VALUE 0 connection->bundle->dev.bus 0,4096-ptr_max
PARAM_VALUE 0 connection->hd 4096-ptr_max
PARAM_VALUE 0 connection->hd->driver 4096-ptr_max
PARAM_VALUE 0 connection->hd->driver->cport_connected 0,8892803582348832768
PARAM_VALUE 0 connection->hd->driver->cport_enable 0,3156658051640582144
PARAM_VALUE 0 connection->intf 4096-ptr_max
PARAM_VALUE 0 connection->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 connection->mutex.dep_map->name 0-255
PARAM_VALUE 0 connection->mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 connection->mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 connection->mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 connection->mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 connection->mutex.wait_lock.owner (-1)
PARAM_VALUE 0 connection->mutex.wait_lock.owner_cpu u32max
PARAM_VALUE 0 connection->state 3
PARAM_VALUE 1 errno (-108)
BUF_SIZE 0 connection (-1),376
BUF_SIZE 0 connection (-1),376
DATA_SOURCE 0 connection $0
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 irq
LOCK2 0 &connection->lock
LOCK2 0 &connection->mutex
TYPE_LOCK (struct gb_connection)->lock
TYPE_LOCK (struct gb_connection)->mutex

drivers/greybus/connection.c gb_connection_disable() -> gb_connection_cancel_operations()

Type Parameter Key Value
PARAM_VALUE 0 connection 4096-ptr_max
PARAM_VALUE 0 connection->bundle->dev.power.wakeirq->status 0-4294967295
PARAM_VALUE 0 connection->hd->driver->latency_tag_disable 0,1437070450952208384
PARAM_VALUE 0 connection->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 connection->mutex.dep_map->name 0-255
PARAM_VALUE 0 connection->mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 connection->mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 connection->mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 connection->mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 connection->mutex.wait_lock.owner (-1)
PARAM_VALUE 0 connection->mutex.wait_lock.owner_cpu u32max
PARAM_VALUE 0 connection->state 3
PARAM_VALUE 1 errno (-108)
BUF_SIZE 0 connection s32min-s32max
CAPPED_DATA 0 &connection->mutex 1
DATA_SOURCE 0 connection $0
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 connection unit_byte
LOCK2 irq
LOCK2 0 &connection->lock
LOCK2 0 &connection->mutex
HALF_LOCKED2 &dev->mutex
HALF_LOCKED2 &intf->mutex
TYPE_LOCK (struct gb_connection)->lock
TYPE_LOCK (struct gb_connection)->mutex

drivers/greybus/connection.c gb_connection_disable_forced() -> gb_connection_cancel_operations()

Type Parameter Key Value
PARAM_VALUE 0 connection 4096-ptr_max
PARAM_VALUE 0 connection->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 connection->mutex.dep_map->name 0-255
PARAM_VALUE 0 connection->mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 connection->mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 connection->mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 connection->mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 connection->mutex.wait_lock.owner (-1)
PARAM_VALUE 0 connection->mutex.wait_lock.owner_cpu u32max
PARAM_VALUE 0 connection->state 0
PARAM_VALUE 1 errno (-108)
CAPPED_DATA 0 &connection->mutex 1
DATA_SOURCE 0 connection $0
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 irq
LOCK2 0 &connection->lock
LOCK2 0 &connection->mutex
HALF_LOCKED2 &intf->mutex
TYPE_LOCK (struct gb_connection)->lock
TYPE_LOCK (struct gb_connection)->mutex