Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/usb/musb/mediatek.c mtk_musb_set_mode() -> mtk_otg_switch_set()

Type Parameter Key Value
PARAM_VALUE 0 glue 4096-ptr_max
PARAM_VALUE 0 glue->phy_mode 0-1,6,11
PARAM_VALUE 1 role 0-2
BUF_SIZE 0 glue s32min-(-2),1-s32max
BUF_SIZE 0 glue s32min-(-2),1-s32max
FUZZY_MAX 1 role 2
HARD_MAX 1 role 2
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 glue unit_byte
HALF_LOCKED2 &musb->lock
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 flags

drivers/usb/musb/mediatek.c musb_usb_role_sx_set() -> mtk_otg_switch_set()

Type Parameter Key Value
BUF_SIZE 0 glue s32min-(-2),1-s32max
DATA_SOURCE 1 role $1
RX_PATH
TASK_NOT_RUNNING
LOCK2 &sw->lock
HALF_LOCKED2 &con->lock
HALF_LOCKED2 &info->mutex
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 _T->lock
TYPE_LOCK (struct usb_role_switch)->lock