Defined in 3 files as a function:

Referenced in 3 files:

Smatch caller information:

sound/soc/codecs/mt6358.c mtk_hp_disable() -> hp_pull_down()

Type Parameter Key Value
PARAM_VALUE 0 priv 4096-ptr_max
PARAM_VALUE 0 priv->dev 0,4096-ptr_max
PARAM_VALUE 0 priv->dev->bus 0,4096-ptr_max
PARAM_VALUE 0 priv->dev->class 0,4096-ptr_max
PARAM_VALUE 0 priv->dev->driver 0,4096-ptr_max
PARAM_VALUE 0 priv->dev_counter 4096-ptr_max
PARAM_VALUE 0 priv->mux_select 4096-ptr_max
PARAM_VALUE 1 enable 1
BUF_SIZE 0 priv s32min-(-2),1-s32max
BUF_SIZE 0 priv s32min-(-2),1-s32max
DATA_SOURCE 0 priv $0
NOCHECK_CALL
UNITS 0 priv unit_byte

sound/soc/codecs/mt6358.c mtk_hp_disable() -> hp_pull_down()

Type Parameter Key Value
PARAM_VALUE 0 priv 4096-ptr_max
PARAM_VALUE 0 priv->ana_gain 4096-ptr_max
PARAM_VALUE 0 priv->dev 0,4096-ptr_max
PARAM_VALUE 0 priv->dev->bus 0,4096-ptr_max
PARAM_VALUE 0 priv->dev->class 0,4096-ptr_max
PARAM_VALUE 0 priv->dev->driver 0,4096-ptr_max
PARAM_VALUE 0 priv->dev_counter 4096-ptr_max
PARAM_VALUE 0 priv->mux_select 4096-ptr_max
PARAM_VALUE 0 priv->regmap 4096-ptr_max
PARAM_VALUE 0 priv->regmap->async 0
PARAM_VALUE 0 priv->regmap->cache->cached_rbnode->base_reg 0-4294967295
PARAM_VALUE 0 priv->regmap->cache->cached_rbnode->blklen 0-4294967295
PARAM_VALUE 0 priv->regmap->cache_dirty 1
PARAM_VALUE 1 enable 0
BUF_SIZE 0 priv s32min-(-2),1-s32max
BUF_SIZE 0 priv s32min-(-2),1-s32max
CAPPED_DATA 0 priv->regmap->rd_table->n_no_ranges 1
CAPPED_DATA 0 priv->regmap->rd_table->n_yes_ranges 1
CAPPED_DATA 0 priv->regmap->volatile_table->n_no_ranges 1
CAPPED_DATA 0 priv->regmap->volatile_table->n_yes_ranges 1
DATA_SOURCE 0 priv $0
NOCHECK_CALL
UNITS 0 priv unit_byte

sound/soc/codecs/mt6358.c mtk_hp_enable() -> hp_pull_down()

Type Parameter Key Value
PARAM_VALUE 0 priv 4096-ptr_max
PARAM_VALUE 0 priv->dev 0,4096-ptr_max
PARAM_VALUE 0 priv->dev->bus 0,4096-ptr_max
PARAM_VALUE 0 priv->dev->class 0,4096-ptr_max
PARAM_VALUE 0 priv->dev->driver 0,4096-ptr_max
PARAM_VALUE 0 priv->dev_counter 4096-ptr_max
PARAM_VALUE 0 priv->mux_select 4096-ptr_max
PARAM_VALUE 1 enable 1
BUF_SIZE 0 priv s32min-(-2),1-s32max
BUF_SIZE 0 priv s32min-(-2),1-s32max
DATA_SOURCE 0 priv $0
NOCHECK_CALL
UNITS 0 priv unit_byte

sound/soc/codecs/mt6358.c mtk_hp_enable() -> hp_pull_down()

