Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/gpu/drm/bridge/tc358767.c tc_aux_link_setup() -> tc_poll_timeout()

Type Parameter Key Value
PARAM_VALUE 0 tc 4096-ptr_max
PARAM_VALUE 0 tc->assr 0-1
PARAM_VALUE 0 tc->bridge.ops 0,2-u32max
PARAM_VALUE 0 tc->bridge.type 10
PARAM_VALUE 0 tc->dev 4096-ptr_max
PARAM_VALUE 0 tc->dev->devres_head.prev 4096-ptr_max
PARAM_VALUE 0 tc->dev->of_node 0,4096-ptr_max
PARAM_VALUE 0 tc->hpd_pin (-19),0-1
PARAM_VALUE 0 tc->refclk 4096-ptr_max
PARAM_VALUE 0 tc->refclk->core->dev->power.deferred_resume 0-1
PARAM_VALUE 0 tc->refclk->core->dev->power.idle_notification 0-1
PARAM_VALUE 0 tc->refclk->core->dev->power.request 0-4294967295
PARAM_VALUE 0 tc->refclk->core->dev->power.request_pending 0-1
PARAM_VALUE 0 tc->refclk->core->dev->power.runtime_error s32min-s32max
PARAM_VALUE 0 tc->refclk->core->dev->power.runtime_status s32min-s32max
PARAM_VALUE 0 tc->refclk->core->dev->power.timer_autosuspends 0-1
PARAM_VALUE 0 tc->refclk->core->dev->power.usage_count.counter s32min-s32max
PARAM_VALUE 0 tc->refclk->core->dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 tc->regmap 4096-ptr_max
PARAM_VALUE 0 tc->regmap->cache->cached_rbnode->blklen 1-4294967295
PARAM_VALUE 0 tc->regmap->cache_dirty 1
PARAM_VALUE 0 tc->reset_gpio 0,4096-ptr_max
PARAM_VALUE 0 tc->rev 26113,26115
PARAM_VALUE 0 tc->sd_gpio 0,4096-ptr_max
PARAM_VALUE 0 *tc->pre_emphasis 0-255
PARAM_VALUE 0 *tc->regmap->cache->data 0-4294967295
PARAM_VALUE 1 addr 2048
PARAM_VALUE 2 cond_mask 65536
PARAM_VALUE 3 cond_value 65536
PARAM_VALUE 4 sleep_us 100
PARAM_VALUE 5 timeout_us 100000
BUF_SIZE 0 tc->dev 1616
BUF_SIZE 0 tc->refclk (-1),1-s32max
BUF_SIZE 0 tc->reset_gpio s32min,(-1),1-s32max
BUF_SIZE 0 tc->sd_gpio s32min,(-1),1-s32max
CAPPED_DATA 0 tc->refclk->core 1
CAPPED_DATA 0 tc->regmap->wr_table->n_no_ranges 1
CAPPED_DATA 0 tc->regmap->wr_table->n_yes_ranges 1
CAPPED_DATA 0 tc->reset_gpio 1
CAPPED_DATA 0 tc->sd_gpio 1
DATA_SOURCE 0 tc $0
FUZZY_MAX 0 tc->assr 1
BIT_INFO 0 tc->hpd_pin 0x0,0xffffffed
BIT_INFO 0 tc->rev 0x6601,0xffffffffffffffff
HARD_MAX 0 tc->assr 1
RX_PATH
TASK_NOT_RUNNING

drivers/gpu/drm/bridge/tc358767.c tc_aux_wait_busy() -> tc_poll_timeout()

Type Parameter Key Value
PARAM_VALUE 0 tc 4096-ptr_max
PARAM_VALUE 1 addr 1676
PARAM_VALUE 2 cond_mask 1
PARAM_VALUE 3 cond_value 0
PARAM_VALUE 4 sleep_us 100
PARAM_VALUE 5 timeout_us 100000
DATA_SOURCE 0 tc $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &aux->hw_mutex

drivers/gpu/drm/bridge/tc358767.c tc_main_link_enable() -> tc_poll_timeout()

