Defined in 2 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/phy/realtek/phy-rtk-usb3.c rtk_phy_init() -> do_rtk_phy_init()

Type Parameter Key Value
PARAM_VALUE 0 rtk_phy 4096-ptr_max
PARAM_VALUE 0 rtk_phy->num_phy 1-s32max
PARAM_VALUE 1 index 0-s32max
BUF_SIZE 0 rtk_phy s32min-(-2),1-s32max
BUF_SIZE 0 rtk_phy s32min-(-2),1-s32max
CAPPED_DATA 1 index 1
PARAM_COMPARE 1 index < $0->num_phy
CONSTRAINT 1 index <782
RX_PATH
TASK_NOT_RUNNING
UNITS 0 rtk_phy unit_byte
UNITS 1 index unit_array_size
LOCK2 &phy->mutex
HALF_LOCKED2 &phy->mutex
HALF_LOCKED2 &udc->connect_lock
TYPE_LOCK (struct phy)->mutex

drivers/phy/realtek/phy-rtk-usb2.c rtk_phy_init() -> do_rtk_phy_init()

Type Parameter Key Value
PARAM_VALUE 0 rtk_phy 4096-ptr_max
PARAM_VALUE 0 rtk_phy->num_phy 1-s32max
PARAM_VALUE 0 rtk_phy->phy_cfg->page0->addr 1-47,224,226-231,245,247
PARAM_VALUE 0 rtk_phy->phy_cfg->page1->addr 1-47,224,226-231,245,247
PARAM_VALUE 1 index 0-s32max
BUF_SIZE 0 rtk_phy s32min-(-2),1-s32max
BUF_SIZE 0 rtk_phy s32min-(-2),1-s32max
CAPPED_DATA 1 index 1
PARAM_COMPARE 1 index < $0->num_phy
CONSTRAINT 1 index <782
RX_PATH
TASK_NOT_RUNNING
UNITS 0 rtk_phy unit_byte
UNITS 1 index unit_array_size
LOCK2 &phy->mutex
HALF_LOCKED2 &phy->mutex
HALF_LOCKED2 &udc->connect_lock
TYPE_LOCK (struct phy)->mutex