Type Parameter Key Value
PARAM_VALUE 0 priv 4096-ptr_max
PARAM_VALUE 0 priv->ana_gain 4096-ptr_max
PARAM_VALUE 0 priv->dev 0,4096-ptr_max
PARAM_VALUE 0 priv->dev->bus 0,4096-ptr_max
PARAM_VALUE 0 priv->dev->class 0,4096-ptr_max
PARAM_VALUE 0 priv->dev->driver 0,4096-ptr_max
PARAM_VALUE 0 priv->dev_counter 4096-ptr_max
PARAM_VALUE 0 priv->mux_select 4096-ptr_max
PARAM_VALUE 0 priv->regmap 4096-ptr_max
PARAM_VALUE 0 priv->regmap->async 0
PARAM_VALUE 0 priv->regmap->cache->cached_rbnode->base_reg 0-4294967295
PARAM_VALUE 0 priv->regmap->cache->cached_rbnode->blklen 0-4294967295
PARAM_VALUE 0 priv->regmap->cache_dirty 1
PARAM_VALUE 1 enable 0
BUF_SIZE 0 priv s32min-(-2),1-s32max
BUF_SIZE 0 priv s32min-(-2),1-s32max
CAPPED_DATA 0 priv->regmap->rd_table->n_no_ranges 1
CAPPED_DATA 0 priv->regmap->rd_table->n_yes_ranges 1
CAPPED_DATA 0 priv->regmap->volatile_table->n_no_ranges 1
CAPPED_DATA 0 priv->regmap->volatile_table->n_yes_ranges 1
DATA_SOURCE 0 priv $0
NOCHECK_CALL
UNITS 0 priv unit_byte

sound/soc/codecs/mt6358.c mtk_hp_spk_disable() -> hp_pull_down()

Type Parameter Key Value
PARAM_VALUE 0 priv 4096-ptr_max
PARAM_VALUE 0 priv->ana_gain 4096-ptr_max
PARAM_VALUE 0 priv->dev 0,4096-ptr_max
PARAM_VALUE 0 priv->dev->bus 0,4096-ptr_max
PARAM_VALUE 0 priv->dev->class 0,4096-ptr_max
PARAM_VALUE 0 priv->dev->driver 0,4096-ptr_max
PARAM_VALUE 0 priv->dev_counter 4096-ptr_max
PARAM_VALUE 0 priv->mux_select 4096-ptr_max
PARAM_VALUE 0 priv->regmap 4096-ptr_max
PARAM_VALUE 0 priv->regmap->async 0
PARAM_VALUE 1 enable 0
BUF_SIZE 0 priv s32min-(-2),1-s32max
BUF_SIZE 0 priv s32min-(-2),1-s32max
CAPPED_DATA 0 priv->regmap->rd_table->n_no_ranges 1
CAPPED_DATA 0 priv->regmap->rd_table->n_yes_ranges 1
CAPPED_DATA 0 priv->regmap->volatile_table->n_no_ranges 1
CAPPED_DATA 0 priv->regmap->volatile_table->n_yes_ranges 1
DATA_SOURCE 0 priv $0
NOCHECK_CALL
UNITS 0 priv unit_byte

sound/soc/codecs/mt6358.c mtk_hp_spk_enable() -> hp_pull_down()

Type Parameter Key Value
PARAM_VALUE 0 priv 4096-ptr_max
PARAM_VALUE 0 priv->dev 0,4096-ptr_max
PARAM_VALUE 0 priv->dev->bus 0,4096-ptr_max
PARAM_VALUE 0 priv->dev->class 0,4096-ptr_max
PARAM_VALUE 0 priv->dev->driver 0,4096-ptr_max
PARAM_VALUE 0 priv->dev_counter 4096-ptr_max
PARAM_VALUE 0 priv->mux_select 4096-ptr_max
PARAM_VALUE 1 enable 1
BUF_SIZE 0 priv s32min-(-2),1-s32max
BUF_SIZE 0 priv s32min-(-2),1-s32max
DATA_SOURCE 0 priv $0
NOCHECK_CALL
UNITS 0 priv unit_byte

sound/soc/codecs/mt6358.c mtk_hp_spk_enable() -> hp_pull_down()

Type Parameter Key Value
PARAM_VALUE 0 priv 4096-ptr_max
PARAM_VALUE 0 priv->dev 0,4096-ptr_max
PARAM_VALUE 0 priv->dev->bus 0,4096-ptr_max
PARAM_VALUE 0 priv->dev->class 0,4096-ptr_max
PARAM_VALUE 0 priv->dev->driver 0,4096-ptr_max
PARAM_VALUE 0 priv->dev_counter 4096-ptr_max
PARAM_VALUE 0 priv->mux_select 4096-ptr_max
PARAM_VALUE 0 priv->regmap 4096-ptr_max
PARAM_VALUE 0 priv->regmap->async 0
PARAM_VALUE 0 priv->regmap->cache->cached_rbnode->base_reg 0-4294967295
PARAM_VALUE 0 priv->regmap->cache->cached_rbnode->blklen 0-4294967295
PARAM_VALUE 0 priv->regmap->cache_dirty 1
PARAM_VALUE 1 enable 0
BUF_SIZE 0 priv s32min-(-2),1-s32max
BUF_SIZE 0 priv s32min-(-2),1-s32max
CAPPED_DATA 0 priv->regmap->rd_table->n_no_ranges 1
CAPPED_DATA 0 priv->regmap->rd_table->n_yes_ranges 1
CAPPED_DATA 0 priv->regmap->volatile_table->n_no_ranges 1
CAPPED_DATA 0 priv->regmap->volatile_table->n_yes_ranges 1
DATA_SOURCE 0 priv $0
NOCHECK_CALL
UNITS 0 priv unit_byte

sound/soc/codecs/mt6357.c left_dac_event() -> hp_pull_down()

Type Parameter Key Value
PARAM_VALUE 0 priv 4096-ptr_max
PARAM_VALUE 0 priv->pull_down_needed 1
PARAM_VALUE 1 enable 0
BUF_SIZE 0 priv s32min-(-2),1-s32max
BUF_SIZE 0 priv s32min-(-2),1-s32max
NOCHECK_CALL
UNITS 0 priv unit_byte

sound/soc/codecs/mt6357.c left_dac_event() -> hp_pull_down()

Type Parameter Key Value
PARAM_VALUE 0 priv 4096-ptr_max
PARAM_VALUE 0 priv->pull_down_needed 1
PARAM_VALUE 1 enable 1
BUF_SIZE 0 priv s32min-(-2),1-s32max
BUF_SIZE 0 priv s32min-(-2),1-s32max
NOCHECK_CALL
UNITS 0 priv unit_byte

sound/soc/codecs/mt6357.c mt_audio_in_event() -> hp_pull_down()

Type Parameter Key Value
PARAM_VALUE 0 priv 4096-ptr_max
PARAM_VALUE 0 priv->pull_down_needed 1
PARAM_VALUE 0 priv->regmap 4096-ptr_max
PARAM_VALUE 1 enable 1
BUF_SIZE 0 priv s32min-(-2),1-s32max
BUF_SIZE 0 priv s32min-(-2),1-s32max
NOCHECK_CALL
UNITS 0 priv unit_byte

sound/soc/codecs/mt6357.c mt_audio_in_event() -> hp_pull_down()

Type Parameter Key Value
PARAM_VALUE 0 priv 4096-ptr_max
PARAM_VALUE 0 priv->pull_down_needed 1
PARAM_VALUE 0 priv->regmap 4096-ptr_max
PARAM_VALUE 0 priv->regmap->async 0
PARAM_VALUE 0 priv->regmap->cache->cached_rbnode->base_reg 0-4294967295
PARAM_VALUE 0 priv->regmap->cache->cached_rbnode->blklen 0-4294967295
PARAM_VALUE 0 priv->regmap->cache_dirty 1
PARAM_VALUE 1 enable 0
BUF_SIZE 0 priv s32min-(-2),1-s32max
BUF_SIZE 0 priv s32min-(-2),1-s32max
CAPPED_DATA 0 priv->regmap->rd_table->n_yes_ranges 1
CAPPED_DATA 0 priv->regmap->volatile_table->n_no_ranges 1
CAPPED_DATA 0 priv->regmap->volatile_table->n_yes_ranges 1
NOCHECK_CALL
UNITS 0 priv unit_byte

