Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
sound/hda/codecs/generic.c cap_put_caller() -> (struct hda_gen_spec)->cap_sync_hook()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | codec | 4096-ptr_max |
| PARAM_VALUE | 1 | kcontrol | 4096-ptr_max |
| PARAM_VALUE | 1 | kcontrol->private_data | 4096-ptr_max |
| PARAM_VALUE | 2 | ucontrol | 4096-ptr_max |
| BUF_SIZE | 0 | codec | (-1),72,104,256,376,448,2728 |
| BUF_SIZE | 0 | codec | (-1),72,104,256,376,448,2728 |
| BUF_SIZE | 1 | kcontrol->private_data | (-1),72,104,256,376,448,2728 |
| BUF_SIZE | 2 | ucontrol | (-1),4,16,24,64,72,80,88,160-s32max |
| BUF_SIZE | 2 | ucontrol | (-1),4,16,24,64,72,80,88,160-s32max |
| CAPPED_DATA | 1 | kcontrol | 1 |
| DATA_SOURCE | 1 | kcontrol | $0 |
| DATA_SOURCE | 2 | ucontrol | $1 |
| NOSPEC | 2 | ucontrol->id.index | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 2 | ucontrol->id.device | 0-u32max |
| USER_DATA | 2 | ucontrol->id.iface | s32min-s32max |
| USER_DATA | 2 | ucontrol->id.index | 0-u32max |
| USER_DATA | 2 | ucontrol->id.numid | 0-u32max |
| USER_DATA | 2 | ucontrol->id.subdevice | 0-u32max |
| USER_DATA | 2 | ucontrol->value.iec958.pad | 0-255 |
| NO_OVERFLOW_SIMPLE | 1 | kcontrol->tlv.p | |
| NO_OVERFLOW_SIMPLE | 2 | ucontrol->value.bytes.data | |
| USER_PTR | 2 | ucontrol | |
| USER_PTR | 2 | ucontrol->id.name | |
| USER_PTR | 2 | ucontrol->reserved | |
| USER_PTR | 2 | ucontrol->value.bytes.data | |
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &card->controls_rwsem | ||
| HALF_LOCKED2 | &card->mutex |
sound/hda/codecs/generic.c cap_single_sw_put() -> (struct hda_gen_spec)->cap_sync_hook()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | codec | 4096-ptr_max |
| PARAM_VALUE | 0 | codec->spec | 4096-ptr_max |
| PARAM_VALUE | 1 | kcontrol | 4096-ptr_max |
| PARAM_VALUE | 1 | kcontrol->private_data | 4096-ptr_max |
| PARAM_VALUE | 1 | kcontrol->private_data->core->regmap->cache->data | 0-4294967295 |
| PARAM_VALUE | 1 | kcontrol->private_data->core.bus->rirb.rp | 0-65534 |
| PARAM_VALUE | 1 | kcontrol->private_data->core.bus->rirb.wp | 0-65534 |
| PARAM_VALUE | 1 | kcontrol->private_data->core.dev.power.request | 0-4 |
| PARAM_VALUE | 1 | kcontrol->private_data->core.dev.power.runtime_error | s32min-(-17),(-15)-(-14),(-12),(-10)-s32max |
| PARAM_VALUE | 1 | kcontrol->private_data->core.dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 1 | kcontrol->private_data->core.in_pm.counter | 0-s32max |
| PARAM_VALUE | 1 | kcontrol->private_data->core.regmap->async | 0 |
| PARAM_VALUE | 1 | kcontrol->private_data->core.regmap->cache->cached_rbnode->base_reg | 0-4294967295 |
| PARAM_VALUE | 1 | kcontrol->private_data->core.regmap->cache->cached_rbnode->blklen | 0-4294967295 |
| PARAM_VALUE | 1 | kcontrol->private_data->core.regmap->cache->cached_rbnode->node.__rb_parent_color | 0-1 |
| PARAM_VALUE | 1 | kcontrol->private_data->core.regmap->cache_dirty | 0-1 |
| PARAM_VALUE | 1 | kcontrol->private_data->jackpoll_interval | 0-536870912 |
| PARAM_VALUE | 1 | kcontrol->private_data->jackpoll_work.cpu | s32min-s32max |
| PARAM_VALUE | 1 | kcontrol->private_data->jackpoll_work.timer.flags | 0-4294967295 |
| PARAM_VALUE | 1 | kcontrol->private_data->jackpoll_work.work.lockdep_map->name | 0-255 |
| PARAM_VALUE | 1 | kcontrol->private_data->spec->alc_mode | 0-1 |
| PARAM_VALUE | 1 | kcontrol->private_data->spec->gen.loopback.amplist->dir | 0-255 |
| PARAM_VALUE | 1 | kcontrol->private_data->spec->gen.loopback.amplist->idx | 0-255 |
| PARAM_VALUE | 1 | kcontrol->private_data->spec->gen.loopback.amplist->nid | 1-u16max |
| PARAM_VALUE | 1 | kcontrol->private_data->spec->gen.loopback.power_on | 0-1 |
| PARAM_VALUE | 1 | kcontrol->private_data->spec->hp_work_active | 0-1 |
| PARAM_VALUE | 1 | kcontrol->private_data->spec->loopback.amplist->dir | 0-255 |
| PARAM_VALUE | 1 | kcontrol->private_data->spec->loopback.amplist->idx | 0-255 |
| PARAM_VALUE | 1 | kcontrol->private_data->spec->loopback.amplist->nid | 1-u16max |
| PARAM_VALUE | 1 | kcontrol->private_data->spec->loopback.power_on | 0-1 |
| PARAM_VALUE | 2 | ucontrol | 4096-ptr_max |
| BUF_SIZE | 0 | codec | (-1),72,104,256,376,448,2728 |
| BUF_SIZE | 0 | codec | (-1),72,104,256,376,448,2728 |
| BUF_SIZE | 1 | kcontrol->private_data | (-1),72,104,256,376,448,2728 |
| BUF_SIZE | 2 | ucontrol | (-1),4,16,24,64,72,80,88,160-s32max |
| BUF_SIZE | 2 | ucontrol | (-1),4,16,24,64,72,80,88,160-s32max |
| CAPPED_DATA | 1 | kcontrol | 1 |
| DATA_SOURCE | 1 | kcontrol | $0 |
| DATA_SOURCE | 2 | ucontrol | $1 |
| NOSPEC | 2 | ucontrol->id.index | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 2 | ucontrol->id.device | 0-u32max |
| USER_DATA | 2 | ucontrol->id.iface | s32min-s32max |
| USER_DATA | 2 | ucontrol->id.index | 0-u32max |
| USER_DATA | 2 | ucontrol->id.numid | 0-u32max |
| USER_DATA | 2 | ucontrol->id.subdevice | 0-u32max |
| USER_DATA | 2 | ucontrol->value.iec958.pad | 0-255 |
| NO_OVERFLOW_SIMPLE | 1 | kcontrol->tlv.p | |
| NO_OVERFLOW_SIMPLE | 2 | ucontrol->value.bytes.data | |
| USER_PTR | 2 | ucontrol | |
| USER_PTR | 2 | ucontrol->id.name | |
| USER_PTR | 2 | ucontrol->reserved | |
| USER_PTR | 2 | ucontrol->value.bytes.data | |
| HALF_LOCKED2 | &card->controls_rwsem | ||
| HALF_LOCKED2 | &card->mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | _T->lock |
sound/hda/codecs/generic.c init_input_src() -> (struct hda_gen_spec)->cap_sync_hook()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | codec | 4096-ptr_max |
| PARAM_VALUE | 0 | codec->core->regmap->cache->data | 0-4294967295 |
| PARAM_VALUE | 0 | codec->core.bus->dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | codec->core.dev.iommu->attach_deferred | 0-1 |
| PARAM_VALUE | 0 | codec->core.dev.power.request | 0-4 |
| PARAM_VALUE | 0 | codec->core.dev.power.runtime_error | s32min-(-17),(-15)-(-14),(-12),(-10)-s32max |
| PARAM_VALUE | 0 | codec->core.dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | codec->core.regmap->async | 0-1 |
| PARAM_VALUE | 0 | codec->core.regmap->async_ret | s32min-s32max |
| PARAM_VALUE | 0 | codec->core.regmap->cache->cached_rbnode->base_reg | 0-4294967295 |
| PARAM_VALUE | 0 | codec->core.regmap->cache->cached_rbnode->blklen | 0-4294967295 |
| PARAM_VALUE | 0 | codec->core.regmap->cache->cached_rbnode->node.__rb_parent_color | 0-1 |
| PARAM_VALUE | 0 | codec->core.regmap->cache_bypass | 0-1 |
| PARAM_VALUE | 0 | codec->core.regmap->cache_dirty | 0-1 |
| PARAM_VALUE | 0 | codec->core.regmap->no_sync_defaults | 0-1 |
| PARAM_VALUE | 0 | codec->spec | 4096-ptr_max |
| PARAM_VALUE | 0 | codec->spec->have_aamix_ctl | 0-1 |
| PARAM_VALUE | 1 | kcontrol | 0 |
| PARAM_VALUE | 2 | ucontrol | 0 |
| CAPPED_DATA | 0 | codec->spec->autocfg.line_outs | 1 |
| CAPPED_DATA | 0 | codec->spec->autocfg.num_inputs | 1 |
| CAPPED_DATA | 0 | codec->spec->multi_ios | 1 |
| DATA_SOURCE | 0 | codec | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | codec->core.bus->corb.addr | |
| NO_OVERFLOW_SIMPLE | 0 | codec->core.num_nodes |
sound/hda/codecs/generic.c mux_select() -> (struct hda_gen_spec)->cap_sync_hook()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | codec | 4096-ptr_max |
| PARAM_VALUE | 0 | codec->core.bus->dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | codec->core.dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | codec->spec | 4096-ptr_max |
| PARAM_VALUE | 0 | codec->spec->paths.used | 1-4294967295 |
| PARAM_VALUE | 1 | kcontrol | 0 |
| PARAM_VALUE | 2 | ucontrol | 0 |
| BUF_SIZE | 0 | codec | (-1),72,104,256,376,448,2728 |
| BUF_SIZE | 0 | codec | (-1),72,104,256,376,448,2728 |
| DATA_SOURCE | 0 | codec | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | codec->core.bus->corb.addr | |
| NO_OVERFLOW_SIMPLE | 0 | codec->core.num_nodes |