Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/phy/rockchip/phy-rockchip-typec.c rockchip_dp_phy_power_on() -> tcphy_phy_init()

Type Parameter Key Value
PARAM_VALUE 0 tcphy 4096-ptr_max
PARAM_VALUE 0 tcphy->clk_core 0,4096-u64max
PARAM_VALUE 0 tcphy->clk_core->core->dev->power.deferred_resume 0-1
PARAM_VALUE 0 tcphy->clk_core->core->dev->power.idle_notification 0-1
PARAM_VALUE 0 tcphy->clk_core->core->dev->power.request 0-4
PARAM_VALUE 0 tcphy->clk_core->core->dev->power.request_pending 0-1
PARAM_VALUE 0 tcphy->clk_core->core->dev->power.runtime_error s32min-(-17),(-15)-(-14),(-12),(-10)-s32max
PARAM_VALUE 0 tcphy->clk_core->core->dev->power.runtime_status 0,2
PARAM_VALUE 0 tcphy->clk_core->core->dev->power.timer_autosuspends 0-1
PARAM_VALUE 0 tcphy->clk_core->core->dev->power.usage_count.counter s32min-s32max
PARAM_VALUE 0 tcphy->clk_core->core->dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 tcphy->clk_core->core->enable_count 0-4294967295
PARAM_VALUE 0 tcphy->clk_core->core->parent->dev->power.deferred_resume 0-1
PARAM_VALUE 0 tcphy->clk_core->core->parent->dev->power.idle_notification 0-1
PARAM_VALUE 0 tcphy->clk_core->core->parent->dev->power.request 0-4294967295
PARAM_VALUE 0 tcphy->clk_core->core->parent->dev->power.request_pending 0-1
PARAM_VALUE 0 tcphy->clk_core->core->parent->dev->power.runtime_error s32min-s32max
PARAM_VALUE 0 tcphy->clk_core->core->parent->dev->power.runtime_status 0,2
PARAM_VALUE 0 tcphy->clk_core->core->parent->dev->power.timer_autosuspends 0-1
PARAM_VALUE 0 tcphy->clk_core->core->parent->dev->power.usage_count.counter s32min-s32max
PARAM_VALUE 0 tcphy->clk_core->core->parent->dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 tcphy->clk_core->core->parent->enable_count 0-4294967295
PARAM_VALUE 0 tcphy->clk_core->core->parent->prepare_count 0-4294967295
PARAM_VALUE 0 tcphy->clk_core->core->parent->protect_count 0-4294967295
PARAM_VALUE 0 tcphy->clk_core->core->prepare_count 0-4294967295
PARAM_VALUE 0 tcphy->clk_core->core->protect_count 0-4294967295
PARAM_VALUE 0 tcphy->clk_ref 0,4096-u64max
PARAM_VALUE 0 tcphy->clk_ref->core->dev->power.deferred_resume 0-1
PARAM_VALUE 0 tcphy->clk_ref->core->dev->power.idle_notification 0-1
PARAM_VALUE 0 tcphy->clk_ref->core->dev->power.request 0-4
PARAM_VALUE 0 tcphy->clk_ref->core->dev->power.request_pending 0-1
PARAM_VALUE 0 tcphy->clk_ref->core->dev->power.runtime_error s32min-(-17),(-15)-(-14),(-12),(-10)-s32max
PARAM_VALUE 0 tcphy->clk_ref->core->dev->power.runtime_status 0,2
PARAM_VALUE 0 tcphy->clk_ref->core->dev->power.timer_autosuspends 0-1
PARAM_VALUE 0 tcphy->clk_ref->core->dev->power.usage_count.counter s32min-s32max
PARAM_VALUE 0 tcphy->clk_ref->core->dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 tcphy->clk_ref->core->enable_count 0-4294967295
PARAM_VALUE 0 tcphy->clk_ref->core->parent->dev->power.deferred_resume 0-1
PARAM_VALUE 0 tcphy->clk_ref->core->parent->dev->power.idle_notification 0-1
PARAM_VALUE 0 tcphy->clk_ref->core->parent->dev->power.request 0-4294967295
PARAM_VALUE 0 tcphy->clk_ref->core->parent->dev->power.request_pending 0-1
PARAM_VALUE 0 tcphy->clk_ref->core->parent->dev->power.runtime_error s32min-s32max
PARAM_VALUE 0 tcphy->clk_ref->core->parent->dev->power.runtime_status 0,2
PARAM_VALUE 0 tcphy->clk_ref->core->parent->dev->power.timer_autosuspends 0-1
PARAM_VALUE 0 tcphy->clk_ref->core->parent->dev->power.usage_count.counter s32min-s32max
PARAM_VALUE 0 tcphy->clk_ref->core->parent->dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 tcphy->clk_ref->core->parent->enable_count 0-4294967295
PARAM_VALUE 0 tcphy->clk_ref->core->parent->prepare_count 0-4294967295
PARAM_VALUE 0 tcphy->clk_ref->core->parent->protect_count 0-4294967295
PARAM_VALUE 0 tcphy->clk_ref->core->prepare_count 0-4294967295
PARAM_VALUE 0 tcphy->clk_ref->core->protect_count 0-4294967295
PARAM_VALUE 0 tcphy->extcon 4096-ptr_max
PARAM_VALUE 0 tcphy->extcon->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 tcphy->extcon->max_supported 1-s32max
PARAM_VALUE 0 tcphy->flip 0
PARAM_VALUE 0 tcphy->lock.dep_map->name 0-255
PARAM_VALUE 0 tcphy->lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 tcphy->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 tcphy->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 tcphy->lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 tcphy->lock.wait_lock.owner (-1)
PARAM_VALUE 0 tcphy->lock.wait_lock.owner_cpu u32max
PARAM_VALUE 0 tcphy->mode 1-255
PARAM_VALUE 0 tcphy->pipe_rst 0,4096-u64max
PARAM_VALUE 0 tcphy->pipe_rst->array 0-1
PARAM_VALUE 0 tcphy->pipe_rst->deassert_count.counter s32min-s32max
PARAM_VALUE 0 tcphy->tcphy_rst 0,4096-u64max
PARAM_VALUE 0 tcphy->tcphy_rst->array 0-1
PARAM_VALUE 0 tcphy->tcphy_rst->deassert_count.counter s32min-s32max
PARAM_VALUE 0 tcphy->uphy_rst 0,4096-u64max
PARAM_VALUE 0 tcphy->uphy_rst->array 0-1
PARAM_VALUE 0 tcphy->uphy_rst->deassert_count.counter s32min-s32max
PARAM_VALUE 1 mode 4
BUF_SIZE 0 tcphy s32min-(-2),1-s32max
BUF_SIZE 0 tcphy s32min-(-2),1-s32max
CAPPED_DATA 0 tcphy->extcon->max_supported 1
CAPPED_DATA 0 &tcphy->lock 1
DATA_SOURCE 1 mode r tcphy_get_mode
PARAM_COMPARE 1 mode != $0->mode
RX_PATH
TASK_NOT_RUNNING
UNITS 0 tcphy unit_byte
LOCK2 &phy->mutex
LOCK2 0 &tcphy->lock
HALF_LOCKED2 &dp->lock
HALF_LOCKED2 &dw_hdmi->mutex
HALF_LOCKED2 &phydev->lock
HALF_LOCKED2 &state->lock
TYPE_LOCK (struct phy)->mutex
TYPE_LOCK (struct rockchip_typec_phy)->lock

drivers/phy/rockchip/phy-rockchip-typec.c rockchip_dp_phy_power_on() -> tcphy_phy_init()

Type Parameter Key Value
PARAM_VALUE 0 tcphy 4096-ptr_max
PARAM_VALUE 0 tcphy->extcon 0,4096-ptr_max
PARAM_VALUE 0 tcphy->extcon->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 tcphy->extcon->max_supported 1-s32max
PARAM_VALUE 0 tcphy->lock.dep_map->name 0-255
PARAM_VALUE 0 tcphy->lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 tcphy->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 tcphy->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 tcphy->lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 tcphy->lock.wait_lock.owner (-1)
PARAM_VALUE 0 tcphy->lock.wait_lock.owner_cpu u32max
PARAM_VALUE 0 tcphy->mode 0
PARAM_VALUE 1 mode 1-2,4,6
BUF_SIZE 0 tcphy s32min-(-2),1-s32max
BUF_SIZE 0 tcphy s32min-(-2),1-s32max
CAPPED_DATA 0 &tcphy->lock 1
DATA_SOURCE 1 mode r tcphy_get_mode
PARAM_COMPARE 1 mode != $0->mode
BIT_INFO 1 mode 0x4,0x7
RX_PATH
TASK_NOT_RUNNING
UNITS 0 tcphy unit_byte
LOCK2 &phy->mutex
LOCK2 0 &tcphy->lock
HALF_LOCKED2 &dp->lock
HALF_LOCKED2 &dw_hdmi->mutex
HALF_LOCKED2 &phydev->lock
HALF_LOCKED2 &state->lock
TYPE_LOCK (struct phy)->mutex
TYPE_LOCK (struct rockchip_typec_phy)->lock

drivers/phy/rockchip/phy-rockchip-typec.c rockchip_usb3_phy_power_on() -> tcphy_phy_init()

Type Parameter Key Value
PARAM_VALUE 0 tcphy 4096-ptr_max
PARAM_VALUE 0 tcphy->extcon 0,4096-ptr_max
PARAM_VALUE 0 tcphy->extcon->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 tcphy->extcon->max_supported 1-s32max
PARAM_VALUE 0 tcphy->lock.dep_map->name 0-255
PARAM_VALUE 0 tcphy->lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 tcphy->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 tcphy->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 tcphy->lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 tcphy->lock.wait_lock.owner (-1)
PARAM_VALUE 0 tcphy->lock.wait_lock.owner_cpu u32max
PARAM_VALUE 0 tcphy->mode 0
PARAM_VALUE 1 mode 1-2,4,6
BUF_SIZE 0 tcphy s32min-(-2),1-s32max
BUF_SIZE 0 tcphy s32min-(-2),1-s32max
CAPPED_DATA 0 &tcphy->lock 1
DATA_SOURCE 1 mode r tcphy_get_mode
PARAM_COMPARE 1 mode != $0->mode
RX_PATH
TASK_NOT_RUNNING
UNITS 0 tcphy unit_byte
LOCK2 &phy->mutex
LOCK2 0 &tcphy->lock
HALF_LOCKED2 &dp->lock
HALF_LOCKED2 &dw_hdmi->mutex
HALF_LOCKED2 &phydev->lock
HALF_LOCKED2 &state->lock
TYPE_LOCK (struct phy)->mutex
TYPE_LOCK (struct rockchip_typec_phy)->lock