sound/soc/codecs/mt6357.c right_dac_event() -> hp_pull_down()

Type Parameter Key Value
PARAM_VALUE 0 priv 4096-ptr_max
PARAM_VALUE 0 priv->pull_down_needed 1
PARAM_VALUE 1 enable 0
BUF_SIZE 0 priv s32min-(-2),1-s32max
BUF_SIZE 0 priv s32min-(-2),1-s32max
NOCHECK_CALL
UNITS 0 priv unit_byte

sound/soc/codecs/mt6357.c right_dac_event() -> hp_pull_down()

Type Parameter Key Value
PARAM_VALUE 0 priv 4096-ptr_max
PARAM_VALUE 0 priv->pull_down_needed 1
PARAM_VALUE 1 enable 1
BUF_SIZE 0 priv s32min-(-2),1-s32max
BUF_SIZE 0 priv s32min-(-2),1-s32max
NOCHECK_CALL
UNITS 0 priv unit_byte

sound/soc/codecs/mt6359.c mt_hp_pull_down_event() -> hp_pull_down()

Type Parameter Key Value
PARAM_VALUE 1 enable 1
BUF_SIZE 0 priv s32min-(-2),1-s32max
BUF_SIZE 0 priv s32min-(-2),1-s32max
NOCHECK_CALL
UNITS 0 priv unit_byte

sound/soc/codecs/mt6359.c mt_hp_pull_down_event() -> hp_pull_down()

Type Parameter Key Value
PARAM_VALUE 1 enable 0
BUF_SIZE 0 priv s32min-(-2),1-s32max
BUF_SIZE 0 priv s32min-(-2),1-s32max
NOCHECK_CALL
UNITS 0 priv unit_byte

sound/soc/codecs/mt6359.c mtk_hp_disable() -> hp_pull_down()

Type Parameter Key Value
PARAM_VALUE 0 priv 4096-ptr_max
PARAM_VALUE 0 priv->dev_counter 4096-ptr_max
PARAM_VALUE 1 enable 1
BUF_SIZE 0 priv s32min-(-2),1-s32max
BUF_SIZE 0 priv s32min-(-2),1-s32max
DATA_SOURCE 0 priv $0
NOCHECK_CALL
UNITS 0 priv unit_byte

sound/soc/codecs/mt6359.c mtk_hp_enable() -> hp_pull_down()

Type Parameter Key Value
PARAM_VALUE 0 priv 4096-ptr_max
PARAM_VALUE 0 priv->ana_gain 4096-ptr_max
PARAM_VALUE 0 priv->dev_counter 4096-ptr_max
PARAM_VALUE 0 priv->dl_rate 4096-ptr_max
PARAM_VALUE 0 priv->hp_hifi_mode 0
PARAM_VALUE 0 priv->regmap 4096-ptr_max
PARAM_VALUE 0 priv->regmap->async 0
PARAM_VALUE 1 enable 0
BUF_SIZE 0 priv s32min-(-2),1-s32max
BUF_SIZE 0 priv s32min-(-2),1-s32max
CAPPED_DATA 0 priv->regmap->rd_table->n_no_ranges 1
CAPPED_DATA 0 priv->regmap->rd_table->n_yes_ranges 1
CAPPED_DATA 0 priv->regmap->volatile_table->n_no_ranges 1
CAPPED_DATA 0 priv->regmap->volatile_table->n_yes_ranges 1
DATA_SOURCE 0 priv $0
NOCHECK_CALL
UNITS 0 priv unit_byte