Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 2 files as a function:

Referenced in 15 files:

Smatch caller information:

drivers/usb/typec/stusb160x.c stusb160x_probe() -> usb_role_switch_put()

Type Parameter Key Value
PARAM_VALUE 0 sw 4096-ptr_max
PARAM_VALUE 0 sw->dev.kobj.kref.refcount.refs.counter s32min-s32max
PARAM_VALUE 0 sw->dev.kobj.release.cpu s32min-s32max
PARAM_VALUE 0 sw->dev.kobj.release.timer.flags 0-4294967295
PARAM_VALUE 0 sw->dev.kobj.state_add_uevent_sent 0-1
PARAM_VALUE 0 sw->dev.kobj.state_in_sysfs 0-1
PARAM_VALUE 0 sw->dev.kobj.state_initialized 0-1
PARAM_VALUE 0 sw->dev.kobj.state_remove_uevent_sent 0-1
PARAM_VALUE 0 sw->dev.kobj.uevent_suppress 0-1
PARAM_VALUE 0 sw->lock.dep_map->name 0-255
PARAM_VALUE 0 sw->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 sw->lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 sw->lock.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 sw->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 sw->module->refcnt.counter 0-s32max
PARAM_VALUE 0 sw->role 0-4294967295
DATA_SOURCE 0 sw r fwnode_usb_role_switch_get
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/usb/typec/stusb160x.c stusb160x_remove() -> usb_role_switch_put()

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

drivers/platform/chrome/cros_ec_typec.c cros_unregister_ports() -> usb_role_switch_put()

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

drivers/extcon/extcon-ptn5150.c ptn5150_work_sync_and_put() -> usb_role_switch_put()

Type Parameter Key Value
NOCHECK_CALL

drivers/usb/misc/qcom_eud.c eud_role_switch_release() -> usb_role_switch_put()

Type Parameter Key Value
NOCHECK_CALL

drivers/extcon/extcon-axp288.c axp288_put_role_sw() -> usb_role_switch_put()

Type Parameter Key Value
NOCHECK_CALL

drivers/usb/typec/hd3ss3220.c hd3ss3220_probe() -> usb_role_switch_put()

Type Parameter Key Value
PARAM_VALUE 0 sw 0,4096-ptr_max
PARAM_VALUE 0 sw->module->refcnt.counter 0-s32max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/usb/typec/hd3ss3220.c hd3ss3220_remove() -> usb_role_switch_put()

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

drivers/usb/typec/rt1719.c rt1719_probe() -> usb_role_switch_put()

Type Parameter Key Value
PARAM_VALUE 0 sw 0
PARAM_VALUE 0 sw->dev.kobj.kref.refcount.refs.counter s32min-s32max
PARAM_VALUE 0 sw->dev.kobj.release.cpu s32min-s32max
PARAM_VALUE 0 sw->dev.kobj.release.timer.flags 0-4294967295
PARAM_VALUE 0 sw->dev.kobj.state_add_uevent_sent 0-1
PARAM_VALUE 0 sw->dev.kobj.state_in_sysfs 0-1
PARAM_VALUE 0 sw->dev.kobj.state_initialized 0-1
PARAM_VALUE 0 sw->dev.kobj.state_remove_uevent_sent 0-1
PARAM_VALUE 0 sw->dev.kobj.uevent_suppress 0-1
PARAM_VALUE 0 sw->lock.dep_map->name 0-255
PARAM_VALUE 0 sw->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 sw->lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 sw->lock.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 sw->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 sw->module->refcnt.counter 0-s32max
PARAM_VALUE 0 sw->role 0-4294967295
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/usb/typec/rt1719.c rt1719_remove() -> usb_role_switch_put()

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

drivers/usb/common/usb-conn-gpio.c usb_conn_probe() -> usb_role_switch_put()

Type Parameter Key Value
PARAM_VALUE 0 sw 0,4096-ptr_max
PARAM_VALUE 0 sw->module->refcnt.counter 0-s32max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/usb/common/usb-conn-gpio.c usb_conn_remove() -> usb_role_switch_put()

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

drivers/usb/typec/tipd/core.c tps6598x_probe() -> usb_role_switch_put()

