Defined in 1 files as a prototype:
Defined in 2 files as a function:
- drivers/scsi/libsas/sas_ata.c, line 951 (as a function)
- include/scsi/sas_ata.h, line 54 (as a function)
Referenced in 2 files:
Smatch caller information:
drivers/scsi/hisi_sas/hisi_sas_main.c hisi_sas_send_ata_reset_each_phy() -> sas_execute_ata_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | device | 4096-ptr_max |
| PARAM_VALUE | 0 | device->dev_type | 5,7-9 |
| PARAM_VALUE | 1 | fis | 4096-ptr_max |
| PARAM_VALUE | 2 | force_phy_id | 0-s32max |
| BUF_SIZE | 1 | fis | 20 |
| CAPPED_DATA | 2 | force_phy_id | 1 |
| DATA_SOURCE | 0 | device | $2 |
| CONSTRAINT | 2 | force_phy_id | <2045 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 2 | force_phy_id | unit_array_size |
| HALF_LOCKED2 | &hisi_hba->sem | ||
| HALF_LOCKED2 | &pool->lock |
drivers/scsi/hisi_sas/hisi_sas_main.c hisi_sas_softreset_ata_disk() -> sas_execute_ata_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | device | 4096-ptr_max |
| PARAM_VALUE | 0 | device->port | 4096-ptr_max |
| PARAM_VALUE | 0 | device->port->ha | 4096-ptr_max |
| PARAM_VALUE | 1 | fis | 4096-ptr_max |
| PARAM_VALUE | 2 | force_phy_id | (-1) |
| BUF_SIZE | 0 | device | (-1),1,8,16,20,24,32,40,48,56,64,72,112,208,552,576,2080,2576,8064 |
| BUF_SIZE | 0 | device | (-1),1,8,16,20,24,32,40,48,56,64,72,112,208,552,576,2080,2576,8064 |
| BUF_SIZE | 1 | fis | 20 |
| DATA_SOURCE | 0 | device | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/scsi/hisi_sas/hisi_sas_main.c hisi_sas_softreset_ata_disk() -> sas_execute_ata_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | device | 4096-ptr_max |
| PARAM_VALUE | 0 | device->port | 4096-ptr_max |
| PARAM_VALUE | 0 | device->port->ha | 4096-ptr_max |
| PARAM_VALUE | 0 | device->port->ha->shost | 4096-ptr_max |
| PARAM_VALUE | 1 | fis | 4096-ptr_max |
| PARAM_VALUE | 2 | force_phy_id | (-1) |
| BUF_SIZE | 0 | device | (-1),1,8,16,20,24,32,40,48,56,64,72,112,208,552,576,2080,2576,8064 |
| BUF_SIZE | 0 | device | (-1),1,8,16,20,24,32,40,48,56,64,72,112,208,552,576,2080,2576,8064 |
| BUF_SIZE | 1 | fis | 20 |
| DATA_SOURCE | 0 | device | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |