Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 2 files as a function:

Referenced in 16 files:

Smatch caller information:

drivers/usb/dwc3/dwc3-meson-g12a.c dwc3_meson_g12a_remove() -> usb_role_switch_unregister()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &_dev->mutex

drivers/usb/musb/mediatek.c mtk_otg_switch_exit() -> usb_role_switch_unregister()

Type Parameter Key Value
PARAM_VALUE 0 sw 0,4096-u64max
RX_PATH
TASK_NOT_RUNNING

drivers/usb/gadget/udc/renesas_usb3.c renesas_usb3_probe() -> usb_role_switch_unregister()

Type Parameter Key Value
PARAM_VALUE 0 sw 4096-ptr_max
PARAM_VALUE 0 sw->allow_userspace_control 1
PARAM_VALUE 0 sw->dev.dma_io_tlb_mem->dyn_alloc.data.counter 9007199250546704
PARAM_VALUE 0 sw->dev.dma_io_tlb_mem->dyn_alloc.entry.prev 1473117533515866344
PARAM_VALUE 0 sw->dev.dma_io_tlb_mem->dyn_alloc.func 1583282886040592384
PARAM_VALUE 0 sw->dev.dma_io_tlb_mem->pools.prev 1473117533515866320
PARAM_VALUE 0 sw->dev.fwnode->dev->power.set_latency_tolerance 5740181548905971712
PARAM_VALUE 0 sw->dev.kobj.release.timer.is_hard 0-1
PARAM_VALUE 0 sw->dev.kobj.release.timer.is_lazy 0-1
PARAM_VALUE 0 sw->dev.kobj.release.timer.is_queued 0-1
PARAM_VALUE 0 sw->dev.kobj.release.timer.is_soft 0-1
PARAM_VALUE 0 sw->dev.kobj.sd->active.counter (-2147483647)
PARAM_VALUE 0 sw->dev.kobj.sd->attr.notify_next 0,426918848001064960
PARAM_VALUE 0 sw->dev.p->klist_children.get 2213798222526185472
PARAM_VALUE 0 sw->dev.p->klist_children.put 3126867300421632000
PARAM_VALUE 0 sw->dev.p->knode_bus.n_ref.refcount.refs.counter 1
PARAM_VALUE 0 sw->dev.p->knode_class.n_ref.refcount.refs.counter 1
PARAM_VALUE 0 sw->dev.p->knode_parent.n_ref.refcount.refs.counter 1
PARAM_VALUE 0 sw->dev.physical_location->horizontal_position 0
PARAM_VALUE 0 sw->dev.physical_location->panel 0
PARAM_VALUE 0 sw->dev.physical_location->vertical_position 0
PARAM_VALUE 0 sw->get 5221459574727647232
PARAM_VALUE 0 sw->lock.dep_map->name 0-255
PARAM_VALUE 0 sw->lock.first_waiter 0
PARAM_VALUE 0 sw->lock.osq.tail.counter 0
PARAM_VALUE 0 sw->lock.owner.counter 0
PARAM_VALUE 0 sw->registered 1
PARAM_VALUE 0 sw->set 8210048469071298560
PARAM_VALUE 0 sw->udc 0
PARAM_VALUE 0 sw->usb2_port 0
PARAM_VALUE 0 sw->usb3_port 0
BUF_SIZE 0 sw 1848
BUF_SIZE 0 sw 1848
DATA_SOURCE 0 sw r usb_role_switch_register
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/usb/gadget/udc/renesas_usb3.c renesas_usb3_remove() -> usb_role_switch_unregister()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &_dev->mutex

drivers/usb/chipidea/core.c ci_hdrc_remove() -> usb_role_switch_unregister()

Type Parameter Key Value
PARAM_VALUE 0 sw 1-u64max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &_dev->mutex

drivers/usb/cdns3/core.c cdns_init() -> usb_role_switch_unregister()

Type Parameter Key Value
PARAM_VALUE 0 sw 4096-ptr_max
PARAM_VALUE 0 sw->allow_userspace_control 1
PARAM_VALUE 0 sw->dev.dma_io_tlb_mem->dyn_alloc.data.counter 9007199250546704
PARAM_VALUE 0 sw->dev.dma_io_tlb_mem->dyn_alloc.entry.prev 1473117533515866344
PARAM_VALUE 0 sw->dev.dma_io_tlb_mem->dyn_alloc.func 1583282886040592384
PARAM_VALUE 0 sw->dev.dma_io_tlb_mem->pools.prev 1473117533515866320
PARAM_VALUE 0 sw->dev.fwnode->dev->power.set_latency_tolerance 5740181548905971712
PARAM_VALUE 0 sw->dev.kobj.release.timer.is_hard 0-1
PARAM_VALUE 0 sw->dev.kobj.release.timer.is_lazy 0-1
PARAM_VALUE 0 sw->dev.kobj.release.timer.is_queued 0-1
PARAM_VALUE 0 sw->dev.kobj.release.timer.is_soft 0-1
PARAM_VALUE 0 sw->dev.kobj.sd->active.counter (-2147483647)
PARAM_VALUE 0 sw->dev.kobj.sd->attr.notify_next 0,426918848001064960
PARAM_VALUE 0 sw->dev.p->klist_children.get 2213798222526185472
PARAM_VALUE 0 sw->dev.p->klist_children.put 3126867300421632000
PARAM_VALUE 0 sw->dev.p->knode_bus.n_ref.refcount.refs.counter 1
PARAM_VALUE 0 sw->dev.p->knode_class.n_ref.refcount.refs.counter 1
PARAM_VALUE 0 sw->dev.p->knode_parent.n_ref.refcount.refs.counter 1
PARAM_VALUE 0 sw->dev.physical_location->horizontal_position 0
PARAM_VALUE 0 sw->dev.physical_location->panel 0
PARAM_VALUE 0 sw->dev.physical_location->vertical_position 0
PARAM_VALUE 0 sw->get 444138536607354880
PARAM_VALUE 0 sw->lock.dep_map->name 0-255
PARAM_VALUE 0 sw->lock.first_waiter 0
PARAM_VALUE 0 sw->lock.osq.tail.counter 0
PARAM_VALUE 0 sw->lock.owner.counter 0
PARAM_VALUE 0 sw->registered 1
PARAM_VALUE 0 sw->set 3718969812764856320
PARAM_VALUE 0 sw->udc 0
PARAM_VALUE 0 sw->usb2_port 0
PARAM_VALUE 0 sw->usb3_port 0
BUF_SIZE 0 sw 1848
BUF_SIZE 0 sw 1848
DATA_SOURCE 0 sw r usb_role_switch_register
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/usb/cdns3/core.c cdns_remove() -> usb_role_switch_unregister()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &_dev->mutex
TYPE_LOCK (struct device)->mutex

drivers/usb/cdns3/cdns3-plat.c cdns3_plat_probe() -> usb_role_switch_unregister()

Type Parameter Key Value
PARAM_VALUE 0 sw 4096-ptr_max
PARAM_VALUE 0 sw->allow_userspace_control 1
PARAM_VALUE 0 sw->dev.dma_io_tlb_mem->dyn_alloc.data.counter 9007199250546704
PARAM_VALUE 0 sw->dev.dma_io_tlb_mem->dyn_alloc.entry.prev 1473117533515866344
PARAM_VALUE 0 sw->dev.dma_io_tlb_mem->dyn_alloc.func 1583282886040592384
PARAM_VALUE 0 sw->dev.dma_io_tlb_mem->pools.prev 1473117533515866320
PARAM_VALUE 0 sw->dev.kobj.release.timer.is_hard 0-1
PARAM_VALUE 0 sw->dev.kobj.release.timer.is_lazy 0-1
PARAM_VALUE 0 sw->dev.kobj.release.timer.is_queued 0-1
PARAM_VALUE 0 sw->dev.kobj.release.timer.is_soft 0-1
PARAM_VALUE 0 sw->dev.kobj.sd->attr.open->nr_mmapped 0-4294967295
PARAM_VALUE 0 sw->dev.p->klist_children.get 2213798222526185472
PARAM_VALUE 0 sw->dev.p->klist_children.put 3126867300421632000
PARAM_VALUE 0 sw->dev.p->knode_class.n_ref.refcount.refs.counter 1
PARAM_VALUE 0 sw->dev.p->knode_parent.n_ref.refcount.refs.counter 1
PARAM_VALUE 0 sw->dev.physical_location->horizontal_position 0
PARAM_VALUE 0 sw->dev.physical_location->panel 0
PARAM_VALUE 0 sw->dev.physical_location->vertical_position 0
PARAM_VALUE 0 sw->get 444138536607354880
PARAM_VALUE 0 sw->lock.dep_map->name 0-255
PARAM_VALUE 0 sw->lock.first_waiter 0
PARAM_VALUE 0 sw->lock.osq.tail.counter 0
PARAM_VALUE 0 sw->lock.owner.counter 0
PARAM_VALUE 0 sw->registered 1
PARAM_VALUE 0 sw->set 3718969812764856320
PARAM_VALUE 0 sw->udc 0
PARAM_VALUE 0 sw->usb2_port 0
PARAM_VALUE 0 sw->usb3_port 0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/usb/mtu3/mtu3_dr.c ssusb_otg_switch_exit() -> usb_role_switch_unregister()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &_dev->mutex
TYPE_LOCK (struct device)->mutex

