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 47
- sound/soc/codecs/tas2781-fmwlib.c, line 2539
- sound/soc/codecs/tas2781-i2c.c
Smatch caller information:
sound/hda/codecs/side-codecs/tas2781_hda_spi.c tasdevice_spi_dev_read() -> tasdevice_dev_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tas_priv | 4096-ptr_max |
| PARAM_VALUE | 0 | tas_priv->tasdevice->cur_conf | s16min-s16max |
| PARAM_VALUE | 0 | tas_priv->tasdevice->cur_prog | s16min-s16max |
| PARAM_VALUE | 3 | val | 698843437115125760,1943343047821799424,2016214466165866496,3035039673874219008,7389564133250670592 |
| BUF_SIZE | 0 | tas_priv | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | tas_priv | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | tas_priv | $0 |
| DATA_SOURCE | 1 | chn | $1 |
| DATA_SOURCE | 2 | reg | $2 |
| DATA_SOURCE | 3 | val | $3 |
| 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_dev_update_bits() -> tasdevice_dev_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tas_priv | 4096-ptr_max |
| PARAM_VALUE | 3 | val | 7740415517586874368 |
| BUF_SIZE | 0 | tas_priv | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | tas_priv | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | tas_priv | $0 |
| DATA_SOURCE | 1 | chn | $1 |
| DATA_SOURCE | 2 | reg | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | tas_priv | unit_byte |
| UNITS | 1 | chn | unit_array_size |
| HALF_LOCKED2 | _T->lock |
sound/soc/codecs/tas2781-comlib-i2c.c tasdevice_amp_getvol() -> tasdevice_dev_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | chn | 0 |
| PARAM_VALUE | 3 | val | 1403270000181444608 |
| BUF_SIZE | 0 | tas_priv | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | tas_priv | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | tas_priv | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | tas_priv | unit_byte |
| HALF_LOCKED2 | &card->controls_rwsem | ||
| HALF_LOCKED2 | &card->mutex | ||
| HALF_LOCKED2 | _T->lock |
sound/soc/codecs/tas2781-comlib-i2c.c tasdevice_digital_getvol() -> tasdevice_dev_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | chn | 0 |
| PARAM_VALUE | 3 | val | 5210477828763516928 |
| BUF_SIZE | 0 | tas_priv | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | tas_priv | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | tas_priv | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | tas_priv | unit_byte |
| HALF_LOCKED2 | &card->controls_rwsem | ||
| HALF_LOCKED2 | &card->mutex | ||
| HALF_LOCKED2 | _T->lock |
sound/soc/codecs/tas2781-i2c.c sngl_calib_start() -> tasdevice_dev_read()
| 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 | val | 4096-ptr_max |
| PARAM_VALUE | 3 | *val | 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_read()
| 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 | val | 4096-ptr_max |
| PARAM_VALUE | 3 | *val | 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 tas2781_latch_reg_get() -> tasdevice_dev_read()
| 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 | 2 | reg | 73 |
| PARAM_VALUE | 3 | val | 3209291182391750656 |
| 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 | |||
| 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 tas2781_cali_preproc() -> tasdevice_dev_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tas_priv | 4096-ptr_max |
| PARAM_VALUE | 0 | tas_priv->cali_data.total_sz | 1-u64max |
| PARAM_VALUE | 0 | tas_priv->chip_id | 10 |
| 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->fmw | 4096-ptr_max |
| PARAM_VALUE | 0 | tas_priv->fmw->configs | 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 | 0 | *tas_priv->regmap->work_buf | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 1 | chn | 0-254 |
| PARAM_VALUE | 2 | reg | 124 |
| PARAM_VALUE | 3 | val | 5998476996405424128 |
| 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 | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | tas_priv | unit_byte |
| UNITS | 1 | chn | unit_array_size |
| HALF_LOCKED2 | &tas_priv->codec_lock | ||
| HALF_LOCKED2 | _T->lock |
sound/hda/codecs/side-codecs/tas2781_hda_spi.c tas2781_system_resume() -> (struct tasdevice_priv)->dev_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tas_priv | 4096-ptr_max |
| PARAM_VALUE | 2 | reg | 92 |
| PARAM_VALUE | 3 | val | 7389564133250670592 |
| CONTAINER | 0 | -2064+0 | $(-1) |
| CONTAINER | 1 | *(-2064+1976) | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | _T->lock |
sound/soc/codecs/tas2781-fmwlib.c do_singlereg_checksum() -> (struct tasdevice_priv)->dev_read()
| 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 | 0 | tas_priv->tasdevice->cur_conf | s16min-s16max |
| PARAM_VALUE | 0 | tas_priv->tasdevice->cur_prog | s16min-s16max |
| PARAM_VALUE | 2 | reg | 5376-8063,4592896-4595583 |
| PARAM_VALUE | 3 | val | 3035039673874219008 |
| 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 | $1 |
| CONTAINER | 0 | -2064+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &tas_priv->codec_lock | ||
| HALF_LOCKED2 | _T->lock |
sound/soc/codecs/tas2781-fmwlib.c tasdev_block_chksum() -> (struct tasdevice_priv)->dev_read()
| 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 | val | 1943343047821799424 |
| 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 |
| CONTAINER | 0 | -2064+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &tas_priv->codec_lock | ||
| HALF_LOCKED2 | _T->lock |