Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 2 files as a function:
Referenced in 15 files:
- sound/soc/codecs/cx2072x.c, line 1466
- sound/soc/codecs/rt5670.c, line 593
- sound/soc/fsl/imx-es8328.c, line 66
- sound/soc/generic/simple-card-utils.c, line 821
- sound/soc/intel/boards/bdw-rt5677.c
- sound/soc/intel/boards/bytcr_rt5640.c
- sound/soc/loongson/loongson_card.c, line 123
- sound/soc/rockchip/rk3288_hdmi_analog.c, line 129
- sound/soc/samsung/aries_wm8994.c, line 394
- sound/soc/samsung/midas_wm1811.c, line 460
- sound/soc/soc-jack.c
- sound/soc/sunxi/sun4i-codec.c, line 1619
- sound/soc/tegra/tegra_asoc_machine.c
- sound/soc/ti/omap-twl4030.c, line 152
- sound/soc/ti/rx51.c, line 288
Smatch caller information:
sound/soc/intel/boards/bdw-rt5677.c bdw_rt5677_init() -> snd_soc_jack_add_gpios()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | jack | 7385801223218290688 |
| PARAM_VALUE | 0 | jack->card | 4096-ptr_max |
| PARAM_VALUE | 0 | jack->jack | 4096-ptr_max |
| PARAM_VALUE | 0 | jack->status | 0-s32max |
| PARAM_VALUE | 1 | count | 1 |
| PARAM_VALUE | 2 | gpios | 2439473376576905216 |
| PARAM_VALUE | 2 | gpios->gpiod_dev | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &card->mutex | ||
| LOCK2 | _T->lock | ||
| TYPE_LOCK | (struct snd_soc_card)->mutex |
sound/soc/intel/boards/bdw-rt5677.c bdw_rt5677_init() -> snd_soc_jack_add_gpios()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | jack | 2412889846932389888 |
| PARAM_VALUE | 0 | jack->card | 4096-ptr_max |
| PARAM_VALUE | 0 | jack->jack | 4096-ptr_max |
| PARAM_VALUE | 0 | jack->status | 0-s32max |
| PARAM_VALUE | 1 | count | 1 |
| PARAM_VALUE | 2 | gpios | 508630479856578560 |
| PARAM_VALUE | 2 | gpios->gpiod_dev | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &card->mutex | ||
| LOCK2 | _T->lock | ||
| TYPE_LOCK | (struct snd_soc_card)->mutex |
sound/soc/samsung/midas_wm1811.c midas_late_probe() -> snd_soc_jack_add_gpios()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | jack | 4096-ptr_max |
| PARAM_VALUE | 0 | jack->card | 8168103474077888512 |
| PARAM_VALUE | 0 | jack->jack | 4096-ptr_max |
| PARAM_VALUE | 0 | jack->status | 0-s32max |
| PARAM_VALUE | 1 | count | 2 |
| PARAM_VALUE | 2 | gpios | 4096-ptr_max |
| BUF_SIZE | 2 | gpios | 560 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | count | unit_array_size |
| LOCK2 | &card->mutex | ||
| LOCK2 | _T->lock | ||
| TYPE_LOCK | (struct snd_soc_card)->mutex |
sound/soc/ti/omap-twl4030.c omap_twl4030_init() -> snd_soc_jack_add_gpios()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | jack | 4096-ptr_max |
| PARAM_VALUE | 0 | jack->card | 4096-ptr_max |
| PARAM_VALUE | 0 | jack->jack | 4096-ptr_max |
| PARAM_VALUE | 0 | jack->status | 0-s32max |
| PARAM_VALUE | 1 | count | 1 |
| PARAM_VALUE | 2 | gpios | 4096-ptr_max |
| PARAM_VALUE | 2 | gpios->debounce_time | 200 |
| PARAM_VALUE | 2 | gpios->gpiod_dev | 4096-ptr_max |
| PARAM_VALUE | 2 | gpios->idx | 0 |
| PARAM_VALUE | 2 | gpios->name | 791002619007827968 |
| PARAM_VALUE | 2 | gpios->report | 3 |
| TERMINATED | 2 | gpios->name | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &card->mutex | ||
| LOCK2 | _T->lock | ||
| TYPE_LOCK | (struct snd_soc_card)->mutex |
sound/soc/sunxi/sun4i-codec.c sun4i_codec_machine_init() -> snd_soc_jack_add_gpios()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | jack | 7508138496671752192 |
| PARAM_VALUE | 0 | jack->card | 4096-ptr_max |
| PARAM_VALUE | 0 | jack->jack | 4096-ptr_max |
| PARAM_VALUE | 0 | jack->status | 0-s32max |
| PARAM_VALUE | 1 | count | 1 |
| PARAM_VALUE | 2 | gpios | 6913011320757719040 |
| PARAM_VALUE | 2 | gpios->desc | 4096-18446744073709551613,(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &card->mutex | ||
| LOCK2 | _T->lock | ||
| TYPE_LOCK | (struct snd_soc_card)->mutex |
sound/soc/soc-jack.c snd_soc_jack_add_gpiods() -> snd_soc_jack_add_gpios()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | jack | 4096-ptr_max |
| PARAM_VALUE | 0 | jack->card | 4096-ptr_max |
| PARAM_VALUE | 0 | jack->jack | 4096-ptr_max |
| PARAM_VALUE | 0 | jack->jack_zones.next | 4096-ptr_max |
| PARAM_VALUE | 0 | jack->jack_zones.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | jack->pins.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | jack->status | 0-s32max |
| PARAM_VALUE | 1 | count | 1-2 |
| PARAM_VALUE | 2 | gpios | 2659355100369707008,7539017363567316992 |
| BUF_SIZE | 0 | jack | (-1),376 |
| BUF_SIZE | 0 | jack | (-1),376 |
| BUF_SIZE | 2 | gpios | (-1),560 |
| BUF_SIZE | 2 | gpios | (-1),560 |
| CAPPED_DATA | 1 | count | 1 |
| DATA_SOURCE | 0 | jack | $1 |
| DATA_SOURCE | 1 | count | $2 |
| DATA_SOURCE | 2 | gpios | $3 |
| HARD_MAX | 1 | count | 2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | jack->card->num_of_dapm_routes | |
| UNITS | 1 | count | unit_array_size |
| LOCK2 | &card->mutex | ||
| LOCK2 | _T->lock | ||
| TYPE_LOCK | (struct snd_soc_card)->mutex |
sound/soc/fsl/imx-es8328.c imx_es8328_dai_init() -> snd_soc_jack_add_gpios()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | jack | 6412531891335421952 |
| PARAM_VALUE | 0 | jack->card | 4096-ptr_max |
| PARAM_VALUE | 0 | jack->jack | 4096-ptr_max |
| PARAM_VALUE | 0 | jack->status | 0-s32max |
| PARAM_VALUE | 1 | count | 1 |
| PARAM_VALUE | 2 | gpios | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | count | unit_array_size |
| LOCK2 | &card->mutex | ||
| LOCK2 | _T->lock | ||
| TYPE_LOCK | (struct snd_soc_card)->mutex |
sound/soc/samsung/aries_wm8994.c aries_late_probe() -> snd_soc_jack_add_gpios()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | jack | 1874077540860964864 |
| PARAM_VALUE | 0 | jack->card | 6332445838615519232 |
| PARAM_VALUE | 0 | jack->jack | 4096-ptr_max |
| PARAM_VALUE | 0 | jack->status | 0-s32max |
| PARAM_VALUE | 1 | count | 1 |
| PARAM_VALUE | 2 | gpios | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | count | unit_array_size |
| LOCK2 | &card->mutex | ||
| LOCK2 | _T->lock | ||
| TYPE_LOCK | (struct snd_soc_card)->mutex |
sound/soc/intel/boards/bytcr_rt5640.c byt_rt5640_init() -> snd_soc_jack_add_gpios()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | jack | 4096-ptr_max |
| PARAM_VALUE | 0 | jack->card | 4096-ptr_max |
| PARAM_VALUE | 0 | jack->jack | 4096-ptr_max |
| PARAM_VALUE | 1 | count | 1 |
| PARAM_VALUE | 2 | gpios | 2886914483438624768 |
| PARAM_VALUE | 2 | gpios->data | 4096-ptr_max |
| PARAM_VALUE | 2 | gpios->jack_status_check | 6584129382829576192 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &card->mutex | ||
| LOCK2 | _T->lock | ||
| TYPE_LOCK | (struct snd_soc_card)->mutex |
sound/soc/intel/boards/bytcr_rt5640.c byt_rt5640_init() -> snd_soc_jack_add_gpios()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | jack | 4096-ptr_max |
| PARAM_VALUE | 0 | jack->card | 4096-ptr_max |
| PARAM_VALUE | 0 | jack->jack | 4096-ptr_max |
| PARAM_VALUE | 0 | jack->status | 0-s32max |
| PARAM_VALUE | 1 | count | 1 |
| PARAM_VALUE | 2 | gpios | 5753291797515395072 |
| PARAM_VALUE | 2 | gpios->data | 4096-ptr_max |
| PARAM_VALUE | 2 | gpios->jack_status_check | 4679114021294379008 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &card->mutex | ||
| LOCK2 | _T->lock | ||
| TYPE_LOCK | (struct snd_soc_card)->mutex |
sound/soc/tegra/tegra_asoc_machine.c tegra_asoc_machine_init() -> snd_soc_jack_add_gpios()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | jack | 1001912889279033344 |
| PARAM_VALUE | 0 | jack->card | 4096-ptr_max |
| PARAM_VALUE | 0 | jack->jack | 4096-ptr_max |
| PARAM_VALUE | 0 | jack->status | 0-s32max |
| PARAM_VALUE | 1 | count | 1 |
| PARAM_VALUE | 2 | gpios | 3107919937733894144 |
| PARAM_VALUE | 2 | gpios->desc | 4096-18446744073709551613,(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &card->mutex | ||
| LOCK2 | _T->lock | ||
| TYPE_LOCK | (struct snd_soc_card)->mutex |
sound/soc/tegra/tegra_asoc_machine.c tegra_asoc_machine_init() -> snd_soc_jack_add_gpios()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | jack | 9206871663210717184 |
| PARAM_VALUE | 0 | jack->card | 4096-ptr_max |
| PARAM_VALUE | 0 | jack->jack | 4096-ptr_max |
| PARAM_VALUE | 0 | jack->status | 0-s32max |
| PARAM_VALUE | 1 | count | 1 |
| PARAM_VALUE | 2 | gpios | 7330620191250317312 |
| PARAM_VALUE | 2 | gpios->desc | 4096-18446744073709551613,(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &card->mutex | ||
| LOCK2 | _T->lock | ||
| TYPE_LOCK | (struct snd_soc_card)->mutex |
sound/soc/tegra/tegra_asoc_machine.c tegra_asoc_machine_init() -> snd_soc_jack_add_gpios()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | jack | 3729311333664632832 |
| PARAM_VALUE | 0 | jack->card | 4096-ptr_max |
| PARAM_VALUE | 0 | jack->jack | 4096-ptr_max |
| PARAM_VALUE | 0 | jack->status | 0-s32max |
| PARAM_VALUE | 1 | count | 1 |
| PARAM_VALUE | 2 | gpios | 3258030671943184384 |
| PARAM_VALUE | 2 | gpios->data | 4096-ptr_max |
| PARAM_VALUE | 2 | gpios->desc | 0,4096-18446744073709551613,(-1) |
| PARAM_VALUE | 2 | gpios->jack_status_check | 0,5839529846413508608 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &card->mutex | ||
| LOCK2 | _T->lock | ||
| TYPE_LOCK | (struct snd_soc_card)->mutex |
sound/soc/codecs/rt5670.c rt5670_set_jack_detect() -> snd_soc_jack_add_gpios()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | jack | 4096-ptr_max |
| PARAM_VALUE | 0 | jack->card | 4096-ptr_max |
| PARAM_VALUE | 0 | jack->jack | 4096-ptr_max |
| PARAM_VALUE | 0 | jack->jack_zones.next | 4096-ptr_max |
| PARAM_VALUE | 0 | jack->jack_zones.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | jack->pins.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | jack->status | 0-s32max |
| PARAM_VALUE | 1 | count | 1 |
| PARAM_VALUE | 2 | gpios | 4096-ptr_max |
| PARAM_VALUE | 2 | gpios->data | 4096-ptr_max |
| PARAM_VALUE | 2 | gpios->debounce_time | 150 |
| PARAM_VALUE | 2 | gpios->gpiod_dev | 4096-ptr_max |
| PARAM_VALUE | 2 | gpios->jack_status_check | 760600433781682176 |
| PARAM_VALUE | 2 | gpios->name | 6724445513729908736 |
| PARAM_VALUE | 2 | gpios->report | 28675 |
| PARAM_VALUE | 2 | gpios->wake | 1 |
| DATA_SOURCE | 0 | jack | $1 |
| TERMINATED | 2 | gpios->name | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &card->mutex | ||
| LOCK2 | _T->lock | ||
| TYPE_LOCK | (struct snd_soc_card)->mutex |
sound/soc/generic/simple-card-utils.c simple_util_init_jack() -> snd_soc_jack_add_gpios()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | jack | 4096-ptr_max |
| PARAM_VALUE | 0 | jack->card | 4096-ptr_max |
| PARAM_VALUE | 0 | jack->jack | 4096-ptr_max |
| PARAM_VALUE | 1 | count | 1 |
| PARAM_VALUE | 2 | gpios | 4096-ptr_max |
| PARAM_VALUE | 2 | gpios->debounce_time | 150 |
| PARAM_VALUE | 2 | gpios->desc | 4096-ptr_max |
| PARAM_VALUE | 2 | gpios->name | 508229208950554624,7193426065238155264 |
| PARAM_VALUE | 2 | gpios->report | 1-2 |
| TERMINATED | 2 | gpios->name | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &card->mutex | ||
| LOCK2 | _T->lock | ||
| TYPE_LOCK | (struct snd_soc_card)->mutex |
sound/soc/rockchip/rk3288_hdmi_analog.c rk_init() -> snd_soc_jack_add_gpios()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | jack | 5206828259231014912 |
| PARAM_VALUE | 0 | jack->card | 4096-ptr_max |
| PARAM_VALUE | 0 | jack->jack | 4096-ptr_max |
| PARAM_VALUE | 0 | jack->status | 0-s32max |
| PARAM_VALUE | 1 | count | 1 |
| PARAM_VALUE | 2 | gpios | 1203985900138463232 |
| PARAM_VALUE | 2 | gpios->gpiod_dev | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &card->mutex | ||
| LOCK2 | _T->lock | ||
| TYPE_LOCK | (struct snd_soc_card)->mutex |
sound/soc/codecs/cx2072x.c cx2072x_set_jack() -> snd_soc_jack_add_gpios()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | jack | 1-u64max |
| PARAM_VALUE | 1 | count | 1 |
| PARAM_VALUE | 2 | gpios | 4096-ptr_max |
| PARAM_VALUE | 2 | gpios->data | 4096-ptr_max |
| PARAM_VALUE | 2 | gpios->gpiod_dev | 4096-ptr_max |
| BUF_SIZE | 0 | 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 | 0 | 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 |
| DATA_SOURCE | 0 | jack | $1 |
| STR_LEN | 0 | jack->card | (-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | jack->card->num_of_dapm_routes | |
| HALF_LOCKED2 | &card->mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | _T->lock |
sound/soc/loongson/loongson_card.c loongson_asoc_machine_init() -> snd_soc_jack_add_gpios()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | jack | 6720285898055340032 |
| PARAM_VALUE | 0 | jack->card | 4096-ptr_max |
| PARAM_VALUE | 0 | jack->jack | 4096-ptr_max |
| PARAM_VALUE | 0 | jack->status | 0-s32max |
| PARAM_VALUE | 1 | count | 1 |
| PARAM_VALUE | 2 | gpios | 4370608543554949120 |
| PARAM_VALUE | 2 | gpios->desc | 4096-18446744073709551613,(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &card->mutex | ||
| LOCK2 | _T->lock | ||
| TYPE_LOCK | (struct snd_soc_card)->mutex |