Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/infiniband/hw/hfi1/chip.c acquire_lcb_access() -> link_state_name()

Type Parameter Key Value
PARAM_VALUE 0 state 1-u32max
RX_PATH
TASK_NOT_RUNNING
LOCK2 &ppd->hls_lock
TYPE_LOCK (struct hfi1_pportdata)->hls_lock

drivers/infiniband/hw/hfi1/chip.c handle_link_bounce() -> link_state_name()

Type Parameter Key Value
BIT_INFO 0 state 0x0,0xfffffff8
HALF_LOCKED2 &pool->lock

drivers/infiniband/hw/hfi1/chip.c set_link_state() -> link_state_name()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
LOCK2 &ppd->hls_lock
TYPE_LOCK (struct hfi1_pportdata)->hls_lock

drivers/infiniband/hw/hfi1/chip.c set_link_state() -> link_state_name()

Type Parameter Key Value
PARAM_VALUE 0 state 1-2,4,8,16,32,64,128,256
RX_PATH
TASK_NOT_RUNNING
LOCK2 &ppd->hls_lock
TYPE_LOCK (struct hfi1_pportdata)->hls_lock

drivers/infiniband/hw/hfi1/chip.c set_link_state() -> link_state_name()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
LOCK2 &ppd->hls_lock
TYPE_LOCK (struct hfi1_pportdata)->hls_lock

drivers/infiniband/hw/hfi1/chip.c set_link_state() -> link_state_name()

Type Parameter Key Value
PARAM_VALUE 0 state 1-2,4,128,256
CAPPED_DATA 0 state 1
DATA_SOURCE 0 state $1
RX_PATH
TASK_NOT_RUNNING
LOCK2 &ppd->hls_lock
TYPE_LOCK (struct hfi1_pportdata)->hls_lock