Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 5 files:
- sound/hda/codecs/side-codecs/tas2781_hda_spi.c
- sound/soc/codecs/tas2781-comlib-i2c.c
- sound/soc/codecs/tas2781-comlib.c, line 101
- sound/soc/codecs/tas2781-fmwlib.c
- sound/soc/codecs/tas2781-i2c.c
Smatch caller information:
sound/hda/codecs/side-codecs/tas2781_hda_spi.c tas2781_spi_reset() -> tasdevice_dev_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tas_priv | 4096-ptr_max |
| PARAM_VALUE | 0 | tas_priv->codec | 4096-ptr_max |
| PARAM_VALUE | 0 | tas_priv->coef_binaryname | 4096-ptr_max |
| PARAM_VALUE | 0 | tas_priv->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | tas_priv->dev->bus | 0,4096-ptr_max |
| PARAM_VALUE | 0 | tas_priv->dev->class | 0,4096-ptr_max |
| PARAM_VALUE | 0 | tas_priv->dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | tas_priv->dev->devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | tas_priv->dev->devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | tas_priv->dev->power.request | 0-4 |
| PARAM_VALUE | 0 | tas_priv->dev->power.runtime_error | s32min-(-17),(-15)-(-14),(-12),(-10)-s32max |
| PARAM_VALUE | 0 | tas_priv->dev->power.wakeirq | 0,4096-ptr_max |
| PARAM_VALUE | 0 | tas_priv->dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | tas_priv->dev->type | 0,4096-ptr_max |
| PARAM_VALUE | 0 | tas_priv->fmw | 0,4096-ptr_max |
| PARAM_VALUE | 0 | tas_priv->fw_parse_configuration_data | 5950803080878125056,5994150017830809600 |
| PARAM_VALUE | 0 | tas_priv->fw_parse_program_data | 373966387868516352,8785494564081393664 |
| PARAM_VALUE | 0 | tas_priv->fw_parse_variable_header | 3228613078258417664,4754662458228338688 |
| PARAM_VALUE | 0 | tas_priv->fw_state | 0 |
| PARAM_VALUE | 0 | tas_priv->reset | 0,4096-u64max |
| PARAM_VALUE | 0 | tas_priv->tasdevice_load_block | 2433195499448864768,3574848650351955968 |
| PARAM_VALUE | 2 | reg | 1 |
| PARAM_VALUE | 3 | value | 1 |
| BUF_SIZE | 0 | tas_priv | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | tas_priv | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | tas_priv | $0 |
| UNITS | 1 | chn | unit_array_size |
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &pool->lock |
sound/hda/codecs/side-codecs/tas2781_hda_spi.c tasdevice_spi_dev_update_bits() -> tasdevice_dev_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tas_priv | 4096-ptr_max |
| PARAM_VALUE | 0 | tas_priv->client->addr | 0-u16max |
| PARAM_VALUE | 0 | tas_priv->regmap->cache->cached_rbnode->base_reg | 0-4294967295 |
| PARAM_VALUE | 0 | tas_priv->regmap->cache->cached_rbnode->blklen | 0-4294967295 |
| PARAM_VALUE | 0 | tas_priv->regmap->cache->cached_rbnode->node.__rb_parent_color | 0-1 |
| PARAM_VALUE | 0 | tas_priv->regmap->cache_dirty | 0-1 |
| BUF_SIZE | 0 | tas_priv | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | tas_priv | s32min-(-1),1-s32max |
| CAPPED_DATA | 3 | value | 1 |
| DATA_SOURCE | 0 | tas_priv | $0 |
| DATA_SOURCE | 1 | chn | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | tas_priv | unit_byte |
| UNITS | 1 | chn | unit_array_size |
| HALF_LOCKED2 | _T->lock |
sound/hda/codecs/side-codecs/tas2781_hda_spi.c tasdevice_spi_digital_putvol() -> tasdevice_dev_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tas_priv | 4096-ptr_max |
| BUF_SIZE | 0 | tas_priv | (-1),72,104,256,376,448,2728 |
| BUF_SIZE | 0 | tas_priv | (-1),72,104,256,376,448,2728 |
| CAPPED_DATA | 3 | value | 1 |
| DATA_SOURCE | 0 | tas_priv | $0 |
| BIT_INFO | 3 | value | 0x0,0x7fffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | tas_priv | unit_byte |
| UNITS | 1 | chn | unit_array_size |
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &card->controls_rwsem | ||
| HALF_LOCKED2 | &card->mutex |
sound/soc/codecs/tas2781-comlib-i2c.c tasdevice_digital_putvol() -> tasdevice_dev_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tas_priv | 4096-ptr_max |
| PARAM_VALUE | 0 | tas_priv->ndev | 1-255 |
| PARAM_VALUE | 1 | chn | 0-254 |
| PARAM_VALUE | 3 | value | 0-s32max |
| BUF_SIZE | 0 | tas_priv | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | tas_priv | s32min-(-2),1-s32max |
| CAPPED_DATA | 1 | chn | 1 |
| DATA_SOURCE | 0 | tas_priv | $0 |
| DATA_SOURCE | 3 | value | r tasdevice_clamp |
| PARAM_COMPARE | 1 | chn | < $0->ndev |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | tas_priv | unit_byte |
| UNITS | 1 | chn | unit_array_size |
| HALF_LOCKED2 | &card->controls_rwsem | ||
| HALF_LOCKED2 | &card->mutex | ||
| HALF_LOCKED2 | _T->lock |
sound/soc/codecs/tas2781-comlib-i2c.c tasdevice_reset() -> tasdevice_dev_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tas_priv | 4096-ptr_max |
| PARAM_VALUE | 0 | tas_priv->ndev | 1-255 |
| PARAM_VALUE | 0 | tas_priv->reset | 0 |
| PARAM_VALUE | 1 | chn | 0-254 |
| PARAM_VALUE | 2 | reg | 1 |
| PARAM_VALUE | 3 | value | 1,17 |
| BUF_SIZE | 0 | tas_priv | (-1),2080 |
| BUF_SIZE | 0 | tas_priv | (-1),2080 |
| CAPPED_DATA | 0 | tas_priv->ndev | 1 |
| CAPPED_DATA | 1 | chn | 1 |
| DATA_SOURCE | 0 | tas_priv | $0 |
| FUZZY_MAX | 3 | value | 17 |
| PARAM_COMPARE | 1 | chn | < $0->ndev |
| BIT_INFO | 3 | value | 0x1,0x11 |
| HARD_MAX | 3 | value | 17 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | tas_priv->irq | |
| UNITS | 1 | chn | unit_array_size |
| HALF_LOCKED2 | _T->lock |
sound/soc/codecs/tas2781-i2c.c sngl_calib_start() -> tasdevice_dev_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tas_priv | 4096-ptr_max |
| PARAM_VALUE | 0 | tas_priv->chip_id | 10 |
| PARAM_VALUE | 0 | tas_priv->ndev | 1-255 |
| PARAM_VALUE | 0 | tas_priv->tasdevice | 4096-ptr_max |
| PARAM_VALUE | 1 | chn | 0-254 |
| PARAM_VALUE | 2 | reg | 32397 |
| PARAM_VALUE | 3 | value | 13 |
| BUF_SIZE | 0 | tas_priv | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | tas_priv | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | tas_priv->ndev | 1 |
| CAPPED_DATA | 1 | chn | 1 |
| DATA_SOURCE | 0 | tas_priv | $0 |
| DATA_SOURCE | 1 | chn | $1 |
| PARAM_COMPARE | 1 | chn | < $0->ndev |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | tas_priv | unit_byte |
| UNITS | 1 | chn | unit_array_size |
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &card->controls_rwsem | ||
| HALF_LOCKED2 | &card->mutex |
sound/soc/codecs/tas2781-i2c.c sngl_calib_start() -> tasdevice_dev_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tas_priv | 4096-ptr_max |
| PARAM_VALUE | 0 | tas_priv->chip_id | 10 |
| PARAM_VALUE | 0 | tas_priv->ndev | 1-255 |
| PARAM_VALUE | 0 | tas_priv->tasdevice | 4096-ptr_max |
| PARAM_VALUE | 1 | chn | 0-254 |
| PARAM_VALUE | 2 | reg | 32397 |
| PARAM_VALUE | 3 | value | 13 |
| BUF_SIZE | 0 | tas_priv | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | tas_priv | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | tas_priv->ndev | 1 |
| CAPPED_DATA | 1 | chn | 1 |
| DATA_SOURCE | 0 | tas_priv | $0 |
| DATA_SOURCE | 1 | chn | $1 |
| PARAM_COMPARE | 1 | chn | < $0->ndev |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | tas_priv | unit_byte |
| UNITS | 1 | chn | unit_array_size |
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &card->controls_rwsem | ||
| HALF_LOCKED2 | &card->mutex |
sound/soc/codecs/tas2781-i2c.c sngl_calib_start() -> tasdevice_dev_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tas_priv | 4096-ptr_max |
| PARAM_VALUE | 0 | tas_priv->chip_id | 10 |
| PARAM_VALUE | 0 | tas_priv->ndev | 1-255 |
| PARAM_VALUE | 0 | tas_priv->tasdevice | 4096-ptr_max |
| PARAM_VALUE | 1 | chn | 0-254 |
| PARAM_VALUE | 3 | value | 0,3,6,10,20,32,54,61,64,69,86,94,112,114,127,145-146,164,168,185,211,221,254-255 |
| BUF_SIZE | 0 | tas_priv | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | tas_priv | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | tas_priv->ndev | 1 |
| CAPPED_DATA | 1 | chn | 1 |
| DATA_SOURCE | 0 | tas_priv | $0 |
| DATA_SOURCE | 1 | chn | $1 |
| PARAM_COMPARE | 1 | chn | < $0->ndev |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | tas_priv | unit_byte |
| UNITS | 1 | chn | unit_array_size |
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &card->controls_rwsem | ||
| HALF_LOCKED2 | &card->mutex |
sound/soc/codecs/tas2781-i2c.c tas2563_calib_start_put() -> tasdevice_dev_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tas_priv | 4096-ptr_max |
| PARAM_VALUE | 0 | tas_priv->chip_id | 4 |
| PARAM_VALUE | 0 | tas_priv->ndev | 1-255 |
| PARAM_VALUE | 0 | tas_priv->tasdevice | 4096-ptr_max |
| PARAM_VALUE | 1 | chn | 0-254 |
| PARAM_VALUE | 3 | value | 0,3,6,10,20,32,54,61,64,69,86,94,112,114,127,145-146,164,168,185,211,221,254-255 |
| BUF_SIZE | 0 | tas_priv | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | tas_priv | s32min-(-2),1-s32max |
| CAPPED_DATA | 1 | chn | 1 |
| PARAM_COMPARE | 1 | chn | < $0->ndev |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | tas_priv | unit_byte |
| UNITS | 1 | chn | unit_array_size |
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &card->controls_rwsem | ||
| HALF_LOCKED2 | &card->mutex | ||
| HALF_LOCKED2 | &pool->lock |
sound/soc/codecs/tas2781-i2c.c tas2563_calib_stop_put() -> tasdevice_dev_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tas_priv | 4096-ptr_max |
| PARAM_VALUE | 0 | tas_priv->chip_id | 4 |
| PARAM_VALUE | 0 | tas_priv->ndev | 1-255 |
| PARAM_VALUE | 0 | tas_priv->tasdevice | 4096-ptr_max |
| PARAM_VALUE | 1 | chn | 0-254 |
| PARAM_VALUE | 3 | value | 0,3,6,10,20,32,54,61,64,69,86,94,112,114,127,145-146,164,168,185,211,221,254-255 |
| BUF_SIZE | 0 | tas_priv | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | tas_priv | s32min-(-2),1-s32max |
| CAPPED_DATA | 1 | chn | 1 |
| DATA_SOURCE | 0 | tas_priv | $0 |
| PARAM_COMPARE | 1 | chn | < $0->ndev |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | tas_priv | unit_byte |
| UNITS | 1 | chn | unit_array_size |
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &card->controls_rwsem | ||
| HALF_LOCKED2 | &card->mutex |
sound/soc/codecs/tas2781-i2c.c tas2781_calib_stop_put() -> tasdevice_dev_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tas_priv | 4096-ptr_max |
| PARAM_VALUE | 0 | tas_priv->chip_id | 0-3,5-u32max |
| PARAM_VALUE | 0 | tas_priv->ndev | 1-255 |
| PARAM_VALUE | 0 | tas_priv->tasdevice | 4096-ptr_max |
| PARAM_VALUE | 1 | chn | 0-254 |
| PARAM_VALUE | 2 | reg | 32397 |
| PARAM_VALUE | 3 | value | 13 |
| BUF_SIZE | 0 | tas_priv | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | tas_priv | s32min-(-2),1-s32max |
| CAPPED_DATA | 1 | chn | 1 |
| DATA_SOURCE | 0 | tas_priv | $0 |
| PARAM_COMPARE | 1 | chn | < $0->ndev |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | tas_priv | unit_byte |
| UNITS | 1 | chn | unit_array_size |
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &card->controls_rwsem | ||
| HALF_LOCKED2 | &card->mutex |
sound/soc/codecs/tas2781-i2c.c tas2781_calib_stop_put() -> tasdevice_dev_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tas_priv | 4096-ptr_max |
| PARAM_VALUE | 0 | tas_priv->chip_id | 0-3,5-u32max |
| PARAM_VALUE | 0 | tas_priv->ndev | 1-255 |
| PARAM_VALUE | 0 | tas_priv->tasdevice | 4096-ptr_max |
| PARAM_VALUE | 1 | chn | 0-254 |
| PARAM_VALUE | 3 | value | 0,3,6,10,20,32,54,61,64,69,86,94,112,114,127,145-146,164,168,185,211,221,254-255 |
| BUF_SIZE | 0 | tas_priv | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | tas_priv | s32min-(-2),1-s32max |
| CAPPED_DATA | 1 | chn | 1 |
| DATA_SOURCE | 0 | tas_priv | $0 |
| PARAM_COMPARE | 1 | chn | < $0->ndev |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | tas_priv | unit_byte |
| UNITS | 1 | chn | unit_array_size |
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &card->controls_rwsem | ||
| HALF_LOCKED2 | &card->mutex |
sound/soc/codecs/tas2781-fmwlib.c tasdev_load_blk() -> tasdevice_dev_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tas_priv | 4096-ptr_max |
| PARAM_VALUE | 0 | tas_priv->fmw | 4096-ptr_max |
| PARAM_VALUE | 0 | tas_priv->ndev | 1-255 |
| PARAM_VALUE | 0 | tas_priv->regmap->cache_dirty | 0-1 |
| PARAM_VALUE | 0 | tas_priv->tasdevice | 4096-ptr_max |
| PARAM_VALUE | 2 | reg | 126 |
| PARAM_VALUE | 3 | value | 0 |
| BUF_SIZE | 0 | tas_priv | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | tas_priv | s32min-(-1),1-s32max |
| CAPPED_DATA | 0 | tas_priv->ndev | 1 |
| CAPPED_DATA | 1 | chn | 1 |
| DATA_SOURCE | 0 | tas_priv | $0 |
| DATA_SOURCE | 1 | chn | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | chn | unit_array_size |
| HALF_LOCKED2 | &tas_priv->codec_lock | ||
| HALF_LOCKED2 | _T->lock |
sound/soc/codecs/tas2781-fmwlib.c tasdev_load_blk() -> tasdevice_dev_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tas_priv | 4096-ptr_max |
| PARAM_VALUE | 0 | tas_priv->fmw | 4096-ptr_max |
| PARAM_VALUE | 0 | tas_priv->ndev | 1-255 |
| PARAM_VALUE | 0 | tas_priv->regmap->cache_dirty | 0-1 |
| PARAM_VALUE | 0 | tas_priv->tasdevice | 4096-ptr_max |
| PARAM_VALUE | 2 | reg | 0-8388607 |
| BUF_SIZE | 0 | tas_priv | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | tas_priv | s32min-(-1),1-s32max |
| CAPPED_DATA | 0 | tas_priv->ndev | 1 |
| CAPPED_DATA | 1 | chn | 1 |
| DATA_SOURCE | 0 | tas_priv | $0 |
| DATA_SOURCE | 1 | chn | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | chn | unit_array_size |
| HALF_LOCKED2 | &tas_priv->codec_lock | ||
| HALF_LOCKED2 | _T->lock |
sound/soc/codecs/tas2781-fmwlib.c tasdev_multibytes_wr() -> tasdevice_dev_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tas_priv | 4096-ptr_max |
| PARAM_VALUE | 0 | tas_priv->fmw | 4096-ptr_max |
| PARAM_VALUE | 0 | tas_priv->ndev | 1-255 |
| PARAM_VALUE | 0 | tas_priv->regmap->cache_dirty | 0-1 |
| PARAM_VALUE | 0 | tas_priv->tasdevice | 4096-ptr_max |
| PARAM_VALUE | 3 | value | 0-255 |
| BUF_SIZE | 0 | tas_priv | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | tas_priv | s32min-(-1),1-s32max |
| CAPPED_DATA | 0 | tas_priv->ndev | 1 |
| CAPPED_DATA | 1 | chn | 1 |
| DATA_SOURCE | 0 | tas_priv | $0 |
| DATA_SOURCE | 1 | chn | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | chn | unit_array_size |
| HALF_LOCKED2 | &tas_priv->codec_lock | ||
| HALF_LOCKED2 | _T->lock |
sound/soc/codecs/tas2781-fmwlib.c tasdevice_process_block() -> tasdevice_dev_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tas_priv | 4096-ptr_max |
| PARAM_VALUE | 0 | tas_priv->tasdevice | 4096-ptr_max |
| PARAM_VALUE | 3 | value | 0-255 |
| BUF_SIZE | 0 | tas_priv | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | tas_priv | s32min-(-1),1-s32max |
| CAPPED_DATA | 1 | chn | 1 |
| DATA_SOURCE | 0 | tas_priv | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | chn | unit_array_size |
| HALF_LOCKED2 | &tas_priv->codec_lock | ||
| HALF_LOCKED2 | _T->lock |