Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 10 files:

Smatch caller information:

drivers/usb/typec/stusb160x.c stusb160x_attach() -> typec_set_pwr_opmode()

Type Parameter Key Value
PARAM_VALUE 0 port 4096-ptr_max
PARAM_VALUE 0 port->partner_link_lock.dep_map->name 0-255
PARAM_VALUE 0 port->partner_link_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 port->partner_link_lock.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 port->partner_link_lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 port->partner_link_lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 port->partner_link_lock.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 port->partner_link_lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 port->partner_link_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 port->usb2_dev->kobj.sd->count.counter s32min-s32max
PARAM_VALUE 0 port->usb2_dev->kobj.sd->symlink.target_kn->count.counter s32min-s32max
PARAM_VALUE 0 port->usb3_dev->kobj.sd->count.counter s32min-s32max
PARAM_VALUE 0 port->usb3_dev->kobj.sd->symlink.target_kn->count.counter s32min-s32max
BUF_SIZE 0 port (-1),2136
BUF_SIZE 0 port (-1),2136
CAPPED_DATA 0 port->pwr_role 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/usb/typec/stusb160x.c stusb160x_detach() -> typec_set_pwr_opmode()

Type Parameter Key Value
PARAM_VALUE 0 port 4096-ptr_max
PARAM_VALUE 1 opmode 0
CAPPED_DATA 0 port->pwr_role 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

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

Type Parameter Key Value
PARAM_VALUE 0 port 4096-ptr_max
PARAM_VALUE 0 port->con.attach 1324651618066358272
PARAM_VALUE 0 port->con.deattach 4650986530451238912
PARAM_VALUE 0 port->dev.dma_io_tlb_mem->dyn_alloc.data.counter 9007199250546704
PARAM_VALUE 0 port->dev.dma_io_tlb_mem->dyn_alloc.entry.prev 1473117533515866344
PARAM_VALUE 0 port->dev.dma_io_tlb_mem->dyn_alloc.func 1583282886040592384
PARAM_VALUE 0 port->dev.dma_io_tlb_mem->pools.prev 1473117533515866320
PARAM_VALUE 0 port->dev.fwnode->dev->power.set_latency_tolerance 5740181548905971712
PARAM_VALUE 0 port->dev.kobj.sd->active.counter (-2147483647)
PARAM_VALUE 0 port->dev.kobj.sd->attr.open->nr_mmapped 0-4294967295
PARAM_VALUE 0 port->dev.p->klist_children.get 2213798222526185472
PARAM_VALUE 0 port->dev.p->klist_children.put 3126867300421632000
PARAM_VALUE 0 port->dev.p->knode_bus.n_ref.refcount.refs.counter 1
PARAM_VALUE 0 port->dev.p->knode_class.n_ref.refcount.refs.counter 1
PARAM_VALUE 0 port->dev.p->knode_parent.n_ref.refcount.refs.counter 1
PARAM_VALUE 0 port->dev.physical_location->horizontal_position 0-3
PARAM_VALUE 0 port->dev.physical_location->panel 0-7
PARAM_VALUE 0 port->dev.physical_location->vertical_position 0-3
PARAM_VALUE 0 port->id 0-s32max
PARAM_VALUE 0 port->mode_ids.xa.xa_flags 33554437
PARAM_VALUE 0 port->mode_ids.xa.xa_head 0
PARAM_VALUE 0 port->ops 0
PARAM_VALUE 0 port->ops->dr_set 0,434805370254917632,2594394751384051712,4794790602804273152,5396003677776818176,6121032334441897984,6348138530173440000,6620086623342305280
PARAM_VALUE 0 port->ops->enter_usb_mode 0,6487783626793144320
PARAM_VALUE 0 port->ops->port_type_set 0,1041927891590725632,2844620764829073408,3340295229929390080,8998560819264897024
PARAM_VALUE 0 port->ops->pr_set 0,1342710203730563072,2385043966476656640,5019105706942029824,7964579725448462336
PARAM_VALUE 0 port->ops->try_role 0,1984053582809899008,2013159759474634752,6012352628367368192
PARAM_VALUE 0 port->partner_link_lock.dep_map->name 0-255
PARAM_VALUE 0 port->pd 0
PARAM_VALUE 0 port->port_type 0-2
PARAM_VALUE 0 port->port_type_lock.dep_map->name 0-255
PARAM_VALUE 0 port->port_type_lock.first_waiter 0
PARAM_VALUE 0 port->prefer_role 0
PARAM_VALUE 1 opmode 0-2
BUF_SIZE 0 port 2136
BUF_SIZE 0 port 2136
DATA_SOURCE 0 port r typec_register_port
FUZZY_MAX 1 opmode 0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/platform/chrome/cros_ec_typec.c cros_typec_handle_status() -> typec_set_pwr_opmode()

Type Parameter Key Value
PARAM_VALUE 1 opmode 3
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/usb/typec/ucsi/ucsi.c ucsi_pwr_opmode_change() -> typec_set_pwr_opmode()

Type Parameter Key Value
PARAM_VALUE 1 opmode 3
NOCHECK_CALL
LOCK2 &con->lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct ucsi_connector)->lock

