Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/usb/mtu3/mtu3_dr.c ssusb_extcon_register() -> ssusb_set_mode()

Type Parameter Key Value
PARAM_VALUE 0 otg_sx 4096-ptr_max
PARAM_VALUE 0 otg_sx->edev 4096-ptr_max
PARAM_VALUE 0 otg_sx->edev->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 otg_sx->edev->max_supported 1-s32max
PARAM_VALUE 0 otg_sx->id_nb.next 0,4096-ptr_max
PARAM_VALUE 0 otg_sx->id_nb.notifier_call 2311716556938649600
PARAM_VALUE 0 otg_sx->manual_drd_enabled 0
PARAM_VALUE 0 otg_sx->role_sw_used 0
PARAM_VALUE 0 otg_sx->vbus 4096-ptr_max
PARAM_VALUE 1 role 2
BUF_SIZE 0 otg_sx 144
CAPPED_DATA 0 &otg_sx->id_nb 1
DATA_SOURCE 0 otg_sx $0
MEM_ZERO 0 otg_sx
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/usb/mtu3/mtu3_dr.c ssusb_id_notifier() -> ssusb_set_mode()

Type Parameter Key Value
PARAM_VALUE 0 otg_sx 4096-ptr_max
PARAM_VALUE 1 role 1-2
FUZZY_MAX 1 role 2
HARD_MAX 1 role 2
NOCHECK_CALL

drivers/usb/mtu3/mtu3_dr.c ssusb_mode_switch() -> ssusb_set_mode()

Type Parameter Key Value
PARAM_VALUE 0 otg_sx 4096-ptr_max
PARAM_VALUE 1 role 1-2
BUF_SIZE 0 otg_sx 144
FUZZY_MAX 1 role 2
HARD_MAX 1 role 2
NOCHECK_CALL

drivers/usb/mtu3/mtu3_dr.c ssusb_role_sw_register() -> ssusb_set_mode()

Type Parameter Key Value
PARAM_VALUE 0 otg_sx 4096-ptr_max
PARAM_VALUE 0 otg_sx->default_role 1-2
PARAM_VALUE 0 otg_sx->edev 4096-ptr_max
PARAM_VALUE 0 otg_sx->manual_drd_enabled 0
PARAM_VALUE 0 otg_sx->role_sw 4096-ptr_max
PARAM_VALUE 0 otg_sx->role_sw->allow_userspace_control 1
PARAM_VALUE 0 otg_sx->role_sw->dev.dma_io_tlb_mem->dyn_alloc.data.counter 9007199250546704
PARAM_VALUE 0 otg_sx->role_sw->dev.dma_io_tlb_mem->dyn_alloc.entry.prev 1473117533515866344
PARAM_VALUE 0 otg_sx->role_sw->dev.dma_io_tlb_mem->dyn_alloc.func 1583282886040592384
PARAM_VALUE 0 otg_sx->role_sw->dev.dma_io_tlb_mem->pools.prev 1473117533515866320
PARAM_VALUE 0 otg_sx->role_sw->dev.fwnode->dev->power.set_latency_tolerance 5740181548905971712
PARAM_VALUE 0 otg_sx->role_sw->dev.kobj.release.timer.is_hard 0-1
PARAM_VALUE 0 otg_sx->role_sw->dev.kobj.release.timer.is_lazy 0-1
PARAM_VALUE 0 otg_sx->role_sw->dev.kobj.release.timer.is_queued 0-1
PARAM_VALUE 0 otg_sx->role_sw->dev.kobj.release.timer.is_soft 0-1
PARAM_VALUE 0 otg_sx->role_sw->dev.kobj.sd->active.counter (-2147483647)
PARAM_VALUE 0 otg_sx->role_sw->dev.kobj.sd->attr.notify_next 0,426918848001064960
PARAM_VALUE 0 otg_sx->role_sw->dev.p->klist_children.get 2213798222526185472
PARAM_VALUE 0 otg_sx->role_sw->dev.p->klist_children.put 3126867300421632000
PARAM_VALUE 0 otg_sx->role_sw->dev.p->knode_bus.n_ref.refcount.refs.counter 1
PARAM_VALUE 0 otg_sx->role_sw->dev.p->knode_class.n_ref.refcount.refs.counter 1
PARAM_VALUE 0 otg_sx->role_sw->dev.p->knode_parent.n_ref.refcount.refs.counter 1
PARAM_VALUE 0 otg_sx->role_sw->get 8557546958683979776
PARAM_VALUE 0 otg_sx->role_sw->lock.dep_map->name 0-255
PARAM_VALUE 0 otg_sx->role_sw->lock.first_waiter 0
PARAM_VALUE 0 otg_sx->role_sw->lock.osq.tail.counter 0
PARAM_VALUE 0 otg_sx->role_sw->lock.owner.counter 0
PARAM_VALUE 0 otg_sx->role_sw->registered 1
PARAM_VALUE 0 otg_sx->role_sw->set 5749851139594174464
PARAM_VALUE 0 otg_sx->role_sw->udc 0
PARAM_VALUE 0 otg_sx->role_sw->usb2_port 0
PARAM_VALUE 0 otg_sx->role_sw->usb3_port 0
PARAM_VALUE 0 otg_sx->vbus 4096-ptr_max
PARAM_VALUE 1 role 1-2
BUF_SIZE 0 otg_sx 144
BUF_SIZE 0 otg_sx->role_sw 1848
DATA_SOURCE 0 otg_sx $0
FUZZY_MAX 0 otg_sx->default_role 2
FUZZY_MAX 1 role 2
HARD_MAX 0 otg_sx->default_role 2
HARD_MAX 1 role 2
MEM_ZERO 0 otg_sx
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/usb/mtu3/mtu3_dr.c ssusb_role_sw_set() -> ssusb_set_mode()

Type Parameter Key Value
PARAM_VALUE 0 otg_sx 4096-ptr_max
BUF_SIZE 0 otg_sx 144
DATA_SOURCE 1 role $1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
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