Type Parameter Key Value
PARAM_VALUE 0 tc 4096-ptr_max
PARAM_VALUE 0 tc->aux.hw_mutex.dep_map->name 0-255
PARAM_VALUE 0 tc->aux.hw_mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 tc->aux.hw_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 tc->aux.hw_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 tc->aux.hw_mutex.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 tc->aux.hw_mutex.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 tc->aux.hw_mutex.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 tc->aux.hw_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 tc->aux.hw_mutex.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 tc->link.assr 0-1
PARAM_VALUE 0 tc->link.num_lanes 0-2
PARAM_VALUE 0 tc->link.rate 162000,270000
PARAM_VALUE 0 tc->link.scrambler_dis 0
PARAM_VALUE 0 tc->pre_emphasis 4096-ptr_max
PARAM_VALUE 0 tc->refclk 4096-ptr_max
PARAM_VALUE 0 tc->refclk->core->dev->power.deferred_resume 0-1
PARAM_VALUE 0 tc->refclk->core->dev->power.idle_notification 0-1
PARAM_VALUE 0 tc->refclk->core->dev->power.request 0-4294967295
PARAM_VALUE 0 tc->refclk->core->dev->power.request_pending 0-1
PARAM_VALUE 0 tc->refclk->core->dev->power.runtime_error s32min-s32max
PARAM_VALUE 0 tc->refclk->core->dev->power.runtime_status s32min-s32max
PARAM_VALUE 0 tc->refclk->core->dev->power.timer_autosuspends 0-1
PARAM_VALUE 0 tc->refclk->core->dev->power.usage_count.counter s32min-s32max
PARAM_VALUE 0 tc->refclk->core->dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 tc->regmap 4096-ptr_max
PARAM_VALUE 0 tc->regmap->cache->cached_rbnode->blklen 0-4294967295
PARAM_VALUE 0 tc->regmap->cache_dirty 1
PARAM_VALUE 0 tc->regmap->lock 4096-ptr_max
PARAM_VALUE 0 tc->regmap->unlock 4096-ptr_max
PARAM_VALUE 0 *tc->link.dpcd 0-255
PARAM_VALUE 0 *tc->regmap->cache->data 0-4294967295
PARAM_VALUE 1 addr 2048
PARAM_VALUE 2 cond_mask 65536
PARAM_VALUE 3 cond_value 65536
PARAM_VALUE 4 sleep_us 500
PARAM_VALUE 5 timeout_us 100000
CAPPED_DATA 0 tc->refclk->core 1
CAPPED_DATA 0 tc->regmap->wr_table->n_no_ranges 1
CAPPED_DATA 0 tc->regmap->wr_table->n_yes_ranges 1
DATA_SOURCE 0 tc $0
BIT_INFO 0 tc->link.rate 0x1890,0xffffffffffffffff
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &first_bridge->encoder->bridge_chain_mutex
HALF_LOCKED2 &state->dev->mode_config.connection_mutex
HALF_LOCKED2 &state->dev->mode_config.connection_mutex.mutex

drivers/gpu/drm/bridge/tc358767.c tc_wait_link_training() -> tc_poll_timeout()

Type Parameter Key Value
PARAM_VALUE 0 tc 4096-ptr_max
PARAM_VALUE 0 tc->aux.hw_mutex->first_waiter->task->blocked_lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 tc->aux.hw_mutex.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 tc->link.assr 0-1
PARAM_VALUE 0 tc->link.num_lanes 0-2
PARAM_VALUE 0 tc->link.rate 162000,270000
PARAM_VALUE 0 tc->pre_emphasis 4096-ptr_max
PARAM_VALUE 0 tc->refclk 4096-ptr_max
PARAM_VALUE 0 tc->refclk->core->dev->power.deferred_resume 0-1
PARAM_VALUE 0 tc->refclk->core->dev->power.idle_notification 0-1
PARAM_VALUE 0 tc->refclk->core->dev->power.request 0-4294967295
PARAM_VALUE 0 tc->refclk->core->dev->power.request_pending 0-1
PARAM_VALUE 0 tc->refclk->core->dev->power.runtime_error s32min-s32max
PARAM_VALUE 0 tc->refclk->core->dev->power.runtime_status s32min-s32max
PARAM_VALUE 0 tc->refclk->core->dev->power.timer_autosuspends 0-1
PARAM_VALUE 0 tc->refclk->core->dev->power.usage_count.counter s32min-s32max
PARAM_VALUE 0 tc->refclk->core->dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 tc->regmap 4096-ptr_max
PARAM_VALUE 0 tc->regmap->async 0
PARAM_VALUE 0 tc->regmap->cache->cached_rbnode->blklen 1-4294967295
PARAM_VALUE 0 tc->regmap->cache->cached_rbnode->node.__rb_parent_color 0-1
PARAM_VALUE 0 tc->regmap->cache_dirty 1
PARAM_VALUE 0 *tc->link.dpcd 0-255
PARAM_VALUE 0 *tc->regmap->cache->data 0-4294967295
PARAM_VALUE 1 addr 1744
PARAM_VALUE 2 cond_mask 8192
PARAM_VALUE 3 cond_value 8192
PARAM_VALUE 4 sleep_us 500
PARAM_VALUE 5 timeout_us 100000
CAPPED_DATA 0 tc->link.assr 1
CAPPED_DATA 0 tc->refclk->core 1
CAPPED_DATA 0 tc->regmap->precious_table->n_no_ranges 1
CAPPED_DATA 0 tc->regmap->rd_table->n_no_ranges 1
CAPPED_DATA 0 tc->regmap->rd_table->n_yes_ranges 1
CAPPED_DATA 0 tc->regmap->volatile_table->n_no_ranges 1
CAPPED_DATA 0 tc->regmap->volatile_table->n_yes_ranges 1
CAPPED_DATA 0 tc->regmap->wr_table->n_no_ranges 1
CAPPED_DATA 0 tc->regmap->wr_table->n_yes_ranges 1
DATA_SOURCE 0 tc $0
BIT_INFO 0 tc->link.rate 0x1890,0xffffffffffffffff
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &first_bridge->encoder->bridge_chain_mutex
HALF_LOCKED2 &state->dev->mode_config.connection_mutex
HALF_LOCKED2 &state->dev->mode_config.connection_mutex.mutex