drivers/usb/typec/ucsi/ucsi.c ucsi_pwr_opmode_change() -> typec_set_pwr_opmode()

Type Parameter Key Value
PARAM_VALUE 1 opmode 1
NOCHECK_CALL
LOCK2 &con->lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct ucsi_connector)->lock

drivers/usb/typec/ucsi/ucsi.c ucsi_pwr_opmode_change() -> typec_set_pwr_opmode()

Type Parameter Key Value
PARAM_VALUE 1 opmode 2
NOCHECK_CALL
LOCK2 &con->lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct ucsi_connector)->lock

drivers/usb/typec/ucsi/ucsi.c ucsi_pwr_opmode_change() -> typec_set_pwr_opmode()

Type Parameter Key Value
PARAM_VALUE 1 opmode 0
NOCHECK_CALL
LOCK2 &con->lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct ucsi_connector)->lock

drivers/usb/typec/rt1719.c rt1719_attach() -> typec_set_pwr_opmode()

Type Parameter Key Value
PARAM_VALUE 1 opmode 0-2
BUF_SIZE 0 port (-1),2136
BUF_SIZE 0 port (-1),2136
DATA_SOURCE 1 opmode r rt1719_get_pwr_opmode
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/usb/typec/rt1719.c rt1719_detach() -> typec_set_pwr_opmode()

Type Parameter Key Value
PARAM_VALUE 1 opmode 0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 _T->lock
HALF_LOCKED2 irq

drivers/usb/typec/rt1719.c rt1719_update_pwr_opmode() -> typec_set_pwr_opmode()

Type Parameter Key Value
PARAM_VALUE 1 opmode 3
BUF_SIZE 0 port (-1),2136
BUF_SIZE 0 port (-1),2136
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/usb/typec/tipd/core.c cd321x_update_work() -> typec_set_pwr_opmode()

Type Parameter Key Value
NOCHECK_CALL
LOCK2 _T->lock
HALF_LOCKED2 &pool->lock

drivers/usb/typec/tipd/core.c tps6598x_connect() -> typec_set_pwr_opmode()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &tps->lock

drivers/usb/typec/tipd/core.c tps6598x_disconnect() -> typec_set_pwr_opmode()

Type Parameter Key Value
PARAM_VALUE 1 opmode 0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &dev->mutex
HALF_LOCKED2 &tps->lock

drivers/usb/typec/anx7411.c anx7411_detect_power_mode() -> typec_set_pwr_opmode()

Type Parameter Key Value
PARAM_VALUE 1 opmode 0-2
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &ctx->lock

drivers/usb/typec/anx7411.c anx7411_detect_power_mode() -> typec_set_pwr_opmode()

Type Parameter Key Value
PARAM_VALUE 1 opmode 3
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &ctx->lock

drivers/extcon/extcon-usbc-tusb320.c tusb320_typec_irq_handler() -> typec_set_pwr_opmode()

Type Parameter Key Value
PARAM_VALUE 0 port 4096-ptr_max
PARAM_VALUE 0 port->data_role 0-1
PARAM_VALUE 0 port->vconn_role 0-1
PARAM_VALUE 1 opmode 0
CAPPED_DATA 0 port->mux->num_mux_devs 1
CAPPED_DATA 0 port->pwr_role 1
CAPPED_DATA 0 port->sw->num_sw_devs 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/extcon/extcon-usbc-tusb320.c tusb320_typec_irq_handler() -> typec_set_pwr_opmode()

Type Parameter Key Value
PARAM_VALUE 0 port 4096-ptr_max
PARAM_VALUE 0 port->data_role 0-1
PARAM_VALUE 0 port->vconn_role 0-1
PARAM_VALUE 1 opmode 1
CAPPED_DATA 0 port->mux->num_mux_devs 1
CAPPED_DATA 0 port->pwr_role 1
CAPPED_DATA 0 port->sw->num_sw_devs 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/extcon/extcon-usbc-tusb320.c tusb320_typec_irq_handler() -> typec_set_pwr_opmode()

Type Parameter Key Value
PARAM_VALUE 0 port 4096-ptr_max
PARAM_VALUE 0 port->data_role 0-1
PARAM_VALUE 0 port->vconn_role 0-1
PARAM_VALUE 1 opmode 2
CAPPED_DATA 0 port->mux->num_mux_devs 1
CAPPED_DATA 0 port->pwr_role 1
CAPPED_DATA 0 port->sw->num_sw_devs 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/extcon/extcon-usbc-tusb320.c tusb320_typec_irq_handler() -> typec_set_pwr_opmode()

Type Parameter Key Value
PARAM_VALUE 0 port 4096-ptr_max
PARAM_VALUE 0 port->data_role 0-1
PARAM_VALUE 0 port->vconn_role 0-1
PARAM_VALUE 1 opmode 0
CAPPED_DATA 0 port->mux->num_mux_devs 1
CAPPED_DATA 0 port->pwr_role 1
CAPPED_DATA 0 port->sw->num_sw_devs 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/usb/typec/wusb3801.c wusb3801_hw_update() -> typec_set_pwr_opmode()

Type Parameter Key Value
BUF_SIZE 0 port (-1),2136
BUF_SIZE 0 port (-1),2136
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL