Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 4 files:
- drivers/scsi/hisi_sas/hisi_sas_main.c
- drivers/scsi/hisi_sas/hisi_sas_v1_hw.c, line 1442
- drivers/scsi/hisi_sas/hisi_sas_v2_hw.c, line 2742
- drivers/scsi/hisi_sas/hisi_sas_v3_hw.c, line 1708
Smatch caller information:
drivers/scsi/hisi_sas/hisi_sas_v2_hw.c phy_down_v2_hw() -> hisi_sas_phy_down()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hisi_hba | 4096-ptr_max |
| PARAM_VALUE | 0 | hisi_hba->dev->bus | 0,4096-ptr_max |
| PARAM_VALUE | 0 | hisi_hba->dev->class | 0,4096-ptr_max |
| PARAM_VALUE | 0 | hisi_hba->dev->driver | 0,4096-ptr_max |
| PARAM_VALUE | 0 | hisi_hba->phy | 4096-ptr_max |
| PARAM_VALUE | 1 | phy_no | 0-s32max |
| PARAM_VALUE | 2 | rdy | 0-1 |
| PARAM_VALUE | 3 | gfp_flags | 2080 |
| DATA_SOURCE | 0 | hisi_hba | $1 |
| DATA_SOURCE | 1 | phy_no | $0 |
| FUZZY_MAX | 1 | phy_no | 0 |
| FUZZY_MAX | 2 | rdy | 1 |
| HARD_MAX | 2 | rdy | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | irq |
drivers/scsi/hisi_sas/hisi_sas_main.c hisi_sas_debug_I_T_nexus_reset() -> hisi_sas_phy_down()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hisi_hba->sha.sas_phy | 4096-ptr_max |
| PARAM_VALUE | 2 | rdy | 0 |
| PARAM_VALUE | 3 | gfp_flags | 3264 |
| BUF_SIZE | 0 | hisi_hba | 64,19840,57064,65584 |
| BUF_SIZE | 0 | hisi_hba | 64,19840,57064,65584 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | phy_no | unit_array_size |
drivers/scsi/hisi_sas/hisi_sas_main.c hisi_sas_rescan_topology() -> hisi_sas_phy_down()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hisi_hba | 4096-ptr_max |
| PARAM_VALUE | 0 | hisi_hba->hw | 4096-ptr_max |
| PARAM_VALUE | 0 | hisi_hba->hw->complete_hdr_size | 4,16 |
| PARAM_VALUE | 0 | hisi_hba->hw->get_phys_state | 4096-ptr_max |
| PARAM_VALUE | 0 | hisi_hba->hw->sht | 0,4096-ptr_max |
| PARAM_VALUE | 0 | hisi_hba->hw->soft_reset | 0,4096-ptr_max |
| PARAM_VALUE | 0 | hisi_hba->initial_fis->fis._r_a | 0 |
| PARAM_VALUE | 0 | hisi_hba->initial_fis->fis._r_b | 0 |
| PARAM_VALUE | 0 | hisi_hba->initial_fis->fis._r_c | 0 |
| PARAM_VALUE | 0 | hisi_hba->initial_fis->fis._r_d | 0 |
| PARAM_VALUE | 0 | hisi_hba->initial_fis->fis.device | 0 |
| PARAM_VALUE | 0 | hisi_hba->initial_fis->fis.error | 0 |
| PARAM_VALUE | 0 | hisi_hba->initial_fis->fis.fis_type | 0 |
| PARAM_VALUE | 0 | hisi_hba->initial_fis->fis.flags | 0 |
| PARAM_VALUE | 0 | hisi_hba->initial_fis->fis.lbah | 0 |
| PARAM_VALUE | 0 | hisi_hba->initial_fis->fis.lbah_exp | 0 |
| PARAM_VALUE | 0 | hisi_hba->initial_fis->fis.lbal | 0 |
| PARAM_VALUE | 0 | hisi_hba->initial_fis->fis.lbal_exp | 0 |
| PARAM_VALUE | 0 | hisi_hba->initial_fis->fis.lbam | 0 |
| PARAM_VALUE | 0 | hisi_hba->initial_fis->fis.lbam_exp | 0 |
| PARAM_VALUE | 0 | hisi_hba->initial_fis->fis.sector_count | 0 |
| PARAM_VALUE | 0 | hisi_hba->initial_fis->fis.status | 0 |
| PARAM_VALUE | 0 | hisi_hba->iost->qw0 | 0 |
| PARAM_VALUE | 0 | hisi_hba->iost->qw1 | 0 |
| PARAM_VALUE | 0 | hisi_hba->iost->qw2 | 0 |
| PARAM_VALUE | 0 | hisi_hba->iost->qw3 | 0 |
| PARAM_VALUE | 0 | hisi_hba->n_phy | 1-s32max |
| PARAM_VALUE | 0 | hisi_hba->phy | 4096-ptr_max |
| PARAM_VALUE | 0 | hisi_hba->sem.first_waiter->up | 1 |
| PARAM_VALUE | 0 | hisi_hba->sem.last_holder | 0 |
| PARAM_VALUE | 0 | hisi_hba->sem.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | hisi_hba->sem.lock.owner | (-1) |
| PARAM_VALUE | 0 | hisi_hba->sem.lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | hisi_hba->shost->host_lock | 4096-ptr_max |
| PARAM_VALUE | 0 | hisi_hba->shost->host_lock->rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | hisi_hba->shost->host_self_blocked | 0 |
| PARAM_VALUE | 1 | phy_no | 0-s32max |
| PARAM_VALUE | 2 | rdy | 0 |
| PARAM_VALUE | 3 | gfp_flags | 3264 |
| BUF_SIZE | 0 | hisi_hba | (-1),64,19840,57064,65584 |
| BUF_SIZE | 0 | hisi_hba | (-1),64,19840,57064,65584 |
| CAPPED_DATA | 0 | hisi_hba->n_phy | 1 |
| CAPPED_DATA | 0 | hisi_hba->queue_count | 1 |
| CAPPED_DATA | 1 | phy_no | 1 |
| DATA_SOURCE | 0 | hisi_hba | $0 |
| PARAM_COMPARE | 0 | hisi_hba->n_phy | > $1 |
| PARAM_COMPARE | 1 | phy_no | < $0->n_phy |
| CONSTRAINT | 1 | phy_no | <2045 |
| MEM_ZERO | 0 | hisi_hba->breakpoint | |
| MEM_ZERO | 0 | hisi_hba->initial_fis | |
| MEM_ZERO | 0 | hisi_hba->iost | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | hisi_hba->phy_state | 0-u32max |
| UNITS | 1 | phy_no | unit_array_size |
drivers/scsi/hisi_sas/hisi_sas_v1_hw.c int_abnormal_v1_hw() -> hisi_sas_phy_down()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hisi_hba | 4096-ptr_max |
| PARAM_VALUE | 2 | rdy | 0-1 |
| PARAM_VALUE | 3 | gfp_flags | 2080 |
| FUZZY_MAX | 2 | rdy | 1 |
| HARD_MAX | 2 | rdy | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | phy_no | unit_array_size |
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | flags |
drivers/scsi/hisi_sas/hisi_sas_v3_hw.c phy_down_v3_hw() -> hisi_sas_phy_down()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hisi_hba | 4096-ptr_max |
| PARAM_VALUE | 0 | hisi_hba->dev->bus | 0,4096-ptr_max |
| PARAM_VALUE | 0 | hisi_hba->dev->class | 0,4096-ptr_max |
| PARAM_VALUE | 0 | hisi_hba->dev->driver | 0,4096-ptr_max |
| PARAM_VALUE | 0 | hisi_hba->dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | hisi_hba->phy | 4096-ptr_max |
| PARAM_VALUE | 1 | phy_no | 0-s32max |
| PARAM_VALUE | 2 | rdy | 0-1 |
| PARAM_VALUE | 3 | gfp_flags | 2080 |
| DATA_SOURCE | 0 | hisi_hba | $1 |
| DATA_SOURCE | 1 | phy_no | $0 |
| FUZZY_MAX | 1 | phy_no | 0 |
| FUZZY_MAX | 2 | rdy | 1 |
| HARD_MAX | 2 | rdy | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | irq |