Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
- drivers/greybus/greybus_trace.h, line 365
- drivers/greybus/interface.c
- drivers/greybus/module.c, line 162
Smatch caller information:
drivers/greybus/interface.c gb_interface_legacy_mode_switch() -> gb_interface_enable()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | intf | 4096-ptr_max |
| PARAM_VALUE | 0 | intf->dev.bus | 0,4096-ptr_max |
| PARAM_VALUE | 0 | intf->dev.class | 0,4096-ptr_max |
| PARAM_VALUE | 0 | intf->dev.driver | 0,4096-ptr_max |
| PARAM_VALUE | 0 | intf->dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | intf->disconnected | 0 |
| PARAM_VALUE | 0 | intf->enabled | 0 |
| PARAM_VALUE | 0 | intf->mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | intf->mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | intf->mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | intf->mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | intf->mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | intf->mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | intf->mutex.wait_lock.owner_cpu | u32max |
| DATA_SOURCE | 0 | intf | $0 |
| BIT_INFO | 0 | intf->quirks | 0x10,0xffffffffffffffff |
| LOCK2 | 0 | &intf->mutex | |
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct gb_interface)->mutex |
drivers/greybus/interface.c gb_interface_mode_switch_work() -> gb_interface_enable()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | intf | 4096-ptr_max |
| PARAM_VALUE | 0 | intf->active | 1 |
| PARAM_VALUE | 0 | intf->control | 0 |
| PARAM_VALUE | 0 | intf->control->connection->hd | 4096-ptr_max |
| PARAM_VALUE | 0 | intf->control->connection->hd->driver | 4096-ptr_max |
| PARAM_VALUE | 0 | intf->control->dev.kobj.release->timer->entry.pprev | 4096-ptr_max |
| PARAM_VALUE | 0 | intf->control->dev.kobj.release.work.entry.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | intf->dev.bus | 0,4096-ptr_max |
| PARAM_VALUE | 0 | intf->dev.class | 0,4096-ptr_max |
| PARAM_VALUE | 0 | intf->dev.power.last_status | (-1) |
| PARAM_VALUE | 0 | intf->dev.power.qos | 0,4096-u64max |
| PARAM_VALUE | 0 | intf->dev.power.request | 0-4 |
| PARAM_VALUE | 0 | intf->dev.power.runtime_error | s32min-(-17),(-15)-(-14),(-12),(-10)-s32max |
| PARAM_VALUE | 0 | intf->dev.power.runtime_status | 0,2 |
| PARAM_VALUE | 0 | intf->dev.power.usage_count.counter | 0-s32max |
| PARAM_VALUE | 0 | intf->dev.power.use_autosuspend | 0 |
| PARAM_VALUE | 0 | intf->dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | intf->dev.type | 0,4096-ptr_max |
| PARAM_VALUE | 0 | intf->disconnected | 1 |
| PARAM_VALUE | 0 | intf->enabled | 0 |
| PARAM_VALUE | 0 | intf->mode_switch | 0 |
| PARAM_VALUE | 0 | intf->mode_switch_completion.done | 0-4294967293,u32max |
| PARAM_VALUE | 0 | intf->mode_switch_completion.wait.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | intf->mode_switch_completion.wait.lock.owner | (-1) |
| PARAM_VALUE | 0 | intf->mode_switch_completion.wait.lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | intf->mode_switch_completion.wait.task_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | intf->mode_switch_completion.wait.task_list.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | intf->mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | intf->mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | intf->mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | intf->mutex.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | intf->mutex.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | intf->mutex.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | intf->mutex.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | intf->mutex.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | intf->mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | intf->mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | intf->mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | intf->mutex.wait_lock.owner_cpu | u32max |
| CAPPED_DATA | 0 | &intf->mutex | 1 |
| LOCK2 | 0 | &intf->mutex | |
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct gb_interface)->mutex |
drivers/greybus/interface.c power_state_store() -> gb_interface_enable()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | intf | 4096-ptr_max |
| PARAM_VALUE | 0 | intf->active | 1 |
| PARAM_VALUE | 0 | intf->ddbl1_manufacturer_id | 294 |
| PARAM_VALUE | 0 | intf->dme_read | 1 |
| PARAM_VALUE | 0 | intf->ejected | 0 |
| PARAM_VALUE | 0 | intf->mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | intf->mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | intf->mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | intf->mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | intf->mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | intf->mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | intf->mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | intf->quirks | 0,2-u64max |
| PARAM_VALUE | 0 | intf->removed | 0 |
| PARAM_VALUE | 0 | intf->type | 1-4 |
| CAPPED_DATA | 0 | &intf->mutex | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| LOCK2 | 0 | &intf->mutex | |
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct gb_interface)->mutex | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/greybus/module.c gb_module_register_interface() -> gb_interface_enable()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | intf | 4096-ptr_max |
| PARAM_VALUE | 0 | intf->active | 1 |
| PARAM_VALUE | 0 | intf->ddbl1_manufacturer_id | 294 |
| PARAM_VALUE | 0 | intf->dev.fwnode->dev->power.set_latency_tolerance | 5740181548905971712 |
| PARAM_VALUE | 0 | intf->dev.kobj.release->timer->entry.pprev | 4096-ptr_max |
| PARAM_VALUE | 0 | intf->dev.kobj.release.work.entry.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | intf->dev.kobj.sd->active.counter | (-2147483647) |
| PARAM_VALUE | 0 | intf->dev.kobj.sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 0 | intf->dev.p->klist_children.get | 2213798222526185472 |
| PARAM_VALUE | 0 | intf->dev.p->klist_children.put | 3126867300421632000 |
| PARAM_VALUE | 0 | intf->dev.p->knode_bus.n_ref.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | intf->dev.p->knode_class.n_ref.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | intf->dev.p->knode_parent.n_ref.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | intf->dev.physical_location->horizontal_position | 0-3 |
| PARAM_VALUE | 0 | intf->dev.physical_location->panel | 0-7 |
| PARAM_VALUE | 0 | intf->dev.physical_location->vertical_position | 0-3 |
| PARAM_VALUE | 0 | intf->dme_read | 1 |
| PARAM_VALUE | 0 | intf->ejected | 0 |
| PARAM_VALUE | 0 | intf->mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | intf->mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | intf->mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | intf->mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | intf->mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | intf->mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | intf->mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | intf->quirks | 0,2-u64max |
| PARAM_VALUE | 0 | intf->removed | 0 |
| PARAM_VALUE | 0 | intf->type | 1-4 |
| CAPPED_DATA | 0 | &intf->mutex | 1 |
| DATA_SOURCE | 0 | intf | $0 |
| LOCK2 | 0 | &intf->mutex | |
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct gb_interface)->mutex |