drivers/usb/typec/mux/intel_pmc_mux.c pmc_usb_probe() -> usb_role_switch_unregister()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/usb/typec/mux/intel_pmc_mux.c pmc_usb_remove() -> usb_role_switch_unregister()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &_dev->mutex

drivers/usb/roles/intel-xhci-usb-role-switch.c intel_xhci_usb_remove() -> usb_role_switch_unregister()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &_dev->mutex

drivers/usb/dwc2/drd.c dwc2_drd_exit() -> usb_role_switch_unregister()

Type Parameter Key Value
PARAM_VALUE 0 sw 1-u64max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &_dev->mutex

drivers/usb/dwc3/drd.c dwc3_drd_exit() -> usb_role_switch_unregister()

Type Parameter Key Value
PARAM_VALUE 0 sw 1-u64max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/usb/dwc3/drd.c dwc3_setup_role_switch() -> usb_role_switch_unregister()

Type Parameter Key Value
PARAM_VALUE 0 sw 4096-ptr_max
PARAM_VALUE 0 sw->allow_userspace_control 1
PARAM_VALUE 0 sw->dev.dma_io_tlb_mem->dyn_alloc.data.counter 9007199250546704
PARAM_VALUE 0 sw->dev.dma_io_tlb_mem->dyn_alloc.entry.prev 1473117533515866344
PARAM_VALUE 0 sw->dev.dma_io_tlb_mem->dyn_alloc.func 1583282886040592384
PARAM_VALUE 0 sw->dev.dma_io_tlb_mem->pools.prev 1473117533515866320
PARAM_VALUE 0 sw->dev.fwnode->dev->power.set_latency_tolerance 5740181548905971712
PARAM_VALUE 0 sw->dev.kobj.release.timer.is_hard 0-1
PARAM_VALUE 0 sw->dev.kobj.release.timer.is_lazy 0-1
PARAM_VALUE 0 sw->dev.kobj.release.timer.is_queued 0-1
PARAM_VALUE 0 sw->dev.kobj.release.timer.is_soft 0-1
PARAM_VALUE 0 sw->dev.kobj.sd->active.counter (-2147483647)
PARAM_VALUE 0 sw->dev.kobj.sd->attr.notify_next 0,426918848001064960
PARAM_VALUE 0 sw->dev.p->klist_children.get 2213798222526185472
PARAM_VALUE 0 sw->dev.p->klist_children.put 3126867300421632000
PARAM_VALUE 0 sw->dev.p->knode_bus.n_ref.refcount.refs.counter 1
PARAM_VALUE 0 sw->dev.p->knode_class.n_ref.refcount.refs.counter 1
PARAM_VALUE 0 sw->dev.p->knode_parent.n_ref.refcount.refs.counter 1
PARAM_VALUE 0 sw->dev.physical_location->horizontal_position 0
PARAM_VALUE 0 sw->dev.physical_location->panel 0
PARAM_VALUE 0 sw->dev.physical_location->vertical_position 0
PARAM_VALUE 0 sw->get 7039721130301964288
PARAM_VALUE 0 sw->lock.dep_map->name 0-255
PARAM_VALUE 0 sw->lock.first_waiter 0
PARAM_VALUE 0 sw->lock.osq.tail.counter 0
PARAM_VALUE 0 sw->lock.owner.counter 0
PARAM_VALUE 0 sw->registered 1
PARAM_VALUE 0 sw->set 8403931181097291776
PARAM_VALUE 0 sw->udc 0
PARAM_VALUE 0 sw->usb2_port 0
PARAM_VALUE 0 sw->usb3_port 0
BUF_SIZE 0 sw 1848
BUF_SIZE 0 sw 1848
DATA_SOURCE 0 sw r usb_role_switch_register
NOCHECK_CALL