Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
- drivers/net/ethernet/huawei/hinic3/hinic3_hw_comm.c
- drivers/net/ethernet/huawei/hinic3/hinic3_hwif.c
- drivers/net/ethernet/huawei/hinic3/hinic3_mbox.c
Smatch caller information:
drivers/net/ethernet/huawei/hinic3/hinic3_mbox.c send_mbox_seg() -> hinic3_wait_for_timeout()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv_data | 4096-ptr_max |
| PARAM_VALUE | 2 | wait_total_ms | 8000 |
| PARAM_VALUE | 3 | wait_once_us | 1000 |
| DATA_SOURCE | 0 | priv_data | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &mbox->mbox_seg_send_lock | ||
| HALF_LOCKED2 | &mbox->mbox_send_lock | ||
| TYPE_LOCK | (struct hinic3_mbox)->mbox_seg_send_lock |
drivers/net/ethernet/huawei/hinic3/hinic3_mbox.c wait_mbox_msg_completion() -> hinic3_wait_for_timeout()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv_data | 4096-ptr_max |
| PARAM_VALUE | 2 | wait_total_ms | 40000 |
| PARAM_VALUE | 3 | wait_once_us | 1000 |
| DATA_SOURCE | 0 | priv_data | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &mbox->mbox_send_lock | ||
| HALF_LOCKED2 | &nic_dev->port_state_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct hinic3_mbox)->mbox_send_lock |
drivers/net/ethernet/huawei/hinic3/hinic3_hwif.c wait_hwif_ready() -> hinic3_wait_for_timeout()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv_data | 4096-ptr_max |
| PARAM_VALUE | 2 | wait_total_ms | 10000 |
| PARAM_VALUE | 3 | wait_once_us | 1000 |
| BUF_SIZE | 0 | priv_data | 408 |
| DATA_SOURCE | 0 | priv_data | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/net/ethernet/huawei/hinic3/hinic3_hwif.c wait_until_doorbell_and_outbound_enabled() -> hinic3_wait_for_timeout()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv_data | 4096-ptr_max |
| PARAM_VALUE | 2 | wait_total_ms | 60000 |
| PARAM_VALUE | 3 | wait_once_us | 1000 |
| BUF_SIZE | 0 | priv_data | 160 |
| DATA_SOURCE | 0 | priv_data | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/net/ethernet/huawei/hinic3/hinic3_hw_comm.c hinic3_wait_for_flr_finish() -> hinic3_wait_for_timeout()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv_data | 4096-ptr_max |
| PARAM_VALUE | 2 | wait_total_ms | 1000 |
| PARAM_VALUE | 3 | wait_once_us | 10000 |
| DATA_SOURCE | 0 | priv_data | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/net/ethernet/huawei/hinic3/hinic3_hw_comm.c wait_cmdq_stop() -> hinic3_wait_for_timeout()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv_data | 4096-ptr_max |
| PARAM_VALUE | 2 | wait_total_ms | 5000 |
| PARAM_VALUE | 3 | wait_once_us | 1000 |
| DATA_SOURCE | 0 | priv_data | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |