Defined in 2 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/phy/mediatek/phy-mtk-xsphy.c mtk_phy_set_mode() -> u2_phy_instance_set_mode()

Type Parameter Key Value
PARAM_VALUE 1 instance 4096-ptr_max
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
DATA_SOURCE 2 mode $1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 tphy unit_byte
UNITS 1 instance unit_byte
LOCK2 &phy->mutex
HALF_LOCKED2 &cdns->mutex
HALF_LOCKED2 &dwc->mutex
HALF_LOCKED2 &musb->lock
HALF_LOCKED2 &udc->connect_lock
HALF_LOCKED2 flags
TYPE_LOCK (struct phy)->mutex

drivers/phy/mediatek/phy-mtk-tphy.c mtk_phy_set_mode() -> u2_phy_instance_set_mode()

Type Parameter Key Value
PARAM_VALUE 1 instance 4096-ptr_max
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
DATA_SOURCE 2 mode $1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 tphy unit_byte
UNITS 1 instance unit_byte
LOCK2 &phy->mutex
HALF_LOCKED2 &cdns->mutex
HALF_LOCKED2 &dwc->mutex
HALF_LOCKED2 &musb->lock
HALF_LOCKED2 &udc->connect_lock
HALF_LOCKED2 flags
TYPE_LOCK (struct phy)->mutex