Type Parameter Key Value
PARAM_VALUE 0 sw 0
PARAM_VALUE 0 sw->dev.kobj.kref.refcount.refs.counter s32min-s32max
PARAM_VALUE 0 sw->dev.kobj.release.cpu s32min-s32max
PARAM_VALUE 0 sw->dev.kobj.release.timer.flags 0-4294967295
PARAM_VALUE 0 sw->dev.kobj.state_add_uevent_sent 0-1
PARAM_VALUE 0 sw->dev.kobj.state_in_sysfs 0-1
PARAM_VALUE 0 sw->dev.kobj.state_initialized 0-1
PARAM_VALUE 0 sw->dev.kobj.state_remove_uevent_sent 0-1
PARAM_VALUE 0 sw->dev.kobj.uevent_suppress 0-1
PARAM_VALUE 0 sw->lock.dep_map->name 0-255
PARAM_VALUE 0 sw->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 sw->lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 sw->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 sw->module->refcnt.counter 0-s32max
PARAM_VALUE 0 sw->registered 0-1
PARAM_VALUE 0 sw->role 0-2
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/usb/typec/tipd/core.c tps6598x_remove() -> usb_role_switch_put()

Type Parameter Key Value
PARAM_VALUE 0 sw 0,4096-u64max
PARAM_VALUE 0 sw->dev.kobj.kref.refcount.refs.counter s32min-s32max
PARAM_VALUE 0 sw->dev.kobj.release.cpu s32min-s32max
PARAM_VALUE 0 sw->dev.kobj.release.timer.flags 0-4294967295
PARAM_VALUE 0 sw->dev.kobj.state_add_uevent_sent 0-1
PARAM_VALUE 0 sw->dev.kobj.state_in_sysfs 0-1
PARAM_VALUE 0 sw->dev.kobj.state_initialized 0-1
PARAM_VALUE 0 sw->dev.kobj.state_remove_uevent_sent 0-1
PARAM_VALUE 0 sw->dev.kobj.uevent_suppress 0-1
PARAM_VALUE 0 sw->lock.dep_map->name 0-255
PARAM_VALUE 0 sw->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 sw->lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 sw->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 sw->registered 0-1
PARAM_VALUE 0 sw->role 0-2
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &dev->mutex

drivers/usb/typec/anx7411.c anx7411_port_unregister() -> usb_role_switch_put()

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

drivers/usb/typec/anx7411.c anx7411_typec_port_probe() -> usb_role_switch_put()

Type Parameter Key Value
PARAM_VALUE 0 sw 4096-ptr_max
PARAM_VALUE 0 sw->module->refcnt.counter 0-s32max
DATA_SOURCE 0 sw r usb_role_switch_get
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/usb/typec/tcpm/tcpm.c tcpm_unregister_port() -> usb_role_switch_put()

Type Parameter Key Value
PARAM_VALUE 0 sw->dev.kobj.kref.refcount.refs.counter s32min-s32max
PARAM_VALUE 0 sw->dev.kobj.release.cpu s32min-s32max
PARAM_VALUE 0 sw->dev.kobj.release.timer.flags 0-4294967295
PARAM_VALUE 0 sw->dev.kobj.state_add_uevent_sent 0-1
PARAM_VALUE 0 sw->dev.kobj.state_in_sysfs 0-1
PARAM_VALUE 0 sw->dev.kobj.state_initialized 0-1
PARAM_VALUE 0 sw->dev.kobj.state_remove_uevent_sent 0-1
PARAM_VALUE 0 sw->dev.kobj.uevent_suppress 0-1
PARAM_VALUE 0 sw->lock.dep_map->name 0-255
PARAM_VALUE 0 sw->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 sw->lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 sw->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 sw->role 0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &_dev->mutex
HALF_LOCKED2 &dev->mutex

drivers/extcon/extcon-usbc-tusb320.c tusb320_typec_remove() -> usb_role_switch_put()

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

drivers/gpu/drm/bridge/analogix/anx7625.c anx7625_typec_unregister() -> usb_role_switch_put()

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

drivers/extcon/extcon-intel-cht-wc.c cht_wc_extcon_put_role_sw() -> usb_role_switch_put()

Type Parameter Key Value
NOCHECK_CALL