Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 2 files as a function:
- drivers/soundwire/bus.c, line 688 (as a function)
- include/linux/soundwire/sdw.h, line 1161 (as a function)
Referenced in 3 files:
- drivers/soundwire/bus.c
- sound/soc/codecs/wcd-common.c, line 118
- sound/soc/codecs/wsa881x.c, line 1096
Smatch caller information:
drivers/soundwire/bus.c sdw_update() -> sdw_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | slave | 4096-ptr_max |
| PARAM_VALUE | 0 | slave->bus->msg_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | slave->bus->msg_lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | slave->bus->msg_lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | slave->dev.bus | 0,4096-ptr_max |
| PARAM_VALUE | 0 | slave->dev.class | 0,4096-ptr_max |
| PARAM_VALUE | 0 | slave->dev.power.request | 0-4 |
| PARAM_VALUE | 0 | slave->dev.power.runtime_error | s32min-(-17),(-15)-(-14),(-12),(-10)-s32max |
| PARAM_VALUE | 0 | slave->dev.power.runtime_status | 0,2 |
| PARAM_VALUE | 0 | slave->dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | slave->dev.type | 0,4096-ptr_max |
| DATA_SOURCE | 0 | slave | $0 |
| DATA_SOURCE | 1 | addr | $1 |
sound/soc/codecs/wsa881x.c wsa881x_bus_config() -> sdw_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | slave | 4096-ptr_max |
| PARAM_VALUE | 0 | slave->dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | slave->probed | 1 |
| PARAM_VALUE | 0 | slave->sdw_dev_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | slave->sdw_dev_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | slave->sdw_dev_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | slave->sdw_dev_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | slave->sdw_dev_lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | slave->sdw_dev_lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | slave->sdw_dev_lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 2 | value | 1 |
| DATA_SOURCE | 0 | slave | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | 0 | &slave->sdw_dev_lock | |
| TYPE_LOCK | (struct sdw_slave)->sdw_dev_lock |
sound/soc/codecs/wcd-common.c wcd_bus_config() -> sdw_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | slave | 4096-ptr_max |
| PARAM_VALUE | 0 | slave->dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | slave->probed | 1 |
| PARAM_VALUE | 0 | slave->sdw_dev_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | slave->sdw_dev_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | slave->sdw_dev_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | slave->sdw_dev_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | slave->sdw_dev_lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | slave->sdw_dev_lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | slave->sdw_dev_lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 2 | value | 1 |
| DATA_SOURCE | 0 | slave | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | 0 | &slave->sdw_dev_lock | |
| TYPE_LOCK | (struct sdw_slave)->sdw_dev_lock |