Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/infiniband/hw/hfi1/mad.c port_states_transition_allowed() -> opa_pstate_name()

Type Parameter Key Value
PARAM_VALUE 0 pstate 2-5,9,u32max
DATA_SOURCE 0 pstate r driver_pstate
RX_PATH
TASK_NOT_RUNNING

drivers/infiniband/hw/hfi1/mad.c port_states_transition_allowed() -> opa_pstate_name()

Type Parameter Key Value
PARAM_VALUE 0 pstate 0-15
DATA_SOURCE 0 pstate $2
RX_PATH
TASK_NOT_RUNNING

drivers/infiniband/hw/hfi1/chip.c log_state_transition() -> opa_pstate_name()

Type Parameter Key Value
PARAM_VALUE 0 pstate 2-5,7,9
DATA_SOURCE 0 pstate r chip_to_opa_pstate
RX_PATH
TASK_NOT_RUNNING
LOCK2 &ppd->hls_lock
TYPE_LOCK (struct hfi1_pportdata)->hls_lock