Defined in 2 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/phy/mediatek/phy-mtk-xsphy.c mtk_phy_init() -> u2_phy_props_set()

Type Parameter Key Value
PARAM_VALUE 1 instance 4096-ptr_max
PARAM_VALUE 1 instance->ref_clk 0,4096-ptr_max
PARAM_VALUE 1 instance->ref_clk->core->dev->power.deferred_resume 0-1
PARAM_VALUE 1 instance->ref_clk->core->dev->power.idle_notification 0-1
PARAM_VALUE 1 instance->ref_clk->core->dev->power.request 0-4
PARAM_VALUE 1 instance->ref_clk->core->dev->power.request_pending 0-1
PARAM_VALUE 1 instance->ref_clk->core->dev->power.runtime_error s32min-(-17),(-15)-(-14),(-12),(-10)-s32max
PARAM_VALUE 1 instance->ref_clk->core->dev->power.runtime_status s32min-s32max
PARAM_VALUE 1 instance->ref_clk->core->dev->power.timer_autosuspends 0-1
PARAM_VALUE 1 instance->ref_clk->core->dev->power.usage_count.counter s32min-s32max
PARAM_VALUE 1 instance->ref_clk->core->dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 1 instance->ref_clk->core->enable_count 0-4294967295
PARAM_VALUE 1 instance->ref_clk->core->parent->dev->power.deferred_resume 0-1
PARAM_VALUE 1 instance->ref_clk->core->parent->dev->power.idle_notification 0-1
PARAM_VALUE 1 instance->ref_clk->core->parent->dev->power.request 0-4
PARAM_VALUE 1 instance->ref_clk->core->parent->dev->power.request_pending 0-1
PARAM_VALUE 1 instance->ref_clk->core->parent->dev->power.runtime_error s32min-(-17),(-15)-(-14),(-12),(-10)-s32max
PARAM_VALUE 1 instance->ref_clk->core->parent->dev->power.runtime_status s32min-s32max
PARAM_VALUE 1 instance->ref_clk->core->parent->dev->power.timer_autosuspends 0-1
PARAM_VALUE 1 instance->ref_clk->core->parent->dev->power.usage_count.counter s32min-s32max
PARAM_VALUE 1 instance->ref_clk->core->parent->dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 1 instance->ref_clk->core->parent->enable_count 0-4294967295
PARAM_VALUE 1 instance->ref_clk->core->parent->prepare_count 0-4294967295
PARAM_VALUE 1 instance->ref_clk->core->parent->protect_count 0-4294967295
PARAM_VALUE 1 instance->ref_clk->core->prepare_count 1-4294967295
PARAM_VALUE 1 instance->ref_clk->core->protect_count 0-4294967295
PARAM_VALUE 1 instance->type 3
BUF_SIZE 0 tphy s32min-(-2),1-s32max
BUF_SIZE 0 tphy s32min-(-2),1-s32max
BUF_SIZE 1 instance s32min-(-2),1-s32max
BUF_SIZE 1 instance s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 tphy unit_byte
UNITS 1 instance unit_byte
LOCK2 &phy->mutex
HALF_LOCKED2 &phy->mutex
HALF_LOCKED2 &udc->connect_lock
TYPE_LOCK (struct phy)->mutex

drivers/phy/mediatek/phy-mtk-tphy.c mtk_phy_init() -> u2_phy_props_set()

Type Parameter Key Value
PARAM_VALUE 0 tphy 4096-ptr_max
PARAM_VALUE 0 tphy->pdata 4096-ptr_max
PARAM_VALUE 1 instance 4096-ptr_max
PARAM_VALUE 1 instance->type 3
BUF_SIZE 0 tphy s32min-(-2),1-s32max
BUF_SIZE 0 tphy s32min-(-2),1-s32max
BUF_SIZE 1 instance s32min-(-2),1-s32max
BUF_SIZE 1 instance s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 tphy unit_byte
UNITS 1 instance unit_byte
LOCK2 &phy->mutex
HALF_LOCKED2 &phy->mutex
HALF_LOCKED2 &udc->connect_lock
TYPE_LOCK (struct phy)->mutex