Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

sound/soc/codecs/wcd-mbhc-v2.c wcd_correct_swch_plug() -> wcd_micbias_disable()

Type Parameter Key Value
PARAM_VALUE 0 mbhc 4096-ptr_max
PARAM_VALUE 0 mbhc->cfg 4096-ptr_max
PARAM_VALUE 0 mbhc->component 4096-ptr_max
PARAM_VALUE 0 mbhc->component->dev 4096-ptr_max
PARAM_VALUE 0 mbhc->component->dev->driver_data->i2c->adapter->dev.parent->devt 0-4294967295
PARAM_VALUE 0 mbhc->component->dev->driver_data->i2c->adapter->dev.parent->dma_uses_io_tlb 0-1
PARAM_VALUE 0 mbhc->component->dev->driver_data->i2c->adapter->dev.parent->id 0-4294967295
PARAM_VALUE 0 mbhc->component->dev->driver_data->i2c->adapter->dev.parent->kobj.release.cpu s32min-s32max
PARAM_VALUE 0 mbhc->component->dev->driver_data->i2c->adapter->dev.parent->kobj.state_in_sysfs 0-1
PARAM_VALUE 0 mbhc->component->dev->driver_data->i2c->adapter->dev.parent->kobj.uevent_suppress 0-1
PARAM_VALUE 0 mbhc->component->dev->driver_data->i2c->adapter->dev.parent->links.status 0-4294967295
PARAM_VALUE 0 mbhc->component->dev->driver_data->i2c->adapter->dev.parent->numa_node s32min-s32max
PARAM_VALUE 0 mbhc->component->dev->driver_data->i2c->adapter->dev.parent->removable 0-4294967295
PARAM_VALUE 0 mbhc->component->dev->driver_data->reg_cache 0-255
PARAM_VALUE 0 mbhc->component->dev->parent->driver_data->regmap->cache->cached_rbnode->base_reg 0-4294967295
PARAM_VALUE 0 mbhc->component->dev->parent->driver_data->regmap->cache_dirty 0-1
PARAM_VALUE 0 mbhc->component->dev->power.request 0-4
PARAM_VALUE 0 mbhc->component->dev->power.runtime_error s32min-(-17),(-15)-(-14),(-12),(-10)-s32max
PARAM_VALUE 0 mbhc->component->dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 mbhc->component->io_mutex->first_waiter->task->blocked_lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 mbhc->component->io_mutex.dep_map->name 0-255
PARAM_VALUE 0 mbhc->component->io_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 mbhc->component->io_mutex.first_waiter->list.prev->prev 0,5159360019465732096
PARAM_VALUE 0 mbhc->component->io_mutex.first_waiter->magic 5159360019465732096
PARAM_VALUE 0 mbhc->component->io_mutex.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 mbhc->component->io_mutex.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 mbhc->component->io_mutex.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 mbhc->component->io_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 mbhc->component->io_mutex.first_waiter->task->blocked_on (-1)-0
PARAM_VALUE 0 mbhc->component->io_mutex.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 mbhc->component->regmap->async 0-1
PARAM_VALUE 0 mbhc->component->regmap->cache->cached_rbnode->base_reg 0-4294967295
PARAM_VALUE 0 mbhc->component->regmap->cache->cached_rbnode->blklen 0-4294967295
PARAM_VALUE 0 mbhc->component->regmap->cache->cached_rbnode->node.__rb_parent_color 0-1
PARAM_VALUE 0 mbhc->component->regmap->cache_dirty 0-1
PARAM_VALUE 0 mbhc->fields 4096-ptr_max
PARAM_VALUE 0 mbhc->hs_detect_work_stop 1
PARAM_VALUE 0 mbhc->intr_ids 4096-ptr_max
PARAM_VALUE 0 mbhc->mbhc_cb 4096-ptr_max
PARAM_VALUE 0 mbhc->mbhc_cb->bcs_enable 0
PARAM_VALUE 0 mbhc->mbhc_cb->get_micbias_val 0
PARAM_VALUE 0 mbhc->mbhc_cb->mbhc_micb_ctrl_thr_mic 0,791778183594070016,1707956648252375040,5980644028616884224,6008514189497888768
PARAM_VALUE 0 mbhc->swap_thr 0-s32max
PARAM_VALUE 0 *mbhc->component->dev->driver_data->ctl_cache 0-255
PARAM_VALUE 0 *mbhc->component->dev->driver_data->reg_cache 0-u16max
PARAM_VALUE 0 *mbhc->component->io_mutex.first_waiter->task->blocked_lock.owner (-4611686018427387904)-4611686018427387903
CAPPED_DATA 0 mbhc->swap_thr 1
NOCHECK_CALL
HALF_LOCKED2 &pool->lock

sound/soc/codecs/wcd-mbhc-v2.c wcd_correct_swch_plug() -> wcd_micbias_disable()

Type Parameter Key Value
PARAM_VALUE 0 mbhc 4096-ptr_max
PARAM_VALUE 0 mbhc->cfg 4096-ptr_max
PARAM_VALUE 0 mbhc->component 4096-ptr_max
PARAM_VALUE 0 mbhc->component->dev 4096-ptr_max
PARAM_VALUE 0 mbhc->component->dev->driver_data->i2c->adapter->dev.parent->devt 0-4294967295
PARAM_VALUE 0 mbhc->component->dev->driver_data->i2c->adapter->dev.parent->dma_uses_io_tlb 0-1
PARAM_VALUE 0 mbhc->component->dev->driver_data->i2c->adapter->dev.parent->id 0-4294967295
PARAM_VALUE 0 mbhc->component->dev->driver_data->i2c->adapter->dev.parent->kobj.release.cpu s32min-s32max
PARAM_VALUE 0 mbhc->component->dev->driver_data->i2c->adapter->dev.parent->kobj.state_in_sysfs 0-1
PARAM_VALUE 0 mbhc->component->dev->driver_data->i2c->adapter->dev.parent->kobj.uevent_suppress 0-1
PARAM_VALUE 0 mbhc->component->dev->driver_data->i2c->adapter->dev.parent->links.status 0-4294967295
PARAM_VALUE 0 mbhc->component->dev->driver_data->i2c->adapter->dev.parent->numa_node s32min-s32max
PARAM_VALUE 0 mbhc->component->dev->driver_data->i2c->adapter->dev.parent->removable 0-4294967295
PARAM_VALUE 0 mbhc->component->dev->driver_data->reg_cache 0-255
PARAM_VALUE 0 mbhc->component->dev->parent->driver_data->regmap->cache->cached_rbnode->base_reg 0-4294967295
PARAM_VALUE 0 mbhc->component->dev->parent->driver_data->regmap->cache_dirty 0-1
PARAM_VALUE 0 mbhc->component->dev->power.request 0-4
PARAM_VALUE 0 mbhc->component->dev->power.runtime_error s32min-(-17),(-15)-(-14),(-12),(-10)-s32max
PARAM_VALUE 0 mbhc->component->dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 mbhc->component->io_mutex->first_waiter->task->blocked_lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 mbhc->component->io_mutex.dep_map->name 0-255
PARAM_VALUE 0 mbhc->component->io_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 mbhc->component->io_mutex.first_waiter->list.prev->prev 0,5159360019465732096
PARAM_VALUE 0 mbhc->component->io_mutex.first_waiter->magic 5159360019465732096
PARAM_VALUE 0 mbhc->component->io_mutex.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 mbhc->component->io_mutex.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 mbhc->component->io_mutex.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 mbhc->component->io_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 mbhc->component->io_mutex.first_waiter->task->blocked_on (-1)-0
PARAM_VALUE 0 mbhc->component->io_mutex.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 mbhc->component->regmap->async 0-1
PARAM_VALUE 0 mbhc->component->regmap->cache->cached_rbnode->base_reg 0-4294967295
PARAM_VALUE 0 mbhc->component->regmap->cache->cached_rbnode->blklen 0-4294967295
PARAM_VALUE 0 mbhc->component->regmap->cache->cached_rbnode->node.__rb_parent_color 0-1
PARAM_VALUE 0 mbhc->component->regmap->cache_dirty 0-1
PARAM_VALUE 0 mbhc->fields 4096-ptr_max
PARAM_VALUE 0 mbhc->intr_ids 4096-ptr_max
PARAM_VALUE 0 mbhc->mbhc_cb 4096-ptr_max
PARAM_VALUE 0 mbhc->mbhc_cb->bcs_enable 0
PARAM_VALUE 0 mbhc->mbhc_cb->get_micbias_val 0
PARAM_VALUE 0 mbhc->mbhc_cb->mbhc_micb_ctrl_thr_mic 0,791778183594070016,1707956648252375040,5980644028616884224,6008514189497888768
PARAM_VALUE 0 mbhc->mbhc_cb->mbhc_micbias_control 0,1555158437056573440,3691220145331490816,7378825945770364928,8704074557462269952
PARAM_VALUE 0 mbhc->mbhc_cb->set_micbias_value 0
PARAM_VALUE 0 mbhc->swap_thr 0-s32max
PARAM_VALUE 0 *mbhc->component->dev->driver_data->ctl_cache 0-255
PARAM_VALUE 0 *mbhc->component->dev->driver_data->reg_cache 0-u16max
PARAM_VALUE 0 *mbhc->component->io_mutex.first_waiter->task->blocked_lock.owner (-4611686018427387904)-4611686018427387903
CAPPED_DATA 0 mbhc->swap_thr 1
NOCHECK_CALL
HALF_LOCKED2 &pool->lock

sound/soc/codecs/wcd-mbhc-v2.c wcd_mbhc_report_plug_removal() -> wcd_micbias_disable()

Type Parameter Key Value
PARAM_VALUE 0 mbhc 4096-ptr_max
PARAM_VALUE 0 mbhc->component->dev->iommu->attach_deferred 0-1
PARAM_VALUE 0 mbhc->component->dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 mbhc->component->io_mutex->first_waiter->task->blocked_lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 mbhc->component->io_mutex.dep_map->name 0-255
PARAM_VALUE 0 mbhc->component->io_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 mbhc->component->io_mutex.first_waiter->list.prev->prev 0,5159360019465732096
PARAM_VALUE 0 mbhc->component->io_mutex.first_waiter->magic 5159360019465732096
PARAM_VALUE 0 mbhc->component->io_mutex.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 mbhc->component->io_mutex.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 mbhc->component->io_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 mbhc->component->io_mutex.first_waiter->task->blocked_on (-1)-0
PARAM_VALUE 0 mbhc->component->io_mutex.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 mbhc->component->regmap->async 0
PARAM_VALUE 0 mbhc->component->regmap->cache->cached_rbnode->base_reg 0-4294967295
PARAM_VALUE 0 mbhc->component->regmap->cache->cached_rbnode->blklen 0-4294967295
PARAM_VALUE 0 mbhc->component->regmap->cache->cached_rbnode->node.__rb_parent_color 0-1
PARAM_VALUE 0 mbhc->component->regmap->cache_dirty 0-1
PARAM_VALUE 0 mbhc->component->regmap->rd_table->n_no_ranges 0-4,6,8,10,15
PARAM_VALUE 0 mbhc->component->regmap->rd_table->n_yes_ranges 0-18,20,22-25,27,29,43,55-56,83,105,187,243
PARAM_VALUE 0 mbhc->current_plug 1-3
PARAM_VALUE 0 mbhc->fields 4096-ptr_max
PARAM_VALUE 0 mbhc->intr_ids 4096-ptr_max
PARAM_VALUE 0 mbhc->lock.dep_map->name 0-255
PARAM_VALUE 0 mbhc->lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 mbhc->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 mbhc->lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 mbhc->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 mbhc->lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 mbhc->mbhc_btn_dwork.work.lockdep_map->name 0-255
PARAM_VALUE 0 mbhc->mbhc_cb 4096-ptr_max
PARAM_VALUE 0 mbhc->mbhc_cb->bcs_enable 0
PARAM_VALUE 0 mbhc->mbhc_cb->get_micbias_val 0
PARAM_VALUE 0 mbhc->mbhc_cb->mbhc_micb_ctrl_thr_mic 0,791778183594070016,1707956648252375040,5980644028616884224,6008514189497888768
PARAM_VALUE 0 mbhc->mbhc_cb->mbhc_micb_ramp_control 0,288297961398972416,753068949962604544,757095063608782848,4845579633694035968
PARAM_VALUE 0 mbhc->mbhc_cb->set_micbias_value 0
PARAM_VALUE 0 *mbhc->component->io_mutex.first_waiter->task->blocked_lock.owner (-4611686018427387904)-4611686018427387903
CAPPED_DATA 0 mbhc->component->regmap->rd_table->n_no_ranges 1
CAPPED_DATA 0 mbhc->component->regmap->rd_table->n_yes_ranges 1
DATA_SOURCE 0 mbhc $0
RX_PATH
NOCHECK_CALL
LOCK2 0 &mbhc->lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct wcd_mbhc)->lock