Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 8 files:
- sound/soc/amd/acp-rt5645.c, line 81
- sound/soc/codecs/rt5645.c
- sound/soc/intel/boards/bdw-rt5650.c, line 207
- sound/soc/intel/boards/cht_bsw_rt5645.c, line 312
- sound/soc/mediatek/mt8173/mt8173-rt5650-rt5514.c, line 106
- sound/soc/mediatek/mt8173/mt8173-rt5650-rt5676.c, line 119
- sound/soc/mediatek/mt8173/mt8173-rt5650.c, line 152
- sound/soc/rockchip/rockchip_rt5645.c, line 126
Smatch caller information:
sound/soc/intel/boards/bdw-rt5650.c bdw_rt5650_init() -> rt5645_set_jack_detect()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | component->dev->driver_data->i2c->adapter->dev.parent->devt | 0-4294967295 |
| PARAM_VALUE | 0 | component->dev->driver_data->i2c->adapter->dev.parent->dma_uses_io_tlb | 0-1 |
| PARAM_VALUE | 0 | component->dev->driver_data->i2c->adapter->dev.parent->id | 0-4294967295 |
| PARAM_VALUE | 0 | component->dev->driver_data->i2c->adapter->dev.parent->kobj.kref.refcount.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | component->dev->driver_data->i2c->adapter->dev.parent->kobj.release.cpu | s32min-s32max |
| PARAM_VALUE | 0 | component->dev->driver_data->i2c->adapter->dev.parent->kobj.release.timer.flags | 0-4294967295 |
| PARAM_VALUE | 0 | component->dev->driver_data->i2c->adapter->dev.parent->kobj.state_add_uevent_sent | 0-1 |
| PARAM_VALUE | 0 | component->dev->driver_data->i2c->adapter->dev.parent->kobj.state_in_sysfs | 0-1 |
| PARAM_VALUE | 0 | component->dev->driver_data->i2c->adapter->dev.parent->kobj.state_initialized | 0-1 |
| PARAM_VALUE | 0 | component->dev->driver_data->i2c->adapter->dev.parent->kobj.state_remove_uevent_sent | 0-1 |
| PARAM_VALUE | 0 | component->dev->driver_data->i2c->adapter->dev.parent->kobj.uevent_suppress | 0-1 |
| PARAM_VALUE | 0 | component->dev->driver_data->i2c->adapter->dev.parent->links.status | 0-4294967295 |
| PARAM_VALUE | 0 | component->dev->driver_data->i2c->adapter->dev.parent->numa_node | s32min-s32max |
| PARAM_VALUE | 0 | component->dev->driver_data->i2c->adapter->dev.parent->removable | 0-4294967295 |
| PARAM_VALUE | 0 | component->dev->driver_data->reg_cache | 0-255 |
| PARAM_VALUE | 0 | component->dev->parent->driver_data->regmap->cache->cached_rbnode->base_reg | 0-4294967295 |
| PARAM_VALUE | 0 | component->dev->parent->driver_data->regmap->cache_dirty | 0-1 |
| PARAM_VALUE | 0 | component->io_mutex->first_waiter->task->blocked_lock.owner | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 0 | component->io_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | component->io_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | component->io_mutex.first_waiter->list.prev->prev | 0,5159360019465732096 |
| PARAM_VALUE | 0 | component->io_mutex.first_waiter->magic | 5159360019465732096 |
| PARAM_VALUE | 0 | component->io_mutex.first_waiter->task->blocked_on | (-1)-0 |
| PARAM_VALUE | 0 | component->regmap->async | 0 |
| PARAM_VALUE | 0 | component->regmap->cache->cached_rbnode->node.__rb_parent_color | 0-1 |
| PARAM_VALUE | 0 | component->regmap->cache_dirty | 0-1 |
| PARAM_VALUE | 0 | *component->dev->driver_data->ctl_cache | 0-255 |
| PARAM_VALUE | 0 | *component->dev->driver_data->reg_cache | 0-u16max |
| PARAM_VALUE | 0 | *component->io_mutex.first_waiter->task->blocked_lock.owner | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 1 | hp_jack | 3599550755762974720 |
| PARAM_VALUE | 1 | hp_jack->card | 4096-ptr_max |
| PARAM_VALUE | 1 | hp_jack->jack | 4096-ptr_max |
| PARAM_VALUE | 1 | hp_jack->status | 0-s32max |
| PARAM_VALUE | 2 | mic_jack | 4378121296886763520 |
| PARAM_VALUE | 2 | mic_jack->card | 4096-ptr_max |
| PARAM_VALUE | 2 | mic_jack->jack | 4096-ptr_max |
| PARAM_VALUE | 2 | mic_jack->status | 0-s32max |
| PARAM_VALUE | 3 | btn_jack | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &card->mutex | ||
| LOCK2 | _T->lock | ||
| TYPE_LOCK | (struct snd_soc_card)->mutex |
sound/soc/rockchip/rockchip_rt5645.c rk_init() -> rt5645_set_jack_detect()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | hp_jack | 6024496340319453184 |
| PARAM_VALUE | 1 | hp_jack->card | 4096-ptr_max |
| PARAM_VALUE | 1 | hp_jack->jack | 4096-ptr_max |
| PARAM_VALUE | 1 | hp_jack->status | 0-s32max |
| PARAM_VALUE | 2 | mic_jack | 6024496340319453184 |
| PARAM_VALUE | 2 | mic_jack->card | 4096-ptr_max |
| PARAM_VALUE | 2 | mic_jack->jack | 4096-ptr_max |
| PARAM_VALUE | 2 | mic_jack->status | 0-s32max |
| PARAM_VALUE | 3 | btn_jack | 6024496340319453184 |
| PARAM_VALUE | 3 | btn_jack->card | 4096-ptr_max |
| PARAM_VALUE | 3 | btn_jack->jack | 4096-ptr_max |
| PARAM_VALUE | 3 | btn_jack->status | 0-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &card->mutex | ||
| LOCK2 | _T->lock | ||
| TYPE_LOCK | (struct snd_soc_card)->mutex |
sound/soc/intel/boards/cht_bsw_rt5645.c cht_codec_init() -> rt5645_set_jack_detect()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | component->dev->driver_data->i2c->adapter->dev.parent->devt | 0-4294967295 |
| PARAM_VALUE | 0 | component->dev->driver_data->i2c->adapter->dev.parent->dma_uses_io_tlb | 0-1 |
| PARAM_VALUE | 0 | component->dev->driver_data->i2c->adapter->dev.parent->id | 0-4294967295 |
| PARAM_VALUE | 0 | component->dev->driver_data->i2c->adapter->dev.parent->kobj.kref.refcount.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | component->dev->driver_data->i2c->adapter->dev.parent->kobj.release.cpu | s32min-s32max |
| PARAM_VALUE | 0 | component->dev->driver_data->i2c->adapter->dev.parent->kobj.release.timer.flags | 0-4294967295 |
| PARAM_VALUE | 0 | component->dev->driver_data->i2c->adapter->dev.parent->kobj.state_add_uevent_sent | 0-1 |
| PARAM_VALUE | 0 | component->dev->driver_data->i2c->adapter->dev.parent->kobj.state_in_sysfs | 0-1 |
| PARAM_VALUE | 0 | component->dev->driver_data->i2c->adapter->dev.parent->kobj.state_initialized | 0-1 |
| PARAM_VALUE | 0 | component->dev->driver_data->i2c->adapter->dev.parent->kobj.state_remove_uevent_sent | 0-1 |
| PARAM_VALUE | 0 | component->dev->driver_data->i2c->adapter->dev.parent->kobj.uevent_suppress | 0-1 |
| PARAM_VALUE | 0 | component->dev->driver_data->i2c->adapter->dev.parent->links.status | 0-4294967295 |
| PARAM_VALUE | 0 | component->dev->driver_data->i2c->adapter->dev.parent->numa_node | s32min-s32max |
| PARAM_VALUE | 0 | component->dev->driver_data->i2c->adapter->dev.parent->removable | 0-4294967295 |
| PARAM_VALUE | 0 | component->dev->driver_data->reg_cache | 0-255 |
| PARAM_VALUE | 0 | component->dev->parent->driver_data->regmap->cache->cached_rbnode->base_reg | 0-4294967295 |
| PARAM_VALUE | 0 | component->dev->parent->driver_data->regmap->cache_dirty | 0-1 |
| PARAM_VALUE | 0 | component->io_mutex->first_waiter->task->blocked_lock.owner | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 0 | component->io_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | component->io_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | component->io_mutex.first_waiter->list.prev->prev | 0,5159360019465732096 |
| PARAM_VALUE | 0 | component->io_mutex.first_waiter->magic | 5159360019465732096 |
| PARAM_VALUE | 0 | component->io_mutex.first_waiter->task->blocked_on | (-1)-0 |
| PARAM_VALUE | 0 | component->regmap->async | 0 |
| PARAM_VALUE | 0 | component->regmap->cache->cached_rbnode->node.__rb_parent_color | 0-1 |
| PARAM_VALUE | 0 | component->regmap->cache_dirty | 0-1 |
| PARAM_VALUE | 0 | *component->dev->driver_data->ctl_cache | 0-255 |
| PARAM_VALUE | 0 | *component->dev->driver_data->reg_cache | 0-u16max |
| PARAM_VALUE | 0 | *component->io_mutex.first_waiter->task->blocked_lock.owner | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 1 | hp_jack | 4096-ptr_max |
| PARAM_VALUE | 1 | hp_jack->card | 4096-ptr_max |
| PARAM_VALUE | 1 | hp_jack->jack | 4096-ptr_max |
| PARAM_VALUE | 1 | hp_jack->status | 0-s32max |
| PARAM_VALUE | 2 | mic_jack | 4096-ptr_max |
| PARAM_VALUE | 2 | mic_jack->card | 4096-ptr_max |
| PARAM_VALUE | 2 | mic_jack->jack | 4096-ptr_max |
| PARAM_VALUE | 2 | mic_jack->status | 0-s32max |
| PARAM_VALUE | 3 | btn_jack | 4096-ptr_max |
| PARAM_VALUE | 3 | btn_jack->card | 4096-ptr_max |
| PARAM_VALUE | 3 | btn_jack->jack | 4096-ptr_max |
| PARAM_VALUE | 3 | btn_jack->status | 0-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &card->mutex | ||
| LOCK2 | _T->lock | ||
| TYPE_LOCK | (struct snd_soc_card)->mutex |
sound/soc/amd/acp-rt5645.c cz_init() -> rt5645_set_jack_detect()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | hp_jack | 6429800480022597632 |
| PARAM_VALUE | 1 | hp_jack->card | 4096-ptr_max |
| PARAM_VALUE | 1 | hp_jack->jack | 4096-ptr_max |
| PARAM_VALUE | 1 | hp_jack->status | 0-s32max |
| PARAM_VALUE | 2 | mic_jack | 6429800480022597632 |
| PARAM_VALUE | 2 | mic_jack->card | 4096-ptr_max |
| PARAM_VALUE | 2 | mic_jack->jack | 4096-ptr_max |
| PARAM_VALUE | 2 | mic_jack->status | 0-s32max |
| PARAM_VALUE | 3 | btn_jack | 6429800480022597632 |
| PARAM_VALUE | 3 | btn_jack->card | 4096-ptr_max |
| PARAM_VALUE | 3 | btn_jack->jack | 4096-ptr_max |
| PARAM_VALUE | 3 | btn_jack->status | 0-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &card->mutex | ||
| LOCK2 | _T->lock | ||
| TYPE_LOCK | (struct snd_soc_card)->mutex |
sound/soc/codecs/rt5645.c rt5645_component_set_jack() -> rt5645_set_jack_detect()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | component | 4096-ptr_max |
| PARAM_VALUE | 0 | component->driver | 4096-ptr_max |
| PARAM_VALUE | 0 | component->driver->set_jack | 1-u64max |
| BUF_SIZE | 0 | component | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | component | s32min-(-1),1-s32max |
| BUF_SIZE | 1 | hp_jack | (-1),4,6,8,16,24,48,56,64,112,200,224,376,384,392,400,408,416,424,448,488,552,608,800,1072,1096,1128,1152,1304,1352,1472,1488,1496,1624-s32max |
| BUF_SIZE | 1 | hp_jack | (-1),4,6,8,16,24,48,56,64,112,200,224,376,384,392,400,408,416,424,448,488,552,608,800,1072,1096,1128,1152,1304,1352,1472,1488,1496,1624-s32max |
| BUF_SIZE | 2 | mic_jack | (-1)-0,4,6,8,16,24,48,56,64,112,200,224,376,384,392,400,408,416,424,448,488,552,608,800,1072,1096,1128,1152,1304,1352,1472,1488,1496,1624-s32max |
| BUF_SIZE | 2 | mic_jack | (-1)-0,4,6,8,16,24,48,56,64,112,200,224,376,384,392,400,408,416,424,448,488,552,608,800,1072,1096,1128,1152,1304,1352,1472,1488,1496,1624-s32max |
| BUF_SIZE | 3 | btn_jack | (-1)-0,4,6,8,16,24,48,56,64,112,200,224,376,384,392,400,408,416,424,448,488,552,608,800,1072,1096,1128,1152,1304,1352,1472,1488,1496,1624-s32max |
| BUF_SIZE | 3 | btn_jack | (-1)-0,4,6,8,16,24,48,56,64,112,200,224,376,384,392,400,408,416,424,448,488,552,608,800,1072,1096,1128,1152,1304,1352,1472,1488,1496,1624-s32max |
| DATA_SOURCE | 0 | component | $0 |
| DATA_SOURCE | 1 | hp_jack | $1 |
| STR_LEN | 1 | hp_jack->card | (-1) |
| STR_LEN | 2 | mic_jack->card | (-1) |
| STR_LEN | 3 | btn_jack->card | (-1) |
| PARAM_COMPARE | 1 | hp_jack | >= $2 |
| PARAM_COMPARE | 1 | hp_jack | >= $2 |
| PARAM_COMPARE | 1 | hp_jack | >= $3 |
| PARAM_COMPARE | 2 | mic_jack | <= $1 |
| PARAM_COMPARE | 3 | btn_jack | <= $1 |
| PARAM_COMPARE | 3 | btn_jack | <= $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 1 | hp_jack->card->num_of_dapm_routes | |
| HALF_LOCKED2 | &card->mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | _T->lock |