Defined in 1 files as a struct:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/net/ethernet/qlogic/qed/qed_debug.c qed_dbg_fw_asserts() -> qed_dbg_feature()

Type Parameter Key Value
PARAM_VALUE 0 cdev 4096-ptr_max
PARAM_VALUE 0 cdev->dbg_bin_dump 1
PARAM_VALUE 0 cdev->engine_for_debug 0-254
PARAM_VALUE 0 cdev->hwfns 4096-ptr_max
PARAM_VALUE 0 cdev->num_hwfns 1-255
PARAM_VALUE 1 *buffer 0-255
PARAM_VALUE 2 feature 6
PARAM_VALUE 3 num_dumped_bytes 6271158413037842432
DATA_SOURCE 0 cdev $0
DATA_SOURCE 1 buffer $1
DATA_SOURCE 3 num_dumped_bytes $2
RX_PATH
TASK_NOT_RUNNING
UNITS 1 buffer unit_byte
LOCK2 global &qed_dbg_lock
HALF_LOCKED2 &devlink->lock

drivers/net/ethernet/qlogic/qed/qed_debug.c qed_dbg_grc() -> qed_dbg_feature()

Type Parameter Key Value
PARAM_VALUE 0 cdev 4096-ptr_max
PARAM_VALUE 0 cdev->dbg_bin_dump 1
PARAM_VALUE 0 cdev->engine_for_debug 0-254
PARAM_VALUE 0 cdev->hwfns 4096-ptr_max
PARAM_VALUE 0 cdev->num_hwfns 1-255
PARAM_VALUE 1 *buffer 0-255
PARAM_VALUE 2 feature 0
PARAM_VALUE 3 num_dumped_bytes 6271158413037842432
DATA_SOURCE 0 cdev $0
DATA_SOURCE 1 buffer $1
DATA_SOURCE 3 num_dumped_bytes $2
RX_PATH
TASK_NOT_RUNNING
UNITS 1 buffer unit_byte
LOCK2 global &qed_dbg_lock
HALF_LOCKED2 &devlink->lock

drivers/net/ethernet/qlogic/qed/qed_debug.c qed_dbg_idle_chk() -> qed_dbg_feature()

Type Parameter Key Value
PARAM_VALUE 0 cdev 4096-ptr_max
PARAM_VALUE 0 cdev->dbg_bin_dump 1
PARAM_VALUE 0 cdev->engine_for_debug 0-254
PARAM_VALUE 0 cdev->hwfns 4096-ptr_max
PARAM_VALUE 0 cdev->num_hwfns 1-255
PARAM_VALUE 1 *buffer 0-255
PARAM_VALUE 2 feature 1
PARAM_VALUE 3 num_dumped_bytes 6271158413037842432
DATA_SOURCE 0 cdev $0
DATA_SOURCE 1 buffer $1
DATA_SOURCE 3 num_dumped_bytes $2
RX_PATH
TASK_NOT_RUNNING
UNITS 1 buffer unit_byte
LOCK2 global &qed_dbg_lock
HALF_LOCKED2 &devlink->lock

drivers/net/ethernet/qlogic/qed/qed_debug.c qed_dbg_igu_fifo() -> qed_dbg_feature()

Type Parameter Key Value
PARAM_VALUE 0 cdev 4096-ptr_max
PARAM_VALUE 0 cdev->dbg_bin_dump 1
PARAM_VALUE 0 cdev->engine_for_debug 0-254
PARAM_VALUE 0 cdev->hwfns 4096-ptr_max
PARAM_VALUE 0 cdev->num_hwfns 1-255
PARAM_VALUE 1 *buffer 0-255
PARAM_VALUE 2 feature 4
PARAM_VALUE 3 num_dumped_bytes 6271158413037842432
DATA_SOURCE 0 cdev $0
DATA_SOURCE 1 buffer $1
DATA_SOURCE 3 num_dumped_bytes $2
RX_PATH
TASK_NOT_RUNNING
UNITS 1 buffer unit_byte
LOCK2 global &qed_dbg_lock
HALF_LOCKED2 &devlink->lock

drivers/net/ethernet/qlogic/qed/qed_debug.c qed_dbg_ilt() -> qed_dbg_feature()

Type Parameter Key Value
PARAM_VALUE 0 cdev 4096-ptr_max
PARAM_VALUE 0 cdev->dbg_bin_dump 1
PARAM_VALUE 0 cdev->disable_ilt_dump 0
PARAM_VALUE 0 cdev->engine_for_debug 0-254
PARAM_VALUE 0 cdev->hwfns 4096-ptr_max
PARAM_VALUE 0 cdev->num_hwfns 1-255
PARAM_VALUE 1 *buffer 0-255
PARAM_VALUE 2 feature 7
PARAM_VALUE 3 num_dumped_bytes 6271158413037842432
PARAM_VALUE 3 *num_dumped_bytes 0-15728639
DATA_SOURCE 0 cdev $0
DATA_SOURCE 1 buffer $1
DATA_SOURCE 3 num_dumped_bytes $2
RX_PATH
TASK_NOT_RUNNING
UNITS 1 buffer unit_byte
LOCK2 global &qed_dbg_lock
HALF_LOCKED2 &devlink->lock

drivers/net/ethernet/qlogic/qed/qed_debug.c qed_dbg_mcp_trace() -> qed_dbg_feature()

Type Parameter Key Value
PARAM_VALUE 0 cdev 4096-ptr_max
PARAM_VALUE 0 cdev->dbg_bin_dump 1
PARAM_VALUE 0 cdev->hwfns 4096-ptr_max
PARAM_VALUE 1 *buffer 0-255
PARAM_VALUE 2 feature 2
PARAM_VALUE 3 num_dumped_bytes 6271158413037842432
CAPPED_DATA 0 cdev->num_hwfns 1
DATA_SOURCE 0 cdev $0
DATA_SOURCE 1 buffer $1
DATA_SOURCE 3 num_dumped_bytes $2
RX_PATH
TASK_NOT_RUNNING
UNITS 1 buffer unit_byte
LOCK2 global &qed_dbg_lock
HALF_LOCKED2 &devlink->lock

drivers/net/ethernet/qlogic/qed/qed_debug.c qed_dbg_protection_override() -> qed_dbg_feature()

Type Parameter Key Value
PARAM_VALUE 0 cdev 4096-ptr_max
PARAM_VALUE 0 cdev->dbg_bin_dump 1
PARAM_VALUE 0 cdev->engine_for_debug 0-254
PARAM_VALUE 0 cdev->hwfns 4096-ptr_max
PARAM_VALUE 0 cdev->num_hwfns 1-255
PARAM_VALUE 1 *buffer 0-255
PARAM_VALUE 2 feature 5
PARAM_VALUE 3 num_dumped_bytes 6271158413037842432
DATA_SOURCE 0 cdev $0
DATA_SOURCE 1 buffer $1
DATA_SOURCE 3 num_dumped_bytes $2
RX_PATH
TASK_NOT_RUNNING
UNITS 1 buffer unit_byte
LOCK2 global &qed_dbg_lock
HALF_LOCKED2 &devlink->lock

drivers/net/ethernet/qlogic/qed/qed_debug.c qed_dbg_reg_fifo() -> qed_dbg_feature()

Type Parameter Key Value
PARAM_VALUE 0 cdev 4096-ptr_max
PARAM_VALUE 0 cdev->dbg_bin_dump 1
PARAM_VALUE 0 cdev->engine_for_debug 0-254
PARAM_VALUE 0 cdev->hwfns 4096-ptr_max
PARAM_VALUE 0 cdev->num_hwfns 1-255
PARAM_VALUE 1 *buffer 0-255
PARAM_VALUE 2 feature 3
PARAM_VALUE 3 num_dumped_bytes 6271158413037842432
DATA_SOURCE 0 cdev $0
DATA_SOURCE 1 buffer $1
DATA_SOURCE 3 num_dumped_bytes $2
RX_PATH
TASK_NOT_RUNNING
UNITS 1 buffer unit_byte
LOCK2 global &qed_dbg_lock
HALF_LOCKED2 &